html:has(#field-play:target) { scroll-behavior: auto; }

.hero.field-hero {
  --machine-size: clamp(168px, 18vw, 264px);
  --machine-start-x: 50%;
  --machine-start-y: 48%;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: max(680px, 100svh);
  height: auto;
  max-height: none;
  background: #36371e;
  color: #faf8ed;
}

.field-poster, .field-wind, .field-tracks, .field-grass, .field-chaff, .field-steering, .field-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.field-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.field-wind { opacity: 0; }
.field-wind.is-ready { opacity: 1; }
.field-poster, .field-wind, .field-tracks, .field-chaff, .field-machine, .field-grid { pointer-events: none; }
.field-grid {
  background-image:
    linear-gradient(90deg, #f7f9dd4a 1px, transparent 1px),
    linear-gradient(#f7f9dd4a 1px, transparent 1px),
    linear-gradient(90deg, #f7f9dd24 1px, transparent 1px),
    linear-gradient(#f7f9dd24 1px, transparent 1px);
  background-size:
    var(--field-major-step) var(--field-major-step), var(--field-major-step) var(--field-major-step),
    var(--field-minor-step) var(--field-minor-step), var(--field-minor-step) var(--field-minor-step);
}
.hero.field-hero::after {
  inset: 0;
  z-index: 1;
  animation: none;
  background: linear-gradient(180deg, #15221663, transparent 22%, transparent 67%, #0c180fda);
}
.field-machine {
  position: absolute;
  z-index: 2;
  left: var(--machine-x, var(--machine-start-x));
  top: var(--machine-y, var(--machine-start-y));
  width: var(--machine-size);
  aspect-ratio: 4 / 3;
  transform: translate(-50%, -50%);
  filter: drop-shadow(7px 10px 5px #1c200d8a) drop-shadow(1px 3px 1px #181609d9);
}
.field-machine.is-steered {
  left: 0;
  top: 0;
  transform: translate3d(var(--machine-x), var(--machine-y), 0) translate(-50%, -50%) scale(var(--equipment-scale, 1));
  will-change: transform;
}
.field-machine img { display: block; width: 100%; height: 100%; object-fit: contain; transform: rotate(var(--machine-angle, 31deg)); }
.field-grass, .field-tires { pointer-events: none; }
.field-tires { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(var(--machine-angle, 31deg)); }
.field-machine.has-animated-photo img { visibility: hidden; }
.field-machine:not(.has-animated-photo) .field-tires, .field-machine.is-3d .field-tires { display: none; }
.field-machine.is-catalog-photo {
  filter: drop-shadow(8px 11px 4px #111d1273) drop-shadow(1px 2px 1px #152012a8);
}
.field-machine-3d {
  display: none;
  position: absolute;
  inset: 50% auto auto 50%;
  width: 128%;
  height: auto;
  aspect-ratio: 1;
  translate: -50% -50%;
}
.field-machine.is-3d { filter: none; }
.field-machine.is-3d img { visibility: hidden; }
/* Undo foreshortening of the orthographic ground plane to match the square meter grid. */
.field-machine.is-3d .field-machine-3d { display: block; scale: 1 1.07; }
.field-chaff { z-index: 2; }
.field-steering { z-index: 3; touch-action: pan-y pinch-zoom; }
.field-steering:focus-visible { outline: 2px solid #e6efbc; outline-offset: -6px; }

.field-dashboard {
  position: absolute;
  z-index: 4;
  top: clamp(14px, 2.4vw, 34px);
  left: var(--ag-gutter);
  max-width: calc(100% - 2 * var(--ag-gutter));
  padding: 9px 13px 11px;
  border: 1px solid #ecf1cf45;
  border-radius: 7px;
  background-color: #121e15e0;
  color: #faf8ed;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.field-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.field-dimensions { font-size: .94rem; font-weight: 800; white-space: nowrap; }
.field-grid-toggle {
  min-height: 44px;
  padding: 3px 8px;
  border: 1px solid #dde9b362;
  border-radius: 4px;
  color: #e5eacb;
  background: #142318;
  font: 800 .69rem/1 Manrope, sans-serif !important;
  pointer-events: auto;
  cursor: pointer;
  white-space: nowrap;
}
.field-grid-toggle[aria-pressed="true"] { color: #eefaad; background: #35482c; }
.field-readouts {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.05fr;
  gap: 11px;
  margin: 5px 0 6px;
}
.field-readouts dt { font-size: .62rem; color: #d8e4cb; white-space: nowrap; }
.field-readouts dd { margin: 2px 0 0; font-size: 1.04rem; font-weight: 800; white-space: nowrap; }
.field-readouts dd small { font-size: .63rem; font-weight: 600; }
.field-estimate { color: #e7edc6; font-size: .67rem; line-height: 1.35; }
.field-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding: clamp(28px, 4vw, 54px) var(--ag-gutter);
  color: #f9faef;
  background: #172c20;
}
.field-info #field-play-title { font-size: clamp(1.7rem, 3.2vw, 2.9rem); letter-spacing: -.045em; text-shadow: none; }
.field-info p { margin: .6rem 0 0; max-width: 61ch; color: #dce7d4; font-size: clamp(.9rem, 1.25vw, 1.08rem); line-height: 1.55; }
.field-info .btn { min-height: 44px; padding: 10px 15px; border-radius: 5px; gap: 12px; }
.field-kicker {
  margin-bottom: 1.3rem;
  color: #f0edcb;
  font-size: clamp(.68rem, .9vw, .82rem);
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.field-hero h1 {
  font-size: clamp(3.15rem, 6.5vw, 7.1rem);
  font-weight: 800;
  line-height: .97;
  letter-spacing: -.082em;
}
.field-hero h1 em { color: #e3edb0; font-style: normal; }
.field-hero .field-copy p {
  max-width: 34ch;
  margin: 1.6rem 0 0;
  color: #f8f7e7;
  font-size: clamp(1rem, 1.24vw, 1.2rem);
  line-height: 1.55;
  padding: 0;
  background: none;
}
.field-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 1.6rem; }
.field-actions a { pointer-events: auto; }
.field-actions .btn {
  min-height: 48px;
  gap: 15px;
  padding: 12px 18px;
  border-radius: 5px;
  background: #e3edb0;
}
.field-actions .btn:hover { background: #f2f7d8; }
.field-contact { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; color: #faf8ed; font-size: .87rem; font-weight: 700; }
.field-contact:hover, .field-model:hover { color: #e3edb0; }

.field-footer {
  position: absolute;
  z-index: 4;
  inset: auto var(--ag-gutter) 24px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 14px;
  pointer-events: none;
}
.field-footer a, .field-panel button, .field-fleet button { pointer-events: auto; }
.field-console { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; margin-bottom: 58px; text-align: right; max-width: 100%; }
.field-model { font-size: clamp(.86rem, 1.15vw, 1.1rem); font-weight: 800; line-height: 1.18; }
.field-model small { display: block; margin-bottom: 4px; color: #f0edcb; font-size: .62rem; letter-spacing: .15em; }
.field-model span[aria-hidden] { padding-inline-start: .25rem; }
.field-machine-width { color: #edf1ce; font-size: .7rem; font-weight: 700; }
.field-fleet { display: grid; width: min(301px, calc(100vw - 2 * var(--ag-gutter))); grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.field-fleet button {
  display: grid;
  justify-items: center;
  align-content: center;
  min-width: 0;
  min-height: 49px;
  padding: 3px 4px 5px;
  gap: 1px;
  border: 1px solid #e7efd349;
  border-radius: 5px;
  color: #f4f4e6;
  background-color: #1a2419d9;
  cursor: pointer;
  font: 800 .61rem/1 Manrope, sans-serif !important;
}
.field-fleet button img { width: 100%; height: 25px; object-fit: contain; }
.field-fleet button:is(:hover, [aria-pressed="true"]) { border-color: #d7e599; background-color: #38472b; color: #f4f7dc; }
.field-panel { display: flex; align-items: center; gap: 3px; min-height: 44px; }
.field-panel[hidden], .field-steering[hidden], .field-fleet[hidden], .field-dashboard[hidden], .field-grid[hidden] { display: none; }
.field-panel button {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #f6f4e44a;
  border-radius: 4px;
  background: #1821178c;
  color: #faf8ed;
  font: 1rem/1 Manrope, sans-serif !important;
  cursor: pointer;
}
.field-panel button:is(:hover, [aria-pressed="true"]) { background: #e3edb0; border-color: #e3edb0; color: #182117; }
.field-guide { display: grid; gap: 3px; margin-inline-end: .65rem; text-align: right; }
.field-progress { color: #eaf2bd; font-size: .77rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.field-coverage { width: 100%; height: 6px; accent-color: #e3edb0; }
.field-hint { color: #f0edcb; font-size: .72rem; font-weight: 700; }
.field-hint-touch, .field-hint-click { display: none; }
.field-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.field-hero :is(a, button):focus-visible { outline: 2px solid #fff7d7; outline-offset: 4px; }

@media (max-width: 700px) {
  .hero.field-hero {
    --machine-size: clamp(139px, 38vw, 196px);
    --machine-start-x: 50%;
    --machine-start-y: 50%;
    align-items: start;
    min-height: max(620px, 100svh);
  }
  .hero.field-hero::after {
    background: linear-gradient(180deg, #151c108f, transparent 25%, transparent 63%, #101a11e0);
  }
  .field-kicker { margin-bottom: .9rem; }
  .field-hero h1 { font-size: clamp(2.65rem, 9.55vw, 4.3rem); }
  .field-hero .field-copy p { margin-top: .95rem; font-size: .94rem; }
  .field-actions { margin-top: .85rem; }
  .home-page .hero.field-hero .field-actions a {
    min-height: 44px;
    padding-inline: 10px;
    gap: 6px;
    font-size: clamp(.81rem, 3.7vw, 1rem);
  }
  .field-footer { bottom: 14px; }
  .field-guide { margin-inline-end: .25rem; }
}
@media (max-width: 700px) and (max-height: 720px) {
  .field-console { margin-bottom: clamp(58px, calc(678px - 100svh), 110px); }
}
@media (pointer: coarse) {
  .field-hint-mouse { display: none; }
  .field-hint-touch { display: inline; }
}
@media (prefers-reduced-motion: reduce) and (pointer: fine) {
  .field-hint-mouse { display: none; }
  .field-hint-click { display: inline; }
}
