/* OneContact - site.css (2026 redesign). Hand-written, no framework.
   Palette is taken from the logo (static/wp-content/uploads/2020/12/Logo-Version-1.png):
     logo blue source pixel #16A4FF/#15A4FE (alpha 193) renders as #4EBAFF on white,
     the same #4EBAFF / #15A4FE the live WordPress site uses. Logo grey renders as #8F8F8F.
   Those light blues fail text contrast on white (2.1:1 / 2.7:1) so they are used for
   decoration only; text and buttons use darker shades of the same 203deg hue.
   WCAG 2.2 AA (checked by lab/contrast.py):
     text #2D2A26 on cream #FBF7F1 13.4:1 | muted #5C554D 6.9:1 | headings #0B3550 12.0:1
     links/buttons #0968A5 on cream 5.6:1, white on #0968A5 5.9:1 | focus #C2410C 4.9:1
     on ink #0B3550: white 12.8:1, sky #4EBAFF 6.0:1, focus #FFC48C 8.3:1
   Fonts (SIL OFL 1.1, self-hosted in /fonts/): Montserrat Bold (headings), Source Sans 3 (body). */

@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/source-sans-3-var.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/fonts/source-sans-3-italic-var.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  /* brand (from the logo) - decoration only */
  --sky: #4EBAFF;        /* logo blue as rendered; live-site main blue */
  --brand: #15A4FE;      /* logo blue source pixel; live-site accent */
  --logo-grey: #8F8F8F;  /* "CONTACT" in the logo */
  --apricot: #FFB27A;    /* warm accent, decoration only */
  --apricot-soft: #FFE5D1;
  /* accessible shades of the logo hue */
  --blue: #0968A5;       /* links, buttons */
  --blue-deep: #075588;  /* hover */
  --ink: #0B3550;        /* headings, dark bands */
  --ink-2: #14476B;
  /* warm neutrals */
  --text: #2D2A26;
  --muted: #5C554D;
  --cream: #FBF7F1;
  --sand: #F5EDE2;
  --sky-50: #EEF8FF;
  --sky-100: #D9EFFF;
  --line: #E6DDD1;
  --white: #FFFFFF;
  --warn-bg: #FFF4D6;
  --warn-line: #B7791F;
  /* shape */
  --radius-s: 12px;
  --radius: 22px;
  --radius-l: 36px;
  --blob: 58% 42% 50% 50% / 46% 54% 46% 54%;
  --shadow: 0 1px 2px rgb(11 53 80 / .06), 0 14px 34px -14px rgb(11 53 80 / .22);
  --shadow-lift: 0 2px 4px rgb(11 53 80 / .07), 0 22px 44px -16px rgb(11 53 80 / .3);
  --wrap: 74rem;
  --wave: 56px;
  --focus-c: #C2410C;
  --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; color: var(--text); background: var(--cream);
  font-family: var(--font-body); font-size: 1.125rem; line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.15; color: var(--ink); margin: 0 0 .55em; }
h1, h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.45rem); }
h3 { font-size: 1.22rem; font-weight: 700; letter-spacing: -.005em; }
p, ul, ol, dl, address { margin: 0 0 1em; }
address { font-style: normal; }
strong { font-weight: 700; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus-c); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.wrap--narrow { max-width: 48rem; }
.small { font-size: .95rem; color: var(--muted); }
.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-link { position: absolute; left: 1rem; top: -10rem; z-index: 200; background: var(--white); color: var(--ink); padding: .75rem 1.1rem; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); }
.skip-link:focus { top: 1rem; }
.icon { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.deco { position: absolute; pointer-events: none; z-index: 0; }

/* buttons: soft pills */
.btn { display: inline-flex; align-items: center; gap: .5rem; background: var(--blue); color: var(--white); font-weight: 700; text-decoration: none;
  padding: .85rem 1.45rem; border-radius: 999px; border: 2px solid var(--blue); line-height: 1.2; cursor: pointer; font: inherit; font-weight: 700;
  box-shadow: 0 8px 18px -10px rgb(9 104 165 / .7); transition: background-color .15s, transform .15s, box-shadow .15s; }
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); transform: translateY(-1px); text-decoration: none; }
.btn--small { padding: .55rem 1.1rem; font-size: 1rem; }
.btn--large { padding: 1rem 1.6rem; }
.btn--ghost { background: var(--white); color: var(--blue); box-shadow: none; }
.btn--ghost:hover { background: var(--sky-50); color: var(--blue-deep); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: none; }
.btn--light:hover { background: var(--sky-50); color: var(--ink); border-color: var(--sky-50); }
.btn--outline-light { background: transparent; color: var(--white); border-color: var(--white); box-shadow: none; }
.btn--outline-light:hover { background: var(--white); color: var(--ink); }

/* header */
.site-header { background: var(--white); position: relative; z-index: 40; box-shadow: 0 6px 24px -18px rgb(11 53 80 / .35); }
.topbar { background: var(--sky-50); color: var(--ink); font-size: .95rem; }
.topbar a { color: var(--ink); font-weight: 700; }
.topbar__inner { display: flex; gap: .4rem 1.5rem; flex-wrap: wrap; justify-content: space-between; align-items: center; padding-top: .45rem; padding-bottom: .45rem; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .4rem; }
.topbar .icon { color: var(--blue); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; padding-bottom: .9rem; position: relative; }
.brand { display: block; border-radius: 8px; }
.brand { flex: none; }
.brand img { display: block; width: auto; height: 52px; }  /* pt70: trimmed logo; artwork 51px tall (was 38px inside a 54px padded PNG) */
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; }
.nav--wide .nav__list > li > a { border-radius: 999px; }
.nav--wide .nav__list > li > a:hover { background: var(--sky-50); color: var(--ink); }
.nav a[aria-current="page"], .nav a.is-section { color: var(--blue-deep); text-decoration: underline; text-decoration-color: var(--apricot); text-decoration-thickness: 3px; text-underline-offset: .45em; }
.nav .btn, .nav .btn[aria-current] { color: var(--white); background: var(--blue); }
.nav .btn:hover { background: var(--blue-deep); }

/* wide nav: hover / focus-within dropdowns, no JS */
.nav--narrow { display: none; }
.nav--wide .nav__list { display: flex; align-items: center; gap: .15rem; }
.nav--wide .nav__list > li { position: relative; }
.nav--wide .nav__list > li > a { display: block; padding: .55rem .85rem; }
.nav--wide .has-sub > a::after { content: ""; display: inline-block; margin-left: .4rem; width: .45rem; height: .45rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-.2rem) rotate(45deg); }
.nav--wide .nav__sub { list-style: none; margin: 0; padding: .6rem; position: absolute; left: 0; top: calc(100% + .35rem); min-width: 17rem; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-lift); z-index: 50;
  visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; }
.nav--wide .nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.5rem; height: .5rem; }
.nav--wide .has-sub:hover > .nav__sub, .nav--wide .has-sub:focus-within > .nav__sub { visibility: visible; opacity: 1; transform: none; }
.nav--wide .nav__sub a { display: block; padding: .55rem .9rem; font-weight: 500; border-radius: var(--radius-s); }
.nav--wide .nav__sub a:hover { background: var(--sky-50); }
.nav--wide .nav__cta { margin-left: .6rem; }

