/* Lanier Commercial Care. Design notes live in DESIGN.md.
   Surfaces: turf (fescue/pine), asphalt, stall paint (stripe). Accent: copper. */

:root {
  --fescue: #1E4630;
  --pine: #2A5B3E;
  --clipping: #A8C686;
  --asphalt: #2C2F2E;
  --asphalt-deep: #222624;
  --stripe: #F5EFE1;
  --stripe-soft: rgba(245, 239, 225, 0.74);
  --stripe-faint: rgba(245, 239, 225, 0.16);
  --copper: #C1792F;
  --copper-light: #DB9A52;
  --copper-deep: #915B23;
  --ink: #211D16;
  --ink-soft: #564F41;

  --font-display: 'Fjalla One', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-text: 'Archivo', ui-sans-serif, system-ui, sans-serif;

  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.4rem;
  --step-2: clamp(1.7rem, 1.25rem + 1.6vw, 2.35rem);
  --step-3: clamp(2.2rem, 1.2rem + 3.9vw, 4.1rem);
  --step-4: clamp(2.9rem, 0.6rem + 6vw, 6.6rem);

  --gutter: clamp(20px, 5vw, 72px);
  --wrap: 1240px;
  --header-h: 68px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  background: var(--asphalt);
  color: var(--stripe);
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: var(--step-3); line-height: 1.04; letter-spacing: 0.004em; }
h3 { font-size: var(--step-1); line-height: 1.15; letter-spacing: 0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid var(--clipping); outline-offset: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--stripe); color: var(--ink);
  padding: 10px 14px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* ---------- shared canvas ---------- */

.stage {
  position: fixed; inset: 0; width: 100%; height: 100%;
  z-index: 0; pointer-events: none; display: none;
}
.gl .stage { display: block; }

main { position: relative; z-index: 1; }

/* ---------- buttons ---------- */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 24px; border: 0; border-radius: 2px; cursor: pointer;
  background: var(--copper); color: #17140F;
  font: 600 1rem/1.2 var(--font-text); text-decoration: none;
  transition: background-color 0.2s ease;
  overflow: hidden; isolation: isolate;
}
.btn:hover { background: var(--copper-light); }
.btn--small { padding: 10px 16px; font-size: 0.92rem; }
.btn--large { padding: 19px 32px; font-size: 1.125rem; }

/* Pointer-following sheen. src/sections/buttons.js sets --mx / --my. */
.btn--glow::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: radial-gradient(140px circle at var(--mx, 50%) var(--my, 50%), #F6C98A 0%, rgba(246, 201, 138, 0) 70%);
  transition: opacity 0.25s ease;
}
.btn--glow:hover::before { opacity: 1; }

/* ---------- header ---------- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: background-color 0.3s ease;
}
.site-header.is-solid { background: var(--asphalt); }
.site-header__logo { flex: none; }
.site-header__logo svg { display: block; height: var(--logo-h, 40px); width: auto; }
.site-header__nav {
  flex: none; display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px);
  font-size: 0.95rem; font-weight: 600; white-space: nowrap;
}
.site-header__nav a:not(.btn) { text-decoration: none; }
.site-header__nav a:not(.btn):hover { text-decoration: underline; text-underline-offset: 5px; }

@media (max-width: 860px) {
  .site-header__nav a:not(.btn):not(.site-header__phone) { display: none; }
}
/* Below 640px the full lockup, the phone number and the button no longer fit
   on one line. The lockup is cropped to the mark and LANIER: the svg is drawn
   with "slice", so giving it a narrower box cuts off COMMERCIAL CARE (the
   mark and LANIER end at 484 of the 136-tall drawing). */
@media (max-width: 640px) {
  .site-header__logo svg { width: calc(var(--logo-h, 40px) * 484 / 136); }
}
@media (max-width: 460px) {
  .site-header { gap: 16px; --logo-h: 34px; }
  .site-header__phone { display: none; }
}

/* ---------- 1. hero ---------- */

.hero { position: relative; height: 100svh; min-height: 560px; }
.gl.motion .hero { height: 165svh; }

.hero__pin {
  position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--header-h) + 24px) var(--gutter) clamp(44px, 9vh, 104px);
}
/* Scrim so the headline reads over leaves and over the parking lot beneath them. */
.hero__pin::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(22, 26, 24, 0.82) 0%, rgba(22, 26, 24, 0.6) 34%, rgba(22, 26, 24, 0) 66%);
}
.hero__still { position: absolute; inset: 0; width: 100%; height: 100%; }
.gl .hero__still { display: none; }

