:root {
  --night: #0b1626;
  --night-2: #122238;
  --ink: #16251d;
  --forest: #1e5a31;
  --green: #3e8e2f;
  --lime: #7ac143;
  --orange: #e8731c;
  --gold: #f4b233;
  --cream: #f7f5ef;
  --paper: #fffdf8;
  --line: rgba(22, 37, 29, 0.13);
  --line-light: rgba(247, 245, 239, 0.16);
  --shadow: 0 28px 70px rgba(6, 14, 26, 0.35);
  --radius-lg: 26px;
  --radius-md: 16px;
  --shell: min(1180px, calc(100% - 40px));
  --display: "Alfa Slab One", "Georgia", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--night);
  font-family: "Work Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 16px; }

/* ============ header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(11, 22, 38, 0.82);
  border-bottom: 1px solid var(--line-light);
  backdrop-filter: blur(12px);
}
.header-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 8px 0;
}

/* logo rendered as a stitched workwear patch so it reads on the dark sky */
.brand-patch {
  display: inline-flex;
  background: var(--cream);
  border-radius: 12px;
  padding: 5px 10px;
  text-decoration: none;
  outline: 1.5px dashed rgba(232, 115, 28, 0.55);
  outline-offset: -4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}
.brand-patch:hover { transform: rotate(-1.5deg) scale(1.03); }
.brand-patch img { width: 74px; height: auto; }

.site-header nav { display: flex; gap: 26px; margin-left: auto; }
.site-header nav a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.01em;
}
.site-header nav a:hover { color: var(--gold); }

/* ============ buttons ============ */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }

.button-gold {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #21160a;
  box-shadow: 0 10px 26px rgba(232, 115, 28, 0.38);
}
.button-gold:hover { filter: brightness(1.05); }

.button-dark { background: var(--ink); color: var(--cream); }
.button-outline-dark {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2.5px var(--ink);
}
.button-small { min-height: 42px; padding: 0 18px; border-radius: 11px; font-size: 0.92rem; }
.button-full { width: 100%; }

.text-link {
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 2px solid rgba(244, 178, 51, 0.4);
  padding-bottom: 2px;
}
.text-link:hover { border-color: var(--gold); }

/* ============ hero ============ */
.hero {
  position: relative;
  min-height: clamp(620px, 92vh, 860px);
  display: flex;
  align-items: flex-start;
  overflow: hidden;
}
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(56px, 9vh, 120px) 0 340px;
  max-width: 640px;
  margin-left: max(calc((100% - 1180px) / 2), 20px);
}
.eyebrow {
  margin: 0 0 14px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-dark { color: var(--orange); }
.hero h1 {
  color: var(--cream);
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
  display: block;
}
.lede {
  margin: 20px 0 0;
  max-width: 34rem;
  font-size: 1.08rem;
  color: rgba(247, 245, 239, 0.85);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}
.hero-tagline {
  margin: 26px 0 0;
  font-style: italic;
  font-weight: 600;
  color: rgba(244, 178, 51, 0.75);
}

/* scene animation */
.sun-rise { animation: sun-up 3.2s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
@keyframes sun-up {
  from { transform: translateY(70px); }
  to   { transform: translateY(0); }
}
.glow { transform-box: fill-box; transform-origin: center; animation: glow-in 3.2s ease-out both, glow-pulse 7s 3.2s ease-in-out infinite; }
@keyframes glow-in { from { opacity: 0.2; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
@keyframes glow-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.82; } }
.rays {
  transform-origin: 520px 468px;
  animation: rays-breathe 6s ease-in-out infinite;
}
@keyframes rays-breathe {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}
.stars { animation: stars-fade 4s 0.6s ease-out both; }
@keyframes stars-fade { from { opacity: 1; } to { opacity: 0.45; } }
.tw { animation: twinkle 3.4s ease-in-out infinite; }
.tw.t2 { animation-delay: 1.1s; }
.tw.t3 { animation-delay: 2.2s; }
@keyframes twinkle {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 1; }
}

/* mower climbs over the crest, wheel turning, then idles with the engine running */
.mower { animation: crest 2.8s cubic-bezier(0.2, 0.75, 0.25, 1) both; }
@keyframes crest {
  from { transform: translate(-150px, 30px) rotate(3deg); }
  to   { transform: translate(0, 0) rotate(0); }
}
.tread { transform-box: fill-box; transform-origin: center; animation: roll 2.8s cubic-bezier(0.2, 0.75, 0.25, 1) both; }
@keyframes roll { from { transform: rotate(-540deg); } to { transform: rotate(0); } }
.mower-idle { animation: idle 0.22s 2.8s linear infinite alternate; }
@keyframes idle { from { transform: translateY(0); } to { transform: translateY(-1.2px); } }

.clip { opacity: 0; animation: spray 1.4s 2.8s ease-out infinite; }
.clip.c2 { animation-delay: 3.08s; }
.clip.c3 { animation-delay: 3.36s; }
.clip.c4 { animation-delay: 3.64s; }
.clip.c5 { animation-delay: 3.92s; }
@keyframes spray {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0); }
  15%  { opacity: 1; }
  100% { opacity: 0; transform: translate(34px, 6px) rotate(160deg); }
}

