/* J&M Irrigation Services: site styles.
   Revision 2 (creative director, 2026-11-03): forest green, white and a warm orange
   (#F0A536) used deliberately for the seasonal bar and the key actions.
   Mobile first: phone < 768px, tablet 768–1023px, desktop ≥ 1024px. */

:root {
  --forest: #1F4D3A;      /* headings, primary buttons, links, dark bands */
  --deep: #163A2B;        /* footer, deepest bands */
  --ink: #12211B;         /* body copy */
  --muted: #3F5249;       /* secondary text (7:1 on white) */
  --lawn: #6BAA3F;        /* small accents only, never small text on white */
  --water: #1670AF;       /* focus treatment */
  --orange: #F0A536;      /* seasonal bar, key actions, accents */
  --orange-hi: #F5B954;   /* orange hover */
  --orange-ink: #2A1C05;  /* text on orange (9:1) */
  --pale: #F2F6F2;        /* light section ground */
  --stone: #E9EFE8;       /* image placeholders */
  --divider: #D7E6DE;     /* decorative rules only */
  --on-dark: #E3EEE7;     /* body text on forest (≥ 8:1) */
  --field: #6B7F75;       /* form control borders (≥ 3:1) */
  --error: #B42318;
  --white: #FFFFFF;

  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 20px;
  --section: 64px;
  --gap: 24px;
  --radius: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --t: 200ms;
  --shadow: 0 1px 2px rgb(18 33 27 / .06), 0 8px 24px -12px rgb(18 33 27 / .25);
  --actionbar: calc(56px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) { :root { --gutter: 28px; --section: 88px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --section: 104px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  padding-bottom: var(--actionbar);
}
@media (min-width: 768px) { body { padding-bottom: 0; } }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--t) var(--ease); }
a:hover { color: var(--deep); text-decoration-thickness: 2px; }
p { margin: 0 0 1rem; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
h1, h2, h3, .h3 { font-family: var(--font-display); color: var(--forest); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 4.9vw, 4.75rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; max-width: 17ch; }
h2 { font-size: clamp(2rem, 3.4vw, 3.375rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.028em; max-width: 22ch; margin-bottom: clamp(24px, 3vw, 32px); }
h3, .h3 { font-size: clamp(1.375rem, 1.6vw, 1.625rem); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--forest); color: var(--white); padding: 12px 18px; border-radius: 4px; font-weight: 600; }
.skip:focus { top: 12px; color: var(--white); }

.wrap { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.grid-12 { display: grid; gap: var(--gap); }
@media (min-width: 1024px) { .grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); } }

.eyebrow { font-size: .8125rem; line-height: 1.4; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: 14px; }
.eyebrow--light { color: #D9E9E0; }
.lead { font-size: clamp(1.125rem, 1.4vw, 1.3125rem); line-height: 1.55; color: var(--ink); margin-top: 20px; }
.note { color: var(--muted); margin-top: 28px; }
.label { display: block; font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--muted); }
.section-head--split { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; }
.section-head--split h2 { margin-bottom: 0; }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 12px 24px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border: 2px solid var(--forest); cursor: pointer;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease-out), box-shadow var(--t) var(--ease);
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(0); transition-duration: 60ms; }
.btn--primary { background: var(--forest); color: var(--white); }
.btn--primary:hover { background: var(--deep); border-color: var(--deep); color: var(--white); box-shadow: var(--shadow); }
.btn--accent { background: var(--orange); border-color: var(--orange); color: var(--orange-ink); font-weight: 700; }
.btn--accent:hover { background: var(--orange-hi); border-color: var(--orange-hi); color: var(--orange-ink); box-shadow: 0 10px 24px -12px rgb(240 165 54 / .9); }
.btn--secondary { background: var(--white); color: var(--forest); }
.btn--secondary:hover { background: var(--pale); color: var(--deep); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgb(255 255 255 / .7); }
.btn--ghost:hover { background: rgb(255 255 255 / .12); border-color: var(--white); color: var(--white); }
.btn--light { background: var(--white); color: var(--deep); border-color: var(--white); }
.btn--light:hover { background: var(--pale); color: var(--deep); }
.btn--ghost:focus-visible, .btn--light:focus-visible { outline-color: var(--white); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; min-height: 44px; }
.arrow { width: 20px; height: 20px; flex: none; transition: transform var(--t) var(--ease-out); }
a:hover .arrow { transform: translateX(4px); }
.link-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--divider); max-width: 720px; }
.link-list li { border-bottom: 1px solid var(--divider); }
.link-list a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; font-weight: 600; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }

/* ---------- preview flag and seasonal bar ---------- */
.preview-flag { margin: 0; max-width: none; background: var(--ink); color: var(--white); font-size: .8125rem; text-align: center; padding: 6px var(--gutter); }
.banner { background: var(--orange); color: var(--orange-ink); }
.banner[hidden] { display: none; }
.banner__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 16px; margin: 0 auto; max-width: none; padding-block: 10px; text-align: center; font-weight: 600; font-size: .9688rem; line-height: 1.4; }
.banner__cta {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 16px; border-radius: 999px;
  background: var(--forest); color: var(--white); font-weight: 700; text-decoration: none; white-space: nowrap;
  transition: background-color var(--t) var(--ease), transform var(--t) var(--ease-out);
}
.banner__cta::after { content: "→"; transition: transform var(--t) var(--ease-out); }
.banner__cta:hover { background: var(--deep); color: var(--white); transform: translateY(-1px); }
.banner__cta:hover::after { transform: translateX(3px); }
.banner__cta:focus-visible { outline-color: var(--deep); }
@media (max-width: 767px) {
  .banner__inner { padding-block: 8px; font-size: .9063rem; gap: 6px 12px; }
  .banner__cta { min-height: 44px; padding: 6px 16px; }
}

/* ---------- masthead ---------- */
.masthead { background: var(--white); border-bottom: 1px solid var(--divider); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 8px; }
.masthead__brand { flex: none; border-radius: 4px; }
/* Official lockup; 116 px wide on phones and 140 px on desktop keeps the tagline legible. */
.logo { width: 116px; height: auto; aspect-ratio: 168 / 182; object-fit: contain; background: var(--white); }
.masthead__nav, .masthead__actions { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; min-width: 48px; padding: 10px 16px;
  font: 600 1rem/1 var(--font-body); color: var(--forest); background: var(--white);
  border: 2px solid var(--forest); border-radius: var(--radius); cursor: pointer;
  transition: background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.menu-btn[hidden] { display: none; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn path { transition: transform var(--t) var(--ease-out), opacity var(--t) var(--ease); transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] { background: var(--forest); color: var(--white); }
.mobile-menu { border-top: 1px solid var(--divider); background: var(--white); }
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; padding-block: 8px 16px; }
.mobile-menu li { animation: menu-in 260ms var(--ease-out) both; animation-delay: calc(var(--n, 0) * 35ms); }
.mobile-menu li:nth-child(2) { --n: 1; } .mobile-menu li:nth-child(3) { --n: 2; } .mobile-menu li:nth-child(4) { --n: 3; } .mobile-menu li:nth-child(5) { --n: 4; } .mobile-menu li:nth-child(6) { --n: 5; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } }
.mobile-menu a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; text-decoration: none; border-bottom: 1px solid var(--divider); }
.mobile-menu a::after { content: "→"; color: var(--orange-ink); opacity: .5; transition: transform var(--t) var(--ease-out), opacity var(--t) var(--ease); }
.mobile-menu a:hover::after, .mobile-menu a:focus-visible::after { transform: translateX(4px); opacity: 1; }
.mobile-menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 6px; }

@media (min-width: 768px) {
  .masthead__actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
  .masthead__phone { font-weight: 600; text-decoration: none; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
  .masthead__phone:hover { text-decoration: underline; }
}
@media (min-width: 1024px) {
  .masthead__inner { gap: 36px; padding-block: 10px; }
  .logo { width: 140px; }
  .masthead__nav { display: block; margin-left: auto; }
  .masthead__nav ul { list-style: none; display: flex; gap: 6px 28px; flex-wrap: wrap; justify-content: flex-end; }
  .masthead__nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--ink); }
  .masthead__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 260ms var(--ease-out); }
  .masthead__nav a:hover, .masthead__nav a[aria-current="page"] { color: var(--forest); }
  .masthead__nav a:hover::after, .masthead__nav a[aria-current="page"]::after { transform: scaleX(1); }
  .masthead__actions { margin-left: 0; }
  .menu-btn, .mobile-menu { display: none !important; }
}

