/* RocketFox Studio
   Two moods on one system: deep space for the brand, garden green for landscapers. */

:root {
  /* brand */
  --space: #0D101F;   /* matches the hero image background */
  --space-2: #151B3A;
  --space-3: #252F5E;
  --fox: #FF8A3D;
  --fox-dark: #C2541A;
  --star: #FFF3D6;
  --haze: #A9B6EC;

  /* garden */
  --forest: #1F4A2B;
  --leaf: #4F8B3E;
  --leaf-dark: #3C7030;
  --sprout: #E3EFD5;
  --meadow: #F3F8EC;
  --bark: #6B4A2E;
  --water: #3BA3D9;

  --display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 4.75rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--fox); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--fox); color: var(--space); padding: .5em 1em; border-radius: 6px; }
.skip:focus { left: 8px; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.section-intro { font-size: 1.15rem; margin-bottom: 2.5rem; }

/* ---------- themes ---------- */
.theme-space { background: var(--space); color: var(--star); --bar-bg: var(--space); }
.theme-space .lede, .theme-space .section-intro { color: var(--haze); }
.theme-garden { background: var(--meadow); color: var(--forest); --bar-bg: var(--meadow); }

/* ---------- top bar ---------- */
.topbar { position: relative; z-index: 5; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.brand em, .footer-brand em { font-style: normal; font-weight: 500; opacity: .7; }
.brand-mark { width: 34px; height: 34px; color: currentColor; }
.theme-space .brand-mark { color: var(--star); }
.nav { display: flex; gap: clamp(12px, 2.4vw, 28px); list-style: none; margin: 0; padding: 0; align-items: center; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: .3em 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: currentColor; }
.nav a.nav-cta { border: 2px solid currentColor; border-radius: 999px; padding: .45em 1.1em; }
.nav a.nav-cta:hover { background: var(--fox); border-color: var(--fox); color: var(--space); }
.lang-switch { display: flex; gap: 2px; padding: 3px; border: 1px solid currentColor; border-radius: 999px; }
.nav .lang-switch a { border: 0; padding: .2em .6em; border-radius: 999px; font-size: .85rem; opacity: .75; }
.nav .lang-switch a:hover { opacity: 1; }
.nav .lang-switch a[aria-current="true"] { opacity: 1; background: currentColor; }
.theme-space .lang-switch a[aria-current="true"] { background: var(--star); color: var(--space); }
.theme-garden .lang-switch a[aria-current="true"] { background: var(--forest); color: var(--meadow); }

/* ---------- buttons ---------- */
.btn { display: inline-block; font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none; padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--fox); color: var(--space); }
.btn-primary:hover { background: var(--star); }
.btn-ghost { border-color: var(--haze); color: var(--star); background: transparent; }
.btn-ghost:hover { border-color: var(--star); background: rgba(255, 243, 214, .08); }
.btn-garden { background: var(--forest); color: var(--meadow); }
.btn-garden:hover { background: var(--leaf-dark); }
.btn-ghost-green { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-ghost-green:hover { background: var(--sprout); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* ---------- starfield ---------- */
.starfield { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.theme-space main, .theme-space .footer { position: relative; z-index: 1; }

/* ---------- home hero ---------- */
.hero { padding: clamp(24px, 6vw, 72px) 0 clamp(48px, 8vw, 110px); }
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(16px, 4vw, 56px); align-items: center; }
.hero h1 { color: var(--star); font-size: clamp(2.6rem, 5.4vw, 4.3rem); }
.hero-inner { grid-template-columns: 0.95fr 1.05fr; }
.hero-art { position: relative; margin-right: calc(-1 * var(--gutter)); }
.space-scene { display: block; width: 100%; height: auto; overflow: visible; }
.space-scene image { image-rendering: auto; }
.tether-outline { fill: none; stroke: #151B33; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.tether-core { fill: none; stroke: #D5DCE6; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- services ---------- */
.services { padding: clamp(48px, 8vw, 100px) 0; }
.services-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.services-head { position: sticky; top: 32px; }
.orbit-list { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; display: grid; gap: clamp(28px, 4vw, 44px); }
.orbit-list::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; border-left: 2px dashed var(--space-3); }
.orbit-item { display: grid; grid-template-columns: 24px 1fr; gap: 24px; position: relative; }
.orbit-item h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-top: 2px; }
.orbit-item p { color: var(--haze); }
.orbit-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--fox); margin-top: 8px; box-shadow: 0 0 0 6px var(--space); }
.orbit-dot-green { background: #8BD06A; }
.text-link { font-weight: 600; color: var(--fox); text-underline-offset: 4px; }
.text-link:hover { color: var(--star); }

.story { padding: clamp(40px, 6vw, 80px) 0; }
.story-inner { border-top: 1px solid var(--space-3); padding-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(16px, 4vw, 56px); }
.story-inner p { color: var(--haze); font-size: 1.15rem; }

.garden-band { background: var(--forest); color: var(--meadow); position: relative; z-index: 1; }
.garden-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(36px, 5vw, 56px); }
.garden-band p { margin: 0; color: var(--sprout); }
.garden-band h2 { margin-bottom: .3em; }
.garden-band .btn-garden { background: var(--meadow); color: var(--forest); }
.garden-band .btn-garden:hover { background: var(--sprout); }

