/* MowPicks page CSS. The kit files stay byte-identical; everything the pages add lives here.
   Loaded last in SiteHead, after the kit sheets, so these rules win at equal specificity. */

/* ---------------------------------------------------------------- section rhythm
   The kit makes every section exactly one or two screens. On a 1920 or 2560 screen that leaves
   empty bands, so sections size to their content with even padding instead. The hero and the
   pinned mowing scene keep their own heights. */
main > section.section:not(.hero),
main > section:not(.hero):not(.section),
footer.footer.closing {
  height: auto;
  min-height: 0;
  padding-block: clamp(3rem, 5vw, 5.5rem);
}
main > section.ground-inverse:not(.hero),
main > section.ground-brand:not(.hero) { padding-block: clamp(3.75rem, 6vw, 6.75rem); }
/* inner pages: the first section starts under the fixed header */
main > section.section:first-child:not(.hero) { padding-top: calc(var(--nav) + clamp(2.5rem, 5vw, 5rem)); }

/* ---------------------------------------------------------------- language switch */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 2px;
  border: 1px solid var(--line); border-radius: 999px;
}
.lang-switch__opt {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 28px; padding: 0 var(--s-2); border-radius: 999px;
  font-size: var(--t-label); font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
a.lang-switch__opt:hover { background: var(--surface); color: var(--ink); }
.lang-switch__opt.is-current { background: var(--ink); color: var(--bg); }

/* ---------------------------------------------------------------- hero: the live grass layer */
.hero__stage > .grass-layer {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  pointer-events: none; opacity: 0; transition: opacity .9s cubic-bezier(.22, 1, .36, 1);
}
.hero__stage > .grass-layer.is-ready { opacity: 1; }

/* ---------------------------------------------------------------- 2. the pinned mowing scene
   The section has no padding: its .wrap is pinned by ScrollTrigger and holds one screen.
   Block, not the kit's tablet flex or phone grid: ScrollTrigger drops the pin spacing in a flex parent. */
main > section.section.mow { padding-block: 0; display: block; }
/* main > section.section.mow > .mow__wrap outweighs the kit's tablet and phone .wrap { height: auto } */
main > section.section.mow > .mow__wrap {
  box-sizing: border-box; height: 100vh; height: 100svh;
  padding-top: calc(var(--nav) + var(--s-6)); padding-bottom: var(--s-6);
  justify-content: center;
}
.mow__grid { align-items: center; width: 100%; }
.mow__text { display: flex; flex-direction: column; gap: var(--s-6); }
.mow__head { display: grid; gap: var(--s-4); }
.mow__head h2, .mow__head p { margin: 0; }
.mow__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-4); }
.mow__step {
  padding-left: var(--s-4); border-left: 2px solid var(--line);
  transition: opacity .4s var(--ease), border-color .4s var(--ease);
}
.mow__step h3 { margin: 0 0 var(--s-1); }
.mow__step p { margin: 0; color: var(--muted); }
.mow__step.is-on { border-left-color: var(--accent); }
.mo-js .mow:not(.is-still) .mow__step:not(.is-on) { opacity: .38; }
.mow__readout { display: flex; gap: var(--s-7); margin: 0; }
.mow__readout > div { display: grid; gap: var(--s-1); }
.mow__readout dt, .mow__readout dd { margin: 0; }
.mow__readout dd {
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--t-h3);
  letter-spacing: var(--display-tracking); font-variant-numeric: tabular-nums;
}
.mow__stage {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  height: min(74svh, 760px);
  background: radial-gradient(70% 62% at 50% 46%, color-mix(in oklab, var(--surface) 55%, white), var(--surface));
}
.mow__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.mow__fallback { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }

