/* Editorial photography and project archive. Shared by all pages. */
:root { --photo-line: #d5d5ca; --photo-muted: #596052; }
[hidden] { display: none !important; }
.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; }
.section { padding-block: clamp(64px, 8vw, 108px); }
.head { margin-bottom: 40px; }
.text-link { display: inline-block; font-size: 1rem; text-decoration: underline; text-underline-offset: 6px; color: var(--forest); }
/* Keep one animation owner. Opacity hides backgrounds and borders as well as images. */
html .reveal { opacity: 1; visibility: visible; transform: none; animation: none !important; }
html.reveal-ready .reveal { transition: opacity .75s cubic-bezier(.2,.65,.3,1), transform .75s cubic-bezier(.2,.65,.3,1); }
html.reveal-ready .reveal:not(.in) { opacity: 0; visibility: hidden; transform: translate3d(0,28px,0); }
html.reveal-ready .reveal.in { opacity: 1; visibility: visible; transform: none; transition-delay: var(--reveal-delay,0ms); }
html .reveal-img img, html .hero .reveal-img img { clip-path: none; transform: none; animation: none !important; }
html .hero-title .line-in { transform: none; animation: none !important; }
.reveal.reveal-settled { transition: none !important; }
html:not(.reveal-ready) .reveal, html:not(.reveal-ready) .reveal img { opacity: 1; visibility: visible; transform: none; clip-path: none; }
@media (prefers-reduced-motion: reduce) {
  html.reveal-ready .reveal { opacity: 1; visibility: visible; transform: none; transition: none; }
}
/* Opening: typography and one real photograph, with room for both. */
.hero.hero-editorial { min-height: auto; padding: 190px 0 86px; background: var(--paper); color: var(--deep); overflow: hidden; }
.hero-editorial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.hero-editorial h1 { font-size: clamp(3.8rem, 7.8vw, 7rem); line-height: .98; letter-spacing: -.015em; margin: 26px 0; color: var(--deep); font-weight: 400; }
.hero-editorial h1 em { color: var(--forest); font-style: normal; }
.hero-editorial .eyebrow { color: var(--forest); font-size: .875rem; }
.hero-editorial .hero-lead { color: var(--ink-soft); font-size: 1.125rem; max-width: 40ch; margin-bottom: 28px; }
.hero-editorial .btn-solid { color: var(--paper); background: var(--deep); }
.hero.hero-editorial .btn-solid:hover { background: var(--forest); color: var(--paper); }
.hero.hero-editorial .btn-line:hover { background: var(--deep); color: var(--paper); border-color: var(--deep); }
.hero-editorial .btn-line { color: var(--deep); border-color: var(--deep); }
.hero-editorial-meta { margin-top: 34px; font-size: .875rem; line-height: 1.8; color: var(--photo-muted); }
.hero-editorial-meta a { color: var(--deep); }
.hero-editorial-photo { margin: 0; min-width: 0; }
.hero-editorial-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 50%; }
.hero-editorial-photo figcaption { margin-top: 13px; font-size: .875rem; color: var(--photo-muted); }
/* Clear category filters; every picture belongs to a named project. */
.portfolio { background: #ecece3; border-top: 1px solid var(--photo-line); border-bottom: 1px solid var(--photo-line); }
.portfolio-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.portfolio-heading h2 { font-size: clamp(3rem, 6vw, 5rem); line-height: 1; font-weight: 400; }
.portfolio-heading > p { color: var(--photo-muted); font-size: 1rem; line-height: 1.6; }
.portfolio-heading .kicker { margin-bottom: 20px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 0 26px; border-bottom: 1px solid var(--photo-line); margin-bottom: 40px; }
.project-filters button { font: 500 .9375rem/1.5 var(--sans); color: var(--photo-muted); border: 0; border-bottom: 2px solid transparent; background: transparent; padding: 15px 0; margin-bottom: -1px; cursor: pointer; min-height: 48px; }
.project-filters button[aria-pressed="true"] { color: var(--deep); border-color: var(--deep); }
.project-filters button:hover { color: var(--deep); }
.project-filters button span { font-size: .75rem; vertical-align: super; margin-left: 6px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; row-gap: 66px; align-items: start; }
.project-grid-single { max-width: 980px; grid-template-columns: 1fr; }
.project-card { min-width: 0; margin: 0; scroll-margin-top: 135px; }
.project-card-head { margin-bottom: 22px; }
.project-category { font-size: .8125rem; color: var(--photo-muted); letter-spacing: .07em; text-transform: uppercase; margin-bottom: 9px; }
.project-card h3 { font-size: clamp(1.65rem, 2.4vw, 2.05rem); line-height: 1.15; font-weight: 400; color: var(--deep); }
.project-media { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.project-shot { margin: 0; min-width: 0; }
.project-shot .gal-btn { box-shadow: none; border: 0; background: #dfe1d7; }
.project-shot .gal-btn img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s var(--ease); }
.project-shot .gal-btn:hover img { transform: scale(1.025); }
.project-media-four .gal-btn img { aspect-ratio: 1 / 1; }
.project-shot figcaption { color: var(--photo-muted); font-size: .875rem; line-height: 1.45; margin-top: 10px; }
.project-caption { border-top: 1px solid var(--photo-line); margin-top: 20px; padding-top: 17px; }
.project-caption p { color: var(--ink); font-size: 1rem; line-height: 1.6; }
.project-caption > span { display: block; font-size: .8125rem; color: var(--photo-muted); margin-top: 8px; }
.lightbox { overscroll-behavior: contain; }
body.lightbox-open { overflow: hidden; }
/* Service pages: a clear introduction and only relevant photographs. */
.subhero.subhero-with-photo { padding-block: 65px; }
.subhero-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px,5vw,70px); align-items: center; position: relative; z-index: 2; }
.subhero-with-photo .subhero-inner { min-width: 0; padding: 0; }
.subhero-with-photo h1 { font-size: clamp(2.4rem,4.2vw,3.8rem); }
.subhero-with-photo .subhero-lead { font-size: 1.1rem; }
.subhero-photo { margin: 0; min-width: 0; }
.subhero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.subhero-text-only .subhero-layout { display: block; max-width: 1000px; }
.subhero-text-only .subhero-inner { padding: 0; margin: 0; max-width: 800px; }
.subhero-text-only { padding-block: 64px; }
.about-compact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.about-compact h2 { font-size: clamp(2.6rem,5vw,4rem); line-height: 1.06; margin-top: 22px; }
.about-compact h2 em { color: var(--forest); }
.about-compact p:not(.kicker) { font-size: 1.2rem; line-height: 1.7; max-width: 44ch; margin-bottom: 28px; }
.seasons-sec .head { margin-bottom: 28px; }
.seasons-sec .head h2 { font-size: clamp(2rem,4vw,3rem); }
.season { padding: 26px 22px; }
.season h3 { font-size: 1.3rem; }
.svc { border-color: var(--photo-line); }
.svc-tags li { font-size: .8125rem; text-transform: none; letter-spacing: 0; font-weight: 400; border: 0; padding: 0; background: none; }
.svc-tags { gap: 5px 17px; }
.svc-more { font-size: .9375rem; }
.head[data-no]::before { display: none; }
/* Reserve space for images; no shifting dimensions when loading. */
@media (max-width: 1000px) {
  .hero-editorial-grid { gap: 36px; }
  .project-grid { column-gap: 24px; }
  .project-filters { column-gap: 20px; }
}
@media (max-width: 760px) {
  .hero.hero-editorial { padding: 140px 0 55px; }
  .hero-editorial-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-editorial h1 { font-size: clamp(3.4rem,12vw,5.5rem); }
  .hero-editorial-photo img { aspect-ratio: 5 / 4; }
  .hero-editorial-meta { margin-top: 24px; }
  .subhero-layout { grid-template-columns: 1fr; }
  .subhero-photo img { aspect-ratio: 4 / 3; }
  .portfolio-heading { align-items: start; flex-direction: column; gap: 18px; }
  .portfolio-heading > p br { display: none; }
  .portfolio-heading h2 { font-size: 3.5rem; }
  .project-grid { grid-template-columns: 1fr; row-gap: 44px; }
  .project-filters { column-gap: 22px; margin-bottom: 30px; }
  .project-filters button { font-size: .875rem; }
  .project-media { gap: 10px; }
  .project-shot figcaption { font-size: .8125rem; }
  .about-compact-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-compact p:not(.kicker) { font-size: 1.1rem; }
}

/* One machine photograph aligned with the paired project images. */
.project-media-single { grid-template-columns: 1fr; }
.project-media-single .gal-btn img { aspect-ratio: 3 / 2; object-position: 50% 70%; }

.project-mowing .project-media-single .gal-btn img { object-position: 50% 40%; }

.project-watering .project-media-single .gal-btn img { object-position: 50% 65%; }