/* ---------- breadcrumbs ---------- */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; padding-top: 20px; font-size: .9375rem; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-inline: 10px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--forest); }

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section--pale { background: var(--pale); }
.section--rule { border-top: 1px solid var(--divider); }
.section--first { padding-top: clamp(32px, 5vw, 64px); }
.section--tight { padding-block: 0 var(--section); }
.section--forest { background: var(--forest); color: var(--on-dark); }
.section--forest h2, .section--forest h3 { color: var(--white); }
.section--forest a:not(.btn) { color: var(--white); }
.section--forest :focus-visible { outline-color: var(--orange); }
.section--forest .label { color: #CFE0D6; }
/* Two plain white sections in a row share one gap. */
.section:not(.section--pale):not(.section--rule):not(.section--forest) + .section:not(.section--pale):not(.section--rule):not(.section--forest) { padding-top: 0; }

/* ---------- hero ---------- */
.hero { padding-block: 24px var(--section); }
@media (min-width: 1024px) { .hero { padding-block: 56px var(--section); } }
.availability { margin: 0 0 18px; font-size: .9375rem; font-weight: 500; max-width: none; }
.availability__hours { white-space: nowrap; }
.hero__grid { align-items: center; }
.hero__text, .hero__media { min-width: 0; }
.hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero__img--crew { object-position: 50% 38%; }
.hero__media figcaption, .project-ref__media figcaption, .reel figcaption { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.support { margin-top: 14px; color: var(--muted); font-size: 1rem; }
.hero--text .hero__grid { display: block; }
.hero--text h1 { max-width: 20ch; }
.hero--text h1::after { content: ""; display: block; width: 72px; height: 6px; border-radius: 3px; background: var(--orange); margin-top: 24px; }
@media (max-width: 1023px) { .hero__media { margin-top: 32px; } }
@media (min-width: 1024px) {
  .hero__text { grid-column: 1 / span 5; }
  .hero__media { grid-column: 6 / span 7; }
}

/* Home hero: forest band, photo bleeding off the right edge with an inset second photo. */
.hero--home { background: var(--forest); color: var(--on-dark); padding-block: 32px 0; overflow: hidden; }
.hero--home h1 { color: var(--white); font-size: clamp(2.25rem, 3.7vw, 3.5rem); line-height: 1.05; max-width: 19ch; }
.hero--home .support a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.hero--home .lead { color: var(--on-dark); }
.hero--home .availability, .hero--home .support { color: #CFE0D6; }
.hero--home .availability { display: inline-flex; flex-wrap: wrap; gap: 0 6px; border-left: 4px solid var(--orange); padding-left: 12px; }
.hero--home :focus-visible { outline-color: var(--orange); }
.hero--home .hero__text { padding-bottom: 8px; }
.hero--home .hero__media { position: relative; margin-inline: calc(-1 * var(--gutter)); margin-top: 32px; }
.hero__main .hero__img { border-radius: 0; aspect-ratio: 4 / 3.4; }
.hero__main figcaption { position: absolute; left: var(--gutter); bottom: 12px; color: var(--white); font-size: .8125rem; text-shadow: 0 1px 6px rgb(0 0 0 / .6); margin: 0; }
.hero__inset { display: none; }
@media (min-width: 768px) {
  .hero__inset { display: block; position: absolute; left: var(--gutter); bottom: -1px; width: 34%; padding: 8px 8px 0; background: var(--white); border-radius: var(--radius) var(--radius) 0 0; }
  .hero__inset-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px 3px 0 0; }
}
@media (min-width: 1024px) {
  .hero--home { padding-block: 0; }
  .hero--home .hero__grid { min-height: min(580px, 70vh); align-items: stretch; }
  .hero--home .hero__text { grid-column: 1 / span 5; padding-block: 48px 56px; align-self: center; }
  .hero--home .hero__media { grid-column: 7 / span 6; margin: 0 calc(-1 * var(--gutter) - max(0px, (100vw - 1376px) / 2)) 0 0; }
  .hero__main { position: absolute; inset: 0; }
  .hero__main .hero__img { height: 100%; aspect-ratio: auto; }
  .hero__inset { left: -72px; bottom: 56px; width: 38%; max-width: 260px; padding: 8px; border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgb(0 0 0 / .55); }
  .hero__inset-img { border-radius: 3px; }
}

/* Service hero: photo with an orange corner accent. */
.hero--service .hero__media { position: relative; }
.hero--service .hero__media::before { content: ""; position: absolute; z-index: -1; right: -12px; bottom: -12px; width: 45%; height: 55%; background: var(--orange); border-radius: var(--radius); }
.hero--service { isolation: isolate; }
@media (min-width: 1024px) { .hero--service .hero__media::before { right: -20px; bottom: -20px; } }

/* ---------- before/after ---------- */
.proof__grid { display: grid; gap: 32px; }
@media (min-width: 768px) {
  .proof__grid { grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
  .proof--1 .proof__grid { grid-template-columns: minmax(0, 560px); }
}
@media (min-width: 1024px) {
  .proof .proof__grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .proof .proof__grid > .ba:nth-child(2) { margin-top: 64px; }
  .proof--2 .proof__grid { grid-template-columns: repeat(2, minmax(0, 460px)); }
  .proof--1 .proof__grid { grid-template-columns: minmax(0, 520px); }
}
.ba figcaption { margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; color: var(--forest); }
.compare { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); background: var(--stone); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.compare .ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare .ba-tag { position: absolute; z-index: 2; top: 12px; pointer-events: none; padding: 6px 12px; border-radius: 999px; font: 700 .8125rem/1 var(--font-body); letter-spacing: .02em; }
.ba-tag--before { left: 12px; background: rgb(18 33 27 / .78); color: var(--white); }
.ba-tag--after { right: 12px; background: var(--orange); color: var(--orange-ink); }
.compare .ba-handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 3px; transform: translateX(-50%); background: var(--white); box-shadow: 0 0 12px rgb(0 0 0 / .35); pointer-events: none; }
.compare .ba-handle span { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--white); box-shadow: 0 4px 16px rgb(0 0 0 / .3); transition: transform var(--t) var(--ease-out); }
.compare .ba-handle span::before, .compare .ba-handle span::after { content: ""; position: absolute; top: 50%; transform: translateY(-50%); border: 6px solid transparent; }
.compare .ba-handle span::before { left: 9px; border-right-color: var(--forest); }
.compare .ba-handle span::after { right: 9px; border-left-color: var(--forest); }
.compare:hover .ba-handle span, .compare.is-dragging .ba-handle span { transform: translate(-50%, -50%) scale(1.08); }
.compare .ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.compare:has(.ba-range:focus-visible) .ba-handle span { outline: 3px solid var(--water); outline-offset: 3px; }

/* ---------- service cards ---------- */
.cards { list-style: none; display: grid; gap: var(--gap); }
.card { min-width: 0; }
.card__link { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgb(18 33 27 / .06); transition: box-shadow 300ms var(--ease), transform 300ms var(--ease-out); }
.section:not(.section--pale) .card__link { box-shadow: inset 0 0 0 1px var(--divider); }
.card__media { position: relative; display: block; overflow: hidden; background: var(--stone); }
.card__media::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease-out); }
.card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 700ms var(--ease-out); }
.card__body { display: grid; gap: 8px; padding: 20px 20px 22px; flex: 1; align-content: start; }
.card__name { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
.card__text { color: var(--muted); }
.card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; color: var(--forest); }
.card__link:hover, .card__link:focus-visible { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.card__link:hover .card__img, .card__link:focus-visible .card__img { transform: scale(1.05); }
.card__link:hover .card__media::after, .card__link:focus-visible .card__media::after { transform: scaleX(1); }
.card__link:hover .card__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.card__link:hover .arrow { transform: translateX(4px); }
@media (min-width: 768px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .cards--5 { grid-template-columns: repeat(6, 1fr); }
  .cards--5 .card { grid-column: span 2; }
  .cards--5 .card:nth-child(-n+2) { grid-column: span 3; }
  .cards--5 .card:nth-child(-n+2) .card__img { aspect-ratio: 16 / 9; }
  .cards--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- seasonal band ---------- */
.season { background: var(--deep); color: var(--on-dark); }
.season h2 { color: var(--white); }
.season :focus-visible { outline-color: var(--orange); }
.season__grid { align-items: center; padding-block: var(--section); }
.season__img { object-position: 50% 60%; }
.season__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.season__text h2::before { content: ""; display: block; width: 56px; height: 6px; border-radius: 3px; background: var(--orange); margin-bottom: 20px; }
@media (min-width: 1024px) {
  .season__text { grid-column: 1 / span 5; }
  .season__media { grid-column: 7 / span 6; }
}

/* ---------- people, mosaic and steps ---------- */
.people { align-items: start; }
.people__steps { margin-top: 32px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.mosaic__a { grid-column: 1 / -1; }
.mosaic__img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); aspect-ratio: 3 / 4; }
.mosaic__a .mosaic__img { aspect-ratio: 3 / 2; }
@media (min-width: 1024px) {
  .people__intro { grid-column: 1 / span 5; }
  .mosaic { grid-column: 7 / span 6; gap: var(--gap); margin-top: 0; }
  .mosaic__c { margin-top: 48px; }
}
.steps, .process { list-style: none; counter-reset: step; display: grid; gap: 0; }
.steps li, .process li { counter-increment: step; position: relative; padding: 22px 0 22px 56px; border-top: 1px solid var(--divider); }
.steps li:last-child, .process li:last-child { border-bottom: 1px solid var(--divider); }
.steps li::before, .process li::before { content: counter(step); position: absolute; left: 0; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: var(--white); font: 700 1rem/36px var(--font-display); text-align: center; }
.steps h3, .process h3 { font-size: 1.25rem; margin-bottom: 6px; }
.steps p, .process p { margin: 0; }
@media (min-width: 1024px) {
  .process { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--gap); }
  .process li { border: 0; border-top: 3px solid var(--forest); padding: 64px 0 0; }
  .process li:last-child { border-bottom: 0; }
  .process li::before { top: 16px; }
  .process li:first-child { border-top-color: var(--orange); }
}

