/* A@W Lawncare — Springfield, MO
   Palette pulled from the cut photos: turf, sky, brick, cream stone. */

:root {
  --turf-950: #122016;
  --turf-900: #16321c;
  --turf-800: #1d4a27;
  --turf-700: #276334;
  --turf-600: #2f7a3e;
  --cream: #f3efe6;
  --cream-2: #e8e1d2;
  --paper: #faf8f3;
  --stone: #cfc6b4;
  --ink: #141814;
  --ink-soft: #3e463f;
  --muted: #5c655d;
  --brick: #8c3d36;
  --gold: #d4a017;
  --sky: #4a7fa8;
  --white: #ffffff;
  --line: color-mix(in srgb, var(--turf-900) 12%, transparent);
  --shadow: 0 18px 40px color-mix(in srgb, var(--turf-950) 18%, transparent);
  --radius: 1rem;
  --radius-sm: 0.6rem;
  --header-h: 4.25rem;
  --max: 72rem;
  --sans: "Outfit", "Liberation Sans", "Segoe UI", system-ui, sans-serif;
  --serif: "Fraunces", "Liberation Serif", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --space: clamp(1.25rem, 3vw, 2rem);
}

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

html {
  scroll-behavior: smooth;
  hanging-punctuation: first last;
  min-height: 100%;
}

html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--turf-800);
  color: var(--cream);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  background: var(--turf-900);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 0 0 0.4rem 0.4rem;
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: 0; }

main { flex: 1; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap-narrow { width: min(100% - 2rem, 40rem); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 8px 24px color-mix(in srgb, var(--turf-950) 8%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
  margin-right: auto;
}
.mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  background: var(--turf-900);
  color: var(--cream);
  border-radius: 0.55rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.mark .at { color: var(--gold); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.brand-place {
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--turf-900);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.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;
  position: absolute;
  inset: var(--header-h) 0 auto;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem 1.25rem;
  box-shadow: var(--shadow);
}
.nav.is-open { display: block; }
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.nav a {
  display: block;
  text-decoration: none;
  padding: 0.7rem 0.85rem;
  border-radius: 0.5rem;
  font-weight: 550;
  color: var(--ink-soft);
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--cream);
  color: var(--turf-900);
}
.nav .nav-call {
  margin-top: 0.5rem;
  text-align: center;
}

.header-call { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--turf-800);
  color: var(--cream);
  border-color: var(--turf-800);
}
.btn-primary:hover { background: var(--turf-700); border-color: var(--turf-700); }
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: color-mix(in srgb, var(--cream) 45%, transparent);
}
.btn-ghost:hover { background: color-mix(in srgb, var(--cream) 12%, transparent); }
.btn-outline {
  background: transparent;
  color: var(--turf-900);
  border-color: color-mix(in srgb, var(--turf-900) 25%, transparent);
}
.btn-outline:hover { background: var(--cream); }
.btn-light {
  background: var(--cream);
  color: var(--turf-900);
  border-color: var(--cream);
}
.btn-light:hover { background: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }

.estimator-actions {
  margin-top: 0.15rem;
}
.estimator-actions .btn {
  flex: 0 1 auto;
}
@media (max-width: 540px) {
  .estimator-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .estimator-actions .btn {
    width: 100%;
  }
}

.icon-phone {
  width: 1.05em;
  height: 1.05em;
  fill: currentColor;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 62%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--turf-950) 32%, transparent) 0%,
      transparent 30%,
      color-mix(in srgb, var(--turf-950) 18%, transparent) 48%,
      color-mix(in srgb, var(--turf-950) 62%, transparent) 76%,
      color-mix(in srgb, var(--turf-950) 88%, transparent) 100%),
    linear-gradient(105deg,
      color-mix(in srgb, var(--turf-950) 80%, transparent) 0%,
      color-mix(in srgb, var(--turf-950) 52%, transparent) 26%,
      color-mix(in srgb, var(--turf-950) 18%, transparent) 48%,
      transparent 70%);
}
.hero-inner {
  padding: 4.5rem 0 3.25rem;
  max-width: 40rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--cream) 82%, var(--gold));
}
.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.15rem, 6.4vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
  text-shadow: 0 1px 2px color-mix(in srgb, var(--turf-950) 45%, transparent);
}
.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: color-mix(in srgb, var(--cream) 88%, var(--gold));
}
.lede {
  margin: 0 0 1.5rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: color-mix(in srgb, var(--cream) 88%, transparent);
  max-width: 34rem;
  text-wrap: pretty;
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.25rem, 7vw, 6rem) 0; }
.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}
.section-head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-wrap: balance;
}
.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--turf-700);
}

.section-cream { background: var(--cream); }
.section-turf {
  background: var(--turf-900);
  color: var(--cream);
}
.section-turf .section-head p,
.section-turf .muted { color: color-mix(in srgb, var(--cream) 72%, transparent); }
.section-turf .kicker { color: var(--gold); }

/* stripe motif, echoing the mow */
.stripes {
  background-image: repeating-linear-gradient(
    -18deg,
    transparent 0 10px,
    color-mix(in srgb, var(--turf-900) 4.5%, transparent) 10px 20px
  );
}