.launch-cta { padding: clamp(64px, 10vw, 130px) 0; text-align: center; }
.launch-cta p { margin-left: auto; margin-right: auto; color: var(--haze); }

/* ---------- footer ---------- */
.footer { padding: 48px 0 40px; font-size: .95rem; }
.theme-space .footer { border-top: 1px solid var(--space-3); color: var(--haze); }
.theme-garden .footer { background: var(--forest); color: var(--sprout); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 24px 48px; }
.footer-main p { margin: 4px 0; }
.footer-head { font-family: var(--display); font-weight: 700; margin: 0 0 8px; }
.theme-space .footer-head { color: var(--star); }
.footer-cities ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.footer-cities li { padding: 3px 0; break-inside: avoid; }
.footer-cities a { text-underline-offset: 3px; }
.footer-small { grid-column: 1 / -1; }
.footer-brand { font-family: var(--display); font-weight: 800; font-size: 1.25rem; margin: 0; }
.theme-space .footer-brand { color: var(--star); }
.footer-links { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { text-underline-offset: 3px; }
.footer-small { opacity: .7; font-size: .85rem; margin: 0; }

/* ---------- landscapers ---------- */
.theme-garden .topbar { background: var(--meadow); }
.g-hero { padding: clamp(24px, 5vw, 64px) 0 0; background: var(--meadow); overflow: hidden; }
.g-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(16px, 4vw, 48px); align-items: end; }
.g-hero-copy { padding-bottom: clamp(40px, 6vw, 80px); }
.g-hero h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
.g-note { margin-top: 1rem; font-weight: 600; color: var(--leaf-dark); }
.g-hero-art svg { display: block; width: calc(100% + max(0px, (100vw - var(--wrap)) / 2) + var(--gutter)); max-width: none; height: auto; margin-bottom: -2px; }
.g-spray path { animation: spray 1.6s linear infinite; }
@keyframes spray { to { stroke-dashoffset: -24; } }

.g-included { background: var(--sprout); padding: clamp(48px, 8vw, 96px) 0; }
.inc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 56px; margin-top: 2.5rem; }
.inc-grid h3 { padding-top: 14px; border-top: 3px solid var(--leaf); }
.inc-grid p { margin: 0; }

