/* ==========================================================================
   West Side Lawn Care — design system
   Palette: lime greens · duck yellow · bubblegum pink · beak orange
   (drawn from the lime green duck logo)
   Type: Fraunces (display) + Inter (body), self-hosted variable woff2
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/fraunces-var-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/inter-var-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  /* color */
  --ink: #0b2410;
  --ink-soft: #3a6b3f;
  --mint: #f0fdec;
  --mint-2: #e3fadb;
  --mint-3: #cdf2c0;
  --leaf: #a9e89b;
  --leaf-soft: #d2f5c8;
  --leaf-deep: #67b556;
  --green-950: #04200a;
  --green-900: #06300e;
  --green-850: #084013;
  --green-800: #0c5419;
  --green-700: #117122;
  --green-600: #18922e;
  --green-500: #25b53f;
  --green-400: #54ff5b;
  --lime: #54ff5b;
  --pink: #ff66c4;
  --pink-soft: #ff9ad8;
  --pink-deep: #d23a9b;
  --sun: #fcff59;
  --sun-soft: #fdffa1;
  --tang: #ff7a35;
  --line: rgba(11, 36, 16, 0.14);
  --line-dark: rgba(240, 253, 236, 0.16);

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --text-on-dark: #eefce9;
  --text-on-dark-soft: #b9e0b4;

  /* shape & depth */
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --shadow-1: 0 1px 2px rgba(4, 32, 10, 0.07), 0 4px 14px rgba(4, 32, 10, 0.08);
  --shadow-2: 0 2px 4px rgba(4, 32, 10, 0.10), 0 14px 34px rgba(4, 32, 10, 0.16);

  /* rhythm */
  --section-pad: clamp(4.5rem, 9vw, 7.5rem);
  --container: 72rem;
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--mint);
  font-optical-sizing: auto;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 620;
  line-height: 1.08;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.4rem); font-variation-settings: "opsz" 100; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); font-variation-settings: "opsz" 72; }
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.25; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: from-font; text-underline-offset: 0.18em; }
a:hover { color: var(--green-600); }

ul, ol { margin: 0; padding: 0; }

address { font-style: normal; }

::selection { background: var(--sun); color: var(--green-950); }

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

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

.skip-link {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1.2rem;
  background: var(--green-900);
  color: var(--text-on-dark);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-220%);
}
.skip-link:focus-visible {
  transform: none;
  color: var(--text-on-dark);
}

/* ---------- Section scaffolding ---------- */
main > section {
  padding: var(--section-pad) 1.25rem;
}

