@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --color-primary: #141414;      /* near-black, ink */
  --color-bg: #ffffff;
  --color-bg-alt: #f2f1ee;
  --color-text: #141414;
  --color-text-muted: #58564f;
  --color-line: #d9d6ce;
  --font-heading: 'Bitter', serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1366px;
  --padding-x: clamp(20px, 5vw, 60px);
  --section-padding: clamp(48px, 8vw, 96px);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-x);
}

a { color: inherit; }

/* ---------- Nav ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(20, 20, 20, 0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 120px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 88px;
  width: auto;
  aspect-ratio: 709 / 332;
  object-fit: contain;
}

@media (max-width: 480px) {
  .nav-inner { height: 84px; }
  .logo img { height: 56px; }
}



.nav-links {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2rem;
  margin-left: auto;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover { opacity: 0.75; }

.nav-links a.active { border-bottom-color: #fff; }

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0 0 4px;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  cursor: pointer;
}

.nav-dropdown-toggle:hover { opacity: 0.75; }

.nav-dropdown-toggle.active { border-bottom-color: #fff; }

.nav-dropdown-caret {
  display: inline-block;
  font-size: 0.65em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.9rem;
  min-width: 200px;
  background: rgba(20,20,20,0.97);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.4rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 1.25rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  border-bottom: none;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover { color: #fff; opacity: 1; background: rgba(255,255,255,0.06); }

.nav-dropdown-menu a.active { color: #fff; }

.nav-cta {
  margin-left: 1.25rem;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  margin-left: auto;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 18px; }


/* Mobile full-screen overlay menu */

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  background: var(--color-primary);
  overflow-y: auto;
}

.nav-overlay.open { display: flex; }

.nav-overlay > .container { width: 100%; }

.nav-overlay-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  height: 120px;
}

.nav-overlay-logo img {
  height: 88px;
  width: auto;
  aspect-ratio: 709 / 332;
  object-fit: contain;
}

.nav-close {
  position: relative;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-close span {
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
}

.nav-close span:nth-child(2) { transform: rotate(-45deg); }

.nav-overlay-list {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
}

.nav-overlay-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.nav-overlay-list a.is-current { color: #fff; }

.nav-overlay-list a.is-current::after {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.nav-overlay-foot {
  display: grid;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
}

.nav-overlay-foot .btn { text-align: center; }

.nav-overlay-foot .btn-primary {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary);
}

.nav-overlay-foot .btn-primary:hover {
  background: #e6e4de;
  border-color: #e6e4de;
}

@media (max-width: 480px) {
  .nav-overlay-top { height: 84px; }
  .nav-overlay-logo img { height: 56px; }
}

/* .site-header prefix so these beat the later .btn display rule */
@media (max-width: 1150px) {
  .site-header .nav-links,
  .site-header .nav-cta { display: none; }
  .nav-toggle { display: block; margin-left: auto; flex-shrink: 0; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.9rem 1.85rem;
  border-radius: 0;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: #3b3b3b;
  border-color: #3b3b3b;
  color: #fff;
}

/* On photos and dark bands the black button turns white instead */
.site-header .btn-primary:hover,
.hero .btn-primary:hover,
.page-hero .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-ghost:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(20,20,20,0.6) 0%, rgba(20,20,20,0) 38%), linear-gradient(90deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.25) 55%, rgba(20,20,20,0.05) 100%), linear-gradient(0deg, rgba(20,20,20,0.6) 0%, rgba(20,20,20,0.2) 60%, rgba(20,20,20,0.2) 100%), url('../images/home-hero-kitchen.jpg') center/cover no-repeat;
  color: #fff;
}

.hero > .container { width: 100%; }

.hero-inner {
  max-width: 820px;
  margin: 0;
  padding-top: calc(var(--section-padding) + 60px);
  padding-bottom: var(--section-padding);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  margin-bottom: 1rem;
}


.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  position: relative;
  background-color: var(--color-primary);
  color: #fff;
  overflow: hidden;
  padding: calc(120px + clamp(40px, 7vw, 72px)) 0 clamp(40px, 7vw, 72px);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--tall {
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 46vw, 640px);
}

.page-hero--tall > .container { width: 100%; }

.page-hero-bg--story img {
  object-position: 50% 30%;
}

.page-hero-bg--new-builds img { object-position: 50% 50%; }
.page-hero-bg--renovations img { object-position: 50% 52%; }
.page-hero-bg--on-farm img { object-position: 50% 45%; }

