:root{color-scheme:light;--pine:#112b20;--ink:#16271d;--paper:#faf9f4;--lime:#d8ef83;--muted:#506056;--line:#cdd4c8}
*{box-sizing:border-box}
body{margin:0;background:var(--paper) url("racine-lawn-background.webp") center 35% / cover fixed;color:var(--ink);font:1rem/1.6 system-ui,sans-serif}
img{display:block;max-width:100%}
a{color:inherit}
a:focus-visible{outline:3px solid #769c23;outline-offset:4px}
.skip{position:absolute;left:1rem;top:-10rem;z-index:5;background:white;padding:.5rem 1rem}
.skip:focus{top:1rem}
.wrap{width:min(1180px,calc(100% - 3rem));margin-inline:auto}
.top{background:var(--pine);color:#eef1e8;font-size:.875rem}
.top-inner,.header,.footer{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.top-inner{padding-block:.45rem}
.header{padding-block:.7rem}
body>header,body>footer{box-shadow:0 0 0 100vmax rgb(246 249 240 / 92%);clip-path:inset(0 -100vmax);background:rgb(246 249 240 / 92%)}
.brand img{width:123px;mix-blend-mode:multiply}
nav,.actions{display:flex;align-items:center;gap:clamp(.65rem,2.3vw,2rem);flex-wrap:wrap}
nav a{font-weight:650;text-decoration:none}
nav a:hover{text-decoration:underline;text-underline-offset:5px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.6rem 1rem;text-decoration:none;font-weight:750;border:1px solid transparent;border-radius:3px}
.button:hover{filter:brightness(.91)}
.outline{border-color:#587464}
.lime{background:var(--lime);color:#16271d}
.light{border-color:#8ea196;color:white}
.hero,.contact{color:#fff}
.hero{background:linear-gradient(90deg,rgb(10 30 19 / 93%) 0%,rgb(10 30 19 / 83%) 35%,rgb(10 30 19 / 30%) 73%,rgb(10 30 19 / 13%) 100%) center / cover,rgb(10 30 19 / 10%) url("racine-lawn-background.webp") center 43% / cover no-repeat}
.contact{background:var(--pine)}
.hero-grid{display:grid;grid-template-columns:0.95fr 1.25fr;align-items:center;min-height:535px}
.hero-copy{padding:clamp(2rem,5vw,5rem) clamp(1rem,4vw,4rem) clamp(2rem,5vw,5rem) 0}
.label{font-weight:800;letter-spacing:.1em;text-transform:uppercase;font-size:.875rem;color:#3c672a;margin:0 0 .8rem}
.hero .label{color:var(--lime)}
h1,h2,h3{line-height:1.08;margin:0;font-weight:800;letter-spacing:-.04em}
h1{font-size:clamp(2.55rem,5.15vw,4.9rem)}
h1 em{font-style:normal;color:var(--lime)}
h2{font-size:clamp(2.2rem,4vw,3.65rem)}
h3{font-size:1.5rem}
.hero-copy>p:not(.label){color:#e3eae3;max-width:46ch;margin:1.3rem 0 1.55rem}
.hero-photo{min-width:0;margin:0;box-shadow:0 12px 30px rgb(0 0 0 / 30%)}
.hero-photo img{display:block;width:100%;height:auto}
.section{padding:clamp(2rem,5vw,4.5rem) clamp(1rem,4vw,3rem);background:linear-gradient(125deg,rgb(36 60 45 / 83%),rgb(48 73 54 / 83%));color:#f6f7ee;margin-block:clamp(1rem,3vw,2.25rem)}
.services{display:grid;grid-template-columns:1fr 1.25fr .9fr;gap:clamp(1.3rem,3vw,3rem);margin-top:2rem}
.services article{border-top:3px solid #a2ba78;padding-top:1rem}
.services ul{padding-left:1.15rem}
.services li{margin:.3rem 0}
.section .label{color:var(--lime)}
.section p:not(.label),.section li{color:#e3eadd}
.details{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1rem,5vw,5rem)}
.details h3{margin-top:1.35rem}
.details h3+p{margin-top:.45rem}
.contact-inner{padding-block:2.5rem;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap}
.contact h2{font-size:clamp(1.85rem,3.5vw,3rem)}
.contact p{margin:.65rem 0 0}
.footer{padding-block:1.4rem;color:var(--muted);flex-wrap:wrap}
@media(max-width:760px){
.wrap{width:calc(100% - 2rem)}
.header{display:grid;grid-template-columns:1fr auto}
nav{grid-row:2;grid-column:1/-1;justify-content:space-between;gap:.4rem}
.hero-grid,.services,.details{grid-template-columns:1fr}
.hero-copy{padding-right:0}
body{background-attachment:scroll}
.hero{background:linear-gradient(rgb(10 30 19 / 92%),rgb(10 30 19 / 78%) 50%,rgb(10 30 19 / 32%)),url("racine-lawn-background.webp") center / cover no-repeat}
.hero-photo{margin-bottom:2rem}
.top-inner span+span{display:none}
}
@media(max-width:380px){nav a{font-size:.875rem}}

.project-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));
  gap:1.25rem;
  margin-top:1.5rem;
}
.project-gallery figure{margin:0}
.project-gallery a{
  display:grid;
  place-items:center;
  aspect-ratio:4/3;
  background:#12291d;
}
.project-gallery img{
  width:100%;
  height:100%;
  min-height:0;
  object-fit:contain;
}
.project-gallery figcaption{padding-top:.55rem;color:#e3eadd}

.lakeside-pair{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(.5rem,2vw,1.25rem);
}

nav a[aria-current="page"]{
  text-decoration:underline;
  text-underline-offset:5px;
}

.services-actions{margin-top:1.25rem}
.contact-info p{margin:0 0 .65rem}

@media (prefers-reduced-motion: no-preference){
  .hero{position:relative;overflow:hidden}
  .hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:inherit;
    mask-image:linear-gradient(to bottom,transparent 63%,#000 88%);
    pointer-events:none;
    transform-origin:center 65%;
    animation:lawn-breeze 8s ease-in-out infinite alternate;
  }
  .hero-grid{position:relative}
}

@keyframes lawn-breeze{
  0%,100%{transform:scale(1.008) skewX(-.16deg)}
  42%{transform:scale(1.01) skewX(.23deg)}
  72%{transform:scale(1.009) skewX(-.08deg)}
}

.estimate{display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(1.5rem,5vw,4rem)}
.estimate h1{font-size:clamp(2.3rem,5vw,4.5rem)}
.estimate-form{background:var(--paper);color:var(--ink);padding:clamp(1rem,3vw,2rem);display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.estimate-form label{display:grid;align-content:start;gap:.35rem;font-weight:650}
.estimate-form input,.estimate-form select,.estimate-form textarea{width:100%;font:inherit;padding:.55rem;border:1px solid #788778;border-radius:3px;color:var(--ink);background:white}
.estimate-form textarea{resize:vertical}
.estimate-form button{background:var(--pine);color:white;cursor:pointer}
.estimate-wide{grid-column:1/-1}
@media(max-width:760px){.estimate,.estimate-form{grid-template-columns:minmax(0,1fr)}}

.work-slideshow {
  margin: 0 0 1.5rem;
}
.work-slideshow figure {
  margin: 0;
}
.work-slideshow figure > [hidden] {
  display: none;
}
.work-slideshow img:not([hidden]),
.work-slideshow video:not([hidden]) {
  display: block;
  width: 100%;
  height: clamp(230px, 48vw, 500px);
  object-fit: contain;
  background: #171e17;
  border-radius: 1rem;
}
.work-slideshow figcaption {
  margin-top: .65rem;
}
.work-slideshow-controls:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: .75rem;
}
.work-slideshow-controls button {
  font-family: inherit;
  cursor: pointer;
}

.estimate .free-estimates {
  font-size: 1.25rem;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.review-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-top: 4px solid var(--lime);
  border-radius: .4rem;
  background: var(--paper);
  color: var(--ink);
}
.testimonials .review-service:not(.label) {
  margin: 0 0 .75rem;
  color: #3c672a;
  font-size: .875rem;
  font-weight: 800;
}
.review-card blockquote {
  margin: 0 0 1.5rem;
}
.review-card figcaption {
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--line);
  font-weight: 750;
}
.review-action {
  margin-top: 1.75rem;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .55rem;
  font-size: .875rem;
  font-weight: 750;
}
.review-rating [aria-hidden="true"] {
  color: #8b5d00;
  font-size: 1.2rem;
  line-height: 1;
}

.service-benefits {
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid rgb(216 239 131 / 38%);
  border-radius: 3px;
  background: var(--pine);
}
.service-benefits h3 {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.25;
}
.service-benefits p {
  margin: .6rem 0;
}
.service-benefits ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: .75rem 1.5rem;
  padding-left: 1.15rem;
  margin-bottom: 0;
}
.service-benefits li::marker {
  color: var(--lime);
}
.header-phone {
  min-height: 50px;
  background: var(--pine);
  color: #fff;
  border-color: var(--pine);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 900;
  white-space: nowrap;
}

.project-gallery .project-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: var(--pine);
}
