/* GreenView Lawn and Landscape — site-specific styles. Loaded after base.css. */

h1, h2, h3 { font-stretch: 82%; color: var(--pine); }
h1 { font-weight: 800; letter-spacing: -.02em; }
h2 { font-weight: 800; }
.btn { font-weight: 600; }
.btn svg { flex: none; }

/* ---- Header: logo mark + name, text button always visible ------- */
.site-header { background: rgba(255,255,255,.94); }
.site-header .container { gap: var(--s-3); }
.brand img { height: 46px; width: auto; }
.brand span { font-stretch: 82%; color: var(--pine); font-size: 1.15rem; line-height: 1.05; }
.brand span small { display: block; font-size: .78rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.header-text { margin-left: auto; padding: .6em 1em; font-size: var(--fs-sm); }
@media (min-width: 861px) {
  .header-text { order: 3; margin-left: var(--s-3); }
  .nav { margin-left: auto; }
}
@media (max-width: 420px) { .brand span small { display: none; } }

/* ---- Hero: their own lawn, full-bleed ---------------------------- */
.hero-lawn { background: #fff; }
.hero-pic { position: relative; }
.hero-pic > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%; }
.hero-lawn .hero-copy { padding-block: var(--s-5) var(--s-7); background: #fff; }
.hero-lawn h1 { font-size: clamp(2.2rem, 1.4rem + 4.2vw, 5rem); max-width: 14ch; margin-bottom: var(--s-4); }
.hero-lawn .actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-5); }
.hero-lawn .lede { font-size: var(--fs-lg); color: var(--ink-2); max-width: 54ch; }
.hero-lawn .towns { font-size: var(--fs-sm); color: var(--ink-3); margin-top: var(--s-3); }
@media (max-width: 480px) {
  .hero-lawn .actions .btn { flex: 1 1 100%; }
}
@media (min-width: 768px) {
  .hero-pic > img { aspect-ratio: auto; height: min(66vh, 640px); }
  .hero-lawn .over { position: absolute; inset: auto 0 0 0; padding-block: 10rem var(--s-7);
    background: linear-gradient(to top, rgba(10,28,16,.82) 0%, rgba(10,28,16,.55) 55%, rgba(10,28,16,0) 100%); }
  .hero-lawn .over h1 { color: #fff; margin: 0; }
  .hero-lawn .hero-copy { padding-block: var(--s-6) var(--s-7); }
  .hero-lawn .hero-copy .container { display: grid; grid-template-columns: 1.15fr 1fr; gap: var(--s-7); align-items: start; }
  .hero-lawn .actions { margin: 0; justify-content: flex-end; }
}
@media (max-width: 767px) {
  .hero-lawn .over { padding-top: var(--s-5); background: #fff; }
  .hero-lawn .hero-copy { padding-top: 0; }
  .hero-lawn .hero-copy .container { display: flex; flex-direction: column; }
  .hero-lawn .actions { order: -1; margin-bottom: var(--s-4); }
}

/* ---- Before / after: the centrepiece ----------------------------- */
.work { background: var(--stripe); }
.work .section-head { margin-bottom: var(--s-6); }
.pairs { display: grid; gap: var(--s-7); }
.pair { margin: 0; }
.pair .two { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair .shot { position: relative; margin: 0; overflow: hidden; background: #d9e5dc; }
.pair .shot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pair .tag { position: absolute; left: 8px; top: 8px; font-size: var(--fs-xs); font-weight: 700; padding: .25em .6em; border-radius: 2px; color: #fff; background: var(--brand); }
.pair .tag.before { background: var(--accent); }
.pair figcaption { margin-top: var(--s-3); max-width: 60ch; }
.pair figcaption strong { display: block; font-family: var(--font-display); font-stretch: 82%; font-size: var(--fs-lg); color: var(--pine); }
.pair figcaption span { color: var(--ink-2); font-size: var(--fs-sm); }
@media (min-width: 900px) {
  .pairs { grid-template-columns: 1fr 1fr; gap: var(--s-7) var(--s-6); }
  .pair.wide { grid-column: 1 / -1; }
  .pair.wide .shot img { aspect-ratio: 4 / 3; }
}

/* ---- Services: build it / keep it ------------------------------- */
.halves { display: grid; gap: var(--s-7); }
@media (min-width: 860px) { .halves { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }
.halves h3 { font-size: var(--fs-xl); display: flex; align-items: center; gap: .5em; }
.halves h3::before { content: ""; width: 26px; height: 14px; flex: none;
  background: repeating-linear-gradient(90deg, var(--lawn) 0 6px, #7fc495 6px 12px); border-radius: 1px; }
.halves .clay h3::before { background: var(--accent); }
.halves .intro { color: var(--ink-2); margin-bottom: var(--s-4); }
.list-rows li { grid-template-columns: 1fr; }
.list-rows h4 { font-size: var(--fs-lg); margin: 0; color: var(--pine); font-stretch: 82%; font-weight: 700; }

/* ---- Machines strip --------------------------------------------- */
.machines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: var(--s-6); }
.machines figure { margin: 0; }
.machines img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.machines figcaption { font-size: var(--fs-xs); color: var(--ink-2); margin-top: .4em; }
@media (max-width: 520px) { .machines figcaption { display: none; } }

/* ---- Contact block ---------------------------------------------- */
.reach { background: var(--pine); color: #e3ece5; }
.reach h2 { color: #fff; }
.reach a:not(.btn) { color: #fff; }
.reach .grid-reach { display: grid; gap: var(--s-7); }
@media (min-width: 860px) { .reach .grid-reach { grid-template-columns: 1fr 1fr; align-items: start; } }
.reach .actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0; }
.reach .btn-light { background: #fff; color: var(--pine); }
.reach .btn-line { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.reach dl { display: grid; grid-template-columns: auto 1fr; gap: .5em var(--s-5); margin: 0; }
.reach dt { color: #a9bfb0; font-size: var(--fs-sm); }
.reach dd { margin: 0; }
.reach .map { border: 0; }

/* ---- Footer ------------------------------------------------------ */
.site-footer { background: #0f2016; }

/* ---- Inner pages ------------------------------------------------- */
.page-head { padding-block: var(--s-8) var(--s-6); background: var(--stripe); }
.page-head h1 { font-size: var(--fs-3xl); max-width: 18ch; }
.page-head .lede { font-size: var(--fs-lg); color: var(--ink-2); max-width: 60ch; }
.svc { display: grid; gap: var(--s-5); padding-block: var(--s-7); border-bottom: 1px solid var(--line); }
.svc:last-child { border-bottom: 0; }
.svc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 860px) { .svc { grid-template-columns: 5fr 7fr; gap: var(--s-7); align-items: center; } }
.svc ul { color: var(--ink-2); }
.svc h2 { font-size: var(--fs-xl); }
.list-rows h2.h4 { font-size: var(--fs-lg); margin: 0; color: var(--pine); font-weight: 700; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
@media (min-width: 760px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid figure { margin: 0; }
.gallery-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-grid figcaption { font-size: var(--fs-sm); color: var(--ink-2); padding: .4em 0 var(--s-3); }
