/* Rohe & Kivi — Veebirätsepa näidistöö. Concept A "Triibud".
   One system: the mowing stripe. Deep ground, lighter passes; angle and rhythm measured on the hero photo. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ground: #1E4A2A;      /* unmown / dark stripe */
  --pass: #24563A;        /* mown / light stripe */
  --ink: #E9F2D6;         /* fresh-cut lime-white */
  --ink-2: #C4D8AC;       /* secondary text, tinted from the ink */
  --lime: #B6E36A;        /* young grass: primary action and small details */
  --lime-hi: #C6EE84;
  --on-lime: #132E1B;
  --warn: #F0C27A;
  --rule: rgba(233, 242, 214, 0.18);
  --sweep: rgba(233, 242, 214, 0.075);
  --radius: 2px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  /* Type: three text steps (+ nav), display steps d-1…d-4. Weights: text 420 / 560 / 640, display 820 / 880. */
  --t-meta: 0.9375rem;    /* 15 */
  --t-nav: 1rem;          /* 16, navigation only */
  --t-body: 1.125rem;     /* 18 */
  --t-large: 1.375rem;    /* 22 */
  --d-2: clamp(3rem, 6vw, 5.5rem);
  --d-3: clamp(1.75rem, 3vw, 2.75rem);
  --d-4: 1.75rem;

  --gutter: 64px;
  --col-gap: 64px;
  --bar-h: 80px;

  /* The hero photo is a fixed crop of photo 03, mirrored so its mowing stripes fall to the right like
     the page's. Measured on rendered pixels at the window edges (324 crop units wide): stripes fall at
     21.5deg, one light+dark pair = 92 units. The page draws one pair as two passes, so
     band = window width * 92 / (2 * 324) = window width / 7.0435. */
  --angle: 21.5deg;
  --crop-h: 355;                      /* crop units shown; the image is 324 x 355 */
  --win-w: min(562px, (100vw - 2 * var(--gutter) - var(--col-gap)) * 0.4505);
  --band: calc(var(--win-w) / 7.0435);
  /* The headline follows the window, so the window always runs from its cap line to the button row:
     window height (1.0957 x width) = 3.57 h1 (4 lines minus the cap offset) + 174px (lede, gaps, button). */
  --h1: clamp(3.5rem, calc((var(--win-w) * 1.0957 - 174px) / 3.57), 7.75rem);

  --display: "Archivo", "Arial Narrow", sans-serif;
  --text: "Archivo", system-ui, sans-serif;

  color-scheme: dark;
  scrollbar-color: #3B7650 var(--ground);
  interpolate-size: allow-keywords;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--text);
  font-stretch: 100%;
  font-weight: 420;
  font-size: var(--t-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--lime);
}

::selection { background: var(--lime); color: var(--on-lime); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
main:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
  border-radius: var(--radius);
}

a, button, summary, [role="slider"] { touch-action: manipulation; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 16px;
  top: 52px;
  z-index: 1001;
  padding: 10px 16px;
  background: var(--lime);
  color: var(--on-lime);
  font-weight: 640;
  text-decoration: none;
}

.wrap {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

.section h2 {
  font-family: var(--display);
  font-stretch: 66%;
  font-weight: 880;
  font-size: var(--d-2);
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
}
.note { color: var(--ink-2); font-size: var(--t-meta); }
.lede { font-size: var(--t-large); line-height: 1.45; max-width: 34ch; text-wrap: pretty; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  background: var(--lime);
  color: var(--on-lime);
  font: 640 var(--t-body)/1 var(--text);
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px -8px rgba(5, 20, 9, 0.55);
  cursor: pointer;
  transition: background-color 180ms ease, transform 140ms var(--ease-out);
  user-select: none;
  -webkit-user-select: none;
}
.btn:active { transform: scale(0.97); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 560;
  text-decoration: underline;
  text-decoration-color: rgba(233, 242, 214, 0.4);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color 180ms ease;
}
.link svg { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--lime-hi); }
  .link:hover { text-decoration-color: var(--lime); }
  .link:hover svg { transform: translateX(3px); }
}

/* ---------- Stage: one mown field under everything ---------- */

/* clip, not hidden: an overflow:hidden box can still be scrolled by a menu jump (#hash),
   which slid the whole page up inside it and left empty lawn below the footer */
.stage {
  position: relative;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
}