main > section > * {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.section-head .section-lead {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 640;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease;
}

.btn-primary {
  background: var(--pink);
  color: var(--green-950);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover {
  background: var(--pink-soft);
  color: var(--green-950);
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}
.btn-ghost:hover { transform: translateY(-2px); }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.32em 0.95em;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 640;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--mint-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.chip-season {
  background: var(--leaf-soft);
  border-color: transparent;
  color: var(--green-800);
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(240, 253, 236, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-nav {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.brand:hover { color: inherit; }

.brand-mark {
  width: 40px;
  height: 40px;
  padding: 4px;
  border-radius: 11px;
  background: var(--lime); /* yellow duck on lime, straight off the logo */
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-name em {
  font-style: italic;
  color: var(--green-600);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links {
  display: flex;
  gap: 1.45rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 540;
  text-decoration: none;
  color: var(--ink);
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover {
  color: var(--green-600);
  border-bottom-color: var(--pink);
}

.nav-cta { padding: 0.6rem 1.25rem; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 120ms ease;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -6px; }
.nav-toggle-bar::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 47.99em) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 1rem 1.25rem 1.4rem;
    background: var(--mint);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-2);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-links {
    flex-direction: column;
    gap: 0.2rem;
  }
  .nav-links a {
    display: block;
    padding: 0.7rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: none;
  }
  .nav-cta { margin-top: 0.4rem; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: var(--text-on-dark-soft);
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem 2.5rem;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  gap: 1.6rem;
  justify-items: start;
}

.site-footer .brand { color: var(--text-on-dark); }
.site-footer .brand-name em { color: var(--pink); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  list-style: none;
}
.footer-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text-on-dark-soft);
}
.footer-nav a:hover { color: var(--pink-soft); }

.footer-nap {
  line-height: 1.8;
  color: var(--text-on-dark-soft);
}
.footer-nap a { color: var(--text-on-dark); text-decoration: none; }
.footer-nap a:hover { color: var(--pink-soft); }

.footer-fine {
  font-size: 0.85rem;
  color: rgba(185, 224, 180, 0.85);
  border-top: 1px solid var(--line-dark);
  padding-top: 1.4rem;
  width: 100%;
}

/* ---------- Hero (faux-3D layered meadow) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(600px, 92vh, 900px);
  display: flex;
  align-items: flex-start;
  padding-top: clamp(3.5rem, 9vh, 7rem);
  background:
    radial-gradient(42% 32% at 72% 22%, rgba(252, 255, 89, 0.42), rgba(252, 255, 89, 0) 72%),
    linear-gradient(180deg, #f7fff2 0%, #e9fcdd 36%, #d8f8c8 56%, #c4f0ad 68%, #aee897 78%);
}

.hero-scene {
  position: absolute;
  inset: 0;
  max-width: none; /* escape the section child container cap — scene is full-bleed */
  pointer-events: none;
}

.hero-layer,
.hero-haze,
.hero-pollen,
.hero-glow,
.hero-vignette {
  position: absolute;
  pointer-events: none;
}

.hero-layer { left: 0; right: 0; bottom: 0; will-change: transform; }
.hero-band svg { width: 100%; height: 100%; }

.hero-band-back { height: 56%; filter: blur(2.5px); }
.hero-band-mid { height: 42%; }
.hero-band-front { height: 28%; bottom: -2px; }

.hero-glow {
  inset: 0;
  background: radial-gradient(30% 24% at 71% 23%, rgba(253, 255, 137, 0.55), rgba(253, 255, 137, 0) 70%);
}

.hero-shaft {
  position: absolute;
  top: -12%;
  height: 82%;
  width: 12%;
  background: linear-gradient(180deg, rgba(246, 255, 235, 0.55), rgba(246, 255, 235, 0));
  transform: skewX(-16deg);
  opacity: 0.32;
  animation: shaft-pulse 11s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-shaft-1 { left: 56%; }
.hero-shaft-2 { left: 73%; width: 7%; animation-delay: -4s; }

.hero-haze {
  left: -5%;
  right: -5%;
  bottom: 21%;
  height: 22%;
  background: linear-gradient(180deg, rgba(240, 253, 236, 0) 0%, rgba(236, 252, 228, 0.55) 50%, rgba(240, 253, 236, 0) 100%);
  animation: haze-drift 26s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-pollen { inset: 0; will-change: transform; }
.hero-pollen i {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fcff59;
  opacity: 0.45;
  animation:
    mote-float 7s ease-in-out infinite alternate,
    mote-twinkle 3.4s ease-in-out infinite;
}
.hero-pollen i:nth-child(1) { left: 12%; bottom: 34%; animation-delay: -1s, -0.4s; }
.hero-pollen i:nth-child(2) { left: 23%; bottom: 46%; width: 4px; height: 4px; animation-delay: -3s, -1.2s; }
.hero-pollen i:nth-child(3) { left: 35%; bottom: 30%; animation-delay: -5s, -2.1s; }
.hero-pollen i:nth-child(4) { left: 48%; bottom: 42%; width: 5px; height: 5px; animation-delay: -2s, -0.8s; }
.hero-pollen i:nth-child(5) { left: 61%; bottom: 33%; width: 4px; height: 4px; animation-delay: -6s, -1.7s; }
.hero-pollen i:nth-child(6) { left: 72%; bottom: 48%; animation-delay: -4s, -2.6s; }
.hero-pollen i:nth-child(7) { left: 84%; bottom: 36%; width: 5px; height: 5px; animation-delay: -1.5s, -0.2s; }
.hero-pollen i:nth-child(8) { left: 93%; bottom: 44%; width: 4px; height: 4px; animation-delay: -3.6s, -1.5s; }

.hero-vignette {
  inset: 0;
  background: radial-gradient(130% 100% at 50% 38%, rgba(4, 32, 10, 0) 56%, rgba(4, 32, 10, 0.3) 100%);
}

/* grass sway — origin pinned to each tuft's base */
.sway {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  animation: sway 5.6s ease-in-out infinite alternate;
}
.sway-b { animation-duration: 6.8s; animation-delay: -1.4s; }
.sway-c { animation-duration: 4.7s; animation-delay: -2.6s; }

@keyframes sway {
  from { transform: rotate(-2.3deg); }
  to { transform: rotate(2.6deg); }
}
@keyframes shaft-pulse {
  from { opacity: 0.18; }
  to { opacity: 0.42; }
}
@keyframes haze-drift {
  from { transform: translate3d(-2.5%, 0, 0); }
  to { transform: translate3d(2.5%, 0, 0); }
}
@keyframes mote-float {
  from { transform: translate3d(0, 10px, 0); }
  to { transform: translate3d(8px, -14px, 0); }
}
@keyframes mote-twinkle {
  0%, 100% { opacity: 0.18; }
  50% { opacity: 0.6; }
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-content { padding-bottom: clamp(250px, 34vh, 340px); }

.hero-sub {
  max-width: 34rem;
  font-size: 1.16rem;
  color: var(--ink-soft);
  margin-bottom: 1.9rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.45em 1.1em;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  background: rgba(6, 48, 14, 0.92);
  color: var(--text-on-dark);
  font-size: 0.85rem;
  font-weight: 620;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255, 102, 196, 0.55);
  animation: status-pulse 2.2s ease-out infinite;
}

@keyframes status-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 102, 196, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 102, 196, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 102, 196, 0); }
}

/* ---------- Services ---------- */
.services { background: var(--mint); }

.service-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.1rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1.8rem 1.7rem 1.6rem;
  background: #f8fff4;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

/* pink thread that draws across the top on hover */
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--pink-soft));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 0.9rem;
  border-radius: 16px;
  background: var(--leaf-soft);
  color: var(--green-700);
  transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.service-icon svg { width: 30px; height: 30px; }

