/* Lucas Lawn & Co. — site redo
   Brand name font preserved: Montserrat (from live Google Sites) */

:root {
  --bg: #f6f7f4;
  --ink: #1a1f1c;
  --muted: #4a554e;
  --line: rgba(26, 31, 28, 0.12);
  --green: #2a5a3a;
  --green-deep: #163524;
  --leaf: #6f946e;
  --sand: #d9c8a0;
  --white: #ffffff;
  --char: #2b2f2c;
  --font-brand: "Montserrat", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --wrap: min(1100px, calc(100% - 2.4rem));
  --shadow: 0 18px 44px rgba(22, 53, 36, 0.14);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(111, 148, 110, 0.14), transparent 55%),
    var(--bg);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(246, 247, 244, 0.9);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.4rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  background: transparent;
  min-width: 0;
}

.brand-logo {
  height: clamp(2.25rem, 7vw, 4.125rem);
  width: auto;
  max-width: min(360px, 48vw);
  object-fit: contain;
  object-position: left center;
  background: transparent;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.header-phone {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--green);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--green-deep);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: none;
  gap: 0.15rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--ink);
}

/* Mobile open panel */
.site-header.is-nav-open .nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  margin-inline: auto;
  width: var(--wrap);
  padding: 0.75rem;
  background: rgba(246, 247, 244, 0.98);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
  z-index: 50;
}

.site-header.is-nav-open .nav a {
  padding: 0.85rem 0.9rem;
  border-radius: 0.65rem;
}

.site-header.is-nav-open .nav a[aria-current="page"],
.site-header.is-nav-open .nav a:hover {
  background: rgba(42, 90, 58, 0.08);
  color: var(--green-deep);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  background: var(--green);
  color: var(--white);
  font: inherit;
  font-weight: 650;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.btn:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  min-height: min(72vh, 620px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 53, 36, 0.25), rgba(22, 53, 36, 0.88)),
    linear-gradient(90deg, rgba(22, 53, 36, 0.5), transparent 60%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 5rem 0 3.4rem;
  max-width: 38rem;
}

.brand-mark {
  margin: 0 0 0.7rem;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 650;
  font-size: clamp(1.7rem, 4.2vw, 2.7rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 18ch;
}

.lede {
  margin: 0.95rem 0 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.45rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.35rem;
}

.trust-row span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.reviews-bar {
  padding: 1.35rem 0 1.75rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent),
    var(--bg);
  overflow: hidden;
}

.reviews-bar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.reviews-rating {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.reviews-rating p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.reviews-rating strong {
  color: var(--ink);
  font-family: var(--font-brand);
  font-size: 1.05rem;
}

.reviews-stars {
  color: #c9a227;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  line-height: 1;
}

.reviews-link {
  flex-shrink: 0;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
}

.reviews-link:hover {
  color: var(--green-deep);
}

.reviews-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.reviews-track {
  display: flex;
  gap: 0.85rem;
  width: max-content;
  animation: reviews-scroll 55s linear infinite;
}

.reviews-marquee:hover .reviews-track {
  animation-play-state: paused;
}

.review-card {
  flex: 0 0 min(320px, 78vw);
  margin: 0;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 160ms ease, transform 160ms ease;
}

.review-card:hover {
  border-color: rgba(42, 90, 58, 0.35);
  transform: translateY(-1px);
}

.review-stars {
  margin: 0 0 0.45rem;
  color: #c9a227;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  line-height: 1;
}

.review-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ink);
}

.review-meta {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

@keyframes reviews-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section {
  padding: 4.25rem 0;
}

.page-hero {
  padding: 3.2rem 0 0.5rem;
}

.eyebrow {
  margin: 0 0 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--leaf);
}

.section h1,
.section h2 {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.section-lede {
  margin: 0.8rem 0 0;
  color: var(--muted);
  max-width: 44ch;
}

.service-grid {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.service-grid li {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.service-grid h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-brand);
  font-size: 1.08rem;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  gap: 1.8rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: min(380px, 68vw);
  object-fit: cover;
  border-radius: 1.1rem;
  box-shadow: var(--shadow);
}

.strip {
  padding: 0 0 4rem;
}

.strip-inner {
  border-radius: 1.15rem;
  background: linear-gradient(135deg, var(--green-deep), var(--green) 55%, #3d7a4f);
  color: var(--white);
  padding: 1.55rem 1.4rem;
  box-shadow: var(--shadow);
}

.strip p {
  margin: 0;
  font-family: var(--font-brand);
  font-weight: 650;
  font-size: clamp(1.15rem, 2.3vw, 1.45rem);
  line-height: 1.35;
  max-width: 30ch;
}

.photo-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0.95rem;
}

.quote-block {
  margin-top: 2rem;
  padding: 1.35rem 1.3rem;
  border-left: 4px solid var(--green);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 0 0.9rem 0.9rem 0;
}

.quote-block p {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink);
}

.quote-block cite {
  display: block;
  margin-top: 0.7rem;
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-grid {
  display: grid;
  gap: 1.75rem;
}

.contact-card {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.75);
}

.contact-card a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.quote-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.8);
}

.quote-form label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.quote-form input,
.quote-form textarea {
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: var(--white);
}

.form-note {
  margin: 0;
  min-height: 1.2rem;
  color: var(--green);
  font-size: 0.88rem;
}

.faq-list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.72);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.nap {
  color: var(--muted);
  font-size: 0.92rem;
}

.nap p {
  margin: 0.15rem 0;
}

.nap-card {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.75);
}

.nap-card a {
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.map-embed {
  margin-top: 1rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--line);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 0.5rem !important;
}

.footer-links a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--green-deep);
}

.services-fieldset {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
  margin: 0;
}