/* The field: a rotated sheet of passes. It pivots on the top centre of the page, so the hero
   mapping never depends on the page height; JS slides it along its normal (--shift) so the
   passes meet the photo stripes at the hero window. */
.field {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: -600px;
  width: 24000px;
  height: calc(100% + 1400px);
  margin-left: -12000px;
  transform-origin: 12000px 600px;
  transform: rotate(var(--angle)) translateY(var(--shift, 0px));
  pointer-events: none;
}
/* below the first 18 passes the lawn is a static pattern */
.field::after {
  content: "";
  position: absolute;
  inset: calc(var(--band) * 36) 0 0 0;
  background: repeating-linear-gradient(to bottom, transparent 0 var(--band), var(--pass) var(--band) calc(var(--band) * 2));
}
.pass {
  position: absolute;
  left: 9000px;            /* local x -3000 … +3000 around the pivot for the mown-in passes; the static lawn below spans ±12000 */
  width: 6000px;
  top: calc((2 * var(--n) + 1) * var(--band));
  height: var(--band);
  background: var(--pass);
}
/* passes alternate direction, like a mower going out and back */
/* a fixed travel: the leading end starts 1300px past the pivot, as before, so the mow-in looks the same */
.pass:nth-child(even) { --from: 4300px; }
.pass:nth-child(odd) { --from: -4300px; }

/* ---------- Top bar ---------- */

/* Menu jumps land the heading below the demo bar and the pinned header. */
html:not(.vr-closed) { scroll-padding-top: calc(44px + var(--bar-h) + 24px); }
html.vr-closed { scroll-padding-top: calc(var(--bar-h) + 24px); }

/* After the first screen the header comes back as a compact bar when scrolling up (all widths). */
.bar.is-pinned {
  position: fixed;
  top: 44px;
  max-width: none;
  padding-inline: max(var(--gutter), calc((100% - 1440px) / 2 + var(--gutter)));
  background: var(--ground);
  box-shadow: 0 10px 24px -16px rgba(4, 18, 8, 0.9);
  transition: transform 240ms var(--ease-out);
}
.vr-closed .bar.is-pinned { top: 0; }
.bar.is-pinned.is-away { transform: translateY(calc(-100% - 44px)); }

.bar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand-mark { width: 26px; height: 26px; }
.brand-word {
  font-family: var(--display);
  font-stretch: 72%;
  font-weight: 820;
  font-size: 1.625rem;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.amp { color: var(--lime); }

.nav-list { display: flex; align-items: center; gap: 34px; }
.nav-list a {
  display: inline-block;
  padding: 10px 0;
  font-size: var(--t-nav);
  font-weight: 560;
  text-decoration: none;
  background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 100% / 0 2px;
  transition: background-size 220ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-list a:hover { background-size: 100% 2px; }
}
.nav-phone, .nav-cta { display: none; }

.btn--bar { min-height: 46px; padding: 0 22px; font-size: var(--t-nav); }
.menu-btn { display: none; }

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

.hero {
  position: relative;
  view-transition-name: demo-rohe-ja-kivi;
  min-height: 100svh;
  padding: calc(var(--bar-h) + 28px) var(--gutter) 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--win-w);
  column-gap: var(--col-gap);
  align-items: start;
}
html:not(.vr-closed) .hero { min-height: calc(100svh - 44px); }
@media (min-width: 1568px) {
  .hero { padding-inline: calc((100vw - 1440px) / 2 + var(--gutter)); }
}

.hero-title {
  display: flex;               /* flex: the masks' negative margins must not collapse */
  flex-direction: column;
  font-family: var(--display);
  font-stretch: 66%;
  font-weight: 880;
  font-size: var(--h1);
  line-height: 0.92;
  text-transform: uppercase;
}
.hero-title .line {
  display: block;
  padding-block: 0.2em;        /* room for Ü dots and the comma inside the rising mask */
  margin-block: -0.2em;
  overflow: hidden;
}
.hero-title .line > span { display: block; }

.hero-sub {
  max-width: 30ch;
  margin: 32px 0 28px;
  font-size: var(--t-large);
  line-height: 1.4;
}
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-phone { margin-top: 18px; font-size: var(--t-meta); color: var(--ink-2); }
.hero-phone a {
  color: var(--ink);
  font-weight: 560;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  .hero-phone a:hover { color: var(--lime); }
}

/* The window onto the real lawn: from the cap line of the headline to the bottom of the button row.
   It shows the top of the 324 x 355 crop; shorter windows (phones) show less of the bottom. */