/* narrow nav: <details> disclosure */
/* pt70: the wide nav only shows when it fits beside the bigger logo on one line (it wrapped at 1025-1170px before) */
@media (max-width: 64rem) { .topbar__hours { display: none !important; } }
@media (max-width: 74.5rem) {
  .nav--wide { display: none; }
  .nav--narrow { display: block; }
  .nav--narrow summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--ink); background: var(--sky-50); border-radius: 999px; padding: .55rem 1.1rem; }
  .nav--narrow summary::-webkit-details-marker { display: none; }
  .nav--narrow summary::before { content: "☰ "; }
  .nav--narrow details[open] summary::before { content: "✕ "; }
  .nav--narrow .nav__list { position: absolute; left: .75rem; right: .75rem; top: calc(100% + .25rem); background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow-lift); padding: .75rem 1.25rem 1.25rem; z-index: 60; max-height: 80vh; overflow: auto; }
  .nav--narrow .nav__list a { display: block; padding: .7rem .25rem; border-bottom: 1px solid var(--line); }
  .nav--narrow .nav__list a[aria-current="page"], .nav--narrow .nav__list a.is-section { background: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
  .nav--narrow .nav__sub { list-style: none; padding: 0 0 0 1rem; margin: 0; }
  .nav--narrow .nav__sub a { font-weight: 500; }
  .nav--narrow .nav__cta { padding-top: 1rem; }
  .nav--narrow .nav__cta a { display: inline-flex; border: 0; padding: .7rem 1.3rem; }
  .brand img { height: 48px; }
}
@media (max-width: 30rem) { .brand img { height: clamp(38px, 11vw, 46px); } }

/* hero: soft sky wash, blobs, organic photo frame, wave into the page */
.hero { position: relative; overflow: hidden; background: var(--sky-50); padding-bottom: var(--wave); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--wave); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23FBF7F1' d='M0 34C180 6 360 6 540 22s360 36 540 24 270-30 360-26V60H0Z'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%; }
.hero__blob { width: 34rem; height: 34rem; right: -10rem; top: -12rem; color: var(--sky); opacity: .16; }
.hero__blob--b { width: 12rem; height: 12rem; left: -4rem; right: auto; top: auto; bottom: 1rem; color: var(--apricot); opacity: .28; }
.hero__inner { position: relative; z-index: 1; display: grid; gap: 2.5rem; padding-top: 3rem; padding-bottom: 1.5rem; align-items: center; }
.hero--image .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.hero__media { position: relative; padding: 1rem; }
.hero__media::before { content: ""; position: absolute; inset: 2.25rem -0.75rem -0.75rem 2.25rem; background: var(--sand); border-radius: var(--radius-l, 1.75rem); }
.hero__media::after { content: none; }
.hero__media img { position: relative; display: block; width: 100%; max-height: 28rem; object-fit: cover; border-radius: var(--radius-l, 1.75rem); box-shadow: var(--shadow-lift); }
.eyebrow { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: .95rem; letter-spacing: .04em; color: var(--blue-deep); margin-bottom: .75rem; }
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; border-radius: 2px; background: var(--apricot); }
.lead { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); color: var(--text); max-width: 40rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.promise { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 0; }
.promise li { font-weight: 700; color: var(--ink); padding: .1rem 1.1rem .55rem; border-left: 1px solid var(--line); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7.5C22 3 45 2.5 62 4.5s28 2.5 36-1' fill='none' stroke='%23FFB27A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 1.1rem 100% / 3.2rem .5rem no-repeat; }
.promise li:first-child { border-left: 0; padding-left: 0; background-position: 0 100%; }
.faces { display: flex; align-items: center; gap: .9rem; margin: 1.75rem 0 0; }
.faces__list { list-style: none; display: flex; padding: 0; margin: 0; }
.faces__list li + li { margin-left: -.8rem; }
.faces__list img { display: block; width: 3.25rem; height: 3.25rem; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 4px 10px -4px rgb(11 53 80 / .4); background: var(--white); }
.faces p { margin: 0; font-size: 1rem; line-height: 1.4; max-width: 22rem; }
@media (max-width: 52rem) {
  .hero--image .hero__inner { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 2rem; }
  .hero__media { max-width: 34rem; }
  .hero__blob { width: 22rem; height: 22rem; right: -9rem; top: -8rem; }
}

.crumbs ol { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; font-size: .95rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; padding: 0 .5rem; }
.notice { padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--sky-50); margin: 1.5rem 0; border: 2px solid var(--sky-100); }
.notice--draft { background: var(--warn-bg); border-color: var(--warn-line); border-style: dashed; }

/* content + bands with wavy edges */
.content { padding-top: 2.5rem; padding-bottom: 3.5rem; }
.content--blocks { padding: 0; }
.section { padding-top: 3rem; padding-bottom: 2rem; }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose li { margin-bottom: .4em; }
.prose img { border-radius: var(--radius); display: block; margin: 1.75rem 0; box-shadow: var(--shadow); }
.prose table { border-collapse: separate; border-spacing: 0; width: 100%; margin: 1.5rem 0; background: var(--white); border-radius: var(--radius-s); overflow: hidden; box-shadow: var(--shadow); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: .6rem .85rem; text-align: left; vertical-align: top; }
.prose th { background: var(--sky-50); color: var(--ink); }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.5rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-left: 6px solid var(--sky); }
.content--blocks .prose { max-width: var(--wrap); }
.content--blocks .prose > * { max-width: 46rem; }
.band { padding: 4.5rem 0; position: relative; }
.band > .wrap { position: relative; z-index: 1; }
.band--tint, .band--sand, .band--spotlight { margin: var(--wave) 0; }
.band--tint { background: var(--sky-50); }
.band--sand { background: var(--sand); }
.band--tint::before, .band--sand::before, .band--spotlight::before,
.band--tint::after, .band--sand::after, .band--spotlight::after { content: ""; position: absolute; left: 0; right: 0; height: var(--wave); background-repeat: no-repeat; background-size: 100% 100%; pointer-events: none; }
.band--tint::before, .band--sand::before, .band--spotlight::before { top: calc(var(--wave) * -1 + 1px); }
.band--tint::after, .band--sand::after, .band--spotlight::after { bottom: calc(var(--wave) * -1 + 1px); }
.band--tint::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23EEF8FF' d='M0 34C180 6 360 6 540 22s360 36 540 24 270-30 360-26V60H0Z'/%3E%3C/svg%3E"); }
.band--tint::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23EEF8FF' transform='matrix(1 0 0 -1 0 60)' d='M0 34C180 6 360 6 540 22s360 36 540 24 270-30 360-26V60H0Z'/%3E%3C/svg%3E"); }
.band--sand::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23F5EDE2' d='M0 34C180 6 360 6 540 22s360 36 540 24 270-30 360-26V60H0Z'/%3E%3C/svg%3E"); }
.band--sand::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23F5EDE2' transform='matrix(1 0 0 -1 0 60)' d='M0 34C180 6 360 6 540 22s360 36 540 24 270-30 360-26V60H0Z'/%3E%3C/svg%3E"); }
.band--spotlight::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%230B3550' d='M0 34C180 6 360 6 540 22s360 36 540 24 270-30 360-26V60H0Z'/%3E%3C/svg%3E"); }
.band--spotlight::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%230B3550' transform='matrix(1 0 0 -1 0 60)' d='M0 34C180 6 360 6 540 22s360 36 540 24 270-30 360-26V60H0Z'/%3E%3C/svg%3E"); }
/* two coloured bands in a row: one wave between them, no cream gap */
.band--tint:has(+ .band--tint, + .band--sand, + .band--spotlight),
.band--sand:has(+ .band--tint, + .band--sand, + .band--spotlight),
.band--spotlight:has(+ .band--tint, + .band--sand, + .band--spotlight) { margin-bottom: 0; }
.band--tint:has(+ .band--tint, + .band--sand, + .band--spotlight)::after,
.band--sand:has(+ .band--tint, + .band--sand, + .band--spotlight)::after,
.band--spotlight:has(+ .band--tint, + .band--sand, + .band--spotlight)::after { display: none; }
.band--tint + .band--tint { margin-top: 0; padding-top: 1rem; }
.band--tint + .band--tint::before { display: none; }
.band--tint + .band--sand::before, .band--tint + .band--spotlight::before { background-color: var(--sky-50); }
.band--sand + .band--tint::before, .band--sand + .band--spotlight::before { background-color: var(--sand); }
.band--spotlight + .band--tint::before, .band--spotlight + .band--sand::before { background-color: var(--ink); }
.band--tint + .band--sand, .band--tint + .band--spotlight, .band--sand + .band--tint, .band--sand + .band--spotlight,
.band--spotlight + .band--tint, .band--spotlight + .band--sand { margin-top: var(--wave); }
.section-intro { max-width: 46rem; font-size: 1.2rem; color: var(--muted); margin-bottom: 2rem; }
.band h2 { max-width: 40rem; }