.services-fieldset legend {
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0 0.25rem;
}

.service-checks {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

.service-checks label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.quote-form select {
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: var(--white);
}

.contact-footer-link {
  margin-top: 1rem;
  font-size: 0.84rem;
}

.contact-footer-link a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.4rem;
  background: var(--char);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .brand-name,
.site-footer .brand-text {
  color: var(--white);
  font-family: var(--font-brand);
  font-weight: 700;
  margin: 0;
}

.site-footer a {
  color: var(--sand);
  text-decoration: none;
}

.footer-inner {
  display: grid;
  gap: 0.45rem;
}

@media (min-width: 760px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    gap: 1.15rem;
    font-size: 0.92rem;
    font-weight: 400;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header.is-nav-open .nav {
    display: flex;
    flex-direction: row;
    position: static;
    width: auto;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-header.is-nav-open .nav a {
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .header-phone {
    font-size: 0.88rem;
  }

  .service-grid,
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .reviews-track {
    animation: none;
    flex-wrap: wrap;
    width: var(--wrap);
    margin-inline: auto;
    justify-content: flex-start;
  }

  .reviews-marquee {
    mask-image: none;
    overflow: visible;
  }
}

/* ==========================================================================
   P11 client polish — 2026-07-30
   Appended to the Starter template AND to Lucas. Behaviour is identical in all
   four packs; only the accent colour differs, and that comes from the pack via
   --accent / --go, never from here.

   Rules this block keeps:
   - Nothing here may hide content unless JS has announced itself on <html>.
     A visitor with JS blocked, and every headless screenshot, must see the
     full page. This is why every reveal rule is scoped to html.js.
   - prefers-reduced-motion removes transforms and transitions outright.
   - Hover lift only on a real pointer, never on touch.
   ========================================================================== */

/* Lucas is custom-themed: the polish binds to HIS tokens (--green /
   --green-deep) and HIS class names (.service-grid, .photo-grid). Behaviour
   matches the Starter template exactly; only the palette differs.

/* --- 1. Scroll reveal --------------------------------------------------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
  will-change: opacity, transform;
}

html.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* --- 3. Hover / press micro-interactions -------------------------------- */
.service-list li,
.service-grid li,
.review-card,
.faq-list details,
.nap-card {
  transition: transform 200ms ease, box-shadow 200ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-list li:hover,
  .service-grid li:hover,
  .review-card:hover,
  .nap-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(15, 20, 15, 0.1);
  }
}

.btn:active,
.reviews-link:active {
  transform: scale(0.98);
  transition: transform 100ms ease;
}

/* Photo zoom. The frame must clip, or the image grows past its corners. */
.about-photo,
.hero-media,
.photo-frame {
  overflow: hidden;
}

.about-photo img,
.photo-frame img {
  transition: transform 400ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .about-photo:hover img,
  .photo-frame:hover img {
    transform: scale(1.03);
  }
}

/* --- 4. Service icons --------------------------------------------------- */
.svc-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--green, currentColor);
}

.service-list li,
.service-grid li {
  grid-template-columns: 24px 1fr;
  column-gap: 0.85rem;
  align-items: start;
}

.service-list li > .svc-icon,
.service-grid li > .svc-icon {
  grid-row: 1 / span 2;
  margin-top: 0.15rem;
}

/* --- 5. Review strip ---------------------------------------------------- */
.star-row {
  display: inline-flex;
  gap: 1px;
  vertical-align: -2px;
}

.star-row svg {
  width: 15px;
  height: 15px;
  color: #e6b800;
}

.g-mark {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

/* --- 6. Image discipline ------------------------------------------------ */
/* height:auto is load-bearing next to width/height attributes: a used height
   from the attribute makes the browser ignore aspect-ratio entirely. */
.about-photo img,
.photo-frame img,
.photo-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* --- 7. Type ------------------------------------------------------------ */
h1,
.section h2,
.page-hero h1 {
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* --- 2. Mobile sticky call bar ------------------------------------------
   Live client sites only. Previews and outreach mockups carry .is-preview on
   <body> and never show it, so a pitch screenshot is not covered by a bar the
   lead cannot use yet. */
.callbar {
  display: none;
}

@media (max-width: 720px) {
  body:not(.is-preview) .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40; /* AI helper launcher sits at 60 and must stay above */
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: stretch;
    min-height: 56px;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--green-deep, #163524);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.18);
  }

  body:not(.is-preview) .callbar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 56px;
    padding: 0 0.75rem;
    font-family: var(--font-body, inherit);
    font-weight: 650;
    font-size: 1rem;
    line-height: 1.1;
    text-decoration: none;
    color: #fff;
  }

  body:not(.is-preview) .callbar a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    font-weight: 600;
  }

  body:not(.is-preview) .callbar a:active {
    background: rgba(0, 0, 0, 0.12);
  }

  /* Last content must clear the bar. */
  body:not(.is-preview) {
    padding-bottom: calc(56px + env(safe-area-inset-bottom));
  }

  /* And the AI launcher must clear it too, or it sits under the bar. */
  body:not(.is-preview) .lh-widget {
    bottom: calc(56px + 12px + env(safe-area-inset-bottom));
  }
}

/* --- Reduced motion: last word ------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal],
  html.js [data-reveal].is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .service-list li,
.service-grid li,
  .review-card,
  .faq-list details,
  .nap-card,
  .about-photo img,
  .photo-frame img,
  .btn,
  .reviews-link {
    transition: none;
  }

  .service-list li:hover,
  .service-grid li:hover,
  .review-card:hover,
  .nap-card:hover,
  .about-photo:hover img,
  .photo-frame:hover img,
  .btn:active,
  .reviews-link:active {
    transform: none;
    box-shadow: none;
  }
}
