/* Pinnacle Roofing Specialists: roofingcompanycoventry.co.uk
   Mobile-first. The palette, type and shapes come from the client's own logo:
   a burgundy shield with a peaked top, holding a mountain with a star at its
   summit, over PINNACLE in a bold Clarendon-style slab and ROOFING
   SPECIALISTS in a geometric sans.
     - burgundy #8B2635 (the logo, and the accent on the client's old site)
       on white and a warm near-black
     - Besley (a Clarendon) for headings, Montserrat for everything else
     - the gable: the shield's peaked top is also a roof. The hero photo, the
       icon tiles and the step numbers are all cut to that shape.
   Burgundy on the near-black is too dark to read (2:1), so on dark bands the
   accent text is --rose and buttons are white.
   Contrast (WCAG): --brand on white 8.6:1 and on --stone 7.6:1, white on
   --brand 8.6:1, --body on white 13.9:1, --muted on white 7.3:1, --on-dark on
   --ink 13.5:1, --rose on --ink 11.4:1. verify.py re-checks every pair. */

@font-face { font-family: "Besley"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("../fonts/besley-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2"); }

:root {
  --brand: #8B2635;
  --brand-dark: #6E1B28;
  --brand-tint: #F7ECEC;
  --rose: #F2C4C9;
  --gold: #B8860B;
  --ink: #1B1617;
  --ink-2: #272021;
  --ink-3: #40373A;
  --body: #2F2A2B;
  --muted: #5B5356;
  --line: #E3DBD6;
  --outline: #7A7073;
  --paper: #FBF8F6;
  --stone: #F5F0EC;
  --on-dark: #E7DFDB;
  --white: #FFFFFF;
  --maxw: 1200px;
  --gutter: 16px;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(27, 22, 23, .05), 0 10px 28px rgba(27, 22, 23, .09);
  --font: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  --slab: "Besley", Rockwell, "Roboto Slab", Georgia, serif;
  --header-h: 72px;
  /* The gable: a flat-sided box with a peaked top. */
  --gable: polygon(50% 0, 100% 13%, 100% 100%, 0 100%, 0 13%);
  --gable-sm: polygon(50% 0, 100% 24%, 100% 100%, 0 100%, 0 24%);
}
@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1040px) { :root { --header-h: 88px; } }

/* ---------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 17px; font-weight: 450; line-height: 1.65; color: var(--body); background: var(--white); overflow-x: clip; overflow-wrap: break-word; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 2px; }
a[href^="tel:"] { white-space: nowrap; }
a:hover { color: var(--brand-dark); }
h1, h2, h3, .h3 { font-family: var(--slab); font-weight: 700; line-height: 1.14; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.012em; }
h1 { font-size: clamp(2.1rem, 6.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
h3, .h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
blockquote, figure { margin: 0; }
strong { font-weight: 700; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.section--dark :focus-visible, .cta-band :focus-visible, .pagehead :focus-visible, .contact-card :focus-visible, .footer :focus-visible { outline-color: var(--white); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 8px; color: var(--white); }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.centre { text-align: center; }
.nowrap { white-space: nowrap; }
.small-print { font-size: .95rem; color: var(--muted); max-width: 660px; margin: 26px auto 0; }

/* ------------------------------------------------------------- buttons -- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px;
  font-family: var(--font); font-weight: 700; font-size: .98rem; line-height: 1.15; text-align: center;
  border-radius: 6px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--lg { min-height: 54px; padding: 12px 24px; font-size: 1.04rem; }
.btn--block { width: 100%; }
.btn--brand { background: var(--brand); color: var(--white); }
.btn--brand:hover { background: var(--brand-dark); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-3); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--white { background: var(--white); color: var(--brand); }
.btn--white:hover { background: var(--brand-tint); color: var(--brand-dark); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn-row--centre { justify-content: center; }

/* -------------------------------------------------------------- header -- */
.header { position: sticky; top: 0; z-index: 40; background: var(--white); border-top: 4px solid var(--brand); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; gap: 6px; height: calc(var(--header-h) - 4px); }
/* Lockup: the crest from the client's logo, with the name set beside it in the
   logo's own two styles (a Clarendon slab over a geometric sans). */
