/* Classic: a book serif, a centred masthead above a ruled row of links, deep navy bands, a single brass rule under the
   headline, square corners everywhere. For law offices, old accountancies, funeral homes, heritage shops, brokers.
   Header: masthead. Services: ruled, under brass. Heroes: centred-band (the photo on a navy band) and photo-full.
   The brass is a fixed warm metal tone with a little of the brand's accent text mixed in, so it leans toward whatever
   navy (or other colour) the brand brings; it needs no relative-colour support. */
:root{--r:0px;--brass:color-mix(in oklab,var(--accent-text) 15%,oklch(.64 .1 80))}

/* Type: the serif at its book weight for headings, navy on the paper. */
h1,h2,h3{font-family:var(--font-display);font-weight:400;color:var(--accent-text)}
h1{font-size:clamp(32px,4.3vw,54px);line-height:1.2;letter-spacing:-.005em}
h2{font-size:clamp(27px,3vw,36px);line-height:1.25}
h3{font-size:19px;line-height:1.3;font-weight:700}
.kicker{font:600 13px/1.3 var(--font-body);letter-spacing:.16em;text-transform:uppercase;color:var(--muted);margin:0 0 14px}
.lede{font-size:clamp(17px,1.4vw,19px);line-height:1.65;color:var(--muted);max-width:56ch}
.section--deep h2,.section--deep h3{color:inherit}

/* A section's heading sits over a full-width hairline, like a heading in a printed report. */
.section .container>h2{padding-bottom:.55em;border-bottom:1px solid var(--line)}
.section--deep .container>h2{border-bottom-color:var(--line-deep)}
.section--services .container>h2{padding-bottom:0;border-bottom:0} /* the services' own brass rules follow at once */

/* Buttons: square, quiet capitals-free type, the second outlined in navy. */
.btn{border-radius:0;font:600 15px/1.2 var(--font-body);letter-spacing:.03em}
.btn--ghost{color:var(--accent-text)}
/* On the navy bands the navy button would vanish, so there it turns to the band's light ink. */
.section--deep .contact__line .btn--accent{background:var(--on-deep);color:var(--deep)}
.section--deep .contact__line .btn--accent:hover{background:color-mix(in srgb,var(--on-deep) 86%,var(--deep))}

