/* True Blue Yard Maintenance. Palette sampled from the supplied logo. */
:root {
  --navy: #264d6e;
  --navy-deep: #17334d;
  --leaf: #6c936c;
  --leaf-dark: #5d835d;
  --leaf-bright: #a8d29b;
  --leaf-ink: #3f6b38;
  --mist: #dce7ee;
  --paper: #f4f8fa;
  --white: #ffffff;
  --font-display: "Lexend", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --gutter: 16px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
}
img, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--leaf-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--leaf-bright); outline-offset: 3px; border-radius: 2px; }
.on-light :focus-visible, main :focus-visible { outline-color: var(--navy); }
.on-navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--leaf-bright); }

.skip-link {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--leaf-bright); color: var(--navy-deep); padding: 10px 16px; font-weight: 600;
}
.skip-link:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 8vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
.heavy { font-weight: 700; display: block; }
.light { font-weight: 300; display: block; }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 14px; color: var(--leaf-bright);
}
.on-light .eyebrow, .eyebrow.dark { color: var(--leaf-ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 10px 22px; border-radius: 4px; font-family: var(--font-display); font-weight: 600;
  font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--leaf-bright); color: var(--navy-deep); }
.btn-primary:hover { background: var(--white); color: var(--navy-deep); }
.btn-outline { border-color: var(--leaf-bright); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--leaf-bright); color: var(--navy-deep); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-deep); color: var(--white); }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header */
.site-header { background: var(--navy); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 76px; }
.brand { display: block; line-height: 0; margin-right: auto; flex: none; }
.brand img { height: 64px; width: auto; }
.nav-toggle {
  width: 48px; height: 48px; background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.35); border-radius: 4px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; order: 3;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 20px; height: 2px; background: currentColor; position: relative; content: "";
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.header-call { padding: 8px 14px; min-height: 44px; font-size: 0.9rem; order: 2; white-space: nowrap; }
.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-deep); padding: 8px var(--gutter) 16px; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); }
.site-nav a {
  display: block; padding: 12px 0; min-height: 48px; color: var(--white); text-decoration: none;
  font-family: var(--font-display); font-weight: 400; border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-nav a:hover { color: var(--leaf-bright); }
.site-nav a[aria-current="page"] { color: var(--leaf-bright); font-weight: 700; }

/* Hero */
.hero { background: var(--navy); color: var(--white); position: relative; }
.hero-inner { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 56px; }
.hero h1 .light { color: var(--leaf-bright); margin-top: 6px; }
.hero .subline { font-size: 1.15rem; max-width: 34em; margin-top: 20px; color: var(--mist); }
.hero-mark {
  display: flex; align-items: center; justify-content: center;
  max-width: 420px; justify-self: start;
}
.hero-mark img { width: 100%; max-width: 320px; }
.stripes {
  height: 96px; background: repeating-linear-gradient(100deg, var(--leaf) 0 56px, var(--leaf-dark) 56px 112px);
  display: block;
}
html.js .stripes { clip-path: inset(0 100% 0 0); }
html.js .stripes.is-drawn { clip-path: inset(0 0 0 0); transition: clip-path 1.1s cubic-bezier(.2,.7,.2,1); }
.edge {
  height: 14px; display: block; background: repeating-linear-gradient(100deg, var(--leaf) 0 40px, var(--leaf-dark) 40px 80px);
}

/* Sections */
.section { padding: 64px 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--white); }
.section-deep { background: var(--navy-deep); color: var(--white); }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head p { color: inherit; margin-top: 14px; }
.section-navy .eyebrow, .section-deep .eyebrow { color: var(--leaf-bright); }

/* Proof strip */
.proof { background: var(--white); border-bottom: 1px solid var(--mist); }
.proof-grid { display: grid; gap: 0; }
.proof-item { padding: 22px 0; border-bottom: 1px solid var(--mist); }
.proof-item:last-child { border-bottom: 0; }
.proof-big { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; display: block; line-height: 1.2; color: var(--navy); }
.proof-big a { color: var(--navy); }
.proof-small { font-size: 0.9rem; color: var(--navy); display: block; margin-top: 4px; }

/* Service index */
.service-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.service-index li { padding: 20px 0; border-top: 1px solid rgba(23,51,77,.2); }
.service-index strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.2; }
.service-index span { font-weight: 300; font-size: 1.05rem; }
.more-link { margin-top: 28px; }

/* Chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  background: var(--mist); color: var(--navy-deep); border-radius: 999px; padding: 8px 18px;
  font-family: var(--font-display); font-weight: 400; font-size: 1rem;
}
.chips li b { font-weight: 700; margin-left: 4px; color: var(--leaf-ink); }
.chips.small li { background: var(--white); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.steps li { padding: 0 0 28px 56px; position: relative; }
.steps li::before {
  content: attr(data-step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--leaf-bright); font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--leaf); }
.steps h3 { margin-bottom: 4px; }
.steps p { margin: 0; }

/* Area */
.area { display: grid; gap: 24px; }
.area h2 { margin-bottom: 14px; }
.area p.big { font-family: var(--font-display); font-weight: 300; font-size: 1.5rem; line-height: 1.35; margin-bottom: 14px; }
.social-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; }
.social-list a { font-weight: 600; display: inline-block; padding: 10px 0; min-height: 44px; }