.brand { display: flex; align-items: center; gap: 9px; flex: none; margin-right: auto; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__crest { height: 38px; width: auto; flex: none; }
.brand__text { display: none; }
.brand__name { display: block; font-family: var(--slab); font-weight: 800; font-size: 1.22rem; line-height: 1; letter-spacing: .035em; text-transform: uppercase; color: var(--brand); white-space: nowrap; }
.brand__tag { display: block; font-size: .56rem; font-weight: 800; letter-spacing: .115em; text-transform: uppercase; color: var(--ink); line-height: 1.3; white-space: nowrap; margin-top: 4px; }
.nav { display: none; }
.header__tel { display: none; }
.header__cta { min-height: 44px; padding: 8px 9px; font-size: .8rem; white-space: nowrap; flex: none; }
.burger { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 44px; flex: none;
  border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); cursor: pointer; padding: 0; }
.burger svg { width: 24px; height: 24px; }
@media (min-width: 360px) { .header__row { gap: 8px; } .brand__crest { height: 42px; } .header__cta { padding: 8px 11px; font-size: .84rem; } }
@media (min-width: 390px) { .header__row { gap: 10px; } .brand__crest { height: 46px; } .header__cta { padding: 8px 14px; font-size: .9rem; } .burger { width: 44px; } }
/* The name joins the crest once there is room for it beside the button. */
@media (min-width: 520px) { .brand__text { display: block; } }
@media (min-width: 600px) {
  .brand { gap: 11px; }
  .brand__crest { height: 52px; }
  .brand__name { font-size: 1.42rem; }
  .brand__tag { font-size: .64rem; }
  .header__cta { padding: 8px 18px; font-size: .96rem; }
}
@media (min-width: 1040px) {
  .nav { display: flex; gap: 2px; margin-right: 6px; }
  .brand__crest { height: 60px; }
  .brand__name { font-size: 1.56rem; }
  .brand__tag { font-size: .7rem; }
  .nav a { font-weight: 700; font-size: .96rem; color: var(--ink); text-decoration: none; padding: 8px 10px; border-radius: 6px; }
  .nav a:hover { color: var(--brand); background: var(--brand-tint); }
  .nav a[aria-current="page"] { color: var(--brand); background: var(--brand-tint); }
  .header__cta { min-height: 46px; padding: 10px 18px; font-size: .96rem; }
  .burger { display: none; }
}
@media (min-width: 1240px) {
  .nav a { padding: 8px 13px; font-size: 1rem; }
  .header__tel { display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: 1.06rem;
    color: var(--ink); text-decoration: none; white-space: nowrap; margin-right: 6px; }
  .header__tel svg { width: 18px; height: 18px; color: var(--brand); }
  .header__tel:hover { color: var(--brand); }
}

/* -------------------------------------------------------------- drawer -- */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(360px, 90vw); background: var(--white);
  display: flex; flex-direction: column; padding: 14px 18px 24px; overflow-y: auto;
  transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
.drawer.is-open { transform: none; visibility: visible; transition: transform .25s ease; box-shadow: -10px 0 40px rgba(0, 0, 0, .25); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.drawer__top .brand { margin-right: 0; gap: 9px; }
.drawer__top .brand__crest { height: 44px; }
.drawer__top .brand__text { display: block; }
.drawer__top .brand__name { font-size: 1.16rem; }
.drawer__top .brand__tag { font-size: .54rem; }
.drawer__close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line);
  border-radius: 6px; background: var(--white); color: var(--ink); cursor: pointer; padding: 0; flex: none; }
.drawer__close svg { width: 22px; height: 22px; }
.drawer__links { display: flex; flex-direction: column; padding: 10px 0; }
.drawer__links a { font-family: var(--slab); font-weight: 700; font-size: 1.24rem; color: var(--ink); text-decoration: none; padding: 11px 2px; border-bottom: 1px solid var(--stone); }
.drawer__links a[aria-current="page"] { color: var(--brand); }
.drawer__actions { display: grid; gap: 10px; margin-top: 12px; }
.drawer__note { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: .94rem; color: var(--muted); }
.drawer__note svg { width: 18px; height: 18px; color: var(--brand); flex: none; }
.scrim { position: fixed; inset: 0; z-index: 55; background: rgba(27, 22, 23, .6); }
@media (min-width: 1040px) { .drawer, .scrim { display: none !important; } }