/* cards: soft, rounded, lifted - not a grid of boxes */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr)); }
.card { background: var(--white); border-radius: var(--radius); padding: 1.75rem; position: relative; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:has(h3 a):hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }   /* whole card clickable */
.card:hover h3 a, .card:focus-within h3 a { color: var(--blue-deep); text-decoration: underline; }
.card:focus-within { outline: 3px solid var(--focus-c); outline-offset: 3px; }
.card h3 a:focus-visible { outline: none; }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 4.5rem; height: 4.5rem; object-fit: contain; padding: .85rem; margin-bottom: 1rem; background: var(--sky-50); border-radius: var(--blob); }
.cards--services .card:nth-child(3n+2) .card__icon { border-radius: 46% 54% 42% 58% / 56% 44% 56% 44%; background: var(--apricot-soft); }
.cards--services .card:nth-child(3n) .card__icon { border-radius: 50%; }
.card--plain { background: var(--white); }
.cards--why .card { padding-left: 4.4rem; }
.cards--why .card::before { content: ""; position: absolute; left: 1.4rem; top: 1.75rem; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--sky-100); }
.cards--why .card::after { content: ""; position: absolute; left: 1.85rem; top: 2.2rem; width: 1.2rem; height: 1.2rem; background: var(--blue-deep); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.cards--features { grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
/* pt69: sector grids get a column count that divides the number of cards (no orphan gaps) */
.cards--3up, .cards--4up { grid-template-columns: 1fr; }
@media (min-width: 40rem) { .cards--3up, .cards--4up { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards--3up { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 72rem) { .cards--4up { grid-template-columns: repeat(4, 1fr); } }
.card ul { padding-left: 1.1rem; margin-bottom: 0; }
.band--tint .card, .band--sand .card { box-shadow: 0 1px 2px rgb(11 53 80 / .05), 0 16px 30px -18px rgb(11 53 80 / .28); }


.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 3rem; height: 3rem; margin-bottom: .9rem; border-radius: var(--blob);
  background: var(--apricot-soft); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.steps li:nth-child(even)::before { background: var(--sky-100); }
.steps h3 { margin-bottom: .3rem; font-size: 1.15rem; }
.steps p { margin: 0; }

.gallery { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); }
.gallery img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--white); border-radius: var(--radius); padding: .75rem; box-shadow: var(--shadow); }

/* testimonials + reviews: speech-bubble cards */
.quotes, .reviews { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); margin-bottom: 1.75rem; }
.quote, .review { margin: 0; background: var(--white); border-radius: var(--radius) var(--radius) var(--radius) 6px; padding: 1.75rem; display: flex; flex-direction: column; box-shadow: var(--shadow); position: relative; }
.quote::before { content: "“"; position: absolute; right: 1.25rem; top: -.4rem; font-family: var(--font-head); font-size: 5.5rem; line-height: 1; color: var(--sky); opacity: .45; }
.quote blockquote, .review blockquote { margin: 0 0 1rem; flex: 1; }
.quote__headline { font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; font-size: 1.3rem; line-height: 1.3; color: var(--ink); }
.quote figcaption, .review figcaption { font-size: 1rem; color: var(--muted); }
.stars { color: #9A5B00; font-size: 1.3rem; letter-spacing: .1em; margin-bottom: .5rem; }

/* people / team faces */
.people { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
@media (max-width: 56rem) { .people { grid-template-columns: 1fr; } }
.people__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.25rem 1rem; justify-content: center; }
.people__list li { width: 7.5rem; text-align: center; line-height: 1.3; }
.people__list li:nth-child(odd) { transform: translateY(.75rem); }
.people__list img { display: block; width: 6.5rem; height: 6.5rem; margin: 0 auto .5rem; border-radius: 50%; background: var(--white); border: 4px solid var(--white); box-shadow: var(--shadow); }
.people__list li:nth-child(3n+1) img { outline: 3px solid var(--sky-100); }
.people__list li:nth-child(3n+2) img { outline: 3px solid var(--apricot-soft); }
.people__name { display: block; font-weight: 700; color: var(--ink); }
.people__role { display: block; font-size: .9rem; color: var(--muted); }

/* CTA: a warm, rounded panel */
.cta { padding: 1rem 0 4.5rem; }
.cta__inner { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 1.75rem 2.5rem; align-items: center; justify-content: space-between;
  background: var(--ink); color: var(--white); border-radius: var(--radius-l); padding: 3rem clamp(1.5rem, 4vw, 3.5rem); box-shadow: var(--shadow-lift); max-width: calc(var(--wrap) - 3rem); }
.cta__inner::before { content: ""; position: absolute; width: 22rem; height: 22rem; right: -6rem; top: -9rem; background: var(--sky); opacity: .22; border-radius: 42% 58% 60% 40% / 52% 40% 60% 48%; }
.cta__inner::after { content: none; }
.cta__inner > * { position: relative; z-index: 1; }
.cta h2 { color: var(--white); }
.cta__inner > div { max-width: 40rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.cta a:not(.btn) { color: var(--white); }
.cta .faces { margin-top: 1.25rem; }
.cta .faces__list img { border-color: var(--ink); }
.cta .faces p { color: #DCE9F3; }
.cta, .band--spotlight, .site-footer { --focus-c: #FFC48C; }
@media (max-width: 40rem) { .cta .wrap.cta__inner { margin: 0 .75rem; } }

/* remote support */
.remote { background: var(--white); border-radius: var(--radius); padding: 1.75rem; margin: 1.5rem 0; box-shadow: var(--shadow); border-left: 6px solid var(--sky); }

/* team page */
.team { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); }
.member { border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); padding: 2rem 1.75rem 1.5rem; text-align: center; scroll-margin-top: 1rem; }
.member img { display: block; width: 9.5rem; height: 9.5rem; margin: 0 auto 1.1rem; border-radius: 50%; object-fit: cover; border: 5px solid var(--white); outline: 4px solid var(--sky-100); background: var(--white); }
.member:nth-child(even) img { outline-color: var(--apricot-soft); }
.member > div { text-align: left; }
.member h2 { font-size: 1.6rem; margin-bottom: .1rem; text-align: center; }
.member__role { color: var(--blue-deep); font-weight: 700; text-align: center; }

/* blog */
.cat-filter ul { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .35rem 0; }
.cat-filter li + li { border-left: 1px solid var(--line); }
.cat-filter a { display: inline-block; padding: .25rem .9rem; font-size: 1rem; }
.cat-filter a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--apricot); text-decoration-thickness: 3px; text-underline-offset: .4em; }
.cat-filter span { color: inherit; opacity: .85; }
.post-list { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.post-card { border-radius: var(--radius); overflow: hidden; background: var(--white); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.post-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--sky-50); }
.post-card > div { padding: 1.1rem 1.35rem 1.4rem; }
.post-card h3 { font-size: 1.15rem; }
.post-card h3 a { color: var(--ink); }
.post-card p:last-child { margin: 0; font-size: 1rem; color: var(--muted); }
.meta { font-size: .95rem; color: var(--muted); margin-bottom: .4rem; }
.post__header { position: relative; background: linear-gradient(180deg, var(--sky-50), var(--cream)); padding: 2.5rem 0 calc(var(--wave) + 1rem); }
.post__header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--wave); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23FBF7F1' d='M0 34C180 6 360 6 540 22s360 36 540 24 270-30 360-26V60H0Z'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%; }
.post__image { display: block; border-radius: var(--radius); margin: 1rem 0 2rem; width: 100%; box-shadow: var(--shadow); }
.post .prose { padding-bottom: 2rem; }
.resource__cover { float: right; max-width: 16rem; margin: 0 0 1.5rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 40rem) { .resource__cover { float: none; margin: 0 0 1.5rem; } }