.cut path { animation: cut-in 2.4s 0.5s ease-out both; }
@keyframes cut-in { from { opacity: 0; } }

.birds { animation: birds-drift 26s ease-in-out infinite alternate; }
@keyframes birds-drift { from { transform: translate(-30px, 12px); } to { transform: translate(90px, -40px); } }
.bird { transform-box: fill-box; transform-origin: center; animation: flap 0.9s ease-in-out infinite; }
.bird.b2 { animation-delay: 0.3s; }
.bird.b3 { animation-delay: 0.55s; }
@keyframes flap { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.45); } }

.hero-copy > * { animation: rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: 0.12s; }
.hero-copy > :nth-child(3) { animation-delay: 0.24s; }
.hero-copy > :nth-child(4) { animation-delay: 0.36s; }
.hero-copy > :nth-child(5) { animation-delay: 0.48s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sun-rise, .glow, .rays, .stars, .tw, .mower, .tread, .mower-idle, .clip, .cut path, .birds, .bird, .hero-copy > * { animation: none; }
  .button, .brand-patch { transition: none; }
}

/* ============ trust strip ============ */
.strip {
  background: linear-gradient(90deg, var(--orange), var(--gold) 55%, var(--orange));
  color: #241505;
  border-top: 3px solid rgba(11, 22, 38, 0.25);
}
.strip-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 28px;
  padding: 13px 0;
  font-size: 0.93rem;
}
.strip strong { font-weight: 800; }

