@charset "UTF-8";

/* ==========================================================================
   農事組合法人 小原営農 — static site stylesheet
   ========================================================================== */

:root {
  --green-900: #0f2a1c;
  --green-800: #163a26;
  --green: #1f4d33;
  --green-600: #2f6b47;
  --green-100: #e8efe6;
  --yellow: #efc33f;
  --yellow-soft: #f7e7b0;
  --cream: #f8f5ee;
  --cream-deep: #efe9db;
  --paper: #ffffff;
  --ink: #222a24;
  --muted: #6d776f;
  --line: #e2ddcf;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --shadow-sm: 0 2px 10px rgba(18, 38, 26, 0.06);
  --shadow-md: 0 18px 40px rgba(18, 38, 26, 0.10);
  --w: 1120px;
  --header-h: 84px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 2;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.6; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ---------- utilities ---------- */

.container {
  width: min(100% - 48px, var(--w));
  margin-inline: auto;
}

.section { padding: 104px 0; }
.section--cream { background: var(--cream); }
.section--tight { padding: 72px 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--yellow);
  flex: none;
}
.eyebrow--light { color: var(--yellow); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

.section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.1vw, 36px);
  line-height: 1.55;
  letter-spacing: 0.06em;
  color: var(--green-900);
}

.section-lead {
  margin-top: 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 2.1;
}

.lead-note { font-size: 13px; color: var(--muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 30px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.btn svg { width: 14px; height: 14px; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-600); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--line { border-color: var(--green); color: var(--green); background: transparent; }
.btn--line:hover { background: var(--green); color: #fff; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  transition: color .25s, border-color .25s, gap .25s;
}
.text-link:hover { color: var(--green-600); border-color: var(--green-600); gap: 16px; }

/* ---------- header ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: height .3s, border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  height: 72px;
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(18, 38, 26, .05);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 46px; width: auto; transition: height .3s; }
.site-header.is-scrolled .brand img { height: 40px; }
.brand-sub {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--muted);
  line-height: 1.6;
}

.global-nav ul { display: flex; align-items: center; gap: 6px; }

.global-nav a {
  position: relative;
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: color .25s;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.global-nav a:hover::after,
.global-nav a.is-active::after { transform: scaleX(1); }
.global-nav a:hover { color: var(--green-600); }

.header-tel {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.header-tel .tel-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--muted);
  line-height: 1.4;
}
.header-tel .tel-num {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--green-900);
  line-height: 1.3;
}
.header-tel svg { width: 22px; height: 22px; color: var(--green-600); flex: none; }

/* hamburger */
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 1.5px;
  background: var(--green-900);
  transition: transform .3s, opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(15, 42, 28, .98);
  color: #fff;
  padding: 110px 32px 48px;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}
.drawer.is-open { transform: translateX(0); }
.drawer nav ul { display: grid; gap: 0; }
.drawer nav a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.08em;
}
.drawer nav a small {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--yellow);
}
.drawer-info { margin-top: 36px; font-size: 13px; color: rgba(255, 255, 255, .75); line-height: 1.9; }
.drawer-info strong { display: block; color: #fff; font-family: var(--serif); font-size: 22px; letter-spacing: .06em; margin-bottom: 4px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: clamp(540px, 78vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 72px) 0 96px;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/hero.jpg") center 62% / cover no-repeat;
  transform: scale(1.02);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 26, 17, .35) 0%, rgba(9, 26, 17, .10) 32%, rgba(9, 26, 17, .62) 100%),
    linear-gradient(90deg, rgba(9, 26, 17, .55) 0%, rgba(9, 26, 17, 0) 62%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #fff;
  margin-bottom: 26px;
}
.hero__eyebrow::before { content: ""; width: 40px; height: 2px; background: var(--yellow); }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .28);
  margin-bottom: 28px;
  margin-left: 50px;
}
.hero__lead {
  max-width: 560px;
  font-size: 15px;
  line-height: 2.15;
  color: rgba(255, 255, 255, .94);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .35);
  margin-bottom: 40px;
  margin-left: 50px;
}
.hero__actions { 
  display: flex; 
  flex-wrap: wrap; 
  gap: 14px;
  margin-left: 50px;
 }

.hero__meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 56px;
  margin-left: 50px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, .8);
}
.hero__meta .award-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  color: #fff;
  font-size: 11px;
  letter-spacing: .12em;
}
.hero__meta svg { width: 14px; height: 14px; color: var(--yellow); }

/* ---------- stats ---------- */