.window {
  position: relative;
  width: var(--win-w);
  height: calc(var(--win-w) * var(--crop-h) / 324);
  margin-top: calc(var(--h1) * 0.11);
  overflow: hidden;
  background: var(--pass);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -28px rgba(4, 18, 8, 0.75), 0 2px 6px rgba(4, 18, 8, 0.25);
}
.window picture { display: contents; }
.window-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  transform-origin: 70% 20%;
}

/* ---------- Sections ---------- */

.section { position: relative; padding-block: 104px; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--col-gap);
  align-items: start;
}
/* cap line of the heading level with the top of the right column */
.split-head h2 { margin-top: -0.095em; }
.split-head h2 + .note,
.split-head h2 + .lede { margin-top: 20px; }
.split-head .note + .lede { margin-top: 16px; }

/* ---------- Services: rows over the field ---------- */

.services { padding-top: 96px; }
.rows { border-top: 1px solid var(--rule); }
.row {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--rule);
}
/* hover mows a lighter pass across the row; rows alternate direction like the field */
.row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--sweep);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 280ms var(--ease-out);
}
.row:nth-child(even)::before { transform-origin: right center; }

.row-link {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 200px 32px;
  align-items: center;
  column-gap: 48px;
  min-height: 168px;
  padding-block: 18px;
  text-decoration: none;
}
.row-name {
  font-family: var(--display);
  font-stretch: 66%;
  font-weight: 820;
  font-size: var(--d-3);
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.row-desc { max-width: 38ch; color: var(--ink-2); font-size: var(--t-body); }
.row-thumb {
  display: block;
  width: 200px;
  aspect-ratio: 200 / 132;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--pass);
}
.row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 420ms var(--ease-out); }
.row-arrow { width: 28px; height: 28px; color: var(--lime); transition: transform 220ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .row:hover::before { transform: scaleX(1); }
  .row:hover .row-thumb img { transform: scale(1.05); }
  .row:hover .row-arrow { transform: translateX(5px); }
}
.row:focus-within::before { transform: scaleX(1); }
.row-link:focus-visible { outline-offset: -6px; }

/* ---------- Prices: rows on the mown field, ruled like the services and terms; terms underneath ---------- */

.price-list { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.price + .price { border-top: 1px solid var(--rule); }
.price {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;   /* the price keeps its own column however the name wraps */
  align-items: baseline;
  align-content: center;
  gap: 4px 24px;
  min-height: var(--band);
  padding: 0;
}
.price::before {
  display: none;   /* no solid patch: the page lawn shows through */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pass);
  transform-origin: left center;
}
.price:nth-child(even)::before { opacity: 0; }
.price:nth-child(4n + 3)::before { transform-origin: right center; }
.price-name {
  font-family: var(--display);
  font-stretch: 66%;
  font-weight: 820;
  font-size: var(--d-3);
  line-height: 1.05;
  text-transform: uppercase;
  overflow-wrap: anywhere;      /* long Estonian compounds break instead of running out */
  hyphens: auto;
  padding-block: 8px;
}
.price-val {
  font-size: var(--t-large);
  font-weight: 640;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price-val small { font-size: var(--t-meta); font-weight: 420; color: var(--ink-2); margin-right: 4px; }

.terms { margin-top: 64px; }
.terms-title {
  font-family: var(--display);
  font-stretch: 66%;
  font-weight: 820;
  font-size: var(--d-4);
  line-height: 1;
  text-transform: uppercase;
}
.terms .note { margin-top: 10px; }
.terms-list { margin-top: 20px; border-top: 1px solid var(--rule); }
.terms-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-body);
  text-wrap: pretty;
}
/* a short mown stripe as the marker, at the page's angle */
.terms-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(14px + 0.72em);
  width: 16px;
  height: 4px;
  background: var(--lime);
  transform: rotate(var(--angle));
}

/* ---------- Works: before / after ---------- */

