:root {
  color-scheme: light;
  --navy: #082f43;
  --deep: #062333;
  --blue: #006493;
  --pink: #cf0052;
  --green: #087c36;
  --mint: #c7f2cf;
  --ice: #e6f2f7;
  --paper: #f5f8fa;
  --white: #fff;
  --ink: #102f3e;
  --muted: #4a6572;
  --border: #d6e2e8;
  --radius: 1.125rem;
  --heading: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-family: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body { margin: 0; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, figure { margin: 0; }
p { line-height: 1.57; }
h1, h2, h3 { font-family: var(--heading); margin: 0; text-wrap: balance; }
h1, h2 { font-weight: 700; letter-spacing: -.055em; line-height: 1.02; }
h2 { font-size: clamp(2.35rem, 4vw, 4.2rem); }
h3 { font-size: clamp(1.18rem, 1.8vw, 1.55rem); letter-spacing: -.037em; line-height: 1.17; }
:focus-visible { outline: 3px solid #087db8; outline-offset: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 5rem, 80rem); margin-inline: auto; }
.section { padding-block: clamp(3.8rem, 7.4vw, 7.25rem); }
.skip {
  position: fixed;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  padding: .8rem 1rem;
  background: var(--white);
  transform: translateY(-180%);
}
.skip:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 4;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.3rem; }
.wordmark { display: inline-flex; padding: .3rem 0; flex: 0 0 auto; }
.wordmark img { width: 8.45rem; height: auto; }
.desktop-nav, .header-actions { display: flex; align-items: center; }
.desktop-nav { gap: clamp(.85rem, 2.7vw, 2.35rem); }
.desktop-nav a, .header-call { text-decoration: none; font-size: .97rem; font-weight: 700; white-space: nowrap; }
.desktop-nav a:hover, .header-call:hover { color: var(--blue); text-decoration: underline; text-underline-offset: .24em; }
.header-actions { gap: clamp(.6rem, 1.7vw, 1.35rem); }
.header-call span, .mobile-menu { display: none; }

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .76rem 1.12rem;
  border: 1px solid transparent;
  border-radius: .62rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.primary { background: var(--pink); color: var(--white); }
.primary:hover { background: #a60041; }
.secondary { border-color: #99bac9; background: var(--white); color: var(--navy); }
.secondary:hover { background: var(--ice); border-color: var(--blue); }
.on-dark { border-color: #9dbbc7; background: #06233350; color: var(--white); }
.on-dark:hover { background: #ffffff22; border-color: var(--white); }
.compact { min-height: 2.75rem; font-size: .9rem; padding: .55rem .85rem; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.play-icon {
  display: inline-block;
  flex-shrink: 0;
  width: 0;
  height: 0;
  border-block: .32rem solid transparent;
  border-left: .54rem solid currentColor;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(118deg, #062b3e 10%, #074768 100%);
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  width: 64rem;
  aspect-ratio: 1;
  border: 1px solid #86d2ee26;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before { left: -36rem; bottom: -45rem; }
.hero::after { left: -39rem; bottom: -45rem; }
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.07fr;
  align-items: center;
  gap: clamp(2.2rem, 4.5vw, 5rem);
  padding-block: clamp(2rem, 3.9vw, 3.9rem);
}
.hero-copy { padding-block: .6rem; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .62rem;
  margin-bottom: .95rem;
  color: var(--blue);
  font-weight: 700;
  font-size: .875rem;
  line-height: 1.25;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; display: inline-block; width: 1.45rem; height: 3px; flex-shrink: 0; border-radius: 1em; background: var(--pink); }
.hero .eyebrow, .contact .eyebrow { color: #d3edf8; }
.hero .eyebrow::before, .contact .eyebrow::before { background: #7bd58f; }
h1 { font-size: clamp(3.55rem, 6.1vw, 6.6rem); text-wrap: initial; }
h1 span { display: block; color: #9dddf2; }
.lede { max-width: 27rem; margin: 1.35rem 0 1.75rem; color: #eff6f9; font-size: clamp(1.09rem, 1.65vw, 1.28rem); }
.hero-image { position: relative; isolation: isolate; border-radius: 1.4rem; overflow: hidden; background: #12374a; }
.hero-image img { width: 100%; height: clamp(25rem, 40vw, 36rem); object-fit: cover; object-position: center 53%; }
.hero-image figcaption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  padding: .55rem .85rem;
  max-width: calc(100% - 2rem);
  border-radius: .4rem;
  background: var(--deep);
  color: var(--white);
  font-weight: 700;
  font-size: .86rem;
}

.quick-strip { background: #edf7fb; border-bottom: 1px solid #cddfe7; }
.quick-links { display: grid; grid-template-columns: repeat(3, 1fr); }
.quick-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.05rem .5rem;
  min-height: 3.45rem;
  color: var(--navy);
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: .98rem;
}
.quick-links a + a { border-left: 1px solid #cddfe7; }
.quick-links a:hover { color: var(--blue); background: #dceff6; text-decoration: underline; }
.quick-links a::before { content: ""; flex-shrink: 0; width: .48rem; height: .48rem; border-radius: 50%; background: var(--green); }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.4rem; margin-bottom: clamp(1.55rem, 3.6vw, 2.8rem); }
.section-heading > p { max-width: 20rem; color: var(--muted); }
.service-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 1.25rem; }
.service-feature {
  display: grid;
  align-items: end;
  position: relative;
  min-height: 31rem;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--navy);
}
.service-feature img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.service-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #061e2dfb 5%, #061e2dc9 29%, #061e2d00 73%);
}
.service-feature-copy { padding: clamp(1.1rem, 3.2vw, 2.4rem); }
.service-feature h3 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
.service-feature p { max-width: 29rem; margin: .45rem 0 .95rem; color: #eff8fc; }
.service-list { display: grid; grid-template-rows: repeat(3, 1fr); gap: 1rem; }
.service-card {
  display: grid;
  grid-template-columns: minmax(6rem, .72fr) minmax(0, 1.3fr);
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-thumb { position: relative; min-height: 8rem; }
.service-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-copy { padding: clamp(.85rem, 2vw, 1.4rem); align-self: center; }
.service-card p { color: var(--muted); margin-block: .35rem .55rem; }
.text-link { color: var(--blue); font-weight: 700; text-underline-offset: .22em; }
.text-link:hover { color: var(--pink); }

.projects { background: var(--ice); }
.project-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.25rem; }
.project-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #c9dce5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.comparison { position: relative; }
.comparison img, .sprinkler-project > img {
  width: 100%;
  height: clamp(13rem, 25vw, 23rem);
  object-fit: cover;
}
.comparison img { object-position: center 53%; }
#landscape-progress { object-position: center 53%; }
.sprinkler-project > img { object-position: center 58%; }
.comparison figcaption {
  position: absolute;
  top: .8rem;
  left: .8rem;
  background: var(--white);
  color: var(--ink);
  padding: .35rem .6rem;
  border-radius: .35rem;
  font-weight: 700;
  font-size: .86rem;
}
.project-info { flex: 1; display: grid; align-content: start; justify-items: start; gap: .8rem; padding: clamp(1rem, 2.4vw, 1.65rem); }
.project-info p { color: var(--muted); margin-top: .32rem; }

.crew-layout { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: clamp(2.2rem, 6vw, 6.3rem); }
.crew-media { display: grid; grid-template-columns: 1.07fr .84fr; gap: .7rem; min-width: 0; }
.crew-media img { width: 100%; height: clamp(13rem, 34vw, 26rem); object-fit: cover; border-radius: var(--radius); }
.crew-media .crew-photo { object-position: center 43%; }
.crew-media .truck-photo { object-position: 67% 65%; margin-top: 1.3rem; }
.crew-copy > p:not(.eyebrow) { margin: 1.1rem 0 1.3rem; color: var(--muted); max-width: 32rem; }

.faq { background: var(--paper); border-top: 1px solid var(--border); }
.faq-layout { display: grid; grid-template-columns: .67fr 1.33fr; gap: clamp(2rem, 5vw, 5rem); }
.questions { border-top: 1px solid #bacfd9; }
.questions details { border-bottom: 1px solid #bacfd9; }
.questions summary {
  position: relative;
  padding: 1.15rem 2.55rem 1.15rem 0;
  list-style: none;
  font-size: clamp(1.02rem, 1.5vw, 1.16rem);
  font-weight: 700;
  cursor: pointer;
}
.questions summary::-webkit-details-marker, .mobile-menu summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: .2rem; top: .75rem; color: var(--blue); font-size: 1.45rem; }
.questions details[open] summary::after { content: "−"; }
.questions details p { padding: 0 1.6rem 1.05rem 0; max-width: 43rem; color: var(--muted); }

.contact { background: var(--navy); color: var(--white); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.2rem, 6.5vw, 6.3rem); align-items: start; }
.contact-copy > p:not(.eyebrow) { color: #dcecf3; max-width: 28rem; margin-block: 1.15rem; }
.form-panel {
  min-width: 0;
  padding: clamp(.35rem, 1.3vw, 1rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.form-panel iframe { display: block; width: 100%; border: 0; border-radius: .5rem; }
.form-fallback { padding: .65rem .45rem .4rem; text-align: center; font-size: .95rem; }

.site-footer { padding-block: 1.8rem; border-top: 1px solid var(--border); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; }
.footer-location p, .footer-links { font-size: .92rem; color: var(--muted); }
.footer-links { display: grid; gap: .25rem; font-style: normal; overflow-wrap: anywhere; }

.policy { max-width: 52rem; overflow-wrap: anywhere; }
.policy h1 { font-size: clamp(2.65rem, 6vw, 4.65rem); margin-bottom: 1.4rem; }
.policy h2 { margin: 1.85rem 0 .55rem; font-size: clamp(1.3rem, 2.6vw, 1.65rem); letter-spacing: -.025em; }
.policy p + p { margin-top: .85rem; }
.policy a { color: var(--blue); text-underline-offset: .2em; }

.video-dialog {
  width: min(100% - 1.5rem, 58rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
.video-dialog:has(.portrait-video) { width: min(100% - 1.5rem, 29rem); }
.video-dialog::backdrop { background: #031b28d4; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .8rem; }
.dialog-head h2 { font-size: clamp(1.05rem, 3vw, 1.5rem); letter-spacing: -.027em; }
.video-dialog video { width: 100%; height: auto; max-height: calc(100dvh - 7rem); background: var(--deep); border-radius: .5rem; }

@media (max-width: 1050px) {
  .wrap { width: calc(100% - 3.5rem); }
  .hero-layout { gap: 2rem; }
  h1 { font-size: clamp(3.3rem, 6.35vw, 5.2rem); }
  .header-call { font-size: .88rem; }
  .header-estimate { font-size: .91rem; }
}
@media (max-width: 870px) {
  .wrap { width: calc(100% - 2.5rem); }
  .header-row { min-height: 4.6rem; }
  .wordmark img { width: 7rem; }
  .desktop-nav, .header-estimate { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: .55rem .8rem;
    border: 1px solid #a1b8c3;
    border-radius: .56rem;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
  }
  .mobile-menu[open] summary { background: var(--ice); }
  .mobile-menu nav {
    position: absolute;
    inset: 100% 0 auto;
    display: grid;
    gap: .25rem;
    padding: .8rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 .7rem 1.4rem #082f4317;
  }
  .mobile-menu nav a { display: block; padding: .55rem 0; font-weight: 700; text-decoration: none; }
  .mobile-menu nav a:hover { text-decoration: underline; }
  .section-heading { align-items: start; flex-direction: column; gap: .7rem; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 4.75rem; }
  .wrap { width: calc(100% - 2rem); }
  .hero-layout, .service-layout, .project-grid, .crew-layout, .faq-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-layout { padding-block: 1.65rem 1rem; gap: 1.2rem; }
  .hero-copy { padding: .4rem 0 0; }
  h1 { font-size: clamp(2.62rem, 10.1vw, 4.6rem); }
  .lede { margin: .92rem 0 1.15rem; }
  .hero-image { border-radius: .85rem; }
  .hero-image img { height: clamp(14rem, 65vw, 26rem); object-position: center 49%; }
  .hero-image figcaption { bottom: .55rem; left: .55rem; }
  .quick-links a { font-size: .89rem; padding: .6rem .4rem; }
  .quick-links a::before { display: none; }
  .service-feature { min-height: 23rem; }
  .service-list { gap: .75rem; }
  .crew-photo { object-position: center 35%; }
}
@media (max-width: 420px) {
  .header-row { min-height: 4.1rem; gap: .65rem; }
  .wordmark img { width: 6.65rem; }
  .header-call {
    padding: .55rem .75rem;
    border-radius: .55rem;
    background: var(--blue);
    color: var(--white);
    min-height: 2.75rem;
    display: grid;
    place-items: center;
    font-size: .95rem;
  }
  .header-call:hover { color: var(--white); }
  .header-call strong { display: none; }
  .header-call span { display: inline; }
  .actions .button { padding-inline: .83rem; font-size: .93rem; }
  .service-card { grid-template-columns: minmax(5.6rem, .66fr) minmax(0, 1.45fr); }
}
@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}