/* tablet and phone: words on top, only the step in progress, the lawn takes the rest */
@media (max-width: 1023px) {
  .mow__grid { display: flex; flex-direction: column; align-items: stretch; height: 100%; }
  .mow__text { gap: var(--s-4); flex: none; }
  .mo-js .mow:not(.is-still) .mow__step:not(.is-on) { display: none; }
  .mow__stage { flex: 1 1 0; min-height: 0; height: auto; }
}
@media (max-width: 639px) {
  main > section.section.mow > .mow__wrap { padding-top: calc(var(--nav) + var(--s-5)); padding-bottom: var(--s-5); }
  .mow__head .t-lead { font-size: var(--t-body); }
  .mow__readout { gap: var(--s-6); }
}
/* reduced motion or no WebGL: a plain section, the lawn shown mowed */
main > section.section.mow.is-still > .mow__wrap { height: auto; padding-block: clamp(3rem, 5vw, 5.5rem); }
.mow.is-still .mow__grid { height: auto; }
@media (max-width: 1023px) { .mow.is-still .mow__stage { flex: none; height: auto; aspect-ratio: 3 / 2; } }

/* ---------------------------------------------------------------- 3. push: head row and a pair */
.kind-head { align-items: start; margin-bottom: var(--head-gap); }
.kind-head > h2 { margin: 0; }
.kind-head__body { display: flex; flex-direction: column; gap: var(--s-5); }
.kind-head__body > p { margin: 0; }
@media (min-width: 1024px) { .kind-head > .kind-head__body { grid-column: 7 / span 6; } }
@media (min-width: 640px) and (max-width: 1023px) { .pair > .span-6 { grid-column: auto / span 6; } }

/* ---------------------------------------------------------------- 4. robot: one photograph across the screen */
.robot__head { margin-bottom: var(--head-gap); }
.robot__head h2 { margin: 0; }
.robot__body { margin: 0; max-width: 46ch; }
.frame.bleed { --ratio: 0px; margin-inline: calc(50% - 50vw); border-radius: 0; height: clamp(300px, 58svh, 680px); }
.spec-strip { list-style: none; margin: var(--s-6) 0 0; padding: 0; }
.spec-strip > li { display: grid; gap: var(--s-1); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.spec-strip__value {
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--t-h3);
  letter-spacing: var(--display-tracking);
}
@media (min-width: 640px) and (max-width: 1023px) { .spec-strip > .span-4 { grid-column: auto / span 4; } }

/* ---------------------------------------------------------------- 5. riding: a tall photograph and a small one */
.tall-small { align-items: stretch; }
.tall-small__side { display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-7); }
.tall-small__text { display: flex; flex-direction: column; gap: var(--s-5); }
.tall-small__text > h2, .tall-small__text > p { margin: 0; }
.tall-small__small { width: min(100%, 52%); align-self: flex-end; }
@media (min-width: 1024px) { .tall-small > .tall-small__side { grid-column: 7 / span 6; } }
@media (max-width: 1023px) {
  .tall-small__tall { --ratio: 70% !important; }
  .tall-small__side { gap: var(--s-6); }
  .tall-small__small { width: 100%; --ratio: 62% !important; }
}

/* ---------------------------------------------------------------- 6. the yard: a lawn the visitor mows
   A dark band so the lit lawn tile reads as the object. The canvas fades in once the scene is
   built; the start card covers it until the visitor starts the mower. Touch scrolls the page
   until then; once live, a drag on the lawn steers instead. */