/* Call band */
.call-band { background: var(--navy); color: var(--white); padding: 64px 0; }
.call-band h2 { color: var(--leaf-bright); font-weight: 300; }
.phone-huge {
  display: block; font-family: var(--font-display); font-weight: 700; color: var(--white);
  font-size: clamp(2.2rem, 11vw, 4.6rem); text-decoration: none; line-height: 1.1; margin: 10px 0 6px;
}
.phone-huge:hover { color: var(--leaf-bright); }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--mist); padding: 48px 0 28px; }
.footer-grid { display: grid; gap: 28px; }
.site-footer img { height: 96px; width: auto; border-radius: 8px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--leaf-bright); }
.site-footer h2 { font-size: 1rem; font-weight: 700; color: var(--leaf-bright); margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 6px 0; min-height: 36px; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; font-size: 0.9rem; }

/* Inner pages */
.page-hero { background: var(--navy); color: var(--white); padding: 56px 0 52px; }
.page-hero h1 .light { color: var(--leaf-bright); margin-top: 6px; }
.page-hero p { max-width: 38em; margin-top: 18px; color: var(--mist); font-size: 1.12rem; }

.service-group { display: grid; gap: 14px; padding: 36px 0; border-top: 1px solid rgba(23,51,77,.2); }
.service-group:first-of-type { border-top: 0; }
.service-group ul.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service-group ul.tags li { background: var(--mist); border-radius: 999px; padding: 4px 14px; font-size: 0.95rem; }
.service-group p { margin: 0; max-width: 40em; }
.ask-line { font-family: var(--font-display); font-weight: 300; font-size: 1.4rem; margin-top: 12px; }

.about-grid { display: grid; gap: 40px; }
.about-block h2 { margin-bottom: 14px; }
.about-block p { max-width: 40em; }
.fact-list { list-style: none; padding: 0; margin: 0 0 1em; }
.fact-list li { padding: 10px 0 10px 28px; position: relative; border-bottom: 1px solid rgba(23,51,77,.15); }
.fact-list li::before { content: ""; position: absolute; left: 0; top: 20px; width: 14px; height: 4px; background: var(--leaf); }

.contact-grid { display: grid; gap: 40px; }
.contact-card { background: var(--white); border: 1px solid var(--mist); border-radius: 8px; padding: 28px 24px; }
.contact-card h2 { font-size: 1.25rem; margin-bottom: 10px; }
.contact-card .phone-huge { color: var(--navy); font-size: clamp(2rem, 9vw, 3.2rem); }
.contact-card .phone-huge:hover { color: var(--leaf-ink); }
.checklist { margin: 0; padding-left: 1.2em; }
.checklist li { margin-bottom: 6px; }

/* Gallery */
.gallery-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.gallery-grid a { display: block; border-radius: 6px; overflow: hidden; background: var(--mist); }
.gallery-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s; }
.gallery-grid a:hover img { transform: scale(1.03); }
.gallery-note { background: var(--white); border: 1px solid var(--mist); border-radius: 8px; padding: 28px 24px; max-width: 40em; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(23,51,77,.96); display: none;
  align-items: center; justify-content: center; padding: 56px 12px 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 80vh; max-width: 100%; width: auto; object-fit: contain; }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border-radius: 4px; border: 2px solid rgba(255,255,255,.4);
  background: var(--navy-deep); color: var(--white); font-size: 1.4rem; cursor: pointer; line-height: 1;
}
.lightbox button:hover { background: var(--leaf-bright); color: var(--navy-deep); }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 8px; top: 50%; }
.lb-next { right: 8px; top: 50%; }

/* Reveal */
html.js .reveal { opacity: 0; transform: translateY(16px); }
html.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .proof-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .proof-item { border-bottom: 0; padding: 28px 0; }
  .service-index { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps li { padding: 56px 0 0; }
  .steps li:not(:last-child)::after { left: 52px; right: -24px; top: 19px; bottom: auto; width: auto; height: 2px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .service-group { grid-template-columns: 1fr 2fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .area { grid-template-columns: 1.6fr 1fr; align-items: center; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }
  .header-inner { gap: 28px; }
  .site-nav { display: block; position: static; background: transparent; padding: 0; margin-right: 0; order: 1; }
  .site-nav ul { display: flex; gap: 6px; }
  .site-nav a { border: 0; padding: 10px 12px; min-height: 44px; font-size: 0.98rem; }
  .header-call { font-size: 1rem; padding: 8px 20px; }
  .brand { margin-right: auto; }
  .hero-inner { grid-template-columns: 1.3fr 1fr; align-items: center; padding-top: 72px; padding-bottom: 80px; }
  .hero-mark { justify-self: end; }
  .stripes { height: 120px; }
  .about-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.js .reveal, html.js .reveal.is-in { opacity: 1; transform: none; }
  html.js .stripes { clip-path: none; }
  .gallery-grid a:hover img { transform: none; }
}

.h-sm { font-size: 1.25rem; margin-bottom: 10px; }
.h-gap { margin-top: 28px; }
.h-mb { margin-bottom: 14px; }