/* ---------- photo strip ---------- */
.strip { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.strip__item:first-child { grid-column: 1 / -1; }
.strip__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 768px) {
  .strip { grid-template-columns: 2fr 1fr 1fr; gap: var(--gap); align-items: end; }
  .strip__item:first-child { grid-column: auto; }
  .strip__item:nth-child(2) .strip__img { aspect-ratio: 3 / 4; }
}

/* ---------- reviews ---------- */
.quotes { display: grid; gap: 40px; margin-bottom: 28px; }
@media (min-width: 768px) { .quotes { grid-template-columns: 1fr 1fr; gap: 48px; } }
.quote-col blockquote { margin: 0; }
.quote-col blockquote p { font-size: 1.1875rem; line-height: 1.6; color: var(--ink); }
.quote-col blockquote p::before { content: "\201C"; display: block; font: 800 3.5rem/0.8 var(--font-display); color: var(--lawn); margin-bottom: 8px; }
.quote-col figcaption { font-weight: 600; color: var(--muted); font-size: .9375rem; }
.reviews .quote-col blockquote p { color: var(--white); font-size: clamp(1.1875rem, 1.5vw, 1.375rem); }
.reviews .quote-col blockquote p::before { color: var(--orange); }
.reviews .quote-col figcaption { color: #CFE0D6; }

/* ---------- areas ---------- */
.area-links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 1px solid var(--divider); }
.area-links li { border-bottom: 1px solid var(--divider); }
.area-links a { display: flex; align-items: center; min-height: 52px; padding-block: 8px; font-weight: 600; text-decoration: none; line-height: 1.3; transition: color var(--t) var(--ease), padding var(--t) var(--ease-out); }
.area-links a:hover { text-decoration: underline; padding-left: 4px; }
.area-links--large a { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; min-height: 64px; }
@media (min-width: 1024px) {
  .areas__intro { grid-column: 1 / span 5; }
  .areas .area-links { grid-column: 7 / span 6; grid-template-columns: 1fr 1fr; align-self: start; }
  .area-links--large, .area-links--inline { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--divider); }
