/* Hein Lawn Service preview
   Type: Manrope only. Sizes snap to the Tailwind scale.
   Spacing: 2 4 8 12 16 24 32 40 48 64 80 96 only. */

:root {
  --bg: #ffffff;
  --surface: #f3f5f0;
  --ink: #0f1a12;
  --ink-2: #4b574e;
  --ink-3: #6b756d;
  --line: #e2e6df;
  --green: #1d5434;
  --green-hover: #174429;
  --green-tint: #e7f0e9;
  --sage: #e9efe3;
  --sage-line: #d6dfcf;
  --yellow: #f2c230;
  --dark: #131209;
  --dark-2: #272727;
  --dark-ink: #f5f6f2;
  --dark-ink-2: #a9ada6;
  --error: #b42318;

  --ease-ui: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);

  --gutter: 16px;
  --max: 1280px;
  --nav-h: 64px;
  --nav-space: 72px;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-block-start: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { display: block; max-width: 100%; }

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; letter-spacing: -0.02em; }
p, li, dd { text-wrap: pretty; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: top 200ms var(--ease-ui);
}
.skip-link:focus { top: 16px; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Preview notice ---------- */
.preview-bar {
  background: var(--dark);
  color: var(--dark-ink-2);
  font-size: 0.75rem;
  line-height: 1rem;
  text-align: center;
  padding: 8px var(--gutter);
}
.preview-bar strong { color: var(--dark-ink); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--green);
  --btn-ink: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 160ms var(--ease-ui), background-color 200ms ease, opacity 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn:disabled:active { transform: none; }
.btn i { font-size: 1.25rem; }

.btn-ghost {
  --btn-bg: transparent;
  --btn-ink: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-light { --btn-bg: #fff; --btn-ink: var(--ink); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.875rem; line-height: 1.25rem; }
.btn-block { width: 100%; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover:not(:disabled) { --btn-bg: var(--green-hover); }
  .btn-ghost:hover:not(:disabled) { --btn-bg: var(--surface); }
  .btn-light:hover:not(:disabled) { --btn-bg: #e9ece6; }
}

/* Loading: label fades, a short bar sweeps in its place */
.btn.is-loading { color: transparent; pointer-events: none; }
.btn.is-loading::after {
  content: '';
  position: absolute;
  inset: auto 32% calc(50% - 2px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, currentColor, transparent) no-repeat;
  background-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background-size: 40% 100%;
  animation: sweep 900ms linear infinite;
}
.btn-ghost.is-loading::after { background-color: var(--line); color: var(--ink); }
@keyframes sweep { from { background-position: -40% 0; } to { background-position: 140% 0; } }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  transition: text-decoration-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .text-link:hover { text-decoration-color: currentColor; }
}

/* ---------- Island nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: 16px;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  max-width: calc(100% - 2 * var(--gutter));
  margin-inline: auto;
  padding: 8px 8px 8px 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(15, 26, 18, 0.06), 0 8px 24px rgba(15, 26, 18, 0.08);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5rem;
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-mark { width: 24px; height: 24px; color: var(--green); }
.nav-links { display: none; gap: 24px; font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.nav-links a { text-decoration: none; color: var(--ink-2); transition: color 200ms ease; }
.nav-links a[aria-current] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); } }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-call-label { display: none; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-call-label { display: inline; }
}
@media (max-width: 420px) {
  .nav-pill { padding-left: 16px; gap: 8px; }
  .nav-quote { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-space));
  padding-block: calc(var(--nav-space) + 40px) 64px;
  background: var(--sage);
}
.hero > .wrap { position: relative; z-index: 1; }

/* Tree shade drifting over the lawn. Falls back to the flat sage color. */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1200ms var(--ease-fluid);
  pointer-events: none;
}
.hero-shade.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-shade { transition: none; } }
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 1024px) { .hero { padding-block: calc(var(--nav-space) + 64px) 96px; } }
.quote { max-width: 640px; }
@media (min-width: 1140px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    grid-template-rows: 1fr auto auto 1fr;
    grid-template-areas: '. quote' 'copy quote' 'facts quote' '. quote';
    gap: 0 64px;
  }
  .hero-copy { grid-area: copy; }
  .quote { grid-area: quote; }
  .hero-grid > .facts { grid-area: facts; align-self: start; }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--ink-2);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}
