/* Olson Lawn Care: "Big photo" design (option A, picked by Petr 2026-11-27).
   Erik's photographs carry the page; light Work Sans, warm stone grounds, the logo's green for actions. */
@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-var.woff2") format("woff2");
  font-weight: 300 600;
  font-display: swap;
}
:root {
  --bg: #eceae4;            /* warm stone page */
  --surface: #dedbd2;       /* a step darker, for blocks */
  --ink: #2a1d17;           /* dark brown text */
  --muted: #54463e;
  --green: #2b6e3a;         /* the logo's green: buttons and the one lit row */
  --green-dark: #1f5229;
  --paper: #ffffff;
  --m: clamp(20px, 4vw, 56px);  /* the page margin, everywhere */
  --small: 0.875rem;
  --body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --lead: clamp(1.25rem, 1.1rem + .7vw, 1.625rem);
  --head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --display: clamp(3rem, 1.6rem + 6.4vw, 7.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 var(--body)/1.55 "Work Sans", system-ui, sans-serif; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 300; letter-spacing: -0.035em; line-height: 1.04; margin: 0; text-wrap: balance; }
p, ul, ol, dl { margin: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
::selection { background: var(--green); color: #fff; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; }
.link { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.link:hover { color: var(--green); }

/* Buttons: one pill shape */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; background: var(--green); color: #fff; text-decoration: none; font-weight: 500; border-radius: 999px; transition: background .2s var(--ease); }
.btn:hover { background: var(--green-dark); }
.btn--ghost { background: transparent; border: 1.5px solid currentColor; }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--line:hover { background: var(--surface); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.nav { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px var(--m); }
.nav--over { position: absolute; inset: 0 0 auto 0; color: #fff; }
.logo { display: block; background: #fff; padding: 6px 10px; width: clamp(120px, 11vw, 160px); }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 28px); font-size: 1rem; font-weight: 500; }
.nav__links > a:not(.btn) { text-decoration: none; padding: 12px 0; }
.nav__links > a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; }
.nav__links .btn { min-height: 44px; }
.menu { position: relative; display: none; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1.5px solid currentColor; font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(280px, calc(100vw - 2 * var(--m))); background: var(--paper); color: var(--ink); padding: 8px 0; display: grid; z-index: 10; }
.menu__panel a { padding: 13px 20px; text-decoration: none; font-weight: 500; font-size: var(--body); }
.menu__panel a:hover { background: var(--bg); }
.menu__panel .menu__quote { background: var(--green); color: #fff; margin: 0 8px 6px; border-radius: 999px; text-align: center; }
.menu__panel .menu__quote:hover { background: var(--green-dark); }

/* ---------- Hero: one full-screen photograph, words along the bottom ---------- */
.hero { position: relative; min-height: 100svh; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero--short { min-height: 78svh; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(20,16,12,.38) 0, rgba(20,16,12,0) 22%, rgba(20,16,12,0) 42%, rgba(20,16,12,.74) 100%); } /* taste-skill-ignore: scrim for the nav and the title */
.hero__text { position: relative; z-index: 2; padding: 120px var(--m) clamp(32px, 6vh, 72px); display: grid; gap: 22px; max-width: 1100px; }
.hero h1 { font-size: var(--display); }
.hero--short h1 { font-size: clamp(2.75rem, 1.5rem + 5vw, 6rem); }
.hero p { font-size: var(--lead); max-width: 36ch; }
.hero .link:hover { color: #fff; }

/* ---------- Intro: one centred paragraph ---------- */
.intro { padding: clamp(56px, 8vw, 112px) var(--m) clamp(16px, 2vw, 32px); display: grid; place-items: center; text-align: center; }
.intro p { font-size: var(--lead); max-width: 42ch; font-weight: 300; }
.intro strong { font-weight: 500; }

/* ---------- Services: band of unequal photo panels ---------- */
.services { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 6px; padding: 0 var(--m); }
.svc { position: relative; color: #fff; text-decoration: none; min-height: 72vh; display: flex; align-items: flex-end; overflow: hidden; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc:hover img { transform: scale(1.04); }
.svc::after { content: ""; position: absolute; inset: 45% 0 0 0; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.66)); } /* taste-skill-ignore: scrim under the label */
.svc div { position: relative; z-index: 1; padding: 24px; display: grid; gap: 6px; }
.svc h3 { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.5rem); }
.svc span { font-size: var(--small); font-weight: 500; }

/* ---------- Prices: statement left, rows right ---------- */
.plans { display: grid; grid-template-columns: 5fr 7fr; gap: var(--m); padding: clamp(64px, 9vw, 128px) var(--m); align-items: start; }
.plans h2 { font-size: var(--head); }
.plans__lead { margin-top: 20px; max-width: 36ch; }
.plans .btn { margin-top: 28px; }
.table { display: grid; gap: 6px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 22px 26px; background: var(--surface); align-items: center; }
.row--lit { background: var(--green); color: #fff; }
.row.row--lit em { color: rgba(255,255,255,.88); }
.row b { font-weight: 500; font-size: var(--lead); line-height: 1.25; display: block; }
.row em { font-style: normal; color: var(--muted); display: block; margin-top: 4px; }
.row strong { font-weight: 500; white-space: nowrap; text-align: right; }

/* ---------- What's included: two columns of short blocks ---------- */
.incl { padding: clamp(56px, 7vw, 104px) var(--m); display: grid; grid-template-columns: 5fr 7fr; gap: var(--m); align-items: start; }
.incl h2 { font-size: var(--head); }
.incl__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) var(--m); }
.incl__grid h3 { font-size: var(--lead); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 8px; }
.incl__grid ul { padding-left: 1.1em; }
.incl__grid p + p { margin-top: 10px; }

/* ---------- Photo pair at unequal sizes ---------- */
.pair { display: grid; grid-template-columns: 7fr 5fr; gap: 6px; padding: 0 var(--m); align-items: end; }
.pair--3 { grid-template-columns: 5fr 4fr 4fr; }
.pair figure { margin: 0; position: relative; overflow: hidden; }
.pair img { width: 100%; object-fit: cover; aspect-ratio: 4/5; }
.pair figure:first-child img { aspect-ratio: 4/3; }
.pair--3 figure img { aspect-ratio: 3/4; }
.pair figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: #fff; font-size: 1rem; font-weight: 500; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.6)); } /* taste-skill-ignore: scrim under the caption */

/* ---------- How it works: photographs down a diagonal ---------- */
.how { background: var(--surface); padding: clamp(80px, 11vw, 150px) var(--m); }
.how h2 { font-size: var(--head); max-width: 16ch; }
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--m); }
.steps li { display: grid; gap: 14px; align-content: start; }
.steps li:nth-child(2) { margin-top: 80px; }
.steps li:nth-child(3) { margin-top: 160px; }
.steps img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.steps b { font-weight: 500; font-size: var(--lead); }

/* ---------- Questions ---------- */
.faq { padding: clamp(64px, 9vw, 128px) var(--m); display: grid; grid-template-columns: 5fr 7fr; gap: var(--m); align-items: start; }
.faq > h2 { font-size: var(--head); position: sticky; top: 32px; }
.faq__list { display: grid; gap: 6px; }
.faq__item { background: var(--surface); padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 10px; }
.faq__item p, .incl__grid p, .incl__grid ul { max-width: 62ch; }
.faq__item h3 { font-size: var(--lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.faq__more { margin-top: 18px; }

/* ---------- Our work gallery ---------- */
.gallery { padding: 0 var(--m) clamp(80px, 11vw, 150px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; color: #fff; font-size: 1rem; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.6)); } /* taste-skill-ignore: scrim under the caption */
.g-7 { grid-column: span 7; aspect-ratio: 4/3; }
.g-5 { grid-column: span 5; aspect-ratio: 4/5; }
.g-4 { grid-column: span 4; aspect-ratio: 3/4; }
.g-6 { grid-column: span 6; aspect-ratio: 1; }
.g-12 { grid-column: span 12; aspect-ratio: 21/9; }

/* ---------- Contact card on a photograph ---------- */
.contact { position: relative; min-height: 90vh; display: grid; align-items: center; padding: var(--m); }
.contact > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card { position: relative; background: var(--bg); padding: clamp(28px, 4vw, 56px); max-width: 540px; display: grid; gap: 18px; }
.card h2 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); }
.card > p { max-width: 38ch; }
.card dl { display: grid; gap: 12px; }
.card dt { font-size: 1rem; color: var(--muted); }
.card dd { margin: 0; font-size: var(--lead); line-height: 1.3; }
.card dd a { text-decoration: none; }
.card dd a:hover { color: var(--green); }

/* ---------- Contact page ---------- */
.ways { padding: clamp(72px, 10vw, 140px) var(--m); display: grid; grid-template-columns: 5fr 7fr; gap: var(--m); align-items: start; }
.ways h2 { font-size: var(--head); }
.ways > div > p { margin-top: 20px; max-width: 38ch; }
.ways .btn { margin-top: 28px; }
.ways__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ways__list > div { background: var(--surface); padding: 26px; display: grid; gap: 6px; min-width: 0; }
.ways__list span { font-size: 1rem; color: var(--muted); }
.ways__list a { font-size: var(--lead); line-height: 1.3; text-decoration: none; overflow-wrap: anywhere; }
.ways__list a:hover { color: var(--green); }

/* ---------- Legal pages ---------- */
.legal { padding: 140px var(--m) clamp(80px, 10vw, 140px); display: grid; grid-template-columns: 5fr 7fr; gap: var(--m); align-items: start; }
.legal h1 { font-size: var(--head); }
.legal__lead { font-size: var(--lead); margin-top: 20px; max-width: 30ch; }
.legal__meta { margin-top: 16px; color: var(--muted); font-size: var(--small); }
.legal__body { display: grid; gap: 34px; max-width: 64ch; }
.legal__body h2 { font-size: var(--lead); font-weight: 500; letter-spacing: -0.01em; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.foot { padding: clamp(56px, 7vw, 96px) var(--m) 28px; display: grid; gap: 48px; }
.foot__top { display: grid; grid-template-columns: 5fr 7fr; gap: var(--m); }
.foot__say { display: grid; gap: 14px; align-content: start; }
.foot__say p { font-size: var(--lead); font-weight: 300; max-width: 26ch; }
.foot__say a { text-decoration: none; font-size: var(--lead); }
.foot__say a:hover { color: var(--green); }
.foot__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot__cols h2 { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-bottom: 8px; }
.foot__cols ul { list-style: none; padding: 0; display: grid; }
.foot__cols a { text-decoration: none; display: inline-block; padding: 7px 0; }
.foot__cols a:hover { color: var(--green); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 1rem; color: var(--muted); }
.foot__legal a { text-decoration: none; padding: 10px 0; }

/* ---------- Entrances (only once the script is running) ---------- */
.js [data-rise] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-rise].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .svc img { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .nav__links > a:not(.btn) { display: none; }
  .menu { display: block; }
}
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; }
  .svc { min-height: 56vh; }
  .plans, .incl, .faq, .ways, .legal, .foot__top { grid-template-columns: 1fr; }
  .faq > h2 { position: static; }
  .steps { grid-template-columns: 1fr; }
  .steps li:nth-child(n) { margin-top: 0; }
  .steps img { aspect-ratio: 3/2; }
  .pair figcaption { display: none; } /* captions read as labels over the next heading when stacked */
  .pair, .pair--3 { grid-template-columns: 1fr 1fr; }
  .pair--3 figure:first-child { grid-column: span 2; }
  .g-7, .g-5, .g-4, .g-6 { grid-column: span 6; aspect-ratio: 3/4; }
  .g-12 { grid-column: span 12; aspect-ratio: 3/2; }
}
/* ---------- Phone ---------- */
@media (max-width: 560px) {
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .logo { width: 104px; padding: 5px 8px; }
  .nav__links { gap: 8px; }
  .nav__links .btn, .menu summary { padding: 0 14px; }
  .services { grid-template-columns: 1fr; }
  .svc { min-height: 60vh; }
  .hero .actions .btn, .card .btn, .plans .btn, .ways .btn { flex: 1 1 100%; width: 100%; }
  .row { grid-template-columns: 1fr; gap: 6px; padding: 20px; }
  .row strong { text-align: left; }
  .incl__grid, .ways__list { grid-template-columns: 1fr; }
  .pair, .pair--3 { grid-template-columns: 1fr; }
  .pair--3 figure:first-child { grid-column: auto; }
  .pair figure img, .pair--3 figure img { aspect-ratio: 4/3; }
  .gallery .g-7, .gallery .g-5, .gallery .g-4, .gallery .g-6, .gallery .g-12 { grid-column: span 12; aspect-ratio: 4/3; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .contact { min-height: 0; padding: 0; display: block; }
  .contact > img { position: static; height: 46vh; }
  .card { max-width: none; }
}

/* Thumb-sized tap areas for the phone, email and login links */
.card dd a, .foot__say a, .ways__list a { display: inline-block; padding-block: 9px; }
.foot__say { gap: 4px; }