.stats {
  background: var(--green-900);
  color: #fff;
  padding: 56px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 6px 34px;
  border-left: 1px solid rgba(255, 255, 255, .14);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--yellow);
  line-height: 1.2;
}
.stat__num span { font-family: var(--sans); font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.stat__label {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .72);
  line-height: 1.7;
}
.stat__label em { font-style: normal; display: block; font-size: 10px; letter-spacing: .18em; color: rgba(255, 255, 255, .4); }

/* ---------- split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__body .section-title { margin-bottom: 26px; }
.split__body p { font-size: 15px; line-height: 2.15; }

.media-frame { position: relative; }
.media-frame::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--yellow);
  border-radius: 4px;
  z-index: 0;
}
.media-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}
.media-caption {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

.portrait {
  width: 75%;
  margin-left: auto;
  margin-right: 0;
  text-align: center;
}
.portrait img {
  width: 100%;
  height: auto;
  border-radius: 3px;
}
.portrait figcaption {
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--muted);
}

/* ---------- quote ---------- */

.pullquote {
  margin: 0;
  padding: 34px 38px;
  background: var(--paper);
  border-left: 3px solid var(--yellow);
  box-shadow: var(--shadow-sm);
}
.pullquote p {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.85;
  letter-spacing: .08em;
  color: var(--green-900);
  margin: 0;
}
.pullquote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--muted);
}

/* ---------- feature / rapeseed ---------- */

.feature { background: var(--cream); }
.feature__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--paper);
  box-shadow: var(--shadow-md);
}
.feature__media {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
}
.feature__media img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}
.feature__body { padding: clamp(32px, 4vw, 60px); }
.feature__body .section-title { font-size: clamp(23px, 2.5vw, 30px); margin-bottom: 22px; }
.feature__body p { font-size: 14.5px; line-height: 2.15; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--green-800);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }

/* ---------- cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: transform .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream-deep); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__en {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--green-600);
  text-transform: uppercase;
}
.card__title {
  font-family: var(--serif);
  font-size: 21px;
  letter-spacing: .08em;
  color: var(--green-900);
}
.card__text { font-size: 13.5px; line-height: 1.95; color: var(--muted); flex: 1; }
.card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--green);
  margin-top: 6px;
}
.card__arrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--green);
  transition: width .3s;
}
.card:hover .card__arrow::after { width: 40px; }

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

.cta {
  position: relative;
  background: var(--green-900);
  color: #fff;
  padding: 76px 0;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -140px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(239, 195, 63, .28);
  border-radius: 50%;
}
.cta::after {
  content: "";
  position: absolute;
  right: 40px;
  bottom: -180px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(239, 195, 63, .18);
  border-radius: 50%;
}
.cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta__title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: .08em;
  line-height: 1.7;
  margin-bottom: 10px;
}
.cta__text { font-size: 13.5px; color: rgba(255, 255, 255, .72); margin: 0; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- page hero ---------- */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 380px;
  padding: calc(var(--header-h) + 72px) 0 56px;
  color: #fff;
  background: var(--green-900);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 45%;
  opacity: .42;
}
.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 28, .55), rgba(15, 42, 28, .85));
}
.page-hero__inner { position: relative; z-index: 1; width: 100%; }
.page-hero__en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-bottom: 14px;
  margin-left: 50px;
}
.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: .1em;
  line-height: 1.5;
  margin-left: 50px;
}
.page-hero__lead {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  max-width: 640px;
  margin-left: 50px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  margin-left: 50px;
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .62);
}
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb span { opacity: .5; }

/* ---------- content typography ---------- */

.content-narrow { max-width: 860px; margin-inline: auto; }
.content p { font-size: 15px; line-height: 2.2; }
.content h3 {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: .08em;
  color: var(--green-900);
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.content h3 .num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--yellow);
  margin-right: 12px;
  vertical-align: middle;
}
.content section + section { margin-top: 68px; }

.note {
  margin-top: 22px;
  padding: 16px 20px;
  background: var(--cream);
  border-left: 2px solid var(--yellow);
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.9;
}

/* ---------- flow (経緯) ---------- */

.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.flow__item {
  background: var(--paper);
  padding: 28px 24px;
  text-align: center;
}
.flow__item strong {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--green);
}
.flow__item strong span { font-family: var(--sans); font-size: 12px; color: var(--muted); margin-left: 4px; }
.flow__item p { margin: 8px 0 0; font-size: 12px; letter-spacing: .06em; color: var(--muted); line-height: 1.7; }

/* ---------- goals ---------- */

.goals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.goal {
  padding: 30px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
}
.goal__no {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--green-600);
}
.goal__title {
  margin: 12px 0 8px;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: .06em;
  color: var(--green-900);
  line-height: 1.7;
}
.goal p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.9; }