.yard__head { margin-bottom: var(--head-gap); }
.yard__head h2, .yard__head p { margin: 0; }
.yard__readout { display: flex; gap: var(--s-7); margin: 0; }
.yard__readout > div { display: grid; gap: var(--s-1); }
.yard__readout > div[hidden] { display: none; }
.yard__readout dt, .yard__readout dd { margin: 0; }
.yard__readout dt { color: var(--muted); }
.yard__readout dd {
  font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--t-h3);
  letter-spacing: var(--display-tracking); font-variant-numeric: tabular-nums; min-width: 3.2ch;
}
.yard__stage {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  /* tied to the width: the lawn tile is wide, so a taller stage at 1920+ was only empty panel */
  aspect-ratio: 2 / 1; min-height: 380px; max-height: 78svh;
  background:
    radial-gradient(64% 58% at 50% 52%, color-mix(in oklab, var(--accent) 14%, var(--surface)), transparent 72%),
    var(--surface);
}
.yard__canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  opacity: 0; transition: opacity .8s cubic-bezier(.22, 1, .36, 1); outline: none;
}
.yard__canvas.is-ready { opacity: 1; }
.yard.is-live .yard__canvas { touch-action: none; cursor: crosshair; }
.yard__canvas:focus-visible { box-shadow: inset 0 0 0 3px var(--accent); }
.yard__bar {
  position: absolute; left: var(--s-5); right: var(--s-5); bottom: var(--s-5); height: 4px;
  border-radius: 2px; background: color-mix(in oklab, var(--ink) 16%, transparent); overflow: hidden; pointer-events: none;
}
.yard__bar > span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left center; }
.yard__start {
  position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center;
  gap: var(--s-3); padding: var(--s-5); text-align: center;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--bg) 62%, transparent), transparent);
}
.yard__start p { margin: 0; text-shadow: 0 1px 12px var(--bg); }
.yard__start .btn:disabled { opacity: .6; cursor: progress; }
/* the motion layer sets every .btn relative; this one sits on the stage's corner */
.yard .yard__stage > .yard__regrow { position: absolute; top: var(--s-5); right: var(--s-5); z-index: 2; }
.yard__regrow[hidden], .yard__done[hidden] { display: none; }
.yard__done {
  position: absolute; left: var(--s-5); bottom: calc(var(--s-5) * 2 + 4px); z-index: 3;
  display: grid; gap: var(--s-3); max-width: 440px; padding: clamp(20px, 2.4vw, 32px);
  border-radius: var(--r-md); background: color-mix(in oklab, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.yard__done > p { margin: 0; }
.yard__done-title [data-yard-final] { font-variant-numeric: tabular-nums; color: var(--accent); }
.yard__done .btn-row { margin-top: var(--s-2); }
.yard__fallback { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.yard__note {
  position: absolute; left: var(--s-5); bottom: var(--s-5); margin: 0; padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm); background: color-mix(in oklab, var(--bg) 82%, transparent);
}
/* no script or no WebGL: no controls over the photo */
html:not(.mo-js) .yard :is(.yard__start, .yard__bar, .yard__readout),
.yard.is-still :is(.yard__start, .yard__bar, .yard__readout, .yard__regrow) { display: none; }
@media (max-width: 1023px) {
  .yard__readout { width: 100%; }
}
@media (max-width: 639px) {
  .yard__head .t-lead { font-size: var(--t-body); }
  .yard__readout { gap: var(--s-6); }
  .yard__stage { height: auto; aspect-ratio: 4 / 5; max-height: 74svh; }
  .yard__done { left: var(--s-3); right: var(--s-3); bottom: calc(var(--s-3) * 2 + 4px); max-width: none; }
  .yard__bar { left: var(--s-3); right: var(--s-3); bottom: var(--s-3); }
  .yard .yard__stage > .yard__regrow { top: var(--s-3); right: var(--s-3); }
}

/* ---------------------------------------------------------------- 7. the mowing time calculator */
.calc .section-head { margin-bottom: var(--head-gap); }
.calc__form { display: flex; flex-direction: column; gap: var(--s-6); }
.calc__form .field input { max-width: 280px; font-variant-numeric: tabular-nums; }
.calc__set { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: var(--s-3); }
.calc__set legend { padding: 0; margin-bottom: var(--s-3); color: var(--muted); }
.calc__chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.calc__chip {
  height: 40px; padding: 0 var(--s-4); font: inherit; font-size: var(--t-small); cursor: pointer;
  color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong, var(--line));
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.calc__chip:hover { border-color: var(--ink); }
.calc__chip[aria-pressed="true"], .calc__radio:has(input:checked) { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.calc__radio { position: relative; }
.calc__radio input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.calc__radio:has(input:focus-visible) { outline: 2px solid var(--action); outline-offset: 2px; }
.calc__note { margin: 0; max-width: 60ch; }
.calc__result {
  display: flex; flex-direction: column; gap: var(--s-6);
  padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--surface);
}
.calc__out { display: grid; gap: var(--s-2); }
.calc__out p { margin: 0; }
.calc__time { font-variant-numeric: tabular-nums; }
.calc__go { align-self: flex-start; margin-top: auto; }
@media (min-width: 1024px) { .calc .grid > .calc__result { grid-column: 8 / span 5; } }
@media (max-width: 1023px) { .calc__result { margin-top: var(--s-6); } }

/* ---------------------------------------------------------------- 8. lawn rules on the brand band */
.rules__split { align-items: center; }
.rules__text { display: flex; flex-direction: column; gap: var(--s-5); }
.rules__text > * { margin: 0; }
.rules__sources a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.rules__stats { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.rules__stats p { margin: 0; }
.rules__stats .t-small { margin-top: var(--s-2); max-width: 34ch; }
@media (min-width: 640px) and (max-width: 1023px) { .rules__stats > .span-4 { grid-column: auto / span 4; } }
@media (max-width: 1023px) { .rules__split > .frame { margin-top: var(--s-6); } }

/* ---------------------------------------------------------------- 9. method */
.method__head { margin-bottom: var(--head-gap); }
.method__head h2, .method__head p { margin: 0; }

/* ---------------------------------------------------------------- inner pages */
.page-head { max-width: 46ch; }
.page-head h1 { margin: var(--s-2) 0 var(--s-3); }
.page-head .t-lead { margin: 0; }
.page-head .btn-row { margin-top: var(--s-6); }
.prose { max-width: 68ch; }
.prose__block + .prose__block { margin-top: var(--s-7); }
.prose__block h2 { margin: 0 0 var(--s-3); }
.prose__block p { margin: 0 0 var(--s-3); }
.prose__block p:last-child { margin-bottom: 0; }
.contact__email { font-size: 1.25rem; font-weight: 500; }
.contact__email a { color: var(--accent); }
.contact__note { color: var(--muted); }
.site-map { margin-top: var(--head-gap); }
.site-map__col h2 { margin: 0 0 var(--s-4); }
.site-map__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.site-map__col a { color: var(--ink); text-decoration: none; }
.site-map__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) { .site-map__col + .site-map__col { margin-top: var(--s-6); } }

/* ---------------------------------------------------------------- Blueprint pages (guides, comparisons, tools, hubs)
   The calc__ rules above serve every tool: the mowing time calculator, the lawn size calculator,
   the height guide and the quiz. */
.crumbs ol { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--t-small); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); color: var(--line-strong); }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--ink); }
.guide-head .page-head { max-width: 52ch; }
.guide-head .page-head h1 { margin-top: 0; }
.prose__block .checks { list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.guide__figure { margin: var(--s-8) 0; }
.guide__sources { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.guide__sources p { margin: 0 0 var(--s-2); }
.guide__sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); font-size: var(--t-small); }
.guide__sources a { color: var(--ink); text-underline-offset: 3px; }
.guide__faq { max-width: 68ch; }
.table-wrap { margin-top: var(--s-5); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.data-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: var(--t-small); font-variant-numeric: tabular-nums; }
.data-table caption { text-align: left; color: var(--muted); padding-bottom: var(--s-3); }
.data-table :is(th, td) { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: 1px solid var(--line); }
.data-table thead th { color: var(--muted); font-weight: 500; border-bottom-color: var(--line-strong); }
.data-table tbody th { font-weight: 500; }
.tool__dims { display: flex; flex-wrap: wrap; gap: var(--s-4); }
.tool__dims .field input { max-width: 160px; }
.tool__added p { margin: 0 0 var(--s-2); }
.tool__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); font-variant-numeric: tabular-nums; }
.tool__list li { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
.tool__result { display: flex; flex-direction: column; gap: var(--s-6); flex: 1; }
.tool__source { margin: 0; }
.tool__source a { color: inherit; text-underline-offset: 3px; }