/* ---------- Proof bar ---------- */
.proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: -1.5rem;
  position: relative;
  z-index: 2;
}
.proof-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--turf-950) 6%, transparent);
}
.proof-item strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.proof-item span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- Photo frames ---------- */
.frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream-2);
}
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
a.frame:hover img,
.frame:hover img { transform: scale(1.04); }
.frame-4x3 { aspect-ratio: 4 / 3; }
.frame-5x4 { aspect-ratio: 5 / 4; }
.frame-wide { aspect-ratio: 16 / 10; }

.caption {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.caption strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Photo mosaic (home) ---------- */
.mosaic {
  display: grid;
  gap: 0.85rem;
}
.mosaic a { text-decoration: none; color: inherit; }
.mosaic-a {
  display: block;
  min-height: 0;
}
.mosaic-a .frame {
  position: relative;
  min-height: 16rem;
  aspect-ratio: 4 / 3;
}
.mosaic-a .caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 2.6rem 1.05rem 0.9rem;
  color: color-mix(in srgb, var(--cream) 88%, transparent);
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--turf-950) 88%, transparent) 100%);
  font-size: 0.86rem;
}
.mosaic-a .caption strong {
  color: var(--cream);
}
.mosaic-more { margin-top: 1.4rem; }

/* ---------- Service cards ---------- */
.cards {
  display: grid;
  gap: 1.1rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card .frame { border-radius: 0; aspect-ratio: 16 / 10; }
.card-body { padding: 1.15rem 1.2rem 1.35rem; }
.card-num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--turf-700);
  font-size: 0.95rem;
}
.card h3 {
  margin: 0.15rem 0 0.4rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* ---------- Split / craft ---------- */
.split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.split-copy h2 {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.split-copy p { margin: 0 0 1rem; color: var(--ink-soft); }
.split-copy p:last-child { margin-bottom: 0; }
.pattern-list {
  list-style: none;
  margin: 1.1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.pattern-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.7rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.pattern-list b { color: var(--turf-800); font-weight: 650; }

/* ---------- CTA band ---------- */
.cta-band {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}
.cta-band h2 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}
.cta-band p { margin: 0; color: color-mix(in srgb, var(--cream) 75%, transparent); }
.phone-xl {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--cream);
}
.phone-xl:hover { color: var(--gold); }
.cta-band .btn-row { align-items: flex-start; }
@media (max-width: 380px) {
  .brand-place { display: none; }
}

@media (min-width: 700px) {
  .cta-band .btn-row { justify-content: flex-end; }
}

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0.5rem;
  background:
    repeating-linear-gradient(-18deg, transparent 0 12px, color-mix(in srgb, var(--turf-900) 4%, transparent) 12px 24px),
    var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.page-hero .lede { color: var(--ink-soft); margin-bottom: 1.25rem; }
.page-services .page-hero {
  padding-bottom: 0;
  border-bottom: 0;
}
.page-services .page-hero .lede { margin-bottom: 0; }
.page-services main > .section:first-of-type {
  padding-top: clamp(1.35rem, 3.2vw, 2.15rem);
}
.page-contact .page-hero {
  padding-bottom: 0;
  border-bottom: 0;
}
.page-contact .page-hero .lede { margin-bottom: 0; }
.page-contact #quote {
  padding-top: clamp(1.35rem, 3.2vw, 2.15rem);
}

/* ---------- Service detail ---------- */
.service-block {
  display: grid;
  gap: 1.5rem;
  padding: 1.85rem 0;
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: 0; padding-top: 0; }
.service-block h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
}
.service-block p { margin: 0 0 0.8rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  gap: 1.25rem;
}
.gallery-item {
  margin: 0;
  cursor: zoom-in;
}
.gallery-item button {
  all: unset;
  display: block;
  width: 100%;
  cursor: zoom-in;
  border-radius: var(--radius);
}
.gallery-item button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.gallery-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  margin-top: 0.7rem;
}
.gallery-meta .num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--turf-700);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: color-mix(in srgb, var(--turf-950) 92%, black);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(96vw, 1400px);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 20px 60px #0008;
}
.lightbox-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.75rem;
  text-align: center;
  color: var(--cream);
  font-size: 0.92rem;
  padding: 0 3.5rem;
}
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cream) 14%, transparent);
  color: var(--cream);
  font-size: 1.4rem;
  cursor: pointer;
}
.lb-btn:hover { background: color-mix(in srgb, var(--cream) 28%, transparent); }
.lb-prev { left: 0.6rem; }
.lb-next { right: 0.6rem; }
.lb-close {
  top: 0.75rem;
  right: 0.75rem;
  transform: none;
  font-size: 1.6rem;
  line-height: 1;
}

/* ---------- Form / contact ---------- */
.contact-grid {
  display: grid;
  gap: 2rem;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}
.contact-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}
.contact-card p { margin: 0; color: var(--ink-soft); }
.contact-card a.phone {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--turf-800);
  letter-spacing: -0.02em;
}
.contact-card a.phone:hover { color: var(--brick); }
.contact-card a.email {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--turf-800);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.contact-card a.email:hover { color: var(--brick); }
.contact-card + .contact-card { margin-top: 1rem; }