/* ---------------------------------------------------------------- hero -- */
.hero { background: var(--paper); padding: 28px 0 40px; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__grid { display: flex; flex-direction: column; gap: 30px; }
.hero__media { width: min(100%, 420px); margin-inline: auto; }
.hero h1 { margin-bottom: .35em; }
/* The town name takes the logo's burgundy. */
.hl { color: var(--brand); white-space: nowrap; }
.hero__lede { font-size: 1.06rem; max-width: 36em; }
.hero .btn-row { margin-top: 20px; }
@media (max-width: 599px) { .hero .btn-row .btn { flex: 1 1 100%; } }
.hero__points { list-style: none; display: grid; gap: 7px; margin-top: 22px; }
.hero__points li { display: flex; align-items: center; gap: 9px; font-weight: 700; color: var(--ink); line-height: 1.3; font-size: .98rem; }
.hero__points svg { width: 20px; height: 20px; color: var(--brand); flex: none; }

/* The hero photograph sits under a gable, in a burgundy frame: the peaked
   top of the logo's shield. Both layers are clipped to the same shape. */
.gable { background: var(--brand); padding: 7px; clip-path: var(--gable); }
.gable__in { clip-path: var(--gable); aspect-ratio: 1 / 1; background: var(--stone); overflow: hidden; }
.gable__in img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
@media (min-width: 600px) { .gable { padding: 9px; } .gable__in { aspect-ratio: 5 / 5.4; } }
@media (min-width: 1040px) {
  .hero { padding: 56px 0 64px; }
  .hero__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
  .hero__media { width: min(440px, 100%); }
  .gable { padding: 10px; }
  .gable__in { aspect-ratio: 4 / 5; }
  .gable__in img { object-position: 50% 50%; }
}

.eyebrow { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--brand); margin: 0 0 10px; line-height: 1.35; }
/* A small roof peak before every eyebrow. */
.eyebrow::before { content: ""; flex: none; width: 19px; height: 10px; background: currentColor;
  clip-path: polygon(50% 0, 100% 100%, 80% 100%, 50% 40%, 20% 100%, 0 100%); }
.section--dark .eyebrow, .pagehead .eyebrow { color: var(--rose); }
.head-group--centre .eyebrow { justify-content: center; }

/* The verified Google rating, linked to the listing. */
.gbadge { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 20px; padding: 8px 14px; background: var(--white);
  border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.gbadge:hover { border-color: var(--ink); color: var(--ink); }
.gbadge__stars { display: inline-flex; gap: 2px; color: var(--gold); }
.gbadge__stars svg { width: 17px; height: 17px; }
.gbadge__text strong { font-weight: 800; }

/* ---------------------------------------------------------- icon tiles -- */
/* Burgundy with a peaked top, like the shield in the logo. White glyph, so it
   reads the same on white, on the stone bands and on the dark ones. */
.icon-tile { width: 54px; height: 60px; flex: none; background: var(--brand); color: var(--white); clip-path: var(--gable-sm);
  display: flex; align-items: center; justify-content: center; padding-top: 11px; margin-bottom: 16px; }
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile--sm { width: 42px; height: 47px; padding-top: 9px; margin-bottom: 0; }
.icon-tile--sm svg { width: 20px; height: 20px; }
.icon-tile--centre { margin-inline: auto; }

/* --------------------------------------------------------- trust strip -- */
.strip { background: var(--stone); border-bottom: 1px solid var(--line); }
.strip__row { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 18px; padding-block: 20px; }
.strip__row li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--ink); line-height: 1.3; font-size: .96rem; }
.strip__row a { color: var(--ink); }
.strip__row a:hover { color: var(--brand); }
@media (min-width: 560px) { .strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .strip__row { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-block: 24px; } }