.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0.6) 0%, rgba(20,20,20,0) 38%), linear-gradient(90deg, rgba(20,20,20,0.55) 0%, rgba(20,20,20,0.25) 55%, rgba(20,20,20,0.05) 100%), linear-gradient(0deg, rgba(20,20,20,0.6) 0%, rgba(20,20,20,0.2) 60%, rgba(20,20,20,0.2) 100%);
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero .section-eyebrow { color: rgba(255,255,255,0.88); }

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.15;
  max-width: 720px;
}

.page-hero p {
  color: #fff;
  max-width: 680px;
  margin-top: 1.1rem;
  font-size: 1.05rem;
}

.page-hero .hero-actions { margin-top: 1.75rem; }

/* ---------- Lineage timeline ---------- */

.lineage {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  box-shadow: inset 0 1px 0 rgba(20,20,20,0.05);
}

.lineage-head { max-width: 640px; margin-bottom: 3rem; }

.lineage-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-top: 0.4rem;
  color: var(--color-primary);
}

.lineage-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.75rem;
}

.lineage-node {
  border-top: 1px solid var(--color-line);
  padding-top: 1.75rem;
}

.lineage-year {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-primary);
  margin-bottom: 0.9rem;
}

.lineage-name {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.lineage-note {
  font-size: 0.94rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* The current generation is marked by a heavier rule */
.lineage-node.is-current { border-top: 3px solid var(--color-primary); }

@media (max-width: 1100px) {
  .lineage-track { grid-template-columns: repeat(3, 1fr); gap: 2.25rem 1.75rem; }
  .lineage-node.is-current { grid-column: span 2; }
}

@media (max-width: 640px) {
  .lineage-track { grid-template-columns: 1fr; gap: 2rem; }
  .lineage-node.is-current { grid-column: auto; }
}

/* ---------- History gallery (Our Story) ---------- */

.history-gallery {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.history-gallery-head { max-width: 640px; margin-bottom: 3rem; }

.history-gallery h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

/* 12 cells at 4, 3 or 2 columns, so every row is full. Photos sit on a 3:2 grid. */
.history-gallery-grid {
  --cols: 4;
  --gap: 1.25rem;
  --inner: calc(min(100vw, var(--max-width)) - 2 * var(--padding-x));
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-auto-rows: calc((var(--inner) - (var(--cols) - 1) * var(--gap)) / var(--cols) * 2 / 3);
  grid-auto-flow: dense;
  gap: var(--gap);
}

.history-gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.history-gallery-item.is-feature { grid-column: span 2; grid-row: span 2; }

.history-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.history-gallery-item:hover img { transform: scale(1.03); }

.history-gallery-tag {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 0.45rem 0.8rem;
  background: rgba(20,20,20,0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.history-gallery-item.is-note {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 2.5vw, 2rem);
  background: var(--color-bg-alt);
  color: var(--color-primary);
}

.history-gallery-note-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.history-gallery-note-title {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

.history-gallery-note-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .history-gallery-grid { --cols: 3; --gap: 1rem; }
}

@media (max-width: 600px) {
  .history-gallery-grid { --cols: 2; --gap: 0.75rem; }
}

/* ---------- Intro / Who We Are ---------- */

.intro {
  padding: var(--section-padding) 0;
}

.intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}


.intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 1.25rem;
  color: var(--color-primary);
  line-height: 1.25;
}

.intro p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.intro-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 2px;
}

.intro-link:hover { opacity: 0.65; }

.intro-img { border-radius: 0; overflow: hidden; aspect-ratio: 4/3; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .intro-inner { grid-template-columns: 1fr; gap: 2rem; }
  .intro-img { order: -1; }
}

/* ---------- Services ---------- */

.services {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
  box-shadow: inset 0 1px 0 rgba(20,20,20,0.05);
}

.services-head { max-width: 900px; margin-bottom: 3rem; }

.services h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  border-top: 1px solid var(--color-line);
  padding-top: 1.75rem;
}

.service-card .img-wrap {
  display: block;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 1.5rem;
}

.service-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .img-wrap img {
  transform: scale(1.03);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--color-primary);
  font-weight: 600;
}

.service-card h3 a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.25s ease;
}

.service-card h3 a:hover { opacity: 0.6; }