/* ============ services ============ */
.services { background: var(--cream); padding: clamp(64px, 9vw, 110px) 0; }
.services h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); color: var(--ink); }
.services-lede { margin: 16px 0 0; max-width: 36rem; color: #3d4c42; }
.service-grid {
  margin-top: clamp(32px, 4.5vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: var(--radius-md);
  padding: 22px 20px 24px;
}
.service-grid h3 { font-size: 1.12rem; color: var(--forest); }
.service-grid p { margin: 10px 0 0; font-size: 0.95rem; color: #3d4c42; }
.service-area { margin: 28px 0 0; color: #3d4c42; }
.service-area a { color: var(--forest); font-weight: 700; }

/* ============ estimate ============ */
.estimate { background: var(--paper); padding: clamp(64px, 9vw, 110px) 0; }
.estimate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}
.estimate-copy h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); color: var(--ink); }
.estimate-copy > p { margin: 18px 0 0; max-width: 36rem; color: #3d4c42; }

.mini-steps {
  margin: 28px 0 0;
  padding: 0 0 0 20px;
  display: grid;
  gap: 14px;
  color: #3d4c42;
}
.mini-steps li::marker { font-weight: 800; color: var(--orange); }
.mini-steps strong { color: var(--ink); }

.direct-contact {
  margin-top: 34px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  background: var(--cream);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}
.direct-contact span { font-weight: 600; color: #4c5a50; }
.direct-contact a {
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--forest);
  text-decoration: none;
}
.direct-contact a:hover { color: var(--orange); }

.form-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  border-top: 6px solid var(--gold);
  box-shadow: 0 24px 60px rgba(22, 54, 31, 0.14);
  padding: clamp(24px, 3.4vw, 38px);
}
.card-kicker {
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}
.form-card h3 { font-size: 1.45rem; color: var(--ink); margin-bottom: 18px; }

form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form label { display: grid; gap: 6px; }
form label > span { font-size: 0.85rem; font-weight: 700; color: #35443a; }
input, select, textarea {
  width: 100%;
  border: 1.5px solid rgba(22, 37, 29, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea { resize: vertical; min-height: 104px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(122, 193, 67, 0.25);
}
.is-invalid { border-color: #cc4b1b !important; box-shadow: 0 0 0 3px rgba(204, 75, 27, 0.18); }

.form-note { margin: 2px 0 0; font-size: 0.82rem; color: #6a776e; }
.form-message {
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(122, 193, 67, 0.16);
  border: 1px solid rgba(62, 142, 47, 0.35);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--forest);
}
.form-message.show { display: block; }

/* ============ a day on the rise ============ */
.day {
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(232, 115, 28, 0.14), transparent 60%),
    linear-gradient(180deg, var(--night), var(--night-2));
  color: var(--cream);
  padding: clamp(64px, 9vw, 110px) 0;
}
.section-heading { max-width: 720px; }
.day h2 { font-size: clamp(1.7rem, 3.1vw, 2.5rem); color: var(--cream); }

.timeline {
  margin-top: clamp(36px, 5vw, 56px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.timeline article {
  position: relative;
  background: rgba(247, 245, 239, 0.05);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  padding: 24px 22px 26px;
}
.timeline article::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 22px;
  width: 44px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
}
.time {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
}
.time small {
  font-size: 0.85rem;
  margin-left: 3px;
  color: rgba(244, 178, 51, 0.7);
}
.timeline h3 { margin-top: 8px; font-size: 1.1rem; color: var(--cream); }
.timeline p { margin: 10px 0 0; font-size: 0.94rem; color: rgba(247, 245, 239, 0.72); }

/* ============ callout ============ */
.callout {
  background: linear-gradient(120deg, var(--gold), var(--orange) 70%);
  padding: clamp(52px, 7vw, 84px) 0;
}
.callout-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.callout h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: #241505; max-width: 24ch; }
.callout .eyebrow-dark { color: rgba(36, 21, 5, 0.75); }
.callout-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============ footer ============ */
footer {
  background: var(--night);
  color: var(--cream);
  border-top: 1px solid var(--line-light);
  padding: 34px 0 46px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 26px;
}
.brand-patch-static { pointer-events: none; }
.footer-inner div { display: grid; }
.footer-inner strong { font-family: var(--display); font-weight: 400; letter-spacing: 0.02em; }
.footer-inner div span { font-size: 0.88rem; font-style: italic; color: rgba(244, 178, 51, 0.8); }
.footer-inner > a {
  margin-left: auto;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--gold);
  text-decoration: none;
}
.footer-inner > a:hover { color: var(--cream); }

/* ============ mobile bar ============ */
.mobile-bar {
  display: none;
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  background: rgba(11, 22, 38, 0.95);
  border-top: 1px solid var(--line-light);
  backdrop-filter: blur(10px);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
}
.mobile-bar a:first-child { background: rgba(247, 245, 239, 0.12); color: var(--cream); }
.mobile-bar a:last-child { background: linear-gradient(135deg, var(--gold), var(--orange)); color: #21160a; }

/* ============ responsive ============ */
@media (max-width: 980px) {
  .estimate-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .hero-copy { padding-bottom: 300px; }
}

@media (max-width: 640px) {
  .site-header nav { display: none; }
  .header-inner { justify-content: space-between; }
  .brand-patch img { width: 62px; height: auto; }
  .hero {
    min-height: 0;
    background: linear-gradient(180deg, var(--night) 0%, #16263b 100%);
  }
  /* keep the scene as its own band below the copy so text never sits on the sun */
  .scene {
    top: auto;
    bottom: 0;
    height: 400px;
  }
  .hero-copy {
    margin-inline: 20px;
    padding: 44px 0 420px;
  }
  .field-row { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .strip-inner { flex-direction: column; gap: 4px; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 74px; }
  .footer-inner > a { margin-left: 0; }
}