/* ------------------------------------------------------------ sections -- */
.section { padding-block: 56px; }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark .lede { color: var(--on-dark); }
.section--dark a:not(.btn) { color: var(--rose); }
@media (min-width: 960px) { .section { padding-block: 80px; } }
.head-group { max-width: 760px; margin-bottom: 30px; }
.head-group--centre { margin-inline: auto; text-align: center; }
.lede { font-size: 1.06rem; color: var(--muted); margin-bottom: 0; }

/* ----------------------------------------------------------------- grid -- */
.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- cards -- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card--plain { padding: 24px; }
.card--plain p:last-child { margin-bottom: 0; }
.card--svc { padding: 24px 22px 22px; border-top: 4px solid var(--brand); transition: box-shadow .15s; }
.card--svc:hover { box-shadow: var(--shadow); }
.card--svc p { color: var(--body); font-size: .97rem; }
/* Block, with the arrow inline, so on a two-line label it follows the last word. */
.card__link { margin-top: auto; display: block; font-weight: 700; font-size: .97rem; text-decoration: none; color: var(--brand); }
.card__link svg { display: inline-block; width: 18px; height: 18px; margin-left: 5px; vertical-align: -3px; transition: transform .15s; }
.card__link:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- split -- */
.split { display: grid; gap: 30px; grid-template-columns: minmax(0, 1fr); align-items: center; }
/* Job photos are cut portrait: square on a phone, 4:5 beside the text. */
.split__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; background: var(--stone); }
.split__media > img { width: 100%; height: 100%; object-fit: cover; }
.split__media--wide { aspect-ratio: 3 / 2; }
.split__media:has(.map) { aspect-ratio: auto; overflow: visible; background: none; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 60px; }
  /* Flipped rows put the text first, so the wider column moves with it. */
  .split--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .split__media { aspect-ratio: 4 / 5; width: 100%; max-width: 460px; justify-self: center; }
  .split__media--wide { aspect-ratio: 3 / 2; max-width: none; }
  .split__media:has(.map) { max-width: none; }
  .split--flip > .split__media { order: 2; }
}
.prose > :last-child { margin-bottom: 0; }
.prose > .icon-tile { margin-bottom: 14px; }