/* ---------- tables ---------- */

.table-wrap { overflow-x: auto; }
.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.9;
  border-top: 2px solid var(--green);
}
.profile-table th,
.profile-table td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.profile-table th {
  width: 30%;
  background: var(--cream);
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--green-900);
  white-space: nowrap;
}
.profile-table td { background: var(--paper); }
.profile-table td a { color: var(--green-600); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- crops ---------- */

.crops {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.crop {
  position: relative;
  padding: 30px 24px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.crop::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -32px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--cream);
}
.crop__name {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: .12em;
  color: var(--green-900);
}
.crop__area {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--muted);
}
.crop__bar {
  position: relative;
  z-index: 1;
  height: 4px;
  background: var(--cream-deep);
  margin-top: 18px;
}
.crop__bar i { display: block; height: 100%; background: var(--yellow); }

/* ---------- machine list ---------- */

.machines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.machine {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper);
  padding: 18px 22px;
  font-size: 14px;
}
.machine span { color: var(--ink); letter-spacing: .04em; }
.machine b {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--green);
}
.machine b small { font-family: var(--sans); font-size: 11px; font-weight: 400; color: var(--muted); margin-left: 2px; }

/* ---------- photo gallery ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery figure { margin: 0; overflow: hidden; border-radius: 2px; background: var(--cream-deep); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }

/* ---------- map ---------- */

.map-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  filter: saturate(.9);
}
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { border-top: 2px solid var(--green); }
.contact-list dl { margin: 0; }
.contact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.contact-row dt { color: var(--muted); font-size: 12px; letter-spacing: .12em; }
.contact-row dd { margin: 0; }
.contact-row dd a { color: var(--green-600); }
.contact-row .big {
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: .06em;
  color: var(--green-900);
}

/* ---------- footer ---------- */

.site-footer {
  background: #0c2116;
  color: rgba(255, 255, 255, .7);
  padding: 72px 0 0;
  font-size: 13px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 56px;
  padding-bottom: 56px;
}
.footer-brand .logo-mark {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: .14em;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 16px;
}
.footer-brand .logo-mark small {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: .3em;
  color: var(--yellow);
  margin-bottom: 6px;
}
.footer-brand address {
  font-style: normal;
  line-height: 2;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .74);
}
.footer-brand .footer-tel {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: .06em;
  color: #fff;
}
.footer-nav { display: flex; gap: 12px 40px; flex-wrap: wrap; align-content: start; }
.footer-nav a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .78);
  transition: color .25s;
}
.footer-nav a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .62);
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--green-600); }
.to-top svg { width: 16px; height: 16px; }

/* ---------- reveal animation ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .header-tel { display: none; }
  .global-nav a { padding: 10px 12px; font-size: 13px; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .global-nav { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 72px 0; }
  .hero { min-height: 620px; padding-bottom: 64px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split--reverse .split__media { order: 0; }
  .portrait { width: min(78%, 320px); margin-inline: auto; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat { padding: 4px 22px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(3),
  .stat:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 24px; }
  .feature__grid { grid-template-columns: 1fr; }
  .feature__media { min-height: 0; aspect-ratio: auto; padding: 0; }
  .cards { grid-template-columns: 1fr; gap: 20px; }
  .card { flex-direction: row; }
  .card__media { flex: 0 0 42%; aspect-ratio: auto; }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .goals { grid-template-columns: 1fr; }
  .crops { grid-template-columns: repeat(2, 1fr); }
  .machines { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  body { font-size: 15px; line-height: 1.95; }
  .container { width: calc(100% - 40px); }
  .brand img { height: 38px; }
  .hero { min-height: 560px; }
  .hero__title { font-size: 30px; letter-spacing: .06em; }
  .hero__lead { font-size: 13.5px; }
  .hero__meta { flex-direction: column; align-items: flex-start; gap: 14px; }
  .stats { padding: 40px 0; }
  .stat__num { font-size: 30px; }
  .section-title { font-size: 24px; }
  .card { flex-direction: column; }
  .card__media { flex: none; aspect-ratio: 4 / 3; }
  .flow { grid-template-columns: 1fr 1fr; }
  .crops { grid-template-columns: 1fr; }
  .machines { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; }
  .profile-table th,
  .profile-table td { display: block; width: 100%; padding: 12px 16px; }
  .profile-table th { border-bottom: 0; }
  .contact-row { grid-template-columns: 90px 1fr; }
  .pullquote { padding: 26px 24px; }
  .footer-bottom { flex-direction: column; }
}