.faq__item { border-bottom: 1px solid var(--divider); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 64px; padding-block: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; color: var(--forest); transition: color var(--t) var(--ease); }
.faq__item summary:hover { color: var(--deep); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform var(--t) var(--ease); }
.faq__item[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq__body p { margin: 0 0 20px; }
@media (min-width: 1024px) {
  .faq-wrap > h2 { grid-column: 1 / span 4; }
  .faq-wrap > .faq { grid-column: 6 / span 7; }
}

/* ---------- quote block and form ---------- */
.quote { align-items: start; }
@media (min-width: 1024px) {
  .quote__intro { grid-column: 1 / span 5; }
  .quote__form { grid-column: 7 / span 6; }
}
.contact-list { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.contact-list a { font-weight: 600; font-size: 1.125rem; }
.lead__form { display: grid; gap: 18px; background: var(--white); color: var(--ink); padding: 24px 20px; border: 1px solid var(--divider); border-radius: var(--radius); }
@media (min-width: 768px) { .lead__form { padding: 32px; } }
.section--pale .lead__form, .section--forest .lead__form { border-color: var(--white); }
.section--forest .lead__form { box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5); border-top: 6px solid var(--orange); }
.section--forest .lead__form a { color: var(--forest); }
.section--forest .lead__form :focus-visible { outline-color: var(--water); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--field); border-radius: 4px;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--forest); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--forest) 50%), linear-gradient(135deg, var(--forest) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--water); outline-offset: 1px; border-color: var(--forest); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field__error { margin: 0; color: var(--error); font-weight: 600; font-size: .9375rem; }
.price-note { margin: 0; font-size: .9375rem; color: var(--muted); }
.lead__error { margin: 0; color: var(--error); font-weight: 600; }
.lead__success { background: var(--white); color: var(--ink); border: 2px solid var(--forest); border-radius: var(--radius); padding: 28px; }
.lead__success:focus { outline: none; }
.lead__success:focus-visible { outline: 3px solid var(--water); outline-offset: 3px; }
.lead__success-title { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1.3; color: var(--forest); margin: 0; }
.lead__preview { margin: 14px 0 0; font-weight: 600; color: var(--ink); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- service page parts ---------- */
.split { align-items: start; }
.split h3 { margin: 32px 0 12px; }
.split__side > h3:first-child { margin-top: 0; }
.intro { font-size: 1.1875rem; line-height: 1.6; }
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--forest); border-bottom: 2px solid var(--forest); transform: rotate(-45deg); }
@media (min-width: 1024px) {
  .split__main { grid-column: 1 / span 7; }
  .split__side { grid-column: 9 / span 4; }
}
.split__side { background: var(--pale); border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--orange); }
.split__side.pull { background: transparent; border-radius: 0; padding: 24px 0 0; border-top: 2px solid var(--forest); }
/* Home installation section: a job photo in place of the side panel. */
.split__side.split__photo { background: none; padding: 0; border-top: 0; margin: 32px 0 0; }
.split__img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 1024px) {
  .split__side.split__photo { grid-column: 8 / span 5; margin-top: 0; }
}
.pull blockquote { margin: 0; }
.pull blockquote p { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.3; color: var(--forest); }
.pull figcaption { color: var(--muted); font-weight: 600; }
.project-ref { align-items: center; }
.project-ref__text h2 { margin-bottom: 12px; }
.project-ref__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 1024px) {
  .project-ref__media { grid-column: 1 / span 5; }
  .project-ref__text { grid-column: 7 / span 6; }
  .project-ref--text .project-ref__text { grid-column: 1 / span 8; }
}
.values { display: grid; gap: 0; border-top: 1px solid var(--divider); margin: 0; }
.values > div { padding-block: 22px; border-bottom: 1px solid var(--divider); }
.values dt { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; color: var(--forest); }
.values dd { margin: 6px 0 0; }
@media (min-width: 1024px) { .values { grid-template-columns: repeat(4, 1fr); gap: var(--gap); border-top: 0; } .values > div { border-top: 3px solid var(--forest); border-bottom: 0; } .values > div:first-child { border-top-color: var(--orange); } }

