/* GCLM — site styles. Grey and white, no accent colour. */

@font-face { font-family: "Archivo"; font-weight: 400; font-display: swap; src: url("/assets/fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-display: swap; src: url("/assets/fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-display: swap; src: url("/assets/fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-display: swap; src: url("/assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-display: swap; src: url("/assets/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-display: swap; src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #1C1F22;   /* body text */
  --brand: #55575A; /* logo grey — dark sections and buttons */
  --brand-line: #6E7074;
  --ink-2: #3A3F45;
  --ink-3: #4A5058;   /* smallest grey text — passes 4.5:1 on white and on --mist */
  --line: #D9DBDD;
  --line-2: #B8BCC0;
  --mist: #F2F3F4;
  --photo: #D3D6D9;
  --white: #FFFFFF;
  --on-dark: #D2D5D8;
  --radius: 6px;
  --wrap: 1240px;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--ink-3); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 800; letter-spacing: -0.02em; word-spacing: 0.04em; }
h1, h2 { text-wrap: balance; }
.lead { text-wrap: pretty; }
.display { font-size: clamp(40px, 5.6vw, 62px); line-height: 1.02; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.01em; }
.h3 { font-size: 22px; font-weight: 700; }
.h4 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 620px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--white); padding: 12px 16px; z-index: 10; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border-radius: 4px; background: var(--brand); color: var(--white); text-decoration: none; font-weight: 600; font-size: 17px; border: 2px solid var(--brand); font-family: inherit; cursor: pointer; }
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--white); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 16px; }
.btn--ghost { background: transparent; color: var(--brand); }
.btn--ghost:hover { background: var(--brand); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: var(--mist); border-color: var(--mist); color: var(--ink); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Top bar + header */
.topbar { background: var(--brand); color: var(--on-dark); font-size: 14px; }
.topbar .mono { color: var(--on-dark); }
.topbar__inner { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 28px; padding-top: 10px; padding-bottom: 10px; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }

.header { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 5; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand__logo { width: 112px; height: 112px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }
.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 24px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; padding: 12px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--ink); }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; background: var(--white); border: 1px solid var(--line-2); border-radius: 4px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: ""; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }

@media (max-width: 1160px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 8px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--line); font-weight: 700; }
  .nav .btn { margin-top: 12px; }
  .header { position: static; }
}

/* Layout */
.section { padding: 88px 0; }
.section--tight { padding: 64px 0; border-bottom: 1px solid var(--line); }
.section--grey { background: var(--mist); border-top: 1px solid var(--line); }
.section--dark { background: var(--brand); color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: 40px; }
.section-head h2 { max-width: 640px; }
.section-head p { max-width: 460px; font-size: 18px; color: var(--ink-2); }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
.split > * { flex: 1 1 440px; min-width: 0; }
.split--content > .prose { flex: 999 1 560px; }
.split--content > .side { flex: 1 1 300px; }
.split--contact > form { flex: 1.3 1 480px; }
.grid { display: grid; gap: 24px; }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }

/* Hero */
.hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: 72px 0 64px; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.page-hero { background: var(--mist); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.page-hero .wrap > * + *, .page-hero .split > div > * + * { margin-top: 18px; }
.page-hero .split > div > h1 + .lead { margin-top: 20px; }
.page-hero .split > div > .actions { margin-top: 28px; }
.page-hero--split .split { align-items: center; }
.page-hero--tall { padding: 120px 0; }
.crumbs { font-size: 14px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }

/* Photos (real image or labelled placeholder) */
.photo { width: 100%; object-fit: cover; background: var(--photo); border-radius: var(--radius); }
.photo--empty { display: flex; align-items: flex-end; padding: 14px; }
.photo--empty span { font-family: var(--mono); font-size: 12px; background: var(--white); color: var(--ink-2); padding: 5px 9px; border-radius: 3px; }
.hero-img { min-height: 400px; height: 100%; }
.card__img { height: 210px; border-radius: 0; }
.project__img { aspect-ratio: 4 / 3; height: auto; }

/* Accreditations strip */
.strip { border-bottom: 1px solid var(--line); }
.strip__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px; padding-top: 26px; padding-bottom: 26px; }
.badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges { align-items: center; gap: 14px 22px; }
.badges li { border: 1px solid var(--line-2); border-radius: 4px; padding: 9px 15px; font-weight: 600; font-size: 15px; }
.badges li.badge--logo { border: 0; padding: 0; }
.badges li.badge--logo img { height: 64px; width: auto; }
.badges li.badge--logo img[src*="smas"] { height: 48px; }