.ba-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--pass);
  box-shadow: 0 24px 48px -30px rgba(4, 18, 8, 0.8);
  touch-action: pan-y;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag {
  position: absolute;
  top: 14px;
  padding: 6px 10px;
  background: var(--ground);
  color: var(--ink);
  font-size: var(--t-meta);
  font-weight: 640;
  line-height: 1.2;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.ba-tag--before { left: 14px; }
.ba-tag--after { right: 14px; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 44px;
  margin-left: -22px;
  outline: none;
}
.ba-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 21px;
  width: 2px;
  background: var(--ink);
  box-shadow: 0 0 0 1px rgba(4, 18, 8, 0.25);
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 6px 16px -6px rgba(4, 18, 8, 0.7);
  translate: var(--nudge, 0px) 0;     /* stays whole at 0 % and 100 %; the line stays true */
  transition: transform 160ms var(--ease-out);
}
.ba-knob::before,
.ba-knob::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4.5px;
  border: solid var(--on-lime);
  border-width: 0 0 2px 2px;
}
.ba-knob::before { left: 9px; transform: rotate(45deg); }
.ba-knob::after { right: 9px; transform: rotate(-135deg); }
.ba-handle:focus-visible .ba-knob { outline: 2px solid var(--ink); outline-offset: 3px; }
.ba.is-dragging .ba-knob { transform: scale(0.94); }
.ba-cap { display: grid; gap: 10px; margin-top: 18px; }
.ba-cap h3 {
  font-family: var(--display);
  font-stretch: 66%;
  font-weight: 820;
  font-size: var(--d-4);
  line-height: 1;
  text-transform: uppercase;
}
.ba-cap p { color: var(--ink-2); font-size: var(--t-meta); }
.tag {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 7px;
  border: 1px solid var(--lime);
  color: var(--lime);
  font-size: var(--t-meta);
  font-weight: 640;
  line-height: 1.3;
  text-transform: uppercase;
  border-radius: var(--radius);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--col-gap);
  align-items: center;
}
.about-photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--pass);
  box-shadow: 0 30px 60px -30px rgba(4, 18, 8, 0.8);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text h2 { margin-bottom: 28px; }
.about-text .lede { font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.35; max-width: 26ch; }
.about-text .lede + p { margin-top: 24px; max-width: 44ch; color: var(--ink-2); }

/* ---------- FAQ: full-width stripe rows, answers open into the right-hand column ---------- */

.faq-list { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.faq-list details + details { border-top: 1px solid var(--rule); }
.faq-list summary {
  display: block;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-q {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--band);
  padding-block: 14px;
  padding-right: calc(var(--gutter) + 44px);
  font-size: var(--t-large);
  font-weight: 560;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
/* plus that turns into a minus: two drawn bars, pinned to the first line */
.faq-q::before,
.faq-q::after {
  content: "";
  position: absolute;
  right: calc(var(--gutter) + 4px);
  top: calc(var(--band) / 2 - 1px);
  width: 18px;
  height: 2px;
  background: var(--lime);
  transition: transform 240ms var(--ease-out);
}
.faq-q::after { transform: rotate(90deg); }
.faq-list details[open] .faq-q::after { transform: rotate(0deg); }
.faq-list summary:focus-visible { outline-offset: -4px; }
.faq-a {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--col-gap);
  padding-bottom: 28px;
}
.faq-a p { grid-column: 2; max-width: 58ch; }
.faq-list details::details-content {
  block-size: 0;
  overflow: clip;
  transition: block-size 260ms var(--ease-out), content-visibility 260ms allow-discrete;
}
.faq-list details[open]::details-content { block-size: auto; }

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

.contact-list { margin-top: 32px; display: grid; gap: 6px; font-size: var(--t-large); font-weight: 560; }
.contact-list a {
  text-decoration: underline;
  text-decoration-color: rgba(233, 242, 214, 0.35);
  text-underline-offset: 6px;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) {
  .contact-list a:hover { text-decoration-color: var(--lime); }
}
.contact-list li:last-child { color: var(--ink-2); font-weight: 420; }

.form {
  display: grid;
  gap: 20px;   /* no panel: the fields sit straight on the mown field */
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-l { display: grid; gap: 8px; font-size: var(--t-body); font-weight: 560; }
.field-l em { font-style: normal; font-weight: 420; color: var(--ink-2); }
.field-l--short { width: calc(50% - 10px); }     /* same width as one column of the row above */
.form input,
.form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 14px;
  border: 1px solid rgba(233, 242, 214, 0.5);
  border-radius: var(--radius);
  background: #173D22;
  color: var(--ink);
  font: 420 1rem/1.4 var(--text);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.form textarea { resize: vertical; min-height: 132px; }
.form input:focus,
.form textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime); }
.form [aria-invalid="true"],
.form [aria-invalid="true"]:focus { border-color: var(--warn); box-shadow: 0 0 0 1px var(--warn); }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.msg { font-size: var(--t-body); max-width: 40ch; }
.msg.err { color: var(--warn); }
.msg.ok { color: var(--lime); }