/* Static text rows (featured project scope) */
.rows { list-style: none; border-top: 1px solid var(--divider); }
.row { border-bottom: 1px solid var(--divider); }
.row--static { display: grid; gap: 6px 16px; padding-block: 24px; }
.row__name { font-size: clamp(1.375rem, 1.8vw, 1.625rem); }
.row__text { margin: 0; }
@media (min-width: 1024px) {
  .row--static { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding-block: 30px; }
  .row--static .row__name { grid-column: 1 / span 4; }
  .row--static .row__text { grid-column: 5 / span 7; }
}

/* ---------- featured project (preview only) ---------- */
.feature { padding-block: 0; }
.feature__grid { gap: 0; }
.aerial img { width: 100%; height: auto; }
.feature__media { min-width: 0; }
.feature__panel { background: var(--deep); color: var(--white); padding: 36px 24px 40px; }
.feature__panel h2 { color: var(--white); margin-bottom: 16px; }
.feature__panel p { color: #E6F0EA; }
.feature__panel .feature__lead { font-size: 1.1875rem; line-height: 1.5; color: var(--white); font-weight: 500; }
.feature__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; padding-block: 18px; border-block: 1px solid rgb(255 255 255 / .25); }
.feature__facts dt { font-family: var(--font-display); font-weight: 800; font-size: 1.375rem; line-height: 1.2; color: var(--white); }
.feature__facts dd { margin: 4px 0 0; color: #E6F0EA; font-size: 1rem; }
.feature__panel .btn { margin-top: 8px; }
.feature__panel a:focus-visible { outline-color: var(--white); }
@media (max-width: 1023px) { .feature__grid { padding-inline: 0; } }
@media (min-width: 1024px) {
  .feature { padding-block: var(--section) 0; }
  .feature__grid { gap: 0; align-items: stretch; }
  .feature__media { grid-column: 1 / span 8; align-self: center; }
  .feature__panel { grid-column: 9 / span 4; padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; }
}
.case-hero { padding-block: 24px var(--section); }
@media (min-width: 1024px) { .case-hero { padding-top: 48px; } }
.case-hero .lead { max-width: 52ch; }
.case-hero__media { margin-top: 36px; }
.facts { display: grid; gap: 0; margin: 28px 0 0; border-top: 1px solid var(--divider); }
.facts > div { padding-block: 16px; border-bottom: 1px solid var(--divider); }
.facts dt { font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; color: var(--forest); }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(3, 1fr); gap: var(--gap); border-top: 0; } .facts > div { border-top: 2px solid var(--forest); border-bottom: 0; } }
.clarify { margin-top: 20px; font-size: 1.0625rem; }
/* Ranch photo reel: one row of photos at a shared height, each in its own proportions. Without scripting
   it is a row the visitor scrolls sideways. With scripting (.is-moving) js/main.js moves it slowly and
   loops it, using copies of the photos that are hidden from assistive technology. */