.service-card h3 .arrow {
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card:hover h3 .arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-card p { color: var(--color-text-muted); font-size: 0.96rem; }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Gallery preview (homepage) ---------- */

.gallery-preview {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.gallery-preview-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gallery-preview h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-top: 0.4rem;
  color: var(--color-primary);
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 18vw, 250px);
  gap: 1rem;
}

.gallery-preview-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.gallery-preview-item.is-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-preview-item:hover img { transform: scale(1.04); }

.gallery-preview-cta { margin-top: 2rem; }

@media (max-width: 700px) {
  .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .gallery-preview-item.is-feature { grid-column: span 2; grid-row: span 2; }
}

/* ---------- Gallery page ---------- */

.page-hero-bg--gallery img { object-position: 50% 70%; }
.page-hero-bg--contact img { object-position: 50% 25%; }

.gallery-page {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

/* Photos sit on a fixed 3:2 grid; portrait photos span two rows, so every row is filled with no gaps. */
.gallery-masonry {
  --cols: 3;
  --gap: 1.25rem;
  --inner: calc(min(100vw, var(--max-width)) - 2 * var(--padding-x));
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  grid-auto-rows: calc((var(--inner) - (var(--cols) - 1) * var(--gap)) / var(--cols) * 2 / 3);
  grid-auto-flow: dense;
  gap: var(--gap);
}

.gallery-tile {
  display: block;
  overflow: hidden;
  background: var(--color-bg-alt);
  cursor: zoom-in;
}

.gallery-tile.is-portrait { grid-row: span 2; }

.gallery-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-tile:hover img { transform: scale(1.03); }

@media (max-width: 900px) {
  .gallery-masonry { --cols: 2; --gap: 0.75rem; }
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 4.5rem;
  background: rgba(14,14,14,0.95);
}

.lightbox[hidden] { display: none; }

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 7rem);
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover,
.lightbox-arrow:hover { opacity: 1; }

.lightbox-close { top: 1rem; right: 1.25rem; font-size: 2.4rem; }

.lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.9rem;
  padding: 1rem;
}

.lightbox-prev { left: 0.5rem; }
.lightbox-next { right: 0.5rem; }

@media (max-width: 700px) {
  .lightbox { padding: 3.5rem 0.75rem 4.5rem; }
  .lightbox-arrow { top: auto; bottom: 0.75rem; transform: none; }
  .lightbox-prev { left: 1rem; }
  .lightbox-next { right: 1rem; }
}

/* ---------- Project feature rows (subpages) ---------- */

.project-features {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.project-features-head { max-width: 640px; margin-bottom: 1rem; }

.project-features h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.feature-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--color-line);
}

.feature-row .feature-img {
  order: 1;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.feature-row .feature-img img { width: 100%; height: 100%; object-fit: cover; }

.feature-row .feature-content { order: 2; }

.feature-row.reverse .feature-img { order: 2; }
.feature-row.reverse .feature-content { order: 1; }

.feature-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 0.9rem;
  color: var(--color-primary);
}

.feature-content p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 520px;
}

@media (max-width: 800px) {
  .feature-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature-row .feature-img,
  .feature-row.reverse .feature-img { order: 1; }
  .feature-row .feature-content,
  .feature-row.reverse .feature-content { order: 2; }
}

/* ---------- Content block (text sections on subpages) ---------- */

.content-block {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
}

.content-block--light { background: var(--color-bg); }

.content-block-inner { max-width: 720px; margin: 0 auto; }

.content-block-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-block-img {
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.content-block-img img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .content-block-split { grid-template-columns: 1fr; gap: 2rem; }
  .content-block-split .content-block-img { order: -1; }
}

.content-block h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.content-block p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.content-block p:last-child { margin-bottom: 0; }

/* ---------- Process steps (subpages) ---------- */

.process {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.process-head { max-width: 640px; margin-bottom: 3rem; }

.process h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  border-top: 1px solid var(--color-line);
  padding-top: 1.5rem;
}

.process-step .step-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-line);
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.process-step p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ---------- Guarantee / credentials (subpages) ---------- */

.guarantee {
  padding: var(--section-padding) 0;
  background: var(--color-bg-alt);
}

.guarantee-head { max-width: 760px; margin-bottom: 3rem; }

.guarantee h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.guarantee-item {
  border-top: 1px solid var(--color-line);
  padding-top: 1.5rem;
}

.guarantee-item .mark {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.guarantee-item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}

.guarantee-item p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

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