.hero-kicker i { color: var(--green); font-size: 1.25rem; }

.hero h1 {
  max-width: 680px;
  font-size: 2.25rem;
  line-height: 2.5rem;
  background: linear-gradient(90deg, #000000, #666666);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (min-width: 640px) { .hero h1 { font-size: 3rem; line-height: 1.05; } }
.hero h1 .accent {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.1em;
  text-decoration-skip-ink: none;
}

.hero-sub {
  max-width: 680px;
  margin-top: 24px;
  color: var(--ink-2);
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.hero-call {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}
.hero-call-note { color: var(--ink-3); font-size: 0.875rem; line-height: 1.25rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--sage-line);
  max-width: 560px;
}
@media (min-width: 640px) { .facts { gap: 24px; } }
@media (min-width: 1140px) { .facts { margin-top: 48px; } }
.facts dt { color: var(--green); font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
@media (min-width: 640px) { .facts dt { font-size: 1.5rem; line-height: 2rem; } }
.facts dd { margin: 4px 0 0; color: var(--ink-2); font-size: 0.875rem; line-height: 1.25rem; }

/* ---------- Quote tool ---------- */
.quote {
  position: relative;
  padding: 8px;
  border-radius: 24px;
  background: var(--bg);
  box-shadow: 0 0 0 1px rgba(15, 26, 18, 0.08), 0 24px 48px -16px rgba(15, 26, 18, 0.18);
}
.quote-map {
  position: relative;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: #2b3a2c;
  isolation: isolate;
}
@media (min-width: 640px) { .quote-map { height: 340px; } }
.quote-map.is-drawing { cursor: crosshair; }
#q-map { position: absolute; inset: 0; }
.quote-map .leaflet-container { font: inherit; background: #2b3a2c; }
.quote-map.is-drawing .leaflet-container { cursor: crosshair; }
.quote-map .leaflet-control-attribution {
  font-size: 0.625rem; /* map attribution, required, intentionally tiny */
  background: rgba(255, 255, 255, 0.7);
}
.quote-map .leaflet-bar { border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24); border-radius: 12px; overflow: hidden; }
.quote-map .leaflet-bar a { width: 36px; height: 36px; line-height: 36px; color: var(--ink); }

.map-hint {
  position: absolute;
  left: 50%;
  top: 12px;
  z-index: 500;
  transform: translateX(-50%) translateY(-8px);
  max-width: calc(100% - 112px);
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(15, 26, 18, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms var(--ease-ui), transform 250ms var(--ease-ui);
}
.quote-map.is-drawing .map-hint { opacity: 1; transform: translateX(-50%) translateY(0); }

.map-area {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 500;
  padding: 8px 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 250ms var(--ease-ui), transform 250ms var(--ease-ui);
}
.quote-map.is-drawing .map-area { opacity: 1; transform: none; }
.map-area-num { font-size: 1.5rem; line-height: 2rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.map-area-num small { font-size: 0.875rem; font-weight: 600; color: var(--ink-2); letter-spacing: 0; }
.map-area-sub { font-size: 0.75rem; line-height: 1rem; color: var(--ink-2); }

.vertex {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px var(--yellow), 0 2px 6px rgba(0, 0, 0, 0.4);
}
.vertex-first { background: var(--yellow); box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(0, 0, 0, 0.4); }
.home-pin {
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px var(--green), 0 2px 6px rgba(0, 0, 0, 0.4);
}

.quote-body { padding: 24px 16px 16px; }
@media (min-width: 640px) { .quote-body { padding: 24px 24px 16px; } }

.progress {
  display: flex;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  color: var(--ink-3);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}
.progress li { display: flex; align-items: center; gap: 8px; }
.progress li + li::before { content: ''; width: 16px; height: 1px; background: var(--line); }
.progress .dot {
  display: inline-grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.75rem;
  transition: background-color 250ms var(--ease-ui), color 250ms var(--ease-ui);
}
.progress .is-current { color: var(--ink); }
.progress .is-current .dot { background: var(--green); color: #fff; }
.progress .is-done .dot { background: var(--green-tint); color: var(--green); }

.step { animation: step-in 300ms var(--ease-ui); }
@keyframes step-in { from { opacity: 0; transform: translateY(8px); } }
.step h2 { font-size: 1.25rem; line-height: 1.75rem; }
.step-sub { margin-top: 4px; color: var(--ink-2); font-size: 0.875rem; line-height: 1.25rem; }

.field { position: relative; margin-top: 16px; }
.field label, .field .label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}
.field .optional { color: var(--ink-3); font-weight: 500; }
.input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5rem;
  transition: box-shadow 200ms ease, background-color 200ms ease;
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--green); }
.input[aria-invalid='true'] { box-shadow: inset 0 0 0 2px var(--error); background: #fff; }
textarea.input { min-height: 80px; resize: vertical; }

.address-row { display: flex; gap: 8px; }
.address-row .input-wrap { position: relative; flex: 1; min-width: 0; }
@media (max-width: 479px) {
  .address-row { flex-direction: column; }
}

.suggest {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 8px);
  z-index: 20;
  margin: 0;
  padding: 8px;
  list-style: none;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 26, 18, 0.08), 0 16px 32px rgba(15, 26, 18, 0.16);
  transform-origin: top center;
  animation: pop 180ms var(--ease-ui);
}
@keyframes pop { from { opacity: 0; transform: scale(0.97) translateY(-4px); } }
.suggest-item {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  cursor: pointer;
}
.suggest-item.is-active { background: var(--surface); }
@media (hover: hover) and (pointer: fine) { .suggest-item:hover { background: var(--surface); } }

.error-text {
  margin-top: 8px;
  color: var(--error);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}
.tool-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms var(--ease-ui), background-color 200ms ease, opacity 200ms ease;
}
.tool-btn i { font-size: 1rem; }
.tool-btn:active { transform: scale(0.97); }
.tool-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.tool-btn:disabled:active { transform: none; }
@media (hover: hover) and (pointer: fine) { .tool-btn:hover:not(:disabled) { background: #e7ebe3; } }

.link-btn {
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  cursor: pointer;
}
@media (hover: hover) and (pointer: fine) { .link-btn:hover { color: var(--ink); text-decoration-color: currentColor; } }

.size-summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

.two-col { display: grid; gap: 0 12px; }
@media (min-width: 480px) { .two-col { grid-template-columns: 1fr 1fr; } }

.checks { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.checks-grid { display: grid; gap: 8px; }
@media (min-width: 480px) { .checks-grid { grid-template-columns: 1fr 1fr; } }
.check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px;
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms ease, box-shadow 200ms ease;
}
.check input {
  appearance: none;
  flex: none;
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  margin: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 2px #c5cbc3;
  cursor: pointer;
  transition: background-color 160ms var(--ease-ui), box-shadow 160ms var(--ease-ui);
}
.check input::after {
  content: '';
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg) scale(0.6);
  opacity: 0;
  transition: transform 160ms var(--ease-ui), opacity 160ms var(--ease-ui);
}
.check input:checked { background: var(--green); box-shadow: none; }
.check input:checked::after { opacity: 1; transform: translateY(-1px) rotate(-45deg) scale(1); }
.check:has(input:checked) { background: var(--green-tint); }
.check:has(input:focus-visible) { box-shadow: 0 0 0 2px var(--green); }

.fine-print { margin-top: 12px; color: var(--ink-3); font-size: 0.75rem; line-height: 1rem; }

.success { padding: 32px 16px 24px; text-align: center; animation: step-in 300ms var(--ease-ui); }
.success:focus { outline: none; }
.success-icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green);
  font-size: 1.5rem;
}
.success h2 { font-size: 1.5rem; line-height: 2rem; }
.success p { max-width: 400px; margin: 8px auto 0; color: var(--ink-2); }
.success .preview-note {
  margin-top: 24px;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.875rem;
  line-height: 1.25rem;
  text-align: start;
}
.success .preview-note strong { color: var(--ink); }