.reel { --reel-h: min(52vw, 280px); margin-top: 28px; }
@media (min-width: 768px) { .reel { --reel-h: min(34vw, 320px); } }
@media (min-width: 1024px) { .reel { --reel-h: clamp(300px, 24vw, 380px); } }
.reel__viewport { overflow-x: auto; overscroll-behavior-x: contain; }
.reel__viewport:focus-visible { outline: 3px solid var(--water); outline-offset: -3px; border-radius: 0; }
.reel__track { list-style: none; margin: 0; padding: 0 max(var(--gutter), calc((100% - 1280px) / 2)) 12px; display: flex; gap: var(--gap); width: max-content; }
.reel__item { flex: none; }
.reel__item figure { margin: 0; }
.reel__item img { display: block; width: auto; height: var(--reel-h); border-radius: var(--radius); background: var(--stone); }
.reel figcaption { width: 0; min-width: 100%; }
.reel.is-moving .reel__viewport { overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.reel.is-dragging .reel__viewport { cursor: grabbing; }
.reel.is-moving .reel__track { padding: 0; will-change: transform; }
.reel.is-moving img { -webkit-user-drag: none; }
.reel.is-stepping .reel__track { transition: transform 450ms var(--ease-out); }
.reel__controls { margin-top: 20px; }
.reel__toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 2px solid var(--forest); border-radius: var(--radius); background: var(--white); color: var(--forest); font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer; transition: background var(--t) var(--ease); }
.reel__toggle[hidden] { display: none; }
.reel__toggle:hover { background: var(--pale); }
/* Two bars while moving (press to pause), a triangle while paused (press to play). */
.reel__toggle::before { content: ""; width: 10px; height: 12px; box-sizing: border-box; border-inline: 3px solid currentColor; }
.reel__toggle[data-paused]::before { width: 0; height: 0; border-block: 6px solid transparent; border-inline: 10px solid currentColor; border-inline-end: 0; }
@media (prefers-reduced-motion: reduce) {
  .reel.is-stepping .reel__track, .reel__toggle { transition: none; }
}

