:root {
  --ink: #171c19;
  --muted: #4e5953;
  --line: #d9e0db;
  --green: #b2df11;
  --deep-green: #385400;
  --paper: #fff;
  --pale: #f3f6f0;
  --width: 1180px;
  color: var(--ink);
  font-family: "Bahnschrift", "Segoe UI", system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.5;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #466800; outline-offset: 4px; }
.hero :focus-visible, .utility :focus-visible, footer :focus-visible { outline-color: var(--green); }
.wrap { width: min(var(--width), calc(100% - 4rem)); margin-inline: auto; }
.sr-only, .skip:not(:focus) { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.skip:focus { position: absolute; z-index: 3; top: 0.5rem; left: 0.5rem; padding: 0.75rem; background: white; }
.utility { background: #1d251d; color: #e0e6dc; font-size: 0.875rem; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; }
.languages { display: flex; align-items: center; gap: 0.6rem; }
.languages button { border: 0; background: transparent; color: inherit; padding: 0.25rem 0.45rem; font-weight: 650; }
.languages button[aria-pressed="true"] { color: var(--green); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem; }
.brand { text-decoration: none; display: inline-grid; gap: 0.14rem; align-content: center; line-height: 1; }
.brand span { font-size: 1.7rem; letter-spacing: -0.055em; font-weight: 850; }
.brand small { color: var(--deep-green); letter-spacing: 0.2em; font-size: 0.77rem; font-weight: 750; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(0.7rem, 3vw, 2.35rem); }
nav a { font-weight: 650; text-decoration: none; }
nav a:hover, footer a:hover { text-decoration: underline; }
.button {
  display: inline-flex; align-items: center; justify-content: center; padding: 0.77rem 1.17rem;
  border: 1px solid transparent; background: var(--green); color: #161e07;
  font-weight: 750; text-decoration: none; min-height: 46px;
  transition: background-color 160ms, border-color 160ms;
}
.button:hover { background: #c4f13a; text-decoration: none; }
.button-small { padding: 0.55rem 0.9rem; min-height: 40px; }
.button-ghost { border-color: #d7ddd4; color: #fff; background: transparent; }
.button-ghost:hover { border-color: var(--green); background: #162015; }
.hero { position: relative; isolation: isolate; background: #171e19; color: white; overflow: hidden; }
.hero-image {
  position: absolute; z-index: -1; inset: 0; background-image: url("media/agriculture-hero.jpg");
  background-size: cover; background-position: 68% 53%;
}
.hero::after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, #101812f7 2%, #101812ed 21%, #101812ac 41%, #10181221 69%, #10181205),
    linear-gradient(0deg, #1018129c, transparent 25%);
}
.hero-inner { min-height: clamp(440px, 43vw, 610px); display: grid; align-items: center; position: relative; padding-block: 4.3rem; }
.hero-copy { width: min(100%, 570px); }
.eyebrow { margin: 0 0 0.6rem; color: var(--deep-green); font-size: 0.9rem; font-weight: 750; line-height: 1.35; }
.hero .eyebrow { color: #d5fb61; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.6vw, 5.5rem); letter-spacing: -0.046em; margin-bottom: 1.15rem; }
h2 { font-size: clamp(2.05rem, 3.75vw, 3.65rem); letter-spacing: -0.04em; margin-bottom: 1rem; }
.hero-copy > p:not(.eyebrow) { max-width: 41ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #f3f6ef; }
.action-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.hero-credit { position: absolute; bottom: 0.75rem; right: 0; font-size: 0.8125rem; color: #fff; text-shadow: 0 1px 6px #080d08; }
.section { padding-block: clamp(3.3rem, 6vw, 5.75rem); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.6rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 44ch; margin-bottom: 0; color: var(--muted); }
.catalog-controls { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-bottom: 1rem; }
.filters { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 0.4rem; }
.filters button { min-height: 44px; padding: 0.54rem 0.76rem; border: 1px solid var(--line); background: #fff; color: var(--ink); }
.filters button[aria-pressed="true"] { background: #ebf7cc; border-color: #73931a; font-weight: 700; }
input[type="search"] { width: min(100%, 15rem); min-width: 0; min-height: 46px; border: 1px solid #8a978c; border-radius: 0; padding: 0.57rem 0.65rem; color: var(--ink); background: white; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.product { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.product-image { width: 100%; height: clamp(145px, 18vw, 220px); object-fit: contain; padding: 0.8rem; background: var(--pale); }
.product-content { padding: 1.15rem; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.product h3 { margin-bottom: 0.45rem; font-size: clamp(1.4rem, 2.15vw, 2rem); letter-spacing: -0.03em; }
.product-content p { color: var(--muted); margin-bottom: 1rem; }
.product-content .text-link { margin-top: auto; }
.text-link { display: inline-block; color: var(--deep-green); font-weight: 750; text-underline-offset: 0.22em; }
.text-link:hover { color: #243900; }
.empty, .model-detail { padding: 1.25rem; background: var(--pale); }
.model-detail { margin-top: 1rem; padding: clamp(1.1rem, 3vw, 2.1rem); border-left: 4px solid #73931a; }
.model-detail:focus { outline: none; }
.model-detail h3 { margin-bottom: 0.85rem; font-size: 2rem; }
.model-detail dl { display: flex; gap: 1rem 2rem; flex-wrap: wrap; margin: 0 0 1.25rem; }
.model-detail dt { color: var(--muted); }
.model-detail dd { margin: 0; font-weight: 750; }
.model-detail .action-row { align-items: center; }
.dealer { background: var(--pale); border-top: 4px solid var(--green); }
.dealer-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: start; gap: 2rem 3rem; padding-block: clamp(2.2rem, 5vw, 4rem); }
.dealer h2 { margin-bottom: 0; }
.dealer-inner > div:last-child > p, .dealer address { max-width: 50ch; color: var(--muted); }
.dealer-address-title { margin-bottom: 0.3rem; font-size: 1rem; }
.dealer address { font-style: normal; }
footer { background: #1d251d; color: #e2e8de; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-block: 1.5rem; gap: 0.55rem 1.1rem; font-size: 0.9rem; }
.footer-brand { font-weight: 850; font-size: 1rem; }
.footer-brand span { color: #d0f661; font-size: 0.75rem; letter-spacing: 0.09em; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 2.5rem); }
  .hero::after { background: linear-gradient(90deg, #101812f5, #101812af 53%, #10181244); }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dealer-inner { grid-template-columns: 1fr; gap: 1rem; }
}
@media (max-width: 510px) {
  .wrap { width: calc(100% - 2rem); }
  .header-inner { align-items: start; gap: 0.5rem; flex-direction: column; padding-block: 0.7rem; }
  nav { width: 100%; gap: 0.7rem; justify-content: space-between; font-size: 0.9rem; }
  .hero-image { background-position: 66% center; }
  .hero::after { background: linear-gradient(90deg, #101812e8, #10181294), linear-gradient(0deg, #101812af, transparent 20%); }
  .hero-inner { padding-block: 3.75rem 4.1rem; }
  h1 { font-size: clamp(2.25rem, 9.1vw, 3rem); }
  .products { grid-template-columns: 1fr; }
  input[type="search"] { width: 100%; }
  .product-image { height: 195px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