.contact-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 1.25rem;
}
.contact-photos .lead {
  grid-column: 1 / -1;
}

#quote,
#quote-form,
#photos,
.service-block[id] {
  scroll-margin-top: calc(var(--header-h) + 0.8rem);
}

/* ---------- Quote estimator ---------- */
.estimator-layout {
  display: grid;
  justify-items: stretch;
}
.estimator {
  width: min(100%, 38rem);
  margin-inline: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.1rem);
  padding: 1.5rem 1.4rem 1.7rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--turf-950) 6%, transparent);
}
.estimator h2 {
  margin: 0 0 0.35rem;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.03em;
}
.estimator .hint {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.estimator-note {
  margin: 0 0 1.15rem;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}
.estimator-units {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
}
.estimator-units legend {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}
.estimator-disclaimer {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.estimator-out {
  margin-top: 1.15rem;
  padding: 1rem 1.1rem 1.15rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.estimator-out .amount {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--turf-800);
  line-height: 1.2;
}
.estimator-out .amount .amount-rest {
  display: inline;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-soft);
}
.estimator-out .estimator-disclaimer { margin-top: 0.15rem; }
.estimator-out .btn-row { margin-top: 1rem; }
.estimator-error {
  display: none;
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--brick) 12%, var(--cream));
  color: var(--brick);
  font-size: 0.92rem;
}
.estimator-error.is-on { display: block; }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.1rem);
  padding: 1.4rem 1.3rem 1.6rem;
}
.form h2 {
  margin: 0 0 0.3rem;
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}
.form .hint { margin: 0 0 1.2rem; color: var(--muted); font-size: 0.95rem; }

label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0 0 0.35rem;
}
.field { margin-bottom: 1rem; }
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
  width: 100%;
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--turf-900) 18%, transparent);
  border-radius: 0.5rem;
  background: var(--paper);
  color: var(--ink);
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--turf-700);
  outline-offset: 1px;
  background: var(--white);
}
textarea { min-height: 7.5rem; resize: vertical; }

.radios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.radio {
  position: relative;
}
.radio input {
  position: absolute;
  opacity: 0;
  inset: 0;
}
.radio span {
  display: block;
  padding: 0.75rem 0.8rem;
  border: 1px solid color-mix(in srgb, var(--turf-900) 18%, transparent);
  border-radius: 0.5rem;
  background: var(--paper);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
}
.radio input:checked + span {
  background: var(--turf-900);
  color: var(--cream);
  border-color: var(--turf-900);
}
.radio input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form-error {
  display: none;
  margin: 0 0 0.9rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.45rem;
  background: color-mix(in srgb, var(--brick) 12%, var(--cream));
  color: var(--brick);
  font-size: 0.92rem;
}
.form-error.is-on { display: block; }

.form-success {
  display: none;
  padding: 0.5rem 0 0.2rem;
}
.form-success.is-on { display: block; }
.form.is-done .form-fields { display: none; }
.form-success h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.5rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.req { color: var(--brick); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--turf-950);
  color: color-mix(in srgb, var(--cream) 82%, transparent);
  padding: 2.75rem 0 6.5rem;
}
.footer-grid {
  display: grid;
  gap: 1.75rem;
}
.site-footer .legal {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--cream);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.25rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-footer small { display: block; margin-top: 1.5rem; color: color-mix(in srgb, var(--cream) 50%, transparent); }

/* ---------- Mobile call bar ---------- */
.callbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.callbar .btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.85rem;
  font-size: 0.82rem;
  padding: 0.55rem 0.45rem;
  text-align: center;
}

/* ---------- Wave ---------- */
.wave {
  line-height: 0;
  color: var(--paper);
}
.wave svg { width: 100%; height: 36px; display: block; }

/* ---------- Utilities ---------- */
.muted { color: var(--muted); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 380px) {
  .brand-place { display: none; }
}

@media (min-width: 700px) {
  .proof { grid-template-columns: repeat(4, 1fr); margin-top: -2rem; }
  .cards { grid-template-columns: 1fr 1fr; }
  .mosaic {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-rows: auto auto;
    align-items: stretch;
  }
  .mosaic-a { grid-row: 1 / span 2; height: 100%; }
  .mosaic-a .frame {
    height: 100%;
    min-height: 22rem;
    aspect-ratio: auto;
  }
  .gallery { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; }
  .cta-band { grid-template-columns: 1.2fr auto; }
  .footer-grid { grid-template-columns: 1.4fr auto; align-items: start; }
  .site-footer { padding-bottom: 2.75rem; }
  .callbar { display: none; }
  .service-block { grid-template-columns: 1fr 1fr; align-items: center; gap: 2.5rem; }
  .service-block:nth-of-type(even) .frame { order: 2; }
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .header-call { display: inline-flex; }
  .nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }
  .nav a { padding: 0.4rem 0.75rem; font-size: 0.95rem; }
  .nav .nav-call { display: none; }
  .hero-inner { padding: 7rem 0 4.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .frame img { transform: none !important; }
}