.checks { list-style: none; display: grid; gap: 10px; margin: 6px 0 4px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-weight: 600; color: var(--ink); line-height: 1.4; }
.checks svg { width: 22px; height: 22px; color: var(--brand); margin-top: 1px; }
@media (min-width: 600px) { .checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------- signs / method (dark bands) -- */
.included { list-style: none; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
.included li { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 24px 22px; }
.included h3 { margin-bottom: .35em; }
.included p { margin: 0; color: var(--on-dark); font-size: .97rem; }
@media (min-width: 620px) { .included { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .included { grid-template-columns: repeat(4, minmax(0, 1fr)); } .included--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- steps -- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.steps li { counter-increment: step; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px 84px; }
/* The step number sits in a small burgundy gable. */
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 18px; width: 46px; height: 52px; background: var(--brand); clip-path: var(--gable-sm);
  display: flex; align-items: center; justify-content: center; padding-top: 10px; font-family: var(--slab); font-weight: 800; font-size: 1.25rem; line-height: 1; color: var(--white); }
.steps h3 { font-size: 1.14rem; margin-bottom: .3em; }
.steps p { margin: 0; font-size: .97rem; }
@media (min-width: 620px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps li { padding: 88px 20px 22px; } .steps li::before { top: 20px; } }

/* -------------------------------------------------------------- gallery -- */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery figure { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.gallery__media { aspect-ratio: 4 / 5; background: var(--stone); overflow: hidden; }
.gallery__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery figure:hover .gallery__media img { transform: scale(1.03); }
.gallery figcaption { padding: 10px 12px 12px; font-size: .86rem; color: var(--body); line-height: 1.4; }
@media (min-width: 960px) {
  .gallery { gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery figcaption { padding: 12px 16px 14px; font-size: .94rem; }
}

/* -------------------------------------------------------------- reviews -- */
.reviews { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 24px 22px; display: flex; flex-direction: column; }
.quote__icon { width: 40px; height: 45px; background: var(--brand); color: var(--white); clip-path: var(--gable-sm); display: flex; align-items: center; justify-content: center; padding-top: 9px; margin-bottom: 14px; }
.quote__icon svg { width: 19px; height: 19px; }
.quote blockquote p { font-size: 1.02rem; color: var(--ink); }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .92rem; color: var(--muted); }
.quote figcaption strong { color: var(--ink); }
.linkrow { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.linkrow a { font-weight: 700; }

/* ------------------------------------------------------------------ map -- */
.map { position: relative; height: 360px; border-radius: var(--radius); overflow: hidden; background: var(--stone); border: 1px solid var(--line); }
.map iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; }
.map__fallback { position: absolute; inset: 0; z-index: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 20px; color: var(--muted); }
.map__fallback svg { width: 30px; height: 30px; color: var(--brand); }
.map__fallback p { margin: 0; font-weight: 700; color: var(--ink); }
@media (min-width: 960px) { .map { height: 440px; } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.chips li { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 5px 12px; font-size: .9rem; font-weight: 700; color: var(--ink); }
.chips--links li { padding: 0; }
.chips--links a { display: block; padding: 7px 13px; text-decoration: none; color: var(--ink); border-radius: 6px; }
.chips--links a:hover { color: var(--brand); }
.jump { background: var(--stone); border-bottom: 1px solid var(--line); padding-block: 14px 16px; }
.jump .chips { margin: 0; }
@media (max-width: 1039px) {
  /* One swipeable row on phones instead of seven stacked pills. */
  .jump .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .jump .chips::-webkit-scrollbar { display: none; }
  .jump .chips li { flex: none; }
}

/* ------------------------------------------------------------------ faq -- */
.faq-wrap { max-width: 900px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: #CDBFB9; box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 16px 18px; font-weight: 700; font-size: 1.04rem; line-height: 1.35; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--brand); transform: rotate(90deg); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(-90deg); }
.faq__body { padding: 0 18px 16px; }
.faq__body p { margin: 0; }

/* ------------------------------------------------------------- CTA band -- */
.cta-band { background: var(--brand); color: var(--white); padding-block: 48px; }
.cta-band h2 { color: var(--white); margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 40em; font-size: 1.04rem; }
.cta-band__inner { display: grid; gap: 4px; }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; } .cta-band .btn-row { margin-top: 0; } }

/* ------------------------------------------------------------- pagehead -- */
.pagehead { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); padding-block: 26px 40px; border-bottom: 5px solid var(--brand); }
.pagehead .wrap { position: relative; z-index: 1; }
.pagehead h1 { color: var(--white); max-width: 20ch; margin-top: 16px; font-size: clamp(1.9rem, 5.6vw, 3rem); }
.pagehead p { max-width: 44em; font-size: 1.06rem; margin: 0; }
@media (min-width: 960px) {
  .pagehead { padding-block: 34px 56px; }
  .pagehead h1 { max-width: 24ch; }
  /* Three faint gables off the right edge: the roofline at the foot of the logo's crest. */
  .pagehead::after { content: ""; position: absolute; right: -30px; bottom: 0; width: 460px; height: 250px;
    background: no-repeat right bottom / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 460 250' fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='11'%3E%3Cpath d='M-10 260 120 130 250 260'/%3E%3Cpath d='M90 260 230 60 370 260'/%3E%3Cpath d='M210 260 340 130 470 260'/%3E%3C/svg%3E"); }
}
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .9rem; }
.crumbs li + li::before { content: "/"; margin: 0 8px; color: #A2969A; }
.crumbs a { color: var(--on-dark); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); font-weight: 700; }

/* ------------------------------------------------------------ coverage -- */
.area-groups { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .area-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .area-groups { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.area-group { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 24px 22px; }
.area-group h3 { display: flex; flex-direction: column; gap: 4px; }
.area-group h3 span { font-family: var(--font); font-size: .84rem; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.area-group p { color: var(--muted); font-size: .95rem; }
.areas { list-style: none; display: grid; gap: 8px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* On the narrowest phones a long name ("Walsgrave on Sowe") is wider than half the card. */
@media (max-width: 419px) { .areas { grid-template-columns: minmax(0, 1fr); } }
/* Four cards side by side: one name per line reads more cleanly than two ragged columns. */
@media (min-width: 1200px) { .areas { grid-template-columns: minmax(0, 1fr); } }
.areas li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 7px; align-items: start; font-weight: 700; color: var(--ink); line-height: 1.35; font-size: .96rem; }
.areas svg { width: 18px; height: 18px; color: var(--brand); margin-top: 2px; }
.areas small { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .03em; white-space: nowrap; }
.svc-links { list-style: none; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .svc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .svc-links { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-links a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1rem; line-height: 1.25; background: var(--white); }
.svc-links a:hover { border-color: var(--brand); color: var(--brand); }
.svc-links svg { width: 26px; height: 26px; color: var(--brand); flex: none; }

/* --------------------------------------------------------------- about -- */
.facts { margin: 0 0 4px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 800; color: var(--muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .09em; padding-top: 3px; }
.facts dd { margin: 0; color: var(--ink); }
@media (min-width: 600px) { .facts > div { grid-template-columns: 116px minmax(0, 1fr); gap: 16px; } }

/* ------------------------------------------------------------- contact -- */
.contact-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; } }
.form-card { background: var(--stone); border: 1px solid var(--line); border-top: 4px solid var(--brand); border-radius: var(--radius); padding: 20px; }
@media (min-width: 600px) { .form-card { padding: 28px; } }
.field-row { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { margin-bottom: 16px; min-width: 0; }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: .96rem; }
.hint { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-width: 0; font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid var(--outline); border-radius: 6px; padding: 12px 14px; min-height: 50px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(139, 38, 53, .28); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin: 12px 0 0; }
.form-msg { border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; font-weight: 700; }
.form-msg--error { background: #FDECEC; border: 1px solid #F1B9BB; color: #8A1B1F; }
.contact-card { background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: 26px 22px; border-top: 5px solid var(--brand); }
.contact-card h2 { color: var(--white); font-size: 1.5rem; }
.contact-list { list-style: none; display: grid; gap: 16px; margin-bottom: 22px; }
.contact-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; }
.contact-list svg { width: 22px; height: 22px; color: var(--rose); margin-top: 3px; }
.contact-list strong { display: block; color: var(--rose); font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-list a { color: var(--white); font-weight: 700; }
.contact-list a:hover { color: var(--rose); }
.contact-card__note { margin: 18px 0 0; font-size: .94rem; }
.contact-card__note a { color: var(--white); }

/* ---------------------------------------------------------- thank you -- */
.next-steps { list-style: none; display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); margin-top: 10px; }
@media (min-width: 900px) { .next-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.next-steps li { background: var(--stone); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.next-steps h2 { font-size: 1.25rem; }
.next-steps p { margin: 0; }
.link-list { list-style: none; display: grid; gap: 8px; }

/* -------------------------------------------------------------- footer -- */
.footer { background: var(--ink); color: var(--on-dark); padding-top: 52px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.25fr) minmax(0, 1.1fr) minmax(0, .6fr); gap: 40px; } }
/* The client's logo as it is, on a white plate. */
.footer__plate { display: inline-block; background: var(--white); border-radius: var(--radius); padding: 12px 14px 10px; margin-bottom: 18px; }
.footer__plate img { width: 170px; }
.footer__about p { font-size: .95rem; margin: 0; }
.footer__h { font-family: var(--font); font-size: .82rem; font-weight: 800; color: var(--white); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer__list { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.footer__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.footer__list--plain li { display: block; }
.footer__list svg { width: 18px; height: 18px; color: var(--rose); margin-top: 4px; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom { margin-top: 40px; padding-block: 20px 28px; border-top: 1px solid var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 24px;
  justify-content: space-between; font-size: .88rem; color: var(--on-dark); }
.footer__bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