/* Cards */
.card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.card__body { padding: 26px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.card__body p { color: var(--ink-2); }
.card .h3 a { text-decoration: none; }
.card--link { text-decoration: none; }
.card--link:hover { border-color: var(--ink); color: var(--ink); }
.card--link .more { margin-top: auto; font-weight: 600; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-list li { border-bottom: 1px solid var(--line); }
.svc-link { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; text-decoration: none; }
.svc-link:hover span:last-child { transform: translateX(3px); }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--brand-line); border: 1px solid var(--brand-line); }
.sector { background: var(--brand); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.sector .mono { color: var(--on-dark); }
.sector--link { color: var(--white); text-decoration: none; }
.sector--link:hover { background: #4A4C4F; color: var(--white); }
.sector--link .more { margin-top: auto; font-weight: 600; }
.sector p:last-child { color: var(--on-dark); }

/* Clients */
.clients { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.clients li { min-height: 88px; border: 1px solid var(--line); border-radius: 4px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px 12px; font-weight: 600; color: var(--ink-3); }

/* Projects */
.project { display: flex; flex-direction: column; gap: 12px; }

/* Service page content */
.prose { display: flex; flex-direction: column; gap: 40px; max-width: 760px; }
.prose-block > * + * { margin-top: 14px; }
.prose-block h2 { font-size: 28px; }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.ticks li strong { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.side { display: flex; flex-direction: column; gap: 20px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--white); }
.panel > * + * { margin-top: 12px; }
.panel--dark { background: var(--brand); color: var(--white); border-color: var(--brand); }
.panel--dark a { color: var(--white); font-weight: 600; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }

/* CTA band */
.cta-band { background: var(--brand); color: var(--white); padding: 56px 0; }
.cta-band__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.cta-band p { color: var(--on-dark); margin-top: 8px; }

/* Contact */
.contact-lines { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.contact-lines li { border-bottom: 1px solid var(--line-2); }
.contact-lines a { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding: 18px 0; text-decoration: none; }
.contact-lines span { color: var(--ink-3); }
.contact-lines strong { font-size: 20px; }
.split--contact > div > * + * { margin-top: 16px; }

/* Form */
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; align-self: start; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); border: 1px solid #8A9096; border-radius: 4px; padding: 0 12px; min-height: 48px; background: var(--white); width: 100%; }
.form textarea { padding: 12px; resize: vertical; }
.form__full { grid-column: 1 / -1; }
.form__note { font-size: 14px; color: var(--ink-3); }
.form .btn { min-height: 52px; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: var(--brand); color: var(--on-dark); padding: 56px 0 32px; font-size: 15px; border-top: 1px solid var(--brand-line); }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer__name, .footer__head { color: var(--white); font-weight: 700; margin-bottom: 10px; }
.footer__legal { border-top: 1px solid var(--brand-line); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 12px; color: var(--on-dark); }

@media (max-width: 600px) {
  .topbar__email { display: none; }
  .topbar__links { width: 100%; justify-content: space-between; }
  .header__inner { flex-wrap: wrap; }
  .wrap { padding: 0 16px; }
  .header__inner { gap: 12px; }
  .brand { flex: 0 1 auto; min-width: 0; gap: 10px; }
  .nav-toggle { margin-left: auto; }
  .brand__logo { width: 76px; height: 76px; }
  .brand__name { font-size: 20px; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-toggle { width: 48px; height: 48px; justify-content: center; padding: 0; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0; }
  .hero-img { min-height: 260px; }
  .form { padding: 22px; }
}

@media (prefers-reduced-motion: no-preference) {
  .svc-link span:last-child { transition: transform .15s ease; }
}

.clients li.client--logo { padding: 16px 20px; }
.clients li.client--logo img { max-height: 48px; max-width: 100%; width: auto; filter: grayscale(1); opacity: .75; }
@media (hover: hover) { .clients li.client--logo:hover img { filter: none; opacity: 1; } }
@media (prefers-reduced-motion: no-preference) { .clients li.client--logo img { transition: filter .2s, opacity .2s; } }

.clients:has(.client--logo) { display: flex; flex-wrap: wrap; justify-content: center; }
.clients:has(.client--logo) li { flex: 0 1 158px; }
@media (max-width: 600px) { .clients:has(.client--logo) li { flex-basis: calc(50% - 5px); } }
.clients li.client--logo img[src*="acumen"] { max-height: 56px; }

/* Section head link */
.more-link { font-weight: 600; padding: 12px 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.quote { margin: 0; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); display: flex; flex-direction: column; gap: 18px; }
.quote blockquote { margin: 0; font-size: 19px; line-height: 1.5; }
.quote blockquote p::before { content: "\201C"; } .quote blockquote p::after { content: "\201D"; }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: 15px; }
.quote figcaption span { color: var(--ink-3); }

/* Case studies page */
.cases { display: flex; flex-direction: column; gap: 56px; }
.case { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.case__media { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.case__img { width: 100%; aspect-ratio: 4 / 3; height: auto; display: block; }
.case__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.case__body h2 { font-size: clamp(24px, 2.6vw, 32px); }
.case__meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0; }
.case__meta dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.case__meta dd { margin: 0; font-weight: 600; }

/* Areas */
.grid--areas { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.towns { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { border: 1px solid var(--line-2); border-radius: 4px; padding: 6px 12px; background: var(--white); }

/* Environment band on homepage */
.section--tight .split > div:first-child { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.section--tight .ticks { margin-top: 0; }

/* Form additions */
.form__choice { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.form__choice legend { font-size: 15px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.form__choice label { flex-direction: row; align-items: center; gap: 8px; font-weight: 400; font-size: 16px; min-height: 44px; }
.form__choice input { width: 20px; height: 20px; min-height: 0; accent-color: var(--brand); }
.form input[type="file"] { padding: 10px 12px; min-height: 48px; }
.form__hint { font-size: 14px; font-weight: 400; color: var(--ink-3); }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--brand); border-top: 1px solid var(--brand-line); padding-bottom: env(safe-area-inset-bottom); }
  .callbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4px 6px; min-height: 56px; color: var(--white); text-decoration: none; font-size: 12px; line-height: 1.2; border-right: 1px solid var(--brand-line); }
  .callbar a strong { font-size: 15px; }
  .callbar a:last-child { border-right: 0; }
  .callbar__survey { background: var(--white); color: var(--brand) !important; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
}

.sector p a { color: var(--white); }
.sector p a:hover { color: var(--white); text-decoration-thickness: 2px; }

/* Hero video */
.hero-media { position: relative; flex: 1 1 440px; min-width: 0; min-height: 400px; border-radius: var(--radius); overflow: hidden; background: var(--photo); }
.hero-media .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; border-radius: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero-media.is-playing .hero-video { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .hero-video { transition: opacity .6s ease; } }
.hero-pause { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(28,31,34,.7); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.hero-pause[hidden] { display: none; }
.hero-pause:hover { background: rgba(28,31,34,.9); }
@media (max-width: 600px) { .hero-media { min-height: 260px; } }

/* Strapline beside the logo */
.brand { gap: 18px; }
.brand__strap { display: flex; flex-direction: column; justify-content: center; padding-left: 18px; border-left: 2px solid var(--line); font-weight: 800; font-size: 25px; line-height: 1.12; letter-spacing: -0.01em; color: var(--brand); }
@media (max-width: 600px) {
  .brand { gap: 12px; }
  .brand__strap { font-size: 17px; padding-left: 12px; }
}

/* Top bar: extra space between department and number */
.topbar__links a strong { margin-left: 0.3em; }

/* Numbered steps and FAQs on service pages */
.steps { counter-reset: step; list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; position: relative; padding: 14px 0 14px 44px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.steps li strong { color: var(--ink); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand); color: var(--white); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.faqs { border-top: 1px solid var(--line); padding-top: 32px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 700; font-size: 18px; list-style: none; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; font-weight: 400; color: var(--brand); }
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 18px; color: var(--ink-2); }

.faqs--home { border-top: 0; padding-top: 0; flex: 999 1 560px; }
.faqs--home .faq:first-child { border-top: 1px solid var(--line); }

/* In-page figure rows (service pages) */
.figs { display: grid; gap: 12px; margin: 20px 0; grid-template-columns: repeat(2, 1fr); }
.figs figure { margin: 0; }
.figs .fig-img { width: 100%; height: auto; display: block; border-radius: 6px; }
.figs figcaption { font-size: 0.85rem; color: var(--ink-2); margin-top: 6px; line-height: 1.4; }
@media (min-width: 700px) {
  .figs--3 { grid-template-columns: repeat(3, 1fr); }
  .figs--4 { grid-template-columns: repeat(4, 1fr); }
}
.figs--1 { grid-template-columns: minmax(0, 260px); }
.figs--1 .fig-img { background: transparent; }

/* Find us: click-to-load map */
.map-embed { position: relative; aspect-ratio: 16 / 9; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; color: var(--ink-2); }
@media (max-width: 700px) { .map-embed { aspect-ratio: 4 / 5; } }
.section--flush-top { padding-top: 0; }

/* Faint site-plan drawing behind the whole site (fixed, so it sits still while the page scrolls) */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url(/assets/img/site-plan.svg) center / cover no-repeat; opacity: 0.14; }
.page-hero, .section--grey { background: rgba(242, 243, 244, 0.82); }
@media print { body::before { display: none; } }
/* Client logo tiles are solid white so the site-plan background doesn't show through */
.clients li { background: var(--white); }
.quotes--single { max-width: 860px; }
/* Bigger tap targets on touch screens: footer and top-bar links at least 24px tall */
@media (pointer: coarse), (max-width: 700px) {
  .footer ul { gap: 2px; }
  .footer ul a { display: inline-block; padding: 6px 0; }
  .topbar a { display: inline-block; padding: 3px 0; }
}

/* Case study before/after photo row */
.case__gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.case__scope { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; border-top: 0; margin-top: 4px; }
.case__scope li { padding: 10px 0 10px 28px; font-size: 15px; }
.case__scope li:nth-child(-n+2) { border-top: 1px solid var(--line); }
.case__scope li::before { top: 16px; }
@media (max-width: 700px) { .case__scope { grid-template-columns: 1fr; } .case__scope li:nth-child(2) { border-top: 0; } }
.case__gallery figure { margin: 0; position: relative; }
.case__gimg { width: 100%; aspect-ratio: 4 / 3; height: auto; display: block; }
.case__gallery figcaption { position: absolute; left: 10px; top: 10px; background: var(--brand); color: var(--white); font-size: 13px; font-weight: 600; padding: 3px 9px; border-radius: 3px; }
@media (max-width: 700px) { .case__gallery { grid-template-columns: repeat(2, 1fr); } }
.grid--cards > .project:only-child { max-width: 560px; }

/* ---------- Impact aeration explainer ---------- */
.ia { margin: 20px 0 8px; }
.ia__stage { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.ia__svg { display: block; width: 100%; height: auto; }
.ia__play { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 4px; border: 0; background: var(--brand); color: var(--white); font: 600 14px var(--sans); cursor: pointer; }
.ia__play:hover { background: var(--ink-2); }
.ia__steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ia__steps button { width: 100%; height: 100%; text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: 15px/1.45 var(--sans); cursor: pointer; transition: border-color .2s, background .2s; }
.ia__steps button span:last-child { color: var(--ink-3); font-size: 14px; }
.ia__steps button:hover { border-color: var(--line-2); }
.ia__steps button[aria-current="step"] { border-color: var(--brand); background: var(--mist); box-shadow: inset 0 3px 0 var(--brand); }
.ia__n { font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
@media (max-width: 900px) { .ia__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ia__steps { grid-template-columns: 1fr; } }

.ia__co { opacity: 0; transition: opacity .4s; pointer-events: none; }
.ia[data-cur="0"] .ia__co[data-s="0"] { opacity: 1; transition-delay: .3s; }
.ia[data-cur="1"] .ia__co[data-s="1"] { opacity: 1; transition-delay: var(--d, 1.1s); }
.ia[data-cur="2"] .ia__co[data-s="2"] { opacity: 1; transition-delay: var(--d, 1s); }
.ia[data-cur="3"] .ia__co[data-s="3"] { opacity: 1; transition-delay: var(--d, 1.4s); }
.ia[data-cur="4"] .ia__co[data-s="4"] { opacity: 1; transition-delay: 1.6s; }

/* states: .is-1 … .is-4 are added cumulatively
   1 probe · 2 fracture (air shot) · 3 inject (second shot) + withdraw · 4 recover */
.ia__jets { opacity: 0; }
.is-2:not(.is-3) .ia__jets { animation: ia-jets .5s ease-out 3; }
.is-3:not(.is-4) .ia__jets { animation: ia-jets2 .5s ease-out .3s 3; }
@keyframes ia-jets2 { 0%,100% { opacity: 0; } 30% { opacity: 1; } }
@keyframes ia-jets { 0%,100% { opacity: 0; } 30% { opacity: 1; } }
.ia__cracks path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .8s ease-out; }
.is-2 .ia__cracks path { stroke-dashoffset: 0; transition-delay: .15s; }
.is-2 .ia__cracks path:nth-child(n+7) { transition-delay: .6s; }
.ia__wave circle { transform-box: fill-box; transform-origin: center; opacity: 0; }
.is-2:not(.is-3) .ia__wave circle { animation: ia-wave 1.2s ease-out both; }
.is-2:not(.is-3) .ia__wave circle:nth-child(2) { animation-delay: .25s; }
.is-2:not(.is-3) .ia__wave circle:nth-child(3) { animation-delay: .5s; }
@keyframes ia-wave { from { transform: scale(.3); opacity: .9; } to { transform: scale(5); opacity: 0; } }
.is-2:not(.is-3) .ia__heave { animation: ia-heave 1.4s ease-in-out .1s both; }
@keyframes ia-heave { 0%,100% { transform: none; } 30% { transform: translateY(-5px); } }
.ia__dust circle { opacity: 0; transform-box: fill-box; transform-origin: center; }
.is-3:not(.is-4) .ia__dust circle { animation: ia-dust 3.2s ease-out .4s both; }
.is-3:not(.is-4) .ia__dust circle:nth-child(2n) { animation-delay: .65s; }
@keyframes ia-dust { 0% { opacity: 0; transform: scale(.3); } 15% { opacity: 1; } 100% { opacity: 0; transform: scale(1.8) translateY(-14px); } }
.ia__granules circle { opacity: 0; transform: translate(calc(var(--dx) * 1px), calc(var(--dy) * 1px)); transition: transform .9s cubic-bezier(.2,.7,.3,1), opacity .25s; }
.is-3 .ia__granules circle { opacity: 1; transform: none; }
.is-3 .ia__granules { transition-delay: .4s; }
.ia__hole { opacity: 0; }
.is-3 .ia__hole { opacity: 1; transition: opacity .3s 3.6s; }
.ia__dense, .ia__platy { transition: opacity 1.2s; }
.ia__loose { opacity: 0; transition: opacity 1.2s; }
.is-4 .ia__dense { opacity: .25; }
.is-4 .ia__platy { opacity: .08; }
.is-4 .ia__loose { opacity: 1; }
.ia__lbl-open { opacity: 0; transition: opacity .6s; }
.ia__lbl-tight { transition: opacity .6s; }
.is-4 .ia__lbl-open { opacity: .95; }
.is-4 .ia__lbl-tight { opacity: 0; }
.ia__pores circle { opacity: 0; transition: opacity .5s; }
.is-4 .ia__pores circle { opacity: .9; }
.ia__newroots path, .ia__fungi path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s ease-out; }
.is-4 .ia__newroots path { stroke-dashoffset: 0; transition-delay: .6s; }
.is-4 .ia__fungi path { stroke-dashoffset: 0; transition-delay: 1.4s; }
.ia__canopy { transition: filter 1.5s; filter: saturate(.5) brightness(.95); }
.is-4 .ia__canopy { filter: none; transition-delay: 1.2s; }
.ia__puddle { transition: opacity 1.6s, transform 1.6s; transform-box: fill-box; transform-origin: center; }
.is-4 .ia__puddle { opacity: 0; transform: scaleX(.3); }
.ia__drops path { opacity: 0; }
.is-4 .ia__drops path { animation: ia-drop 2.2s ease-in 3; }
.is-4 .ia__drops path:nth-child(2) { animation-delay: .4s; }
.is-4 .ia__drops path:nth-child(3) { animation-delay: .9s; }
.is-4 .ia__drops path:nth-child(4) { animation-delay: 1.3s; }
.is-4 .ia__drops path:nth-child(5) { animation-delay: 1.7s; }
@keyframes ia-drop { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: .9; } 100% { transform: translateY(200px); opacity: 0; } }
.ia__air path { opacity: 0; }
.is-4 .ia__air path { animation: ia-air 2s ease-in 4; }
.is-4 .ia__air path:nth-child(2) { animation-delay: .7s; }
.is-4 .ia__air path:nth-child(3) { animation-delay: 1.3s; }
@keyframes ia-air { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(110px); opacity: 0; } }
.ia__worm { opacity: 0; transition: opacity .8s; }
.is-4 .ia__worm { opacity: 1; transition-delay: 2s; animation: ia-worm 3s ease-in-out 2s infinite; }
@keyframes ia-worm { 0%,100% { transform: none; } 50% { transform: translate(6px, 3px); } }
.ia__mag--after { opacity: 0; transition: opacity .8s; }
.is-4 .ia__mag--after { opacity: 1; transition-delay: 1.6s; }
@media (prefers-reduced-motion: reduce) {
  .ia *, .ia *::before { transition: none !important; animation: none !important; }
  .ia__drops, .ia__air, .ia__dust { display: none; }
}

/* Inline video clips */
.clip { margin: 20px 0 0; }
.clip video { width: 100%; height: auto; display: block; border-radius: 6px; background: var(--photo); }
.clip figcaption { font-size: 0.85rem; color: var(--ink-2); margin-top: 6px; line-height: 1.4; }

/* Download panel */
.panel.download { display: flex; gap: 16px; align-items: flex-start; }
.panel.download > a { flex: none; }
.panel.download img { width: 84px; height: auto; border: 1px solid var(--line); border-radius: 3px; box-shadow: 0 2px 6px rgba(0,0,0,.08); display: block; }
.panel.download > div > * + * { margin-top: 10px; }
.panel.download p { font-size: 0.92rem; }

/* Homepage: tighter join between accreditations and services */
.strip__inner { padding-top: 18px; padding-bottom: 18px; }
#services { padding-top: 52px; }
#services .section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; gap: 12px 56px; margin-bottom: 32px; }
#services .section-head h2 { max-width: none; }
#services .section-head p { max-width: none; margin: 0; }
@media (max-width: 800px) { #services .section-head { grid-template-columns: 1fr; } #services { padding-top: 40px; } }

/* Recent work cards link through to the case study */
.project--link { color: var(--ink); text-decoration: none; }
.project--link .project__img { transition: opacity .2s; }
.project--link:hover .project__img { opacity: .88; }
.project--link:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.project--link .more { margin-top: auto; font-weight: 600; }
.case { scroll-margin-top: 150px; }