.g-plans { padding: clamp(48px, 8vw, 100px) 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 2px solid var(--sprout); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; }
.plan h3 { font-size: 1.6rem; margin-bottom: .2em; }
.plan-price { font-size: 1rem; margin-bottom: .6em; }
.plan-price span { font-family: var(--display); font-weight: 800; font-size: 2.6rem; }
.plan-for { color: var(--leaf-dark); }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; flex: 1; }
.plan li { padding: .45em 0 .45em 1.6em; border-top: 1px solid var(--sprout); position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .95em; width: 10px; height: 10px; border-radius: 0 50% 0 50%; background: var(--leaf); }
.plan .btn { text-align: center; }
.plan-featured { background: var(--forest); color: var(--meadow); border-color: var(--forest); }
.plan-featured .plan-for { color: var(--sprout); }
.plan-featured li { border-top-color: rgba(227, 239, 213, .25); }
.plan-featured li::before { background: #8BD06A; }
.plan-featured .btn-garden { background: var(--meadow); color: var(--forest); }
.plan-featured .btn-garden:hover { background: var(--sprout); }
.plan-flag { display: inline-block; align-self: flex-start; background: #8BD06A; color: var(--forest); font-weight: 600; font-size: .85rem; padding: .2em .8em; border-radius: 999px; margin-bottom: 1rem; }

.g-steps { background: var(--sprout); padding: clamp(48px, 8vw, 96px) 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { counter-increment: step; position: relative; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--forest); color: var(--meadow); font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }
.steps p { margin: 0; }

.g-faq { padding: clamp(48px, 8vw, 96px) 0; }
.faq-wrap > * { max-width: 820px; }
.g-faq details { border-top: 2px solid var(--sprout); padding: 18px 0; }
.g-faq details:last-of-type { border-bottom: 2px solid var(--sprout); }
.g-faq summary { font-family: var(--display); font-weight: 700; font-size: 1.2rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.g-faq summary::-webkit-details-marker { display: none; }
.g-faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--leaf); }
.g-faq details[open] summary::after { content: "–"; }
.g-faq details p { margin: 12px 0 0; }

.g-cta { padding: 0 0 clamp(64px, 10vw, 110px); text-align: center; }

/* ---------- contact ---------- */
.contact { padding: clamp(24px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.contact h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.contact-copy a { color: var(--fox); }
.form, .form-done { background: var(--space-2); border: 1px solid var(--space-3); border-radius: 22px; padding: clamp(20px, 3vw, 32px); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--haze); }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--star); background: var(--space); border: 2px solid var(--space-3); border-radius: 12px; padding: .7em .9em; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fox); outline: none; }
.field [aria-invalid="true"] { border-color: #FF8F8F; }
.field-error, .form-error { color: #FFB0A8; font-size: .95rem; margin: 6px 0 0; }
.form-error { margin: 0 0 18px; font-weight: 600; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }


/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 4px 0 0; font-size: .92rem; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-underline-offset: 3px; }
.crumbs [aria-current="page"] { opacity: .75; }

/* ---------- Utah + city pages ---------- */
.g-hero-simple { padding-bottom: clamp(40px, 6vw, 80px); background: var(--meadow); }
.g-hero-simple h1 { max-width: 20ch; }
.g-water { padding: clamp(48px, 8vw, 96px) 0; background: var(--forest); color: var(--meadow); }
.g-water .section-intro { color: var(--sprout); }
.water-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.water-item h3 { padding-top: 14px; border-top: 3px solid #8BD06A; }
.water-item p { margin: 0; color: var(--sprout); }
.g-cities { padding: clamp(40px, 6vw, 80px) 0; }
.g-cities-band { background: var(--sprout); }
.city-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.city-chips a { display: inline-block; text-decoration: none; font-weight: 600; padding: .55em 1.1em; border: 2px solid var(--forest); border-radius: 999px; }
.city-chips a:hover { background: var(--forest); color: var(--meadow); }
.city-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.city-list a { display: block; text-decoration: none; background: #fff; border: 2px solid transparent; border-radius: 16px; padding: 18px 20px; height: 100%; }
.city-list a:hover { border-color: var(--leaf); }
.city-name { display: block; font-family: var(--display); font-weight: 700; font-size: 1.25rem; }
.city-county { display: block; color: var(--leaf-dark); font-size: .95rem; }
.g-local { padding: clamp(48px, 8vw, 96px) 0; }
.g-local-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); }
.g-local-inner p { font-size: 1.1rem; }
.h3-size { font-size: 1.4rem; }
.search-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.search-list li { background: var(--sprout); border-radius: 8px; padding: .35em .75em; font-size: .95rem; }
.search-list li::before { content: "\2315\00a0"; color: var(--leaf-dark); }
.g-tools { padding: clamp(40px, 6vw, 72px) 0; }
.g-tools-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; border: 2px solid var(--sprout); border-radius: 22px; padding-top: 32px; padding-bottom: 32px; }
.g-tools-inner .hero-actions { margin-top: 0; }
.nf { min-height: 60vh; display: grid; align-items: center; }
.nf-actions { justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .services-head { position: static; }
  .hero-inner, .story-inner, .services-inner, .g-hero-inner, .contact-inner, .g-local-inner { grid-template-columns: 1fr; }
  .water-grid { grid-template-columns: 1fr; }
  .city-list { grid-template-columns: repeat(2, 1fr); }
  .hero-art { max-width: 560px; margin: 0 auto 12px; order: -1; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .g-hero-art { margin: 0 calc(-1 * var(--gutter)); }
  .g-hero-art svg { width: 100%; }
  .g-hero-copy { padding-bottom: 0; }
}
@media (max-width: 560px) {
  .inc-grid, .steps { grid-template-columns: 1fr; }
  .nav { gap: 14px; }
  .nav .nav-services, .nav .nav-utah { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; }
  .nav { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .g-spray path { animation: none; }
}