@media (max-width: 480px) {
  .guarantee-grid { grid-template-columns: 1fr; }
}

/* Placeholder callout — marks content still needed from the client */

.placeholder-note {
  border: 1px dashed var(--color-line);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.placeholder-note .tag {
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  padding: 0.25rem 0.6rem;
}

/* ---------- Team (subpages) ---------- */

.team-row .feature-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  margin-bottom: 0.6rem;
  color: var(--color-primary);
}

.team-row .feature-content .role {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.9rem;
}

/* ---------- FAQ (subpages) ---------- */

.faq {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.faq-head { max-width: 640px; margin-bottom: 2.5rem; }

.faq h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.faq-list { max-width: 780px; }

.faq-item {
  border-top: 1px solid var(--color-line);
  padding: 1.75rem 0;
}

.faq-list .faq-item:last-child { border-bottom: 1px solid var(--color-line); }

.faq-item h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--color-primary);
}

.faq-item p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 620px;
}

/* ---------- Photo gallery (subpages) ---------- */

.gallery {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  overflow: hidden;
}

.gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.gallery-head-text { max-width: 640px; }

.gallery h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.gallery-nav { display: flex; gap: 0.75rem; flex-shrink: 0; }

.gallery-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--color-line);
  background: none;
  color: var(--color-primary);
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.gallery-nav button:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-alt);
}

.gallery-scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--padding-x) 0.75rem;
  margin: 0 calc(var(--padding-x) * -1);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.gallery-slide {
  position: relative;
  flex: 0 0 auto;
  width: min(440px, 78vw);
  aspect-ratio: 4/3;
  overflow: hidden;
  scroll-snap-align: start;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-slide:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(180deg, rgba(20,20,20,0) 0%, rgba(20,20,20,0.78) 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-slide:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption .tag {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  opacity: 0.75;
  margin-bottom: 0.2rem;
}

.gallery-caption .name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}

@media (max-width: 640px) {
  .gallery-nav { display: none; }
}

/* ---------- Marquee gallery (two-row auto-scroll) ---------- */

.gallery-marquee-rows {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.marquee-row {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  will-change: transform;
}

.marquee-item {
  flex: 0 0 auto;
  width: 360px;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 700px) {
  .marquee-item { width: 264px; }
}

/* ---------- Testimonials slider ---------- */

.testimonials-slider {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  padding: var(--section-padding) 0;
}

.testimonials-slider-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.testimonials-slider-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonials-slider-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0.78) 0%, rgba(20,20,20,0.62) 50%, rgba(20,20,20,0.85) 100%);
}

.testimonials-slider-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.testimonials-slider .section-eyebrow {
  justify-content: center;
  color: rgba(255,255,255,0.6);
  margin: 0 auto 2rem;
}


.testimonial-slides { position: relative; }

.testimonial-slide { display: none; }

.testimonial-slide.is-active {
  display: block;
  animation: testimonial-fade 0.5s ease;
}

@keyframes testimonial-fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.testimonial-slide .testimonial-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.testimonial-slide .testimonial-quote::before {
  content: "“";
  display: block;
  font-size: 3.5rem;
  line-height: 0.5;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem;
}

.testimonial-slide .testimonial-name {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.85);
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.testimonial-arrow {
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  width: 40px;
  height: 40px;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.testimonial-arrow:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

.testimonial-dots { display: flex; gap: 0.6rem; }

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s ease;
}

.testimonial-dot.is-active { background: #fff; }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--color-primary);
  color: #fff;
  padding: clamp(40px, 6vw, 64px) 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-bottom: 0.3rem;
}

.cta-band p { opacity: 0.7; }

.cta-band .btn-primary {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
  white-space: nowrap;
}

.cta-band .btn-primary:hover {
  background: #e6e4de;
  border-color: #e6e4de;
  color: var(--color-primary);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.85);
  padding: 3.5rem 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand img {
  height: 84px;
  width: auto;
  aspect-ratio: 709 / 332;
  object-fit: contain;
  opacity: 0.9;
  margin-bottom: 0.9rem;
}

.footer-brand p { font-size: 0.9rem; opacity: 0.7; max-width: 280px; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.92rem; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; }

.footer-contact p { font-size: 0.92rem; margin-bottom: 0.6rem; }

