:root,
html[data-theme="light"] {
  color-scheme: light;
  --green-ring: #61d512;
  --green-script: #3eae01;
  --green-leaf: #2f8a0b;
  --green-deep: #175c0b;
  --ink-logo: #10181b;
  --white: #fdfdfd;
  --black: #000000;
  --color-bg: #fbfdf8;
  --color-surface: #ffffff;
  --color-ink: #10181b;
  --color-muted: #3e4649;
  --color-accent: #2f8a0b;
  --color-accent-hover: #175c0b;
  --color-header: #ffffff;
  --color-header-ink: #10181b;
  --color-border: rgba(16, 24, 27, 0.12);
  --color-shadow: rgba(16, 24, 27, 0.08);
  --color-legal-note: #eef6e4;
  --btn-bg: #2f8a0b;
  --btn-fg: #ffffff;
  --logo-radius: 50%;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --color-bg: #101610;
  --color-surface: #1b241e;
  --color-ink: #f4f7f2;
  --color-muted: #c8d3cb;
  --color-accent: #61d512;
  --color-accent-hover: #7ee62a;
  --color-header: #151c18;
  --color-header-ink: #f4f7f2;
  --color-border: rgba(97, 213, 18, 0.22);
  --color-shadow: rgba(0, 0, 0, 0.45);
  --color-legal-note: #18211b;
  --btn-bg: #61d512;
  --btn-fg: #1c241c;
}

html {
  position: relative;
  min-height: 100%;
  max-width: 100%;
  font-size: 16px;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 100%;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--color-ink);
  background-color: var(--color-bg);
  font-family: var(--font-body);
  transition: background-color 0.2s ease, color 0.2s ease;
}

a {
  color: var(--color-accent);
}

a:hover {
  color: var(--color-accent-hover);
}

h1, h2, h3 {
  font-family: var(--font-display);
}

.page-scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.page-scene img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
}

html[data-theme="light"] .page-scene .scene-light {
  display: block;
  opacity: 0.22;
}

html[data-theme="dark"] .page-scene .scene-dark {
  display: block;
  opacity: 0.28;
}

.site-header,
.site-main,
.site-footer,
.consent-banner {
  position: relative;
  z-index: 1;
}

.site-main {
  z-index: 2;
}

/* Keep footer props (night lamp glow) above the main bottom edge,
   otherwise the glow is clipped into a hard horizontal cut. */
.site-footer {
  z-index: 3;
}

.site-header {
  background-color: var(--color-header);
  color: var(--color-header-ink);
  border-bottom: 3px solid var(--green-ring);
}

.site-header .navbar {
  position: relative;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
}

.site-header .navbar .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "brand"
    "nav";
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.35rem;
  padding-right: 3.75rem;
}

.header-actions {
  position: absolute;
  top: 50%;
  right: max(1.15rem, calc(env(safe-area-inset-right, 0px) + 0.65rem));
  left: auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  transform: translateY(-50%);
  margin: 0;
}

.navbar-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: var(--color-header-ink);
  text-decoration: none;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: var(--color-header-ink);
}

.brand-logo,
.footer-logo,
.hero-logo {
  display: block;
  background: transparent;
  border-radius: var(--logo-radius);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  min-width: 0;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.85rem;
  line-height: 0.92;
}

.brand-tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  font-style: normal;
  color: var(--green-script);
  letter-spacing: 0.01em;
  line-height: 1.1;
  white-space: nowrap;
}

.navbar-collapse {
  grid-area: nav;
}