/* Header: the name centred on its own line, the links in a ruled row beneath it. */
.nav{display:flex;flex-direction:column;align-items:center;max-width:var(--wrap);margin:0 auto;padding:26px var(--gutter) 0;text-align:center}
.nav__brand{font:700 clamp(21px,2.4vw,30px)/1.2 var(--font-display);color:var(--accent-text);letter-spacing:.01em;padding-bottom:20px}
.nav__logo{max-height:48px}
.nav__logo[style*="--logo-bg"]{border-radius:0}
.nav__links{align-self:stretch;justify-content:center;gap:34px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.nav__links a{color:var(--accent-text);font-weight:600;font-size:15px;letter-spacing:.02em}
.nav__links a:hover{text-decoration:underline}
.nav__phone{padding-left:34px;border-left:1px solid var(--line)}

/* Hero, centred band: the words centred with the brass rule under the headline, the photo on a navy band below. */
.hero__body{text-align:center}
.hero .lede{margin-left:auto;margin-right:auto}
.hero h1{max-width:24ch;margin-left:auto;margin-right:auto}
.hero h1::after{content:"";display:block;width:64px;height:3px;margin:26px auto 0;background:var(--brass)}
.hero__cta{justify-content:center;margin:32px 0 0}
.hero__proof{margin-top:22px;font-size:14px;letter-spacing:.04em;color:var(--muted)}

.hero--centred-band .hero__body{max-width:calc(920px + 2 * var(--gutter));padding-top:clamp(52px,7vw,88px);padding-bottom:clamp(48px,6vw,72px)}
.hero__band{background:var(--deep);padding:clamp(20px,3.5vw,48px) var(--gutter)}
.hero__band .ph{max-width:calc(var(--wrap) - 2 * var(--gutter));margin:0 auto;outline:1px solid var(--line-deep);outline-offset:8px}
.hero__band .ph img{aspect-ratio:3/2}

/* The other treatment: the photo full-bleed under a navy wash, the words centred on it. */
.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:color-mix(in srgb,var(--deep) 78%,transparent)}
.hero--photo-full .hero__body{min-height:max(520px,calc(100svh - 220px));display:flex;flex-direction:column;justify-content:center;align-items:center;padding-top:88px;padding-bottom:88px}
.hero--photo-full h1,.hero--photo-full .kicker,.hero--photo-full .lede,.hero--photo-full .hero__proof{color:#fff}
.hero--photo-full .lede{opacity:.9}
.hero--photo-full .btn--ghost{color:#fff}
.hero--photo-full .btn--accent{background:var(--on-deep);color:var(--deep)} /* navy on the navy wash would vanish */
.hero--photo-full :focus-visible{outline-color:#fff}

/* Sections */
.section{padding:clamp(60px,8vw,104px) 0}

/* Services, ruled: each column under a brass rule, the text first and the photo beneath it. */
.services--ruled{grid-template-columns:minmax(0,1fr);gap:44px;margin-top:clamp(32px,4vw,48px)}
.card{display:flex;flex-direction:column;padding-top:20px;border-top:2px solid var(--brass)}
.card .ph{order:2;margin-top:20px}
.card h3{margin:0 0 .5em}
.card p{color:var(--muted);font-size:16px;line-height:1.6;margin:0;max-width:44ch}

/* How it works: the numbers in the serif's italic, steps between hairlines on the navy. */
.steps{list-style:none;margin:clamp(32px,4vw,48px) 0 0;padding:0;display:grid;gap:32px}
.step__n{display:block;margin-bottom:12px;font:italic 400 30px/1 var(--font-display);color:var(--brass)}
.step h3{font-size:18px}
.step p{margin:0;opacity:.86;max-width:38ch}

/* Gallery: an even grid of photos, each matted on white inside a hairline. */
.grid--gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:clamp(32px,4vw,48px)}
.gallery__item img{aspect-ratio:3/2}

/* Proof: the figures in the serif split by hairlines, the quotes in italic beside a brass rule. */
.stats{display:flex;flex-wrap:wrap;gap:24px 0;margin:clamp(28px,3.5vw,44px) 0 clamp(32px,4vw,52px)}
.stat{padding-right:clamp(28px,4vw,56px);margin-right:clamp(28px,4vw,56px);border-right:1px solid var(--line)}
.stat:last-child{border-right:0;margin-right:0;padding-right:0}
.stat strong{display:block;font:400 clamp(44px,5vw,60px)/1 var(--font-display);color:var(--accent-text);font-variant-numeric:lining-nums}
.stat span{display:block;margin-top:10px;font-size:13px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.quotes{display:grid;gap:28px}
.quotes:empty{display:none}
.stats:has(+ .quotes:empty){margin-bottom:0}
.quote{margin:0;padding:4px 0 4px 26px;border-left:2px solid var(--brass)}
.quote p{font:italic 400 clamp(19px,1.8vw,23px)/1.55 var(--font-display);color:var(--ink);margin:0 0 12px}
.quote p::before{content:"\201C"}
.quote p::after{content:"\201D"}
.quote cite{font-style:normal;font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}

/* Area: the neighbourhoods in square hairline boxes. */
.chips{list-style:none;padding:0;margin:26px 0 0;display:flex;flex-wrap:wrap;gap:8px}
.chips li{padding:7px 14px;border:1px solid var(--line);background:var(--surface);color:var(--ink);font-size:15px}

.faq__item summary{font:400 clamp(17px,1.6vw,19px)/1.45 var(--font-display);color:var(--accent-text)}

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

.form,.form input,.form textarea{border-radius:0}

.footer{text-align:center;border-top:1px solid var(--line)}
.footer strong{font:700 20px/1.2 var(--font-display);color:var(--accent-text)}

.ph figcaption,.hero__ph{border-radius:0}
.callbar{border-radius:0;border-top:3px solid var(--brass);font:600 17px/1 var(--font-body);letter-spacing:.03em} /* the brass keeps it apart from the navy bands it crosses */

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

@media (min-width:760px){
  .services--ruled{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:40px}
  .steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:40px}
  .step{padding-top:20px;border-top:1px solid var(--line-deep)}
  .grid--gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
  .gallery__item{padding:10px;background:var(--surface);border:1px solid var(--line)}
  .gallery__item figcaption{left:22px;bottom:22px}
  .quotes{grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:40px}
}

@media (min-width:960px){
  .services--ruled{grid-template-columns:repeat(3,minmax(0,1fr))}
  .services--ruled:has(>.card:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}
  .hero__band .ph img{aspect-ratio:21/9}
}