.service-card:hover .service-icon {
  background: var(--green-800);
  color: var(--pink-soft);
  transform: rotate(-4deg) scale(1.05);
}

.service-card h3 { margin-bottom: 0.25rem; }

.service-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.service-card .chip-season { margin-top: auto; padding-top: 0.32em; }
.service-card p:not(.chip) { margin-bottom: 1.1rem; }

@media (prefers-reduced-motion: reduce) {
  .service-card:hover { transform: none; }
  .service-card:hover .service-icon { transform: none; }
}

/* ---------- Robot mower showcase (faux-3D night scene) ---------- */
.robot {
  background:
    radial-gradient(60% 40% at 75% 12%, rgba(34, 150, 52, 0.30), rgba(34, 150, 52, 0) 70%),
    linear-gradient(180deg, #04230b 0%, #062d0f 55%, #041f09 100%);
  color: var(--text-on-dark);
}

.robot .eyebrow { color: var(--pink-soft); }
.robot .section-lead { color: var(--text-on-dark-soft); }

.robot-scene {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 640px;
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-l);
  background: linear-gradient(180deg, #062c0e 0%, #083512 60%, #05270b 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 0 120px rgba(2, 16, 5, 0.55);
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
  will-change: transform;
}

@media (max-width: 47.99em) {
  .robot-scene { aspect-ratio: 4 / 5; max-height: none; }
}

.robot-layer,
.robot-haze,
.robot-fireflies,
.robot-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.robot-layer { will-change: transform; }
.robot-layer svg { width: 100%; height: 100%; }

.robot-haze {
  top: auto;
  height: 38%;
  background: linear-gradient(180deg, rgba(5, 38, 12, 0) 0%, rgba(4, 28, 9, 0.55) 70%, rgba(3, 22, 7, 0.75) 100%);
  will-change: transform;
}

.robot-vignette {
  background: radial-gradient(115% 95% at 50% 42%, rgba(2, 15, 5, 0) 52%, rgba(2, 15, 5, 0.55) 100%);
}

.robot-fireflies i {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fcff59;
  opacity: 0.5;
  box-shadow: 0 0 8px 2px rgba(252, 255, 89, 0.4);
  animation:
    mote-float 9s ease-in-out infinite alternate,
    mote-twinkle 4.2s ease-in-out infinite;
}
.robot-fireflies i:nth-child(1) { left: 16%; bottom: 30%; animation-delay: -2s, -1s; }
.robot-fireflies i:nth-child(2) { left: 33%; bottom: 18%; width: 4px; height: 4px; animation-delay: -5s, -2.4s; }
.robot-fireflies i:nth-child(3) { left: 58%; bottom: 36%; animation-delay: -1s, -0.5s; }
.robot-fireflies i:nth-child(4) { left: 76%; bottom: 22%; width: 4px; height: 4px; animation-delay: -6.5s, -3.1s; }
.robot-fireflies i:nth-child(5) { left: 89%; bottom: 40%; animation-delay: -3.5s, -1.8s; }

/* star twinkle */
.tw { animation: mote-twinkle 3.8s ease-in-out infinite; }

/* mower travel: one lane, back and forth */
.mower-travel {
  animation: mower-run 16s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes mower-run {
  from { transform: translate3d(10px, 5px, 0); }
  to { transform: translate3d(330px, 165px, 0); }
}

/* LIDAR: flat rotation inside a squashed parent reads as a ground sweep */
.lidar-spin {
  transform-box: fill-box;
  transform-origin: left center;
  animation: lidar-rotate 7s linear infinite;
}
@keyframes lidar-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.led { animation: led-pulse 2.4s ease-in-out infinite; }
.led-glow { animation: led-pulse 2.4s ease-in-out infinite; }
@keyframes led-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* steps */
.robot-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 1.1rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.2rem);
  counter-reset: step;
}