@media (max-width: 767.98px) {
  .site-header .navbar > .container {
    display: grid !important;
  }

  .navbar-toggler {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (min-width: 768px) {
  .site-header .navbar .container {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas: "brand nav";
    padding-right: 0.75rem;
  }

  .header-actions {
    display: none;
  }

  .navbar-expand-md .navbar-toggler {
    display: none;
  }
}

.theme-toggle,
.navbar-toggler {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  color: var(--color-header-ink);
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
}

.theme-toggle:hover,
.navbar-toggler:hover {
  border-color: var(--green-ring);
  color: var(--green-script);
}

.navbar-toggler:focus,
.theme-toggle:focus-visible {
  outline: 2px solid var(--green-ring);
  outline-offset: 2px;
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1.15rem;
  height: 1.15rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2310181b' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

html[data-theme="dark"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23fdfdfd' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

html[data-theme="light"] .theme-toggle .icon-sun,
html[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.navbar-nav .nav-link {
  font-family: var(--font-display);
  color: var(--color-header-ink);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--green-script);
}

.site-main {
  flex: 1 0 auto;
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
  }
}

.hero-logo-slot {
  display: flex;
  justify-content: center;
}

.hero-logo {
  width: min(220px, 70vw);
  height: auto;
  margin: 0 auto;
}

.hero-kicker {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.hero-wordmark {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 4.8rem);
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.82;
  margin: 0;
}

.hero-script {
  display: block;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-style: normal;
  font-weight: 600;
  color: var(--green-script);
  margin: 0;
}

.hero-lead {
  max-width: 36rem;
  font-size: 1.2rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

.content-section {
  padding: 0 0 8.25rem;
}

.info-card,
.service-card {
  height: 100%;
  padding: 1.75rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  box-shadow: 0 12px 30px var(--color-shadow);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.2rem 1.5rem;
}

.service-badge {
  display: block;
  width: min(100%, 12.5rem);
  height: auto;
  object-fit: contain;
}

.service-card p {
  width: 100%;
  margin: 0;
  text-align: left;
  font-size: 1.0625rem;
  color: var(--color-muted);
}

.service-card p + p {
  margin-top: 0.7rem;
}

.service-addon {
  padding: 1.25rem 1.4rem 1.4rem;
  background-color: color-mix(in srgb, var(--color-surface) 42%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-border) 55%, transparent);
  border-radius: 0.85rem;
  box-shadow: none;
}

.service-addon h2 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-ink);
}

.service-addon p {
  margin: 0;
  max-width: 52rem;
  font-size: 1.0625rem;
  color: var(--color-muted);
}

.contact-block address {
  margin: 0;
  max-width: 52rem;
  font-size: 1.0625rem;
  font-style: normal;
  line-height: 1.55;
  color: var(--color-muted);
}

.info-card ul {
  margin-bottom: 0;
  padding-left: 1.1rem;
}

.legal-page {
  padding: 3rem 0 8.25rem;
}

.legal-panel {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.25rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  box-shadow: 0 12px 30px var(--color-shadow);
}

.legal-panel h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.legal-panel h2 {
  font-family: var(--font-display);
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.legal-note {
  padding: 0.75rem 1rem;
  background: var(--color-legal-note);
  border-radius: 0.5rem;
}

.site-footer {
  overflow: visible;
  background-color: var(--color-header);
  color: var(--color-header-ink);
  padding: 1.25rem 0 1.15rem;
}

.footer-scape {
  position: absolute;
  top: -118px;
  left: 0;
  width: 100%;
  height: 121px;
  overflow: visible;
  pointer-events: none;
}

.footer-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--green-ring);
  z-index: 5;
}

html[data-theme="dark"] .footer-divider {
  background: #2f5a18;
}

.grass-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58px;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  display: none;
}

html[data-theme="light"] .grass-strip.grass-light,
html[data-theme="dark"] .grass-strip.grass-dark {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
}

html[data-theme="light"] .grass-strip.grass-light {
  height: 100px;
}

html[data-theme="dark"] .grass-strip.grass-dark {
  /* Same tile height as day grass strip (uniform). */
  height: 58px;
}

.grass-strip img {
  display: block;
  height: 100%;
  width: auto;
  flex: 0 0 auto;
  max-width: none;
}

html[data-theme="light"] .grass-strip.grass-light > img:not(.mower-grass-cap) {
  height: 58px;
}

html[data-theme="dark"] .grass-strip.grass-dark > img {
  height: 58px;
}

.grass-strip .mower-grass-cap {
  height: 100px;
  margin-right: -0.75rem;
}

.prop-lamp-layer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(92px * 1.33 + 2.5rem);
  overflow: hidden;
  pointer-events: none;
  z-index: 4;
}

.prop-lamp {
  --lamp-height: calc(92px * 1.33);
  position: absolute;
  width: auto;
  pointer-events: none;
  display: none;
  z-index: 4;
  /* 300px canvas, pole centered. Offset keeps the mast at the old 50px-wide spot. */
  right: calc(max(0.65rem, 1.5vw) - 130 * var(--lamp-height) / 173);
  bottom: 0;
  height: var(--lamp-height);
}

html[data-theme="light"] .prop-lamp.lamp-off,
html[data-theme="dark"] .prop-lamp.lamp-on {
  display: block;
}

a.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--color-header-ink);
  text-decoration: none;
}

a.footer-brand:hover {
  color: var(--color-header-ink);
  text-decoration: none;
}

.footer-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.25rem;
}

.footer-nav a,
.site-footer a:not(.footer-brand) {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-header-ink);
  text-decoration: none;
}

.footer-nav a:hover,
.site-footer a:not(.footer-brand):hover {
  color: var(--green-script);
  text-decoration: underline;
}

.btn-primary {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--btn-fg) !important;
  background-color: var(--btn-bg) !important;
  border-color: var(--btn-bg) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  color: var(--btn-fg) !important;
  filter: brightness(1.08);
}

.consent-banner {
  position: sticky;
  bottom: 0;
  z-index: 1050;
  padding: 1rem 0;
  background: var(--color-header);
  color: var(--color-header-ink);
  border-top: 3px solid var(--green-ring);
  box-shadow: 0 -8px 24px var(--color-shadow);
}

.consent-banner a {
  color: var(--green-script);
  text-decoration: underline;
}

.consent-banner .container,
.consent-banner p {
  min-width: 0;
}

.consent-banner p {
  overflow-wrap: anywhere;
}

.consent-banner .btn-primary {
  white-space: nowrap;
}

code {
  color: var(--color-ink);
}