/* ---------- Footer: brand on the 5 columns, contacts and the demo line on the 7 ---------- */

.foot { position: relative; padding-block: 56px calc(56px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule); }
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--col-gap);
  row-gap: 24px;
  align-items: start;
}
.foot-r { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--col-gap); row-gap: 16px; }
.foot p { color: var(--ink-2); font-size: var(--t-meta); }
.foot .brand { margin-bottom: 10px; }
.foot p a { color: var(--ink); text-decoration-color: rgba(233, 242, 214, 0.35); text-underline-offset: 5px; overflow-wrap: anywhere; }
.foot small { color: var(--ink-2); font-size: var(--t-meta); line-height: 1.5; }
.foot small a { color: var(--ink); text-underline-offset: 4px; }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  max-width: min(440px, calc(100vw - 32px));
  padding: 14px 18px;
  background: var(--ink);
  color: var(--on-lime);
  font-size: var(--t-body);
  font-weight: 560;
  border-radius: var(--radius);
  box-shadow: 0 16px 40px -14px rgba(4, 18, 8, 0.8);
  transform: translate(-50%, 16px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s linear 240ms;
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 200ms var(--ease-out), transform 240ms var(--ease-out), visibility 0s;
}

/* ---------- Load sequence (only when html.is-anim) ---------- */