.robot-steps li {
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-m);
  background: rgba(8, 63, 19, 0.45);
}

.robot-steps h3 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text-on-dark);
  margin-bottom: 0.5rem;
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1.5px solid var(--pink);
  color: var(--pink-soft);
  font-family: var(--font-display);
  font-size: 1.05rem;
  flex: none;
}

.robot-steps p {
  color: var(--text-on-dark-soft);
  font-size: 0.97rem;
}

/* benefits */
.robot-benefits {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 2rem 2.5rem;
  margin-bottom: clamp(2.6rem, 6vw, 4rem);
}

.robot-benefits li {
  border-top: 2px solid var(--pink);
  padding-top: 1.1rem;
}

.robot-benefits h3 { color: var(--pink-soft); margin-bottom: 0.35rem; }
.robot-benefits p { color: var(--text-on-dark-soft); font-size: 0.98rem; }

/* CTA banner */
.robot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.8rem 2rem;
  border-radius: var(--radius-m);
  background: linear-gradient(120deg, rgba(16, 100, 28, 0.65), rgba(8, 63, 19, 0.65));
  border: 1px solid rgba(255, 102, 196, 0.35);
}

.robot-cta p {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-on-dark);
  max-width: 32rem;
}

/* ---------- Design concept sliders ---------- */
.concepts { background: var(--mint-2); }

.concepts-note {
  max-width: 38rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--pink);
  padding-left: 0.9rem;
}

.concept-sliders {
  display: grid;
  gap: clamp(2.4rem, 5vw, 3.5rem);
  max-width: 56rem;
}

.ba { margin: 0; }

.ba-frame {
  position: relative;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-m);
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-2);
  background: var(--mint-3);
}

.ba-frame picture {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.ba-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-after-clip {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* after-rendering occupies the area right of the divider */
  clip-path: inset(0 0 0 var(--pos, 50%));
}

.ba-tag {
  position: absolute;
  bottom: 0.85rem;
  z-index: 3;
  padding: 0.3em 0.85em;
  border-radius: 999px;
  background: rgba(4, 32, 10, 0.74);
  color: var(--text-on-dark);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba-tag-before { left: 0.9rem; }
.ba-tag-after { right: 0.9rem; }

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  z-index: 4;
  pointer-events: none;
}

.ba-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1.5px;
  width: 3px;
  background: var(--mint);
  box-shadow: 0 0 8px rgba(4, 32, 10, 0.55);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--green-800);
  box-shadow: 0 2px 10px rgba(4, 32, 10, 0.45);
}

/* persistent concept label — sits above both image layers and the divider */
.ba-badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 6;
  padding: 0.38em 0.95em;
  border-radius: 999px;
  background: var(--pink);
  color: var(--green-950);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: var(--shadow-1);
  pointer-events: none;
}

/* the actual control: an invisible native range over the whole frame */
.ba-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
}