/* contact + form */
.contact { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
@media (max-width: 52rem) { .contact { grid-template-columns: 1fr; } }
.contact__details h3 { margin: 1.35rem 0 .3rem; font-size: 1.1rem; }
.contact__form { background: var(--white); border-radius: var(--radius-l); padding: clamp(1.5rem, 3vw, 2.5rem); scroll-margin-top: 1rem; box-shadow: var(--shadow-lift); }
.hours { display: grid; grid-template-columns: max-content 1fr; gap: .2rem 1rem; }
.hours dd { margin: 0; }
.field { margin: 0 0 1.15rem; border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: .35rem; color: var(--ink); }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--white); padding: .7rem .9rem; border: 2px solid #6B7A8A; border-radius: var(--radius-s); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--blue); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.checks label { display: inline; font-weight: 400; color: var(--text); }
.checks input { width: 1.2rem; height: 1.2rem; vertical-align: -.15em; accent-color: var(--blue); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.site-footer { position: relative; background: var(--ink); color: #DCE9F3; margin-top: var(--wave); padding-top: 2.5rem; font-size: 1rem; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--wave) * -1 + 1px); height: var(--wave); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%230B3550' d='M0 34C180 6 360 6 540 22s360 36 540 24 270-30 360-26V60H0Z'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.site-footer a { color: var(--white); }
.site-footer h2 { color: var(--white); font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.footer__logo { height: 48px; width: auto; margin-bottom: 1rem; }
.footer__legal { border-top: 1px solid var(--ink-2); padding-top: 1.25rem; padding-bottom: 1.75rem; margin-top: 1rem; }
.footer__legal p { margin: 0; color: #DCE9F3; }
.footer__legal p + p { margin-top: .5rem; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--white); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.linkbtn:hover { text-decoration-thickness: 2px; }

/* facts ("At a glance"), FAQ, good-fit lists, failover spotlight */
.facts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); margin: 0; }
.facts > div { border-radius: var(--radius); padding: 1.15rem 1.4rem; background: var(--white); box-shadow: var(--shadow); position: relative; padding-left: 3.2rem; }
.facts > div::before { content: ""; position: absolute; left: 1.25rem; top: 1.45rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px var(--sky-50); }
.facts > div:nth-child(3n+2)::before { background: var(--apricot); box-shadow: 0 0 0 4px var(--apricot-soft); }
.facts dt { font-weight: 700; color: var(--ink); margin-bottom: .25rem; }
.facts dd { margin: 0; }
.faq { max-width: 50rem; display: grid; gap: 1rem; }
.faq h3 { margin: 0; font-size: 1.15rem; background: var(--white); border-radius: var(--radius) var(--radius) 0 0; padding: 1.25rem 1.5rem .25rem; }
.faq p { margin: -1rem 0 0; background: var(--white); border-radius: 0 0 var(--radius) var(--radius); padding: .25rem 1.5rem 1.35rem; box-shadow: 0 16px 24px -22px rgb(11 53 80 / .45); }
.fit { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); margin-bottom: 1.25rem; }
.fit__col { background: var(--white); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.fit__col--good { background: var(--sky-50); box-shadow: none; }
.fit__col--not { background: var(--sand); box-shadow: none; }
.fit__col ul { list-style: none; padding: 0; margin: 0; }
.fit__col li { margin-bottom: .6rem; padding-left: 2rem; position: relative; }
.fit__col li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--white); }
.fit__col li::after { content: ""; position: absolute; left: .3rem; top: .5rem; width: .75rem; height: .75rem; background: var(--blue-deep); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.fit__col--not li::after { background: var(--muted); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }
.band--spotlight { background: var(--ink); color: var(--white); overflow-x: clip; }
html { overflow-x: clip; }
.band--spotlight .deco { width: 26rem; height: 26rem; right: -6rem; top: -4rem; color: var(--sky); opacity: .14; }
.band--spotlight h2 { color: var(--white); }
.band--spotlight .eyebrow { color: #DCE9F3; }
.band--spotlight a:not(.btn) { color: var(--white); }
.band--spotlight .btn { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: none; }
.band--spotlight .btn:hover { background: var(--sky-50); color: var(--ink); }
.band--spotlight .btn--ghost { background: transparent; color: var(--white); }
.band--spotlight .btn--ghost:hover { background: var(--white); color: var(--ink); }
.spotlight { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 52rem) { .spotlight { grid-template-columns: 1fr; } }
.spotlight__points { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.spotlight__points li { background: var(--ink-2); border-radius: var(--radius); padding: 1.15rem 1.35rem 1.15rem 3.4rem; position: relative; }
.spotlight__points li::before { content: ""; position: absolute; left: 1.2rem; top: 1.3rem; width: 1.3rem; height: 1.3rem; background: var(--sky); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.spotlight__points strong { display: block; }

/* cookie consent banner (first-party, see /js/consent.js) */
.consent { position: fixed; z-index: 150; left: 1rem; right: 1rem; bottom: 1rem; margin: 0 auto; max-width: 46rem; background: var(--white); color: var(--text);
  border-radius: var(--radius); box-shadow: 0 24px 60px -20px rgb(11 53 80 / .55), 0 0 0 1px var(--line); padding: 1.35rem 1.5rem; }
.consent[hidden] { display: none; }
.consent__title { font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; font-size: 1.35rem; color: var(--ink); line-height: 1.2; margin-bottom: .4rem !important; }
.consent p { margin-bottom: .9rem; font-size: 1.02rem; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.consent__actions .btn { min-width: 9rem; justify-content: center; }
body.has-consent-banner { padding-bottom: var(--consent-h, 0px); }
/* pt48: wide screens - a slim full-width strip: text on the left, Accept / Reject side by side on the right */
@media (min-width: 52.01rem) {
  .consent { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; display: flex; align-items: center; gap: 1.25rem;
    padding: .7rem max(1.5rem, calc((100vw - 76rem) / 2)); box-shadow: 0 -6px 18px -8px rgb(11 53 80 / .35); border-top: 1px solid var(--line); }
  .consent__title { font-size: 1.05rem; margin: 0 0 .15rem !important; }
  .consent > p:not(.consent__actions) { margin: 0; font-size: .95rem; }
  .consent > .consent__title + p { flex: 1 1 auto; }
  .consent__title { flex: 0 0 auto; }
  .consent__actions { flex: 0 0 auto; flex-wrap: nowrap; }
  .consent__actions .btn { min-width: 8rem; }
}

/* wide layouts: even rows for the fixed-size card sets */
@media (min-width: 70rem) { .cards--services { grid-template-columns: repeat(5, minmax(0, 1fr)); } .cards--why, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cards--services .card { padding: 1.5rem 1.35rem; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .card:has(h3 a):hover, .btn:hover { transform: none; } }
@media (forced-colors: active) { .card, .member, .facts > div, .fit__col, .quote, .review, .consent { border: 1px solid CanvasText; } .deco, .hero__media::before, .hero__media::after { display: none; } }
@media print { .site-header, .cta, .site-footer, .contact__form, .consent, .deco { display: none; } .band--tint::before, .band--tint::after, .band--sand::before, .band--sand::after, .band--spotlight::before, .band--spotlight::after { display: none; } }
/* adjacent bands: close the 1px seam */
.band--tint + .band--sand::before, .band--tint + .band--spotlight::before, .band--sand + .band--tint::before, .band--sand + .band--spotlight::before, .band--spotlight + .band--tint::before, .band--spotlight + .band--sand::before { top: calc(var(--wave) * -1 - 1px); height: calc(var(--wave) + 2px); }
/* team faces: tidy grid */
.people__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr)); align-items: start; justify-items: center; }
.people__list li:nth-child(odd) { transform: none; }
/* bands that sit inside a narrow prose column (page layout): rounded panels, no waves */
.prose .band { margin: 2.5rem 0; padding: 2.25rem clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--radius-l); }
.prose .band::before, .prose .band::after { display: none; }
.prose .band > .wrap { padding: 0; max-width: none; }
.prose .band + .band { margin-top: 1.5rem; padding-top: 2.25rem; }

/* "people you'll deal with" strip on service and sector pages */
.crew__inner { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; background: var(--sand, #F5EDE2); border-radius: var(--radius-l, 1.75rem); padding: clamp(1.5rem, 4vw, 2.5rem); }
@media (max-width: 52rem) { .crew__inner { grid-template-columns: 1fr; } }
.crew__text h2 { margin-top: .25rem; }
.crew__text p:last-child { margin-bottom: 0; }
.crew__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: 1.25rem 1rem; justify-items: center; align-items: start; }
.crew__list li { text-align: center; line-height: 1.3; max-width: 9rem; }
.crew__list img { display: block; width: 5.5rem; height: 5.5rem; margin: 0 auto .5rem; border-radius: 50%; background: var(--white); border: 4px solid var(--white); box-shadow: var(--shadow); }
.crew__list li:nth-child(2n) img { outline: 3px solid var(--apricot-soft); }
.crew__list li:nth-child(2n+1) img { outline: 3px solid var(--sky-100); }
.crew__name { display: block; font-weight: 700; color: var(--ink); }
.crew__role { display: block; font-size: .9rem; color: var(--muted); }

/* portrait hero photo (fixed wireless) */
.hero__media--portrait { justify-self: center; }
.hero__media--portrait img { width: auto; height: auto; max-width: 100%; max-height: 30rem; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 52rem) { .hero__media--portrait img { max-height: 22rem; } }
/* text beside a rounded photo */
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) 15rem; gap: 1.75rem; align-items: start; }
.media-split > div > p:first-child { margin-top: 0; }
.media-split__img img { display: block; width: 100%; height: auto; border-radius: var(--radius-l, 1.75rem); box-shadow: var(--shadow-lift); }
@media (max-width: 40rem) { .media-split { grid-template-columns: 1fr; gap: 1rem; } .media-split__img { width: 100%; max-width: 16rem; justify-self: center; } }
/* small rounded photo on a spotlight point */
.spotlight__points li.has-thumb { padding-left: 5rem; }
.spotlight__points li.has-thumb::before { display: none; }
.spotlight__thumb { position: absolute; left: 1.1rem; top: 1.1rem; width: 2.9rem; height: 2.9rem; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--sky); }

