/* Clean modern: one geometric sans, white paper, one crisp accent, pill buttons, rounded photo blocks and a pale band
   for sections. For clinics, accountants, cleaners, physio: reliability and order.
   Header: bar. Services: columns. Heroes: photo-grid (the look's own) and photo-full. */
:root{--r:16px;--pill:999px}

/* Type */
h1,h2,h3{font-family:var(--font-display);font-weight:700}
h1{font-size:clamp(40px,5.4vw,64px);line-height:1.04;letter-spacing:-.03em}
h2{font-size:clamp(30px,3.6vw,44px);line-height:1.1;letter-spacing:-.022em;max-width:20ch}
h3{font-size:18px;line-height:1.3;letter-spacing:-.01em}
.kicker{font:700 14px/1.3 var(--font-body);letter-spacing:.01em;color:var(--accent-text);margin:0 0 14px}
.lede{font-size:clamp(17px,1.4vw,19px);line-height:1.6;color:var(--muted);max-width:52ch}

/* Pill buttons; the quiet one sits on the pale band colour. */
.btn{border-radius:var(--pill);font:700 15px/1.2 var(--font-body)}
.btn--lg{font-size:16px}
.btn--ghost{background:var(--surface);color:var(--ink);border-color:transparent}
.btn--ghost:hover{background:color-mix(in srgb,var(--surface) 82%,var(--ink))}

/* Header: a bar, the name left, the links quiet, the call as a pill. */
.nav{display:flex;align-items:center;gap:32px;max-width:var(--wrap);margin:0 auto;padding:18px var(--gutter)}
.nav__brand{font:700 clamp(17px,1.8vw,20px)/1.15 var(--font-display);letter-spacing:-.01em;margin-right:auto}
.nav__logo{max-height:40px}
.nav__links{gap:28px}
.nav__links a{color:var(--muted);font-weight:500;font-size:15px;padding:4px 0}
.nav__links a:hover{color:var(--ink)}
.nav__call{min-height:44px;padding:.6em 1.2em;font-size:14px}

/* Hero: the words beside a grid of rounded photo blocks, the rating on an accent tile. */
.hero__cta{margin:28px 0 0}
.hero__proof{margin-top:20px;font-weight:600;font-size:15px;color:var(--muted)}

.hero--photo-grid{display:grid;gap:36px;max-width:var(--wrap);margin:0 auto;padding:clamp(20px,4vw,56px) var(--gutter) clamp(56px,7vw,88px)}
.hero--photo-grid .hero__body{padding:0;margin:0;max-width:none}
.hero--photo-grid .hero__proof{display:none} /* the tile carries the rating */
.hero__pics{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;height:clamp(300px,42vw,460px)}
.hero__pics>*{min-height:0}
.hero__pics .ph{height:100%}
.hero__pics .ph img{height:100%;aspect-ratio:auto}
.hero__pics>:first-child{grid-row:1/3}
.hero__pics>:only-child{grid-column:1/-1}
.hero__pics>:nth-child(2):last-child{grid-row:1/3}
.hero__tile{display:flex;align-items:flex-start;padding:clamp(16px,2vw,24px);border-radius:var(--r);background:var(--accent);color:var(--accent-ink)}
.hero__tile p{margin:0;font:600 clamp(14px,1.3vw,16px)/1.45 var(--font-body)}