.footer-base {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1.1rem 0;
  font-size: 0.8rem;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ---------- Contact page ---------- */

.contact-section {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4.5rem;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 1.25rem;
  color: var(--color-primary);
}

.contact-info p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.contact-details {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details-item {
  border-top: 1px solid var(--color-line);
  padding-top: 1rem;
}

.contact-details-item h3 {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}

.contact-details-item a,
.contact-details-item p {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.6;
}

.contact-details-item a:hover { color: var(--color-primary); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--color-bg-alt);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
}

.form-field input,
.form-field textarea {
  border: 1px solid var(--color-line);
  background: #fff;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
}

.form-field textarea { min-height: 150px; resize: vertical; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.contact-form .form-status {
  font-size: 0.92rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--color-line);
  background: #fff;
}

.contact-form .form-status:empty { display: none; }

.contact-form .form-status-success { border-color: #2f6b3f; color: #2f6b3f; }
.contact-form .form-status-error { border-color: #a3362b; color: #a3362b; }

.form-error {
  font-size: 0.82rem;
  color: #a3362b;
}

.form-error:empty { display: none; }

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] { border-color: #a3362b; }

.contact-form .btn[disabled] { opacity: 0.6; cursor: wait; }

.contact-form .btn {
  align-self: flex-start;
  border: none;
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- Heading typography (Bitter) ---------- */

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.005em;
}

.hero h1 {
  font-size: clamp(2.05rem, 4.2vw, 3.2rem);
}

.intro h2,
.services h2,
.gallery-preview h2 {
  font-size: clamp(1.55rem, 2.9vw, 2.15rem);
  line-height: 1.22;
}

.testimonial-slide .testimonial-quote {
  font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  line-height: 1.45;
}

.cta-band h2 {
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
}

/* ---------- Cross-page links ---------- */

.content-block .intro-link { margin-top: 1.25rem; }

.related {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}

.related-head { max-width: 640px; margin-bottom: 2.5rem; }

.related h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-top: 0.4rem;
  color: var(--color-primary);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

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

.related-card {
  display: block;
  border-top: 1px solid var(--color-line);
  padding-top: 1.5rem;
  color: inherit;
  text-decoration: none;
}

.related-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.related-card p { color: var(--color-text-muted); font-size: 0.96rem; }

.related-card .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.related-card:hover .arrow { transform: translateX(4px); }

@media (max-width: 800px) {
  .related-grid,
  .related-grid.cols-3 { grid-template-columns: 1fr; gap: 1.5rem; }
}

.contact-info .intro-link { margin-top: 1.25rem; }

/* Soft shadow keeps hero text readable over any photo */
.hero-eyebrow,
.hero h1,
.hero-sub,
.page-hero .section-eyebrow,
.page-hero h1 {
  text-shadow: 0 1px 14px rgba(0,0,0,0.35);
}

/* ---------- Contact form extras ---------- */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-field select {
  border: 1px solid var(--color-line);
  background: #fff;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
}

.form-field select:focus { outline: none; border-color: var(--color-primary); }
.form-field select[aria-invalid="true"] { border-color: #a3362b; }

/* Spam trap: hidden from people, visible to bots */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-privacy {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.form-success {
  background: var(--color-bg-alt);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.form-success[hidden] { display: none; }

.form-success:focus { outline: none; }

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.form-success p { color: var(--color-text-muted); }

.form-success a { color: var(--color-primary); font-weight: 600; }


/* Stop long select options widening the form on narrow screens */
.contact-grid > * { min-width: 0; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
}

.contact-form[hidden] { display: none; }

/* Intro line above the farm services list */
.guarantee-intro {
  margin-top: 0.75rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Story paragraphs on Our Story */
.lineage-head,
.history-gallery-head { max-width: 760px; }

.lineage-head p,
.history-gallery-head p {
  margin-top: 1rem;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Phone type scale: clearer steps between page title, section headings, card headings and body text */
@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; line-height: 1.15; }
  .page-hero h1 { font-size: 2.05rem; line-height: 1.15; }

  .intro h2,
  .services h2,
  .gallery-preview h2,
  .gallery h2,
  .content-block h2,
  .process h2,
  .guarantee h2,
  .related h2,
  .history-gallery h2,
  .lineage-head h2,
  .contact-info h2 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  .service-card h3,
  .related-card h3 { font-size: 1.2rem; }

  .cta-band h2 { font-size: 1.5rem; line-height: 1.25; }

  .service-card p,
  .related-card p { font-size: 1rem; }
}