/* ---- key points ("marks"): editorial numerals and short lines, no pills or icons ---- */
.marks { list-style: none; padding: 0; margin: 2.5rem 0 .5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(11.5rem, 1fr)); gap: 1.75rem 0; align-items: start; }
.marks__item { padding: .15rem 1.6rem .15rem 1.4rem; border-left: 1px solid var(--line); color: var(--ink); font-weight: 600; font-size: 1.08rem; line-height: 1.35; }
.marks__item:first-child { border-left-color: transparent; padding-left: 0; }
.marks__item:nth-child(even) { margin-top: 1.4rem; }
.marks__item:nth-child(3n) { padding-right: 2.4rem; }
.marks__pre { display: block; font-size: .95rem; font-weight: 600; color: var(--muted); margin-bottom: .1rem; }
.marks__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 2rem + 2.2vw, 3.7rem); line-height: .95; letter-spacing: -.02em; color: var(--blue); margin-bottom: .35rem; font-variant-numeric: lining-nums; }
.marks__item--stat:nth-of-type(odd) .marks__num { color: var(--ink); }
.marks__label { display: block; font-weight: 600; font-size: 1.02rem; color: var(--text); max-width: 14rem; }
.marks__text { display: inline-block; padding-bottom: .6rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7.5C22 3 45 2.5 62 4.5s28 2.5 36-1' fill='none' stroke='%23FFB27A' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") 0 100% / 3.6rem .55rem no-repeat; max-width: 15rem; }
.marks__item--link { border-left: 3px solid var(--blue); }
.marks__item--link:first-child { padding-left: 1.4rem; border-left-color: var(--blue); }
.marks__item--link a, .marks__label a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; }
.marks__item--link a:hover, .marks__label a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
@media (max-width: 40rem) {
  .marks { grid-template-columns: 1fr 1fr; gap: 1.5rem 0; }
  .marks__item, .marks__item:first-child { padding: 0 1rem 0 1rem; border-left: 1px solid var(--line); }
  .marks__item:nth-child(odd) { border-left-color: transparent; padding-left: 0; }
  .marks__item--link, .marks__item--link:nth-child(odd) { border-left: 3px solid var(--blue); padding-left: 1rem; }
  .marks__item:nth-child(even) { margin-top: 0; }
  .marks__item:nth-child(4n+2), .marks__item:nth-child(4n+3) { margin-top: .9rem; }
}
@media (forced-colors: active) { .marks__item--link { border-left-color: LinkText; } }