/* The other treatment: the photo full-bleed under a deep wash. */
.hero--photo-full{background:var(--deep);color:#fff}
.hero--photo-full .hero__media{position:absolute;inset:0;z-index:-1}
.hero--photo-full .hero__media::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,color-mix(in srgb,var(--deep) 92%,transparent),color-mix(in srgb,var(--deep) 78%,transparent) 55%,color-mix(in srgb,var(--deep) 58%,transparent))}
.hero--photo-full .hero__body{min-height:max(540px,calc(100svh - 150px));display:flex;flex-direction:column;justify-content:flex-end;padding-top:112px;padding-bottom:clamp(64px,8vw,104px)}
.hero--photo-full h1{font-size:clamp(42px,6.4vw,84px);max-width:14ch}
.hero--photo-full .kicker,.hero--photo-full .lede,.hero--photo-full .hero__proof{color:#fff}
.hero--photo-full .lede{opacity:.92}
.hero--photo-full .btn--ghost{background:transparent;color:#fff;border-color:currentColor}
.hero--photo-full .btn--ghost:hover{background:rgba(255,255,255,.14)}
.hero--photo-full :focus-visible{outline-color:#fff}

/* Sections */
.section{padding:clamp(64px,8vw,112px) 0}
.section--services{background:var(--surface)}

/* Services: a row of columns on the pale band, split by thin rules. */
.services--columns{grid-template-columns:minmax(0,1fr);gap:44px;margin-top:clamp(28px,3.5vw,44px)}
.card{display:flex;flex-direction:column}
.card .ph{margin-bottom:20px}
.card .ph img{aspect-ratio:16/10}
.card h3{margin:0 0 .4em}
.card p{color:var(--muted);font-size:16px;margin:0;max-width:40ch}

/* How it works: numbered pills on the deep band. */
.steps{list-style:none;margin:clamp(32px,4vw,56px) 0 0;padding:0;display:grid;gap:36px}
.step__n{display:inline-grid;place-items:center;min-width:44px;height:44px;padding:0 12px;margin-bottom:18px;border-radius:var(--pill);background:var(--accent);color:var(--accent-ink);font:700 15px/1 var(--font-body);font-variant-numeric:lining-nums}
.step p{margin:0;opacity:.84;max-width:36ch}

/* Gallery: rounded blocks, one large. */
.grid--gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:clamp(32px,4vw,52px)}
.gallery__item img{aspect-ratio:4/3}

/* Proof: big figures split by rules, the quotes as white cards on the band. */
.stats{display:flex;flex-wrap:wrap;gap:28px 0;margin:clamp(28px,3.5vw,48px) 0 clamp(36px,4.5vw,64px)}
.stat{padding-right:clamp(24px,3.5vw,48px);margin-right:clamp(24px,3.5vw,48px);border-right:1px solid var(--edge)}
.stat:last-child{border-right:0;margin-right:0;padding-right:0}
.stat strong{display:block;font:700 clamp(44px,5.4vw,68px)/1 var(--font-display);letter-spacing:-.035em;font-variant-numeric:lining-nums}
.stat span{display:block;margin-top:10px;color:var(--muted);font-size:15px;font-weight:500}
.quotes{display:grid;gap:16px}
.quotes:empty{display:none}
.stats:has(+ .quotes:empty){margin-bottom:0}
.quote{margin:0;padding:clamp(22px,2.6vw,32px);border-radius:var(--r);background:var(--paper)}
.quote p{font:500 clamp(18px,1.7vw,21px)/1.5 var(--font-display);margin:0 0 16px}
.quote p::before{content:"\201C"}
.quote p::after{content:"\201D"}
.quote cite{font-style:normal;font-size:14px;font-weight:600;color:var(--accent-text)}

/* Area: the neighbourhoods as pills. */
.chips{list-style:none;padding:0;margin:26px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.chips li{padding:8px 16px;border-radius:var(--pill);background:var(--surface);color:var(--ink);font-size:15px;font-weight:500}

/* Hours, for a shop. */
.hours{list-style:none;margin:28px 0 0;padding:0;display:grid;gap:10px;max-width:44ch}
.hours li{display:flex;justify-content:space-between;gap:16px;padding-bottom:10px;border-bottom:1px solid var(--line-deep);font-size:16px}
.hours__note,.hours__address{margin:22px 0 0;opacity:.84}

.form{border-radius:var(--r)}

@media (max-width:759px){
  .gallery__item:first-child,.gallery__item:nth-child(even):last-child{grid-column:1/-1}
  .gallery__item:first-child img{aspect-ratio:3/2}
}

@media (min-width:760px){
  .services--columns{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:56px;row-gap:48px;overflow:hidden}
  /* The rule sits in the gap left of each column; the first column's falls outside the row and is clipped. */
  .services--columns .card{position:relative}
  .services--columns .card::before{content:"";position:absolute;top:0;bottom:0;left:-28px;width:1px;background:var(--line)}
  .steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
  .grid--gallery{grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-rows:clamp(150px,17vw,232px);gap:14px}
  .gallery__item{grid-column:span 2}
  .gallery__item:first-child{grid-column:span 4;grid-row:span 2}
  .gallery__item img{height:100%;aspect-ratio:auto}
  .quotes{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
}

@media (min-width:960px){
  .hero--photo-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(40px,4.5vw,64px)}
  .services--columns{grid-template-columns:repeat(3,minmax(0,1fr))}
  .services--columns:has(>.card:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
  .hero--photo-full .hero__media::after{background:linear-gradient(to right,color-mix(in srgb,var(--deep) 85%,transparent),color-mix(in srgb,var(--deep) 55%,transparent) 50%,transparent),linear-gradient(to top,color-mix(in srgb,var(--deep) 90%,transparent),color-mix(in srgb,var(--deep) 40%,transparent) 55%,color-mix(in srgb,var(--deep) 15%,transparent))}
  .hero--photo-full .hero__body{min-height:max(600px,calc(100svh - 120px))}
}