/* ---------- prose (legal, 404) ---------- */
.prose > * { max-width: 720px; }
.prose h1 { margin-bottom: 16px; }
.prose h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); margin: 40px 0 12px; }
.prose .meta { color: var(--muted); }
.prose .link-list { margin-top: 32px; }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: #E6F0EA; padding-block: 64px 24px; border-top: 6px solid var(--orange); }
.footer a { color: var(--white); }
.footer a:focus-visible { outline-color: var(--white); }
.footer__grid { display: grid; gap: 36px; }
.footer__logo { display: inline-block; background: var(--white); padding: 12px; border-radius: var(--radius); }
.footer__logo .logo { width: 140px; }
.footer__brand p { margin-top: 16px; }
.footer__title { font-family: var(--font-body); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; color: #D9E9E0; margin-bottom: 12px; }
.footer__list { list-style: none; display: grid; gap: 2px; }
.footer__list a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.footer__list a:hover { text-decoration: underline; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .2); font-size: .9375rem; }
.footer__base p { margin: 0; }
.footer__base ul { list-style: none; display: flex; gap: 20px; }
.footer__base a { display: inline-flex; min-height: 44px; align-items: center; }
/* Agency credit: the quietest line in the footer, under the copyright row. */
.footer__credit { margin: 4px auto 0; font-size: .8125rem; color: #C3D5CB; }
.footer__credit a { display: inline-block; padding: 4px 2px; text-decoration: underline; text-decoration-color: rgb(255 255 255 / .45); }
.footer__credit a:hover { text-decoration-color: currentColor; }
.footer__credit a:focus-visible { outline-offset: 1px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 4fr 3fr 3fr 3fr; } }

/* ---------- phone action bar ---------- */
.actionbar { position: fixed; inset: auto 0 0 0; z-index: 50; display: grid; grid-template-columns: 1fr 1.6fr; height: var(--actionbar); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--white); border-top: 1px solid var(--divider); box-shadow: 0 -8px 24px -16px rgb(18 33 27 / .4); }
.actionbar a { display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; height: 56px; }
.actionbar__call { color: var(--forest); }
.actionbar__quote { background: var(--orange); color: var(--orange-ink); }
.actionbar__quote:hover { color: var(--orange-ink); background: var(--orange-hi); }
.actionbar a:focus-visible { outline-offset: -4px; }
@media (min-width: 768px) { .actionbar { display: none; } }

/* ---------- motion ---------- */
[data-reveal="image"] { overflow: hidden; border-radius: var(--radius); }
/* Scroll-entry reveals run only with JavaScript and without a reduced-motion preference. The page
   is fully visible without them, and a timer in the page head reveals everything after 3 s if
   the script never runs. Transforms and opacity only, so nothing shifts the layout. */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.reveal-all) [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(18px); }
  .js:not(.reveal-all) [data-reveal="image"]:not(.is-in) { opacity: 1; transform: none; clip-path: inset(0 0 14% 0 round var(--radius)); }
  .js:not(.reveal-all) [data-reveal="image"]:not(.is-in) img { transform: scale(1.06); }
  .js [data-reveal] { transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out), clip-path 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal="image"] img { transition: transform 1200ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0ms !important; scroll-behavior: auto !important; }
  .btn:hover, .card__link:hover, .card__link:focus-visible { transform: none; }
}