.ba-frame:has(.ba-range:focus-visible) {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.ba figcaption {
  margin-top: 0.9rem;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
}

/* ---------- Service area (faux-3D map tile) ---------- */
.area {
  background: linear-gradient(180deg, var(--mint) 0%, #dcf8d2 100%);
}

.area-scene {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 600px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background:
    radial-gradient(50% 40% at 78% 18%, rgba(252, 255, 89, 0.35), rgba(252, 255, 89, 0) 70%),
    linear-gradient(180deg, #ecfde6 0%, #d6f4ca 100%);
  box-shadow: var(--shadow-2);
  will-change: transform;
}

@media (max-width: 47.99em) {
  .area-scene { aspect-ratio: 4 / 5; max-height: none; }
}

.area-layer,
.area-glow,
.area-clouds,
.area-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.area-layer { will-change: transform; }
.area-layer svg { width: 100%; height: 100%; }

.area-glow {
  background: radial-gradient(42% 36% at 24% 22%, rgba(240, 253, 236, 0.8), rgba(240, 253, 236, 0) 70%);
}

.area-vignette {
  background: radial-gradient(120% 100% at 50% 40%, rgba(11, 36, 16, 0) 60%, rgba(11, 36, 16, 0.16) 100%);
}

.map-label {
  font-family: var(--font-body);
  font-size: 26px;
  font-weight: 680;
  letter-spacing: 0.22em;
  fill: #2b6b22;
}

.ring-dash { animation: ring-march 36s linear infinite; }
@keyframes ring-march {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -320; }
}

.pin-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pin-pulse 2.8s ease-out infinite;
}
@keyframes pin-pulse {
  0% { transform: scale(0.5); opacity: 0.9; }
  80% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.cloud {
  position: absolute;
  border-radius: 50%;
  background: rgba(248, 255, 244, 0.6);
  filter: blur(14px);
  animation: cloud-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}
.cloud-1 { width: 26%; height: 13%; left: 6%; top: 16%; }
.cloud-2 { width: 20%; height: 11%; left: 56%; top: 8%; animation-duration: 28s; animation-delay: -9s; }
.cloud-3 { width: 16%; height: 9%; left: 76%; top: 58%; animation-duration: 18s; animation-delay: -5s; }

@keyframes cloud-drift {
  from { transform: translate3d(-4%, 0, 0); }
  to { transform: translate3d(6%, 1%, 0); }
}

/* ---------- Why us ---------- */
.why { background: var(--mint); }

.why-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.2rem 2.8rem;
}

.why-grid li {
  position: relative;
  padding-top: 1.2rem;
}

.why-grid li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3.2rem;
  height: 3px;
  border-radius: 2px;
  background: var(--pink);
}

.why-grid h3 {
  font-size: 1.55rem;
  margin-bottom: 0.4rem;
}

.why-grid p { color: var(--ink-soft); }

/* ---------- Payments ---------- */
.payments {
  background: var(--mint-2);
}

.pay-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
}

.pay-chips .chip {
  font-size: 0.92rem;
  padding: 0.5em 1.2em;
}

.pay-chips .chip:not(.chip-crypto) { background: #f8fff4; }

.chip-crypto {
  background: var(--green-900);
  border-color: transparent;
  color: var(--text-on-dark);
  box-shadow: var(--shadow-1);
}

.chip-crypto::before {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15em;
  color: var(--sun);
  line-height: 1;
}

.chip-btc::before { content: "\20BF"; } /* ₿ */
.chip-eth::before { content: "\039E"; } /* Ξ */

/* ---------- Waitlist (premium dark) ---------- */
.waitlist {
  background:
    radial-gradient(55% 45% at 80% 0%, rgba(255, 102, 196, 0.12), rgba(255, 102, 196, 0) 70%),
    linear-gradient(180deg, var(--green-950) 0%, var(--green-900) 100%);
  color: var(--text-on-dark);
}

.waitlist .eyebrow { color: var(--pink-soft); }
.waitlist .section-lead { color: var(--text-on-dark-soft); }

.waitlist-form {
  max-width: 34rem;
  display: grid;
  gap: 1.15rem;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-m);
  background: rgba(8, 63, 19, 0.45);
  backdrop-filter: blur(6px);
}

.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.field { display: grid; gap: 0.4rem; margin: 0; }

.field label {
  font-size: 0.88rem;
  font-weight: 640;
  letter-spacing: 0.04em;
  color: var(--text-on-dark);
}

.field .req { color: var(--pink); }

.field input {
  font: inherit;
  color: var(--text-on-dark);
  background: rgba(4, 32, 10, 0.65);
  border: 1.5px solid var(--line-dark);
  border-radius: var(--radius-s);
  padding: 0.8rem 1rem;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.field input:focus {
  outline: none;
  border-color: var(--pink);
  background: rgba(4, 32, 10, 0.85);
}

.field input[aria-invalid="true"] { border-color: #ff9ad8; }

.field-error {
  min-height: 1.1em;
  font-size: 0.85rem;
  color: #ffc0e5;
}

.btn-submit { justify-self: start; padding: 0.95rem 2.2rem; }
.btn-submit[disabled] { opacity: 0.6; cursor: wait; transform: none; }

.form-status { font-size: 0.95rem; color: var(--text-on-dark-soft); min-height: 1.4em; }
.form-status.is-success { color: var(--leaf); }
.form-status.is-error { color: #ffc0e5; }

/* ---------- Motion safety net ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
}