/* ---------- Sections ---------- */
.section { padding-block: 80px; }
@media (min-width: 1024px) { .section { padding-block: 96px; } }
.section-head { max-width: 680px; }
.section-head h2 { font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .section-head h2 { font-size: 2.25rem; line-height: 2.5rem; } }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; }

/* Services: a list, not a wall of cards */
.services {
  display: grid;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.service {
  display: grid;
  gap: 8px 32px;
  padding-block: 32px;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 768px) {
  .service { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.service h3 { display: flex; align-items: baseline; gap: 12px; font-size: 1.5rem; line-height: 2rem; }
.service h3 i { flex: none; color: var(--green); font-size: 1.5rem; transform: translateY(4px); }
.service p { color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; }
.service ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.service li {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
}
.service .tag-confirm { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-3); }

/* Season calendar */
.season { background: var(--dark); color: var(--dark-ink); }
.season .section-head p { color: var(--dark-ink-2); }
.calendar { margin-top: 48px; }
.cal-months {
  display: none;
  grid-template-columns: 240px repeat(9, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 12px;
  color: var(--dark-ink-2);
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 600;
}
.cal-months span:first-child { grid-column: 1; }
.cal-rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cal-row {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  background: #1f1f1f;
}
.cal-row h3 { font-size: 1rem; line-height: 1.5rem; }
.cal-row p { color: var(--dark-ink-2); font-size: 0.875rem; line-height: 1.25rem; }
.cal-when { color: var(--yellow); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
.cal-track { display: none; }

@media (min-width: 900px) {
  .cal-months { display: grid; }
  .cal-row {
    grid-template-columns: 240px minmax(0, 1fr);
    align-items: center;
    gap: 4px;
    padding: 0;
    background: none;
    border-radius: 0;
  }
  .cal-row .cal-label { padding-right: 16px; }
  .cal-row .cal-when { display: none; }
  .cal-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 4px;
    height: 48px;
  }
  .cal-track::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: repeating-linear-gradient(90deg, #1f1f1f 0 calc(100% / 9 - 4px), transparent calc(100% / 9 - 4px) calc(100% / 9));
  }
  .cal-bar {
    position: relative;
    grid-row: 1;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 12px;
    background: var(--green);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    transform-origin: left center;
  }
  .cal-bar.is-key { background: var(--yellow); color: var(--dark); }
  .js .cal-bar { transform: scaleX(0.92); opacity: 0; transition: transform 800ms var(--ease-fluid), opacity 800ms var(--ease-fluid); }
  .js .calendar.is-in .cal-bar { transform: none; opacity: 1; }
  .js .calendar.is-in .cal-row:nth-child(2) .cal-bar { transition-delay: 60ms; }
  .js .calendar.is-in .cal-row:nth-child(3) .cal-bar { transition-delay: 120ms; }
  .js .calendar.is-in .cal-row:nth-child(4) .cal-bar { transition-delay: 180ms; }
  .js .calendar.is-in .cal-row:nth-child(5) .cal-bar { transition-delay: 240ms; }
  .js .calendar.is-in .cal-row:nth-child(6) .cal-bar { transition-delay: 300ms; }
}
.season-note { margin-top: 24px; color: var(--dark-ink-2); font-size: 0.875rem; line-height: 1.25rem; }

/* Tagline */
.tagline-section { padding-block: 96px; }
.tagline {
  max-width: 1000px;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
@media (min-width: 768px) { .tagline { font-size: 3rem; line-height: 1.1; } }
@media (min-width: 1280px) { .tagline { font-size: 3.75rem; line-height: 1.05; } }
.tagline-line { display: inline; }
@media (min-width: 768px) { .tagline-line { display: block; } }
.tw { color: rgba(15, 26, 18, 0.28); transition: color 600ms var(--ease-fluid); }
.tw.is-on { color: var(--ink); }

/* Steps */
.steps {
  display: grid;
  gap: 32px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }
.steps li { counter-increment: step; padding-top: 24px; border-top: 2px solid var(--green); }
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 700;
}
.steps h3 { font-size: 1.25rem; line-height: 1.75rem; }
.steps p { margin-top: 8px; color: var(--ink-2); }

/* Area */
.area { background: var(--surface); }
.area-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .area-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.towns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
}
.towns li { display: flex; align-items: center; gap: 8px; }
.towns i { color: var(--green); }
.area-map {
  position: relative;
  height: 360px;
  border-radius: 24px;
  overflow: hidden;
  background: #dfe4dc;
}
@media (min-width: 1024px) { .area-map { height: 440px; } }
#area-map { position: absolute; inset: 0; }
.area-map .leaflet-container { font: inherit; background: #dfe4dc; }
.town-label {
  padding: 4px 8px;
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  color: var(--ink);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
}
.town-label::before { display: none; }

/* FAQ */
.faq-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 24px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i { flex: none; color: var(--green); font-size: 1.25rem; transition: transform 250ms var(--ease-ui); }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list .answer { padding-bottom: 24px; color: var(--ink-2); max-width: 640px; }
.faq-list .answer p + p { margin-top: 12px; }

/* Final CTA */
.final { padding-block: 0 96px; }
.final-card {
  display: grid;
  gap: 32px;
  padding: 48px 24px;
  border-radius: 24px;
  background: var(--green);
  color: #fff;
}
@media (min-width: 768px) { .final-card { padding: 64px; grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
.final-card h2 { font-size: 1.875rem; line-height: 2.25rem; max-width: 560px; }
@media (min-width: 768px) { .final-card h2 { font-size: 2.25rem; line-height: 2.5rem; } }
.final-card p { margin-top: 16px; color: rgba(255, 255, 255, 0.78); font-size: 1.125rem; line-height: 1.75rem; max-width: 520px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.final-actions .btn-ghost { --btn-ink: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
@media (hover: hover) and (pointer: fine) {
  .final-actions .btn-ghost:hover { --btn-bg: rgba(255, 255, 255, 0.1); }
}

/* Footer */
.footer { padding-block: 48px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 0.875rem; line-height: 1.25rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer h2 { margin-bottom: 12px; color: var(--ink); font-size: 0.875rem; line-height: 1.25rem; }
.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: var(--ink); text-decoration: underline; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.75rem; line-height: 1rem; }

/* Sticky bar on phones */
.sticky-bar {
  position: fixed;
  left: 16px; right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  backdrop-filter: blur(24px) saturate(1.4);
  box-shadow: 0 0 0 1px rgba(15, 26, 18, 0.08), 0 16px 32px rgba(15, 26, 18, 0.16);
  transform: translateY(calc(100% + 32px));
  transition: transform 400ms var(--ease-fluid);
}
.sticky-bar.is-visible { transform: none; }
.sticky-bar .btn { flex: 1; }
@media (min-width: 768px) { .sticky-bar { display: none; } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(64px);
  filter: blur(12px);
  transition: opacity 900ms var(--ease-fluid), transform 900ms var(--ease-fluid), filter 900ms var(--ease-fluid);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-reveal='2'] { transition-delay: 80ms; }
.js [data-reveal='3'] { transition-delay: 160ms; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { transform: none; filter: none; transition: opacity 300ms ease; }
  .step, .success, .suggest { animation: none; }
  .tw { transition: none; }
  .js .cal-bar { transform: none !important; transition: opacity 300ms ease !important; }
  .sticky-bar { transition: opacity 200ms ease; }
}

/* Trucks / license */
.trucks-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .trucks-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.truck-photo { margin: 0; border-radius: 24px; overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
.truck-photo img { width: 100%; height: 100%; object-fit: cover; }
.trucks-copy h2 { font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .trucks-copy h2 { font-size: 2.25rem; line-height: 2.5rem; } }
.trucks-copy p { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; line-height: 1.75rem; }
.parcel-line { pointer-events: none; }

/* Hero load in: quick and staggered so the quote tool is usable at once */
.js .hero-copy > *, .js .quote, .js .hero-grid > .facts { animation: hero-in 700ms var(--ease-fluid) both; }
.js .hero-grid > .facts { animation-delay: 240ms; }
.js .hero-copy > :nth-child(2) { animation-delay: 60ms; }
.js .hero-copy > :nth-child(3) { animation-delay: 120ms; }
.js .hero-copy > :nth-child(4) { animation-delay: 180ms; }
.js .quote { animation-delay: 120ms; }
@keyframes hero-in { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } }
@media (prefers-reduced-motion: reduce) {
  .js .hero-copy > *, .js .quote, .js .hero-grid > .facts { animation: none; }
}

/* Checkbox labels live inside a .field fieldset: undo the stacked label rule */
.checks .check { display: flex; margin-bottom: 0; }
.checks legend { margin-bottom: 8px; padding: 0; }

/* Keep the footer clear of the sticky call bar on phones */
@media (max-width: 767px) { .footer { padding-bottom: 112px; } }