.hero__copy { position: relative; }
.hero__title { font-size: var(--step-4); line-height: 0.96; letter-spacing: 0.002em; }
.hero__title span { display: block; }
@media (min-width: 700px) { .hero__title span { white-space: nowrap; } }
.hero__sub { margin-top: clamp(16px, 2.4vh, 28px); font-size: clamp(1.1rem, 0.9rem + 0.8vw, 1.5rem); line-height: 1.35; color: var(--stripe); max-width: 30ch; }
.hero__actions { margin-top: clamp(24px, 4vh, 40px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero__call { font-weight: 600; text-underline-offset: 5px; }

.hero__cue {
  position: absolute; right: var(--gutter); bottom: clamp(44px, 9vh, 104px);
  display: none; align-items: center; gap: 12px;
  padding: 9px 14px; border-radius: 2px; background: rgba(34, 38, 36, 0.8);
  font-size: var(--step--1); font-weight: 600; color: var(--stripe);
  transition: opacity 0.5s ease;
}
.gl.motion .hero__cue { display: flex; }
.hero__cue-line { width: 44px; height: 3px; border-radius: 2px; background: var(--stripe); transform-origin: left; animation: cue 2.4s var(--ease-out) infinite; }
.hero.is-clear .hero__cue { opacity: 0; }
@keyframes cue { 0% { transform: scaleX(0); } 55%, 100% { transform: scaleX(1); } }

@media (max-width: 760px), (orientation: portrait) {
  .hero__pin::before {
    background: linear-gradient(0deg, rgba(22, 26, 24, 0.88) 0%, rgba(22, 26, 24, 0.66) 46%, rgba(22, 26, 24, 0) 80%);
  }
  .hero__cue { position: relative; right: auto; bottom: auto; margin-top: 28px; align-self: flex-start; }
}

/* ---------- 2. seasons ---------- */

.seasons { position: relative; }
.seasons__pin { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.seasons__text {
  background: var(--stripe); color: var(--ink);
  padding: clamp(72px, 10vh, 128px) clamp(24px, 4.4vw, 76px) clamp(48px, 7vh, 88px) var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
}
.seasons__text h2 { font-size: clamp(2rem, 1.1rem + 2.9vw, 3.4rem); max-width: 15ch; }
.seasons__lede { margin-top: 20px; max-width: 44ch; color: var(--ink-soft); }
.seasons__list { list-style: none; margin-top: clamp(24px, 4vh, 44px); display: grid; gap: 4px; }
.seasons__list li {
  position: relative; padding: 10px 0 10px 22px;
  transition: opacity 0.35s ease;
}
/* The bar marks the season the scene is showing. */
.seasons__list li::before {
  content: ''; position: absolute; left: 0; top: 10px; bottom: 10px; width: 5px; border-radius: 3px;
  background: var(--copper-deep); transform: scaleY(0); transform-origin: top; transition: transform 0.35s var(--ease-out);
}
.seasons__list h3 { font-size: 1.3rem; }
.seasons__list p { margin-top: 2px; max-width: 46ch; color: var(--ink-soft); font-size: 1rem; }
.seasons__scene { position: relative; min-height: 62vh; background: #2F6443; }
.gl .seasons__scene { background: transparent; }

/* Scroll-driven version: tall track, pinned panel, one season lit at a time.
   The panel pins under the site header and fills the rest of the screen, so
   the header never covers the scene. src/gl/seasons.js reads this `top`. */
.gl.motion .seasons { height: 380vh; }
.gl.motion .seasons__pin {
  --pin-h: calc(100svh - var(--header-h));
  position: sticky; top: var(--header-h); height: var(--pin-h);
}
.gl.motion .seasons__text { padding-top: clamp(24px, 4vh, 56px); padding-bottom: clamp(24px, 4vh, 56px); }
.gl.motion .seasons__scene { min-height: 0; }
.gl.motion .seasons__list li { opacity: 0.36; }
.gl.motion .seasons__list li.is-active { opacity: 1; }
.gl.motion .seasons__list li.is-active::before { transform: scaleY(1); }

/* The pinned panel is exactly one screen tall, so the text has to fit it.
   Three layouts cover every window shape:
   - tall and wide: two columns, all four seasons listed (above);
   - short and wide (most laptops, phones on their side): two columns, the
     seasons as a row of names with only the current one described;
   - narrow or upright: scene on top, the current season underneath. */

@media (min-width: 561px) and (orientation: landscape) and (max-height: 919px) {
  .gl.motion .seasons__text {
    padding-top: clamp(12px, 3vh, 28px);
    padding-bottom: clamp(16px, 3.5vh, 32px);
  }
  .gl.motion .seasons__text h2 { font-size: min(clamp(1.5rem, 0.6rem + 2.6vw, 3.4rem), 7.6vh); max-width: none; }
  .gl.motion .seasons__lede { margin-top: clamp(8px, 2vh, 18px); }
  .gl.motion .seasons__list {
    margin-top: clamp(12px, 3.2vh, 28px);
    grid-template-columns: repeat(4, max-content) 1fr; column-gap: clamp(14px, 2vw, 28px); row-gap: 0;
  }
  /* The items dissolve so names and descriptions can sit on one shared grid. */
  .gl.motion .seasons__list li { display: contents; }
  .gl.motion .seasons__list li::before { display: none; }
  .gl.motion .seasons__list h3 {
    grid-row: 1; padding-bottom: 6px; border-bottom: 4px solid transparent;
    font-size: clamp(1.05rem, 0.7rem + 0.8vw, 1.3rem);
    opacity: 0.45; transition: opacity 0.35s ease, border-color 0.35s ease;
  }
  .gl.motion .seasons__list li.is-active h3 { opacity: 1; border-color: var(--copper-deep); }
  /* All four descriptions share one cell, so the block never changes height. */
  .gl.motion .seasons__list p {
    grid-row: 2; grid-column: 1 / -1; margin-top: 12px;
    opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s;
  }
  .gl.motion .seasons__list li.is-active p { opacity: 1; visibility: visible; }
}
@media (min-width: 561px) and (orientation: landscape) and (max-height: 520px) {
  .gl.motion .seasons__lede { display: none; }
}

@media (max-width: 860px) and (orientation: portrait), (max-width: 560px) {
  .seasons__pin { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .seasons__scene { grid-row: 1; min-height: 44svh; }
  .seasons__text { grid-row: 2; padding: 28px var(--gutter) 32px; justify-content: flex-start; }
  .gl.motion .seasons__pin { grid-template-rows: calc(var(--pin-h) * 0.46) minmax(0, 1fr); }
  .gl.motion .seasons__text { padding: clamp(16px, 3.4svh, 28px) var(--gutter) 16px; }
  .gl.motion .seasons__text h2 { font-size: clamp(1.45rem, 0.9rem + 3.4vw, 2.2rem); max-width: none; }
  .gl.motion .seasons__lede { display: none; }
  .gl.motion .seasons__list { margin-top: clamp(8px, 2svh, 18px); }
  .gl.motion .seasons__list li { display: none; }
  .gl.motion .seasons__list li.is-active { display: block; }
}

/* ---------- 3. services ---------- */

.services {
  position: relative; background-color: var(--fescue); color: var(--stripe);
  /* Faint mow stripes, 84px wide, placed so one runs down the centre line:
     the mower is the same width and drives along it. */
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0 42px, rgba(255, 255, 255, 0.026) 42px 126px, rgba(255, 255, 255, 0) 126px 168px);
  background-size: 168px 100%; background-position: 50% 0;
  padding: clamp(88px, 12vw, 168px) 0;
  /* Cards wait off to the side before they slide in; without this they make
     the page a few pixels wider than the screen. */
  overflow-x: clip;
}
.services__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.services__title span { display: block; }
.services__field { --gap: clamp(64px, 11vw, 176px); --mower-w: min(84px, calc(var(--gap) - 20px)); position: relative; margin-top: clamp(48px, 7vw, 104px); }

.services__cut {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; margin-left: -3px;
  border-radius: 3px; background: rgba(245, 239, 225, 0.09);
}
.services__cut-fill {
  position: absolute; inset: 0; border-radius: 3px; background: var(--clipping);
  transform-origin: top; transform: scaleY(var(--cut, 1));
  box-shadow: 0 0 20px rgba(168, 198, 134, 0.55);
}
/* The stripe the mower has just cut: its own width, a shade lighter. */
.services__cut-fill::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
  width: var(--mower-w); margin-left: calc(var(--mower-w) * -0.5);
  background: rgba(168, 198, 134, 0.1);
}
/* The mower rides the head of the line. Drawn in index.html, front at the bottom. */
.services__cut-head {
  position: absolute; left: 50%; top: calc(var(--cut, 1) * 100%);
  width: var(--mower-w); transform: translate(-50%, -50%);
  filter: drop-shadow(3px 6px 5px rgba(8, 20, 13, 0.5));
}
.mower { display: block; width: 100%; height: auto; overflow: visible; }
.mower__body { fill: var(--copper); }
.mower__deep { fill: var(--copper-deep); }
.mower__lip { fill: none; stroke: var(--copper-light); stroke-width: 1.3; stroke-linecap: round; }
.mower__guard { fill: none; stroke: var(--copper-deep); stroke-width: 2.4; stroke-linecap: round; }
.mower__dark { fill: #252827; }
.mower__rubber { fill: #1B1D1C; }
.mower__steel { fill: #4B504D; }
.mower__ring { fill: none; stroke: #1B1D1C; stroke-width: 1.4; }
.mower__tyre { fill: #171918; }
.mower__tread { stroke: #3C413E; stroke-dasharray: 1.7 3.1; stroke-dashoffset: calc(var(--roll, 0) * -1px); }
.mower__bar { fill: none; stroke: #171918; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.mower__leg { fill: #3A4048; }
.mower__arm { fill: none; stroke: var(--stripe); stroke-width: 3.5; stroke-linecap: round; }
.mower__shirt { fill: var(--stripe); }
.mower__glove { fill: #8E949A; }
.mower__cap { fill: #2E3231; }
.mower__brim { fill: #171918; }
/* Clippings leave the chute only while the mower is moving. */
.mower__clippings { fill: var(--clipping); opacity: 0; transition: opacity 0.3s ease; }
.mower__clippings rect { animation: mower-clippings 0.7s linear infinite paused; }
.is-mowing .mower__clippings { opacity: 1; }
.is-mowing .mower__clippings rect { animation-play-state: running; }
@keyframes mower-clippings {
  0% { opacity: 0; transform: translate(0, 0); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)); }
}

.services__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); row-gap: clamp(20px, 3vw, 40px); }
.service { position: relative; grid-column: 1; }
.service:nth-child(even) { grid-column: 2; }
.service:nth-child(1) { grid-row: 1; }
.service:nth-child(2) { grid-row: 2; }
.service:nth-child(3) { grid-row: 3; }
.service:nth-child(4) { grid-row: 4; }
.service h3 { font-size: var(--step-2); }
.service > p { margin-top: 10px; max-width: 40ch; }
.service ul { list-style: none; margin-top: 16px; display: grid; gap: 8px; color: var(--stripe-soft); font-size: 0.98rem; max-width: 44ch; }
.service ul li { position: relative; padding-left: 26px; }
.service ul li::before { content: ''; position: absolute; left: 0; top: 0.72em; width: 14px; height: 3px; border-radius: 2px; background: var(--clipping); }

/* Branch from the main cut to each service. */
.service::before {
  content: ''; position: absolute; top: 1.05rem; height: 3px; border-radius: 2px; background: var(--clipping);
  width: calc(var(--gap) / 2 - 14px); right: calc(var(--gap) / -2 + 0px);
  transform-origin: right; transform: scaleX(1);
}
.service:nth-child(even)::before { right: auto; left: calc(var(--gap) / -2 + 0px); transform-origin: left; }

/* Entrance, only once src/sections/services.js has taken over. */
.anim-services .service { opacity: 0; transform: translateX(-56px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.anim-services .service:nth-child(even) { transform: translateX(56px); }
.anim-services .service::before { transform: scaleX(0); transition: transform 0.5s var(--ease-out) 0.15s; }
.anim-services .service.is-in { opacity: 1; transform: none; }
.anim-services .service.is-in::before { transform: scaleX(1); }

@media (max-width: 760px) {
  .services__cut { left: 3px; margin-left: 0; }
  /* The line sits at the left edge here, so the stripes shift to stay under it.
     The mower is as large as the margin allows, and mirrored so the chute
     throws toward the page, not off its edge. */
  .services { background-position: calc(var(--gutter) + 6px - 84px) 0; }
  .services__field { --mower-w: 40px; }
  .mower { transform: scaleX(-1); }
  .services__list { grid-template-columns: 1fr; padding-left: 40px; row-gap: 48px; }
  .service, .service:nth-child(even) { grid-column: 1; }
  .service::before, .service:nth-child(even)::before { left: -34px; right: auto; width: 24px; transform-origin: left; }
  .anim-services .service, .anim-services .service:nth-child(even) { transform: translateX(40px); }
}

/* ---------- 4. how we work ---------- */

.process {
  position: relative; background-color: var(--asphalt); color: var(--stripe);
  /* asphalt aggregate */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  padding: clamp(88px, 12vw, 168px) 0;
}
.process__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.process__inner > h2 { max-width: 17ch; }

.process__stalls { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(48px, 7vw, 96px); }
.process__stalls li { position: relative; padding: 4px clamp(20px, 3.2vw, 48px) clamp(48px, 6vw, 84px); }
/* Painted stall lines: one on the left of every stall, one closing the last. */
.process__stalls li::before, .process__stalls li:last-child::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 6px; border-radius: 3px;
  background: var(--stripe); opacity: 0.92;
}
.process__stalls li:last-child::after { left: auto; right: 0; }
.process__num { display: block; font-family: var(--font-display); font-size: clamp(3.4rem, 2rem + 5vw, 6.4rem); line-height: 1; color: var(--stripe); }
.process__stalls h3 { margin-top: 18px; font-size: var(--step-1); }
.process__stalls p { margin-top: 8px; color: var(--stripe-soft); max-width: 32ch; }

.process__proof { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 4vw, 56px); margin-top: clamp(48px, 6vw, 88px); color: var(--stripe-soft); font-size: 1rem; }
.process__proof li { max-width: 40ch; }
.process__proof strong { display: block; color: var(--stripe); font-weight: 600; margin-bottom: 4px; }

@media (max-width: 820px) {
  .process__stalls { grid-template-columns: 1fr; }
  .process__stalls li { padding: 28px 0 32px 26px; }
  .process__stalls li:last-child::after { display: none; }
  .process__proof { grid-template-columns: 1fr; }
}

/* ---------- 5. results (before / after) ---------- */

.results { position: relative; background: var(--stripe); color: var(--ink); padding: clamp(88px, 12vw, 168px) 0; }
.results[hidden] { display: none; }
.results__inner { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.results__hint { margin-top: 14px; color: var(--ink-soft); }
.results__grid { margin-top: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.results__item { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--pine); cursor: pointer; }
.results__item img, .results__item canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.results__item figcaption { position: absolute; left: 0; bottom: 0; padding: 10px 14px; background: var(--ink); color: var(--stripe); font-size: var(--step--1); font-weight: 600; }
@media (max-width: 700px) { .results__grid { grid-template-columns: 1fr; } }

/* ---------- 6. quote + footer ---------- */

.quote {
  position: relative; color: var(--stripe); isolation: isolate;
  background: linear-gradient(160deg, #1F2B25 0%, var(--asphalt) 52%, #1E2422 100%);
}
.gl .quote { background: transparent; }
.quote__bg { position: absolute; inset: 0; z-index: -1; }

.quote__inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(96px, 13vw, 184px) var(--gutter) clamp(64px, 8vw, 112px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: start;
}
.quote__lead h2 { max-width: 12ch; }
.quote__lead > p { margin-top: 20px; max-width: 40ch; color: var(--stripe-soft); }
.quote__contact { margin: clamp(28px, 4vw, 48px) 0 0; display: grid; gap: 14px; }
.quote__contact div { display: grid; grid-template-columns: 5.5rem 1fr; gap: 12px; }
.quote__contact dt { color: var(--stripe-soft); }
.quote__contact dd { margin: 0; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.quote__contact a { text-underline-offset: 5px; }

.quote__form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.quote__honey { position: absolute; left: -9999px; }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.92rem; font-weight: 600; }
.field input {
  width: 100%; padding: 14px 14px; border-radius: 2px;
  border: 1px solid rgba(245, 239, 225, 0.34); background: rgba(245, 239, 225, 0.07);
  color: var(--stripe); font: 400 1rem/1.3 var(--font-text);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field input:hover { border-color: rgba(245, 239, 225, 0.6); }
.field input:focus-visible { outline: 2px solid var(--clipping); outline-offset: 1px; border-color: var(--clipping); background: rgba(245, 239, 225, 0.1); }
/* Browsers paint autofilled fields pale blue with dark text. The fill can only
   be covered with an inset shadow, so use the field's own colour made opaque. */
.field input:autofill,
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--stripe);
  caret-color: var(--stripe);
  box-shadow: inset 0 0 0 100px #3A3C3A;
}
.quote__submit { grid-column: 1 / -1; margin-top: 10px; display: grid; gap: 16px; justify-items: start; }
.quote__status { color: var(--stripe-soft); font-size: 0.95rem; max-width: 44ch; }
.quote__status.is-error { color: #FFB4A6; }
.quote__status.is-ok { color: var(--clipping); }

.site-footer {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 36px;
  display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline;
  color: var(--stripe-soft); font-size: var(--step--1);
}
.site-footer a { margin-left: auto; text-underline-offset: 4px; }

@media (max-width: 820px) {
  .quote__inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .quote__form { grid-template-columns: 1fr; }
  .quote__contact div { grid-template-columns: 1fr; gap: 0; }
  .site-footer a { margin-left: 0; }
}

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