@keyframes mow { from { transform: translateX(var(--from)); } to { transform: translateX(0); } }
/* start fully below the mask, including its 0.2em padding and the Ü dots above the line box, so nothing shows before the rise */
@keyframes rise { from { transform: translateY(calc(100% + 0.5em)); } to { transform: translateY(0); } }
@keyframes lift { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes open { from { clip-path: inset(47% 0 47% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }

.is-anim .pass { animation: mow 860ms var(--ease-drawer) both; animation-delay: calc(var(--i) * 60ms); }
.is-anim .hero-title .line > span { animation: rise 820ms var(--ease-out) both; animation-delay: calc(300ms + var(--l, 0) * 70ms); }
.is-anim .hero-title .line:nth-child(2) > span { --l: 1; }
.is-anim .hero-title .line:nth-child(3) > span { --l: 2; }
.is-anim .hero-title .line:nth-child(4) > span { --l: 3; }
.is-anim .hero-sub { animation: lift 640ms var(--ease-out) 640ms both; }
.is-anim .hero-actions { animation: lift 640ms var(--ease-out) 710ms both; }
.is-anim .hero-phone { animation: lift 640ms var(--ease-out) 770ms both; }
.is-anim .window { animation: open 900ms var(--ease-drawer) 200ms both; }
.is-anim .window-img { animation: settle 1000ms var(--ease-out) 200ms both; }
.is-anim .bar { animation: appear 400ms var(--ease-out) 80ms both; }

/* Scroll reveals: only once script.js has run (html.js-reveal), so a failed script hides nothing.
   Headings lift; the price passes mow in across the patch. */
.js-reveal .reveal { opacity: 0; transform: translateY(16px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .price::before { transform: scaleX(0); transition: transform 760ms var(--ease-drawer); transition-delay: calc(var(--i, 0) * 70ms); }
.js-reveal .price-list.in .price::before { transform: scaleX(1); }
.price:nth-child(1) { --i: 0; } .price:nth-child(2) { --i: 1; } .price:nth-child(3) { --i: 2; } .price:nth-child(4) { --i: 3; } .price:nth-child(5) { --i: 4; }

@media (prefers-reduced-motion: reduce) {
  .faq-list details::details-content { transition: none; }
  .row::before, .row-thumb img, .row-arrow, .link svg, .toast, .bar { transition-duration: 0ms; }
}

/* ---------- Tablet landscape / small laptop ---------- */

@media (max-width: 1180px) {
  :root { --gutter: 40px; --col-gap: 40px; }
  .nav-list { gap: 24px; }
  .bar { gap: 28px; }
  .row-link { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 160px 28px; column-gap: 32px; }
  .row-thumb { width: 160px; }
  .ba-list { gap: 20px; }
}

/* ---------- Phone and tablet portrait ---------- */

@media (max-width: 860px) {
  /* the window shows the top 4:3 of the crop; the band still follows the window width */
  :root {
    --gutter: 20px;
    --bar-h: 68px;
    --crop-h: 243;
    --win-w: min(560px, 100vw - 40px);
    --h1: clamp(3rem, 16.6vw, 5.5rem);
  }

  .bar { gap: 12px; transition: transform 240ms var(--ease-out); }
  .brand-word { font-size: 1.4375rem; }
  .btn--bar { display: none; }
  /* After the first screen the header comes back as a compact bar when scrolling up. */

  .menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 14px;
    margin-right: -6px;
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(233, 242, 214, 0.35);
    border-radius: var(--radius);
    font: 560 var(--t-meta)/1 var(--text);
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    transition: transform 140ms var(--ease-out), border-color 180ms ease;
  }
  .menu-btn svg { width: 18px; height: 18px; }
  .menu-btn:active { transform: scale(0.97); }
  .menu-btn[aria-expanded="true"] { border-color: var(--lime); }

  .nav {
    position: absolute;
    inset: var(--bar-h) 0 auto 0;
    padding: 8px var(--gutter) 28px;
    background: var(--ground);
    box-shadow: 0 24px 40px -24px rgba(4, 18, 8, 0.8);
    opacity: 0;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s linear 200ms;
  }
  .nav.is-open {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list li + li { border-top: 1px solid rgba(233, 242, 214, 0.12); }
  .nav-list a {
    display: block;
    padding: 14px 0;
    font-family: var(--display);
    font-stretch: 66%;
    font-weight: 820;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    background: none;
  }
  .nav-cta, .nav-phone { display: block; }
  .nav-cta a { color: var(--lime); }
  .nav-phone a { font-family: var(--text); font-stretch: 100%; font-weight: 560; font-size: var(--t-body); text-transform: none; color: var(--ink); }

  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    padding: calc(var(--bar-h) + 16px) var(--gutter) 48px;
    row-gap: 24px;
  }
  html:not(.vr-closed) .hero { min-height: 0; }
  .hero-title { order: 1; }
  .hero-copy { display: contents; }
  .window { order: 2; margin: 0; }
  .hero-sub { order: 3; margin: 0; }
  .hero-actions { order: 4; gap: 20px; margin-top: -8px; }
  .hero-phone { order: 5; margin-top: -16px; }

  .section { padding-block: 80px; }
  .section-head { margin-bottom: 28px; flex-wrap: wrap; }
  .split, .about-grid { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .split-head h2 { margin-top: 0; }

  .services { padding-top: 72px; }
  .row-link {
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas: "thumb name" "thumb desc";
    column-gap: 18px;
    row-gap: 6px;
    min-height: 0;
    padding-block: 22px;
    align-items: start;
  }
  .row-thumb { grid-area: thumb; width: 96px; aspect-ratio: 1; }
  .row-name { grid-area: name; }
  .row-desc { grid-area: desc; }
  .row-arrow { display: none; }

  .price { padding: 16px 18px; grid-template-columns: minmax(0, 1fr); }
  .price-name { padding-block: 0; }
  .price-val { white-space: normal; }

  .ba-list { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ba { aspect-ratio: 1; }

  .about-photo { max-width: 420px; }

  .faq-q { font-size: var(--t-body); padding-right: 56px; }
  .faq-a { grid-template-columns: minmax(0, 1fr); padding-bottom: 22px; }
  .faq-a p { grid-column: 1; }


  .form-row { grid-template-columns: minmax(0, 1fr); }
  .field-l--short { width: auto; }

  .foot-grid, .foot-r { grid-template-columns: minmax(0, 1fr); }
}

/* Tablet portrait: copy first so the button stays on the first screen, then a 4:3 window; two sliders a row. */
@media (min-width: 600px) and (max-width: 860px) {
  :root { --h1: clamp(3.5rem, 11.5vw, 5.5rem); }
  .hero-sub { order: 2; }
  .hero-actions { order: 3; margin-top: -4px; }
  .hero-phone { order: 4; }
  .window { order: 5; margin-top: 12px; }
  .ba-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .ba { aspect-ratio: 4 / 5; }
  /* an odd last pair takes the whole row instead of leaving an empty half */
  .ba-item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ba-item:last-child:nth-child(odd) .ba { aspect-ratio: 3 / 2; }
}

/* Short phones: a 16:9 window and a smaller headline keep the button on the first screen. */
@media (max-width: 599px) and (max-height: 700px) {
  :root { --crop-h: 182; --h1: clamp(2.75rem, 13vw, 4rem); }
  .hero { row-gap: 20px; }
}