/* ---- testimonials: equal cards, aligned headlines, clamped long quotes (see /js/quotes.js) ---- */
@supports (grid-template-rows: subgrid) {
  .quotes { grid-auto-rows: auto; }
  .quote { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .quote blockquote { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; margin: 0; }
  .quote figcaption { grid-row: 4; align-self: end; }
  .quote .quote__more { grid-row: 3; }
}
.quote__headline { margin: 0 0 .85rem; }
.quote__body p:first-child { margin-top: 0; }
.quote__body p:last-child { margin-bottom: 0; }
.quote__body.is-clamped { max-height: var(--clamp, 11.5em); overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.quote__body.is-opening { transition: max-height .35s ease; -webkit-mask-image: none; mask-image: none; }
.quote__more { justify-self: start; align-self: start; margin: .75rem 0 1rem; padding: .35rem 0; background: none; border: 0; font: inherit; font-weight: 700; color: var(--blue);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; cursor: pointer; }
.quote__more:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
.quote__more[hidden] { display: none; }
.quote figcaption { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
@media (prefers-reduced-motion: reduce) { .quote__body.is-opening { transition: none; } }

/* ---- team faces inside page copy ---- */
.person img { display: block; border-radius: 50%; background: var(--white); object-fit: cover; }
.person p { margin: 0; }
.person__name { display: block; font-weight: 700; color: var(--ink); }
.person__role { display: block; font-size: .92rem; color: var(--muted); margin-bottom: .35rem; }
.person__text { display: block; }
/* note: floats beside the paragraph it relates to */
.person--note { float: right; width: 14.5rem; margin: .35rem 0 1.25rem 2rem; padding-top: 1rem; border-top: 2px solid var(--apricot); }
.person--note img { width: 4.25rem; height: 4.25rem; margin-bottom: .65rem; box-shadow: 0 0 0 3px var(--sky-100); }
.person--note .person__text { font-size: 1rem; line-height: 1.45; }
.prose h2 { clear: both; }
/* pull: a wider line set off with a thin rule */
.person--pull { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); gap: 1.25rem; align-items: center; margin: 2rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: 3px solid var(--apricot); }
.person--pull img { width: 5.25rem; height: 5.25rem; box-shadow: 0 0 0 3px var(--apricot-soft); }
.person--pull .person__text { font-family: var(--font-head); font-weight: 700; letter-spacing: -.02em; font-size: 1.22rem; line-height: 1.4; color: var(--ink); }
/* talk: small face beside a call to action */
.person--talk { display: flex; align-items: center; gap: .9rem; margin: 1.5rem 0; }
.person--talk img { width: 3.4rem; height: 3.4rem; flex: none; box-shadow: 0 0 0 3px var(--sky-100); }
.person--talk p { font-weight: 600; color: var(--ink); max-width: 36rem; }
.contact__details .person--talk { margin: .5rem 0 1.25rem; }
.contact__details .person--talk p { font-weight: 400; color: var(--text); }
/* FAQ owner */
.faq .faq__a--who { border-radius: 0; box-shadow: none; padding-bottom: .9rem; }
.faq .faq__who { display: flex; align-items: center; gap: .7rem; margin: -1rem 0 0; padding: .85rem 1.5rem 1.2rem; font-size: .95rem; color: var(--muted); background: var(--white); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 16px 24px -22px rgb(11 53 80 / .45); background-image: linear-gradient(var(--line), var(--line)); background-size: calc(100% - 3rem) 1px; background-position: 1.5rem 0; background-repeat: no-repeat; }
.faq__who img { width: 2.5rem; height: 2.5rem; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px var(--sky-100); }
@media (max-width: 40rem) {
  .person--note { float: none; width: auto; display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: .9rem; align-items: start; margin: 1.5rem 0; }
  .person--note img { width: 4rem; height: 4rem; margin: 0; }
  .person--pull { grid-template-columns: 4rem minmax(0, 1fr); gap: .9rem; }
  .person--pull img { width: 4rem; height: 4rem; }
  .person--pull .person__text { font-size: 1.1rem; }
}

/* ---- pt30: fewer capsule and icon-in-circle shapes ---- */
.nav--wide .nav__list > li > a { border-radius: 6px; }
.nav--wide .nav__list > li > a:hover { background: none; color: var(--blue-deep); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .45em; }
.nav .btn:hover { text-decoration: none; }
.card__icon, .cards--services .card:nth-child(3n+2) .card__icon, .cards--services .card:nth-child(3n) .card__icon { width: 3.25rem; height: 3.25rem; padding: 0; background: none; border-radius: 0; margin-bottom: .9rem; }
.cards--why .card::before { width: 1.6rem; height: 2px; border-radius: 0; top: 1.25rem; left: 1.4rem; background: var(--apricot); }
.cards--why .card::after { left: 1.6rem; top: 1.95rem; }
.steps li::before, .steps li:nth-child(even)::before { display: block; width: auto; height: auto; place-items: initial; border-radius: 0; background: none; color: var(--blue); font-size: 2.6rem; line-height: 1; margin-bottom: .6rem; font-weight: 600; }
.steps li:nth-child(even)::before { color: var(--ink); }

/* pt34: pharmacy vendor map - a plain, accessible list laid out around a "network we manage" panel */
.vendor-map { margin: 1.5rem 0; padding: 1.25rem; border: 2px solid var(--sky-100); border-radius: var(--radius); background: var(--sky-50); }
.vendor-map__title { font-weight: 700; color: var(--ink); margin-bottom: .75rem; }
.vendor-map ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.vendor-map li { margin: 0; padding: .7rem .85rem; background: #fff; border-left: 4px solid var(--blue); border-radius: 4px; line-height: 1.4; }
.vendor-map li strong { display: block; color: var(--ink); }

/* ---- pt46: page-layout bands use the full content width ----
   page.tt puts the whole markdown body in .prose (46rem, a readable measure). Bands inside it (cards, quotes,
   reviews, team grids) were held to that measure, so 3-column grids wrapped after the second column.
   The content wrap is now a size container and bands inside .prose take its full width; text keeps 46rem. */
.wrap.content { container-type: inline-size; }
.wrap.content > .prose > .band, .wrap.content > .prose > section { width: 100cqw; max-width: none; clear: both; box-sizing: border-box; }
.wrap.content > .prose > .band h2, .wrap.content > .prose > .band > .wrap > p { max-width: 46rem; }

/* ---- pt46: conversion ---- */
/* sticky Call / Get a quote bar on small screens */
.callbar { display: none; }
@media (max-width: 52rem) {
  .callbar { display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
    padding: .6rem max(.75rem, env(safe-area-inset-right)) max(.6rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
    background: var(--white); box-shadow: 0 -6px 18px -8px rgb(11 53 80 / .35); border-top: 1px solid var(--line); }
  .callbar__btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 2.9rem; padding: .55rem .9rem;
    border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--blue); }
  .callbar__btn--call { background: var(--white); color: var(--ink); }
  .callbar__btn--quote { background: var(--blue); color: var(--white); }
  .callbar__btn .icon { width: 1.1em; height: 1.1em; }
  .callbar__btn:focus-visible { outline: 3px solid var(--focus-c, var(--ink)); outline-offset: 2px; }
  /* never cover content or focused elements (WCAG 2.4.11) */
  body.has-callbar { padding-bottom: calc(4.2rem + env(safe-area-inset-bottom)); }
  html:has(body.has-callbar) { scroll-padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
  /* pt48: the cookie banner is a slim strip that sits just above the sticky call bar, so "Get a quote" stays visible */
  .consent { left: 0; right: 0; bottom: 0; max-width: none; border-radius: 0; padding: .45rem max(.75rem, env(safe-area-inset-right)) max(.55rem, env(safe-area-inset-bottom)) max(.75rem, env(safe-area-inset-left));
    box-shadow: 0 -6px 18px -8px rgb(11 53 80 / .35); border-top: 1px solid var(--line); }
  body.has-callbar .consent { bottom: calc(4.5rem + env(safe-area-inset-bottom)); padding-bottom: .5rem; }
  .consent { font-size: .88rem; line-height: 1.35; }
  .consent__title { display: inline; font-size: 1rem; margin: 0 .3rem 0 0 !important; }
  .consent__title + p { display: inline; }
  .consent p { font-size: .88rem; line-height: 1.35; margin-bottom: .3rem; }
  .consent .consent__more { display: none; }
  .consent .consent__short { display: inline; }
  .consent__actions { display: flex; flex-wrap: nowrap; gap: .5rem; margin-top: .45rem; }
  .consent__actions .btn { flex: 1 1 0; min-width: 0; min-height: 2.4rem; padding: .35rem .8rem; font-size: .95rem; }
  body.has-consent-banner.has-callbar { padding-bottom: calc(var(--consent-h, 0px) + 4.5rem + env(safe-area-inset-bottom)); }
}
@media print { .callbar { display: none !important; } }
/* topbar on small screens (pt62, Michael 15 Nov 2026): the "Talk to a real person" phone line and the
   hours / 24x7 line took too much room above the fold, and the sticky Call / Get a quote bar (same
   52rem breakpoint) already covers them. Only the slim Remote support link stays. Desktop unchanged. */
@media (max-width: 52rem) {
  .topbar .topbar__call, .topbar .topbar__hours { display: none !important; }
  .topbar__inner { justify-content: flex-end; padding-top: .3rem; padding-bottom: .3rem; }
  .topbar { font-size: .9rem; }
}
.topbar__hours > span { white-space: nowrap; }
/* CTA band */
.cta__side { display: grid; gap: .6rem; max-width: 30rem; }
.cta__more, .cta__hours { margin: 0; color: #DCE9F3; }
.cta__hours { font-size: .95rem; }
/* inline CTA in long blog posts */
.inline-cta { margin: 2.25rem 0; padding: 1.35rem 1.5rem; background: var(--sky-50); border-left: 6px solid var(--sky); border-radius: var(--radius); }
.inline-cta p { margin: 0 0 .6rem; }
.inline-cta__title { font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.inline-cta__actions { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; margin-bottom: 0 !important; }
/* FAQ next step */
.faq__next { display: block; margin-top: .65rem; }
/* contact page: form first */
.contact { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
@media (max-width: 52rem) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact__formhead { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.contact__formhead h2 { margin: 0; }
.person--form { margin: 0; }
.person--form p { font-weight: 400; color: var(--text); max-width: 22rem; margin: 0; }
.choices { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem 1rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.choices label { display: inline; font-weight: 400; color: var(--text); }
.choices input { width: 1.2rem; height: 1.2rem; vertical-align: -.15em; accent-color: var(--blue); }
.field__hint { margin: -.15rem 0 .4rem; font-size: .95rem; color: var(--muted); }
.field__error { margin: 0 0 .4rem; font-weight: 700; color: var(--error, #A4161A); }
.field input[aria-invalid=true], .field select[aria-invalid=true], .field textarea[aria-invalid=true] { border-color: var(--error, #A4161A); border-width: 2px; }
.form-errors { margin: 0 0 1.5rem; padding: 1rem 1.25rem; border: 2px solid var(--error, #A4161A); border-radius: var(--radius); background: #FFF5F5; }
.form-errors h3 { margin: 0 0 .4rem; color: var(--error, #A4161A); font-size: 1.1rem; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-errors a { color: var(--error, #A4161A); font-weight: 700; }
.form__next { font-size: .95rem; color: var(--muted); margin-bottom: 0; }
.hp--shown { position: static; width: auto; height: auto; overflow: visible; }
/* call back and referral fields only when chosen (browsers without :has() always show them) */
@supports selector(:has(*)) {
  .form .only-callback, .form .only-referral { display: none; }
  .form:has(#r-callback:checked) .only-callback, .form:has(#r-referral:checked) .only-referral,
  .form .only-callback:has([aria-invalid=true]), .form .only-referral:has([aria-invalid=true]) { display: block; }
}
/* four feature cards: 4 across when there is room, otherwise 2 x 2, never 3 + 1 */
.cards--features:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 62rem) { .cards--features:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .cards--features:has(> :nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); } }
/* crew strips with 5 or 6 people: 3 per row instead of 4 + 1 / 4 + 2 */
@media (min-width: 52rem) { .crew__list:has(> :nth-child(5)):not(:has(> :nth-child(7))) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.form-errors--top { margin: 1rem 0 0; padding: .75rem 1rem; }

/* ---- pt52: cookie strip on mobile shows a short, truthful line; desktop keeps the longer one ---- */
.consent .consent__short { display: none; }
@media (max-width: 52rem) {
  .consent .consent__short { display: inline; }
}

/* ---- pt52: very narrow phones (320px) — testimonial/review cards were clipped and the Menu button wrapped ---- */
@media (max-width: 40rem) {
  .quotes, .reviews, .facts, .fit, .team, .steps, .post-list, .cards,
  .gallery, .choices, .vendor-map ul {
    grid-template-columns: minmax(0, 1fr);
  }
  .quote, .review { padding: 1.25rem; }
}
@media (max-width: 24rem) {
  .wrap { padding-left: 1rem; padding-right: 1rem; }
  .header__inner { gap: .5rem; flex-wrap: nowrap; }
  .brand { flex: 0 1 auto; min-width: 0; }
  .nav--narrow { flex: none; }
  .nav--narrow summary { padding: .45rem .8rem; white-space: nowrap; }
}

/* ---- pt53: self-hosted video player, pharmacy teaser, 320px-safe media ---- */
video { max-width: 100%; height: auto; }
.video-player { margin: 0 0 1.75rem; }
.video-player video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  background: #000;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.video-player__fallback { margin: .75rem 0 0; }
.video-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 1.75rem; }
.video-teaser {
  display: grid;
  gap: .75rem;
  margin: 0 0 2rem;
  padding: 1rem;
  max-width: 36rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 0;
}
.video-teaser p { margin: 0; }
.video-teaser__link { position: relative; display: block; min-width: 0; text-decoration: none; }
.video-teaser__link:hover, .video-teaser__link:focus-visible { text-decoration: none; }
.prose .video-teaser img, .video-teaser img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: var(--radius-s);
  box-shadow: none;
}
.video-teaser__play {
  position: absolute;
  left: 50%;
  top: 62%;
  width: 3.25rem;
  height: 3.25rem;
  margin: -1.625rem 0 0 -1.625rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px #fff, 0 8px 20px rgb(11 53 80 / .28);
  pointer-events: none;
}
.video-teaser__play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: .55rem 0 .55rem .9rem;
  border-color: transparent transparent transparent #fff;
  transform: translate(-35%, -50%);
}
.video-teaser__label {
  display: block;
  margin-top: .65rem;
  font-weight: 700;
  color: var(--blue);
}
.video-teaser__link:hover .video-teaser__label,
.video-teaser__link:focus-visible .video-teaser__label { color: var(--blue-deep); text-decoration: underline; }
@media (max-width: 24rem) {
  .video-teaser { padding: .75rem; }
  .video-teaser__play { width: 2.6rem; height: 2.6rem; margin: -1.3rem 0 0 -1.3rem; }
}

/* ---- pt55: two pharmacy video teasers side by side when there is room ---- */
.video-teasers {
  display: grid;
  gap: 1rem;
  margin: 0 0 2rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.video-teasers .video-teaser { margin: 0; max-width: none; }
@media (min-width: 40rem) {
  .video-teasers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- pt62: video teasers play in place with one click (js/video.js swaps the poster link for a player).
   Without JavaScript the link still opens the video page. ---- */
.video-teaser__player { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin: 0; background: #000; border-radius: var(--radius-s); }

/* ---- pt63: home page film card, just below the hero. Text beside the card on wide screens,
   stacked on phones. No video element until the visitor taps play (js/video.js). ---- */
.home-film { display: grid; gap: 1.25rem; align-items: center; margin: 0 0 1rem; min-width: 0; }
.home-film__text h2 { margin-top: 0; }
.home-film__text p { margin-bottom: 0; }
.home-film .video-teaser { margin: 0; max-width: none; }
.content--blocks .prose > .home-film { max-width: none; }
.home-film__text { max-width: 30rem; }
.video-teaser picture { display: block; }
@media (min-width: 52rem) {
  .home-film { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; }
}

/* ---- pt64: a video card in the hero instead of the photo (nursing homes). On phones the card moves up
   to sit straight after the headline and lead, so it shows without scrolling above the sticky call bar. ---- */
.hero__media--video .video-teaser { position: relative; margin: 0; max-width: none; }
.video-teaser--hero .video-teaser__link img { max-height: none; object-fit: contain; box-shadow: none; border-radius: var(--radius-s); }
@media (max-width: 52rem) {
  .hero--video .hero__inner { gap: 0; }
  .hero--video .hero__text { display: contents; }
  .hero--video .hero__text > * { order: 3; }
  .hero--video .hero__text > .crumbs, .hero--video .hero__text > .eyebrow, .hero--video .hero__text > h1 { order: 0; }
  .hero--video .hero__text > .lead { order: 1; }
  .hero--video .hero__media--video { order: 2; padding: 0; margin: 0 0 1.25rem; max-width: none; }
  .hero--video .hero__media--video::before { display: none; }
  .hero--video .hero__media--video .video-teaser { padding: .6rem .6rem .75rem; gap: .5rem; }
  .hero--video .video-teaser__label { margin-top: .5rem; }
}

/* ---- pt66: home hero photo (daylight pharmacy cutaway) with labels pinned ON the picture.
   The picture box always keeps the photo's own 16:9 shape (no cropping inside it), and every label is
   placed at a % of that box, so the pins stay on the same features at every width.
   >= 78rem: the photo fills the hero behind the text (anchored right; the hero may hide part of the street
             on the left), with a soft sky fade on the left for the headline and buttons.
   52-78rem: text first, then the photo full width with the floating labels.
   <  52rem: text, photo with small numbered pins, then the same labels as a numbered list below.
   The labels are real text in one <ul> (read once by screen readers); pins are decorative. ---- */
.hero-photo__frame { position: relative; }
.hero-photo__frame picture, .hero-photo__frame img { display: block; width: 100%; height: auto; }
.hero-labels { list-style: none; margin: 0; padding: 0; counter-reset: hero-label; }
.hero-label { counter-increment: hero-label; }
/* pt68: anchor points, % of Michael's original picture (2752x1536, measured on a 1024x572 copy),
   in the order of hero_photo.labels in home.md */
.hero-label:nth-child(1) { --x: 56.9; --y: 42.8; }  /* comms cabinet where the fibre comes in */
.hero-label:nth-child(2) { --x: 56.2; --y: 13.5; }  /* 5G backup antenna on the brick wall */
.hero-label:nth-child(3) { --x: 53.7; --y: 20.3; }  /* CCTV camera */
.hero-label:nth-child(4) { --x: 91.1; --y: 21.5; }  /* ceiling Wi-Fi point upstairs right */
.hero-label:nth-child(5) { --x: 87.4; --y: 77.6; }  /* solicitor's desk phone and screen */
.hero-label:nth-child(6) { --x: 91.3; --y: 72.2; }  /* door intercom on the pillar by the solicitors' door */
.hero-label__pin { position: absolute; z-index: 1; width: .8rem; height: .8rem; margin: -.4rem 0 0 -.4rem; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue); box-sizing: border-box; box-shadow: 0 0 0 2px rgb(11 53 80 / .35); }
.hero-label__text { font-family: var(--font-head); font-weight: 700; }

@media (min-width: 52.01rem) {
  .hero-labels { position: absolute; inset: 0; z-index: 2; }
  .hero-label { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 0; height: 0; --len: 1.6rem; }
  .hero-label__pin { left: 0; top: 0; }
  .hero-label__pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .9); animation: hero-pin 2.4s ease-out infinite; }
  /* thin leader line from the pin to the pill */
  .hero-label::before { content: ""; position: absolute; background: rgb(255 255 255 / .95); box-shadow: 0 0 0 1px rgb(11 53 80 / .35); }
  .hero-label__text { position: absolute; white-space: nowrap; font-size: .8rem; line-height: 1.2; padding: .4rem .75rem; color: #fff;
    background: rgb(11 53 80 / .86); border-radius: 999px; box-shadow: 0 6px 16px -6px rgb(11 53 80 / .6); }
  /* pt68 directions: 1 down (pill to the right of the line), 2 and 3 right, 4 up, 5 down */
  .hero-label:nth-child(2)::before, .hero-label:nth-child(3)::before { left: 0; top: -1px; width: var(--len); height: 2px; }
  .hero-label:nth-child(2) .hero-label__text, .hero-label:nth-child(3) .hero-label__text { left: var(--len); top: 0; transform: translateY(-50%); }
  .hero-label:nth-child(1)::before, .hero-label:nth-child(5)::before { left: -1px; top: 0; width: 2px; height: var(--len); }
  .hero-label:nth-child(1) .hero-label__text { left: -1.2rem; top: var(--len); }
  .hero-label:nth-child(5) .hero-label__text { left: 0; top: var(--len); transform: translateX(-50%); }
  .hero-label:nth-child(4)::before, .hero-label:nth-child(6)::before { left: -1px; bottom: 0; width: 2px; height: var(--len); }
  .hero-label:nth-child(4) .hero-label__text, .hero-label:nth-child(6) .hero-label__text { left: 0; bottom: var(--len); transform: translateX(-70%); }
}
@keyframes hero-pin { 0% { transform: scale(.6); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
/* pt68: stacked photo (52-78rem): the backup pill points left into the sky so it clears the Wi-Fi pill */
@media (min-width: 52.01rem) and (max-width: 77.99rem) {
  .hero-label:nth-child(2)::before { left: auto; right: 0; }
  .hero-label:nth-child(2) .hero-label__text { left: auto; right: var(--len); }
}
@media (prefers-reduced-motion: reduce) { .hero-label__pin::after { animation: none; opacity: 0; } }

@media (min-width: 78rem) {
  .hero--photo .hero__inner { padding-top: 3.5rem; padding-bottom: 2.5rem; }
  .hero--photo .hero__text { max-width: 33rem; }
  .hero--photo h1 { font-size: clamp(2.3rem, 1.2rem + 2.4vw, 3.2rem); }
  .hero--photo .lead { font-size: 1.15rem; }
  .hero-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
  .hero-photo__frame { position: absolute; top: 0; right: 0; height: 100%; aspect-ratio: 2752 / 1536; }
  .hero-photo__frame picture, .hero-photo__frame img { width: 100%; height: 100%; }
  .hero-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgb(238 248 255 / .97) 0%, rgb(238 248 255 / .95) calc(50% - 10rem), rgb(238 248 255 / .88) calc(50% - 3rem), rgb(238 248 255 / .35) calc(50% + 1rem), rgb(238 248 255 / 0) calc(50% + 5rem)); }
}
@media (max-width: 77.99rem) {
  .hero--photo .hero-photo { position: relative; z-index: 1; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem 1.25rem; }
  .hero--photo .hero-photo__frame img { border-radius: var(--radius-s); box-shadow: var(--shadow); }
}
@media (max-width: 52rem) {
  /* pt67: small numbered badges sitting BESIDE each feature (never on top of it, or on people), no dots
     or leader lines. Each badge is placed from the feature's point (--x/--y, % of the picture) and nudged
     by --bx/--by (px) into a clear patch of wall, ceiling or counter front. The top uses margin-top %
     (a share of the width), so the badge stays on the photo even though the list below makes the frame taller. */
  .hero-label__pin { left: calc(var(--x) * 1% + var(--bx, 0px)); top: 0; margin: calc(var(--y) * .5581% + var(--by, 0px) - 8.5px) 0 0 -8.5px;
    width: 17px; height: 17px; border: 0; background: var(--ink); color: #fff; box-shadow: 0 0 0 1.5px #fff, 0 2px 4px rgb(0 0 0 / .35);
    font: 700 10px/17px var(--font-head); text-align: center; }
  .hero-label__pin::before { content: counter(hero-label); }
  .hero-label:nth-child(1) { --bx: -20px; --by: 0px; }  /* cabinet: on the brick pillar to its left */
  .hero-label:nth-child(2) { --bx: 14px;  --by: 0px; }  /* antenna: on the wall to its right */
  .hero-label:nth-child(3) { --bx: -14px; --by: 0px; }  /* camera: on the wall to its left */
  .hero-label:nth-child(4) { --bx: -14px; --by: 0px; }  /* Wi-Fi point: on the ceiling to its left */
  .hero-label:nth-child(5) { --bx: 0px;   --by: 14px; } /* phone and screen: on the panel below the desk */
  .hero-label:nth-child(6) { --bx: 0px;   --by: -14px; } /* intercom: on the pillar above it */
  .hero-labels { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; margin-top: 1rem; }
  .hero-label__text { display: flex; align-items: flex-start; gap: .5rem; font-size: .82rem; line-height: 1.3; color: var(--ink); }
  .hero-label__text::before { content: counter(hero-label); flex: none; width: 17px; height: 17px; margin-top: .05rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10px; line-height: 17px; text-align: center; }
}
@media (max-width: 23.99rem) { .hero-labels { grid-template-columns: 1fr; gap: .45rem; } }

/* ---- pt71: PSA licence text badge (no PSA logo) ---- */
.licence-badge { display: flex; align-items: center; gap: .9rem; margin: 0 0 2rem; padding: .9rem 1.1rem; background: var(--sky-50); border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: var(--radius-s, .75rem); font-weight: 600; color: var(--ink); max-width: 46rem; }
.licence-badge__mark { flex: none; display: inline-grid; place-items: center; min-width: 3.2rem; height: 3.2rem; padding: 0 .4rem; border-radius: 50%; background: var(--ink); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1; letter-spacing: .04em; }
.licence-badge a { white-space: nowrap; }
.footer__licence { font-size: .9rem; }
.hero__cta-line { margin: 1rem 0 0; font-weight: 700; }
.hero__cta-line a { color: var(--blue-deep); text-decoration-color: var(--apricot); text-decoration-thickness: 3px; text-underline-offset: .3em; }

/* ---- pt75: curated Google reviews (home, phone systems, business broadband) ---- */
.reviews__rating .stars { display: inline; margin: 0 .35rem 0 0; font-size: 1.1rem; }
.reviews__rating a { white-space: nowrap; font-weight: 700; }
.review blockquote { display: flex; flex-direction: column; flex: 0 0 auto; margin-bottom: 0; }
.review .quote__body p { margin: 0 0 .75rem; }
.review .quote__body p:last-child { margin-bottom: 0; }
.review .quote__more { align-self: flex-start; margin: .5rem 0 1rem; }
.review blockquote { padding-bottom: 1rem; }
.review figcaption { margin-top: auto; padding-top: .9rem; position: relative; top: .25rem; border-top: 1px solid var(--line); }
.review figcaption strong { color: var(--ink); }
@media (min-width: 64rem) {
  .reviews--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reviews--5 { display: flex; flex-wrap: wrap; justify-content: center; }
  .reviews--5 > .review { flex: 0 0 calc((100% - 3.5rem) / 3); }
  .reviews--4, .reviews--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.reviews--1 { grid-template-columns: minmax(0, 46rem); }
/* pt75c: review cards inside prose pages (About) must not pick up the prose blockquote box */
.prose .review blockquote { margin: 0; padding: 0 0 1rem; background: none; box-shadow: none; border: 0; border-radius: 0; font-size: inherit; font-style: normal; }
.prose .review blockquote::before, .prose .review blockquote::after { content: none; }
