/* Elevate Structural Engineers, version 2
   Format: full-screen slideshow, centred statements, image-led tiles. */

:root {
  --ink: #15181d;
  --text: #3f4550;
  --navy: #13213c;
  --navy-deep: #0c1629;
  --steel: #9c9fa5;
  --steel-light: #c9ccd1;
  --soft: #f3f4f6;
  --stone: #e7e4dd;
  --paper: #f8f7f3;
  --line: #e2e4e8;
  --white: #fff;

  --max: 1400px;
  --gutter: clamp(20px, 3.5vw, 56px);
  --font: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Surface textures: fine grain, and a faint drafting grid */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3  0 0 0 0 .28  0 0 0 0 .24  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  --grid-minor: linear-gradient(rgba(19,33,60,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(19,33,60,.045) 1px, transparent 1px);
  --grid-major: linear-gradient(rgba(19,33,60,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(19,33,60,.07) 1px, transparent 1px);
}

/* Warm stone band with grain and drafting grid */
.bg-stone, .section--soft {
  background-color: var(--stone);
  background-image: var(--grain), var(--grid-major), var(--grid-minor);
  background-size: 220px 220px, 120px 120px, 120px 120px, 24px 24px, 24px 24px;
}
/* Off-white paper with grain only */
.bg-paper {
  background-color: var(--paper);
  background-image: var(--grain);
  background-size: 220px 220px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 300; line-height: 1.14; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 3.6vw, 3.1rem); }
h2 { font-size: clamp(1.95rem, 3.1vw, 2.75rem); }
h3 { font-size: 1.35rem; font-weight: 400; letter-spacing: -0.005em; }
h4 { font-weight: 500; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 900px; margin: 0 auto; padding: 0 var(--gutter); }
.center { text-align: center; }
.section { padding: clamp(64px, 8vw, 110px) 0; }
.mt { margin-top: 24px; }
.section.pt0 { padding-top: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--navy); line-height: 1; }
.logo svg { width: 236px; height: auto; }
.logo .ink { fill: currentColor; }
.logo .accent { fill: var(--steel); }
.logo-sub {
  display: flex; align-items: center; gap: .7em; margin-top: 11px; margin-right: -.4em;
  font-size: 11.5px; font-weight: 400; letter-spacing: .4em; text-transform: uppercase; color: var(--steel);
}
.logo-sub::before, .logo-sub::after { content: ""; width: 14px; height: 1px; background: currentColor; }

/* ---------- Header ---------- */
/* A slim white bar with the logo in its company colours */
:root { --header-h: 80px; }
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: var(--white); box-shadow: 0 1px 0 var(--line);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header .logo, .site-header .logo-sub, .site-header .logo .accent, .nav a { transition: color .35s var(--ease), fill .35s var(--ease); }

.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.site-header .logo svg { width: 200px; }
.site-header .logo-sub { font-size: 9.8px; margin-top: 9px; }
main { padding-top: var(--header-h); }
.nav { display: flex; gap: clamp(22px, 2.6vw, 40px); }
.nav a { color: var(--navy); text-decoration: none; font-size: 16.5px; padding: 4px 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease), color .35s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 1px; }

.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; position: relative; z-index: 3; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--navy); transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 28px; }

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .site-header .logo svg, .logo svg { width: 156px; }
  .site-header .logo-sub, .logo-sub { font-size: 7.7px; margin-top: 7px; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); z-index: 2;
    flex-direction: column; justify-content: center; gap: 22px; padding: 0 44px;
    background: var(--navy); transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav a, .site-header:not(.is-solid) .nav a { color: var(--white); font-size: 24px; font-weight: 300; align-self: flex-start; }
  .menu-open .nav { transform: none; }
  .menu-open .menu-toggle span { background: var(--white) !important; }
  .menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .menu-open { overflow: hidden; }
  .menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(8,15,30,.5); z-index: 40; }
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block; text-decoration: none; font: 500 14px/1 var(--font); letter-spacing: .02em;
  padding: 18px 36px; background: var(--navy); color: var(--white); border: 1px solid var(--navy);
  cursor: pointer; transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--navy-deep); }
.btn--outline { background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.link { color: var(--navy); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .3s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Slideshow ---------- */
.slideshow { position: relative; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 480px; overflow: hidden; background: var(--navy-deep); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .slide img { transform: scale(1.06); transition: transform 7s linear; }
  .slide.is-active img { transform: scale(1); }
}
.slideshow::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(8,15,30,0) 75%, rgba(8,15,30,.4) 100%);
}
.slide-controls { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2; display: flex; justify-content: center; align-items: center; gap: 6px; }
.slide-dots { display: flex; gap: 4px; }
.slide-dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slide-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.55); transition: background .3s, box-shadow .3s; }
.slide-dot[aria-current="true"]::before { background: var(--white); box-shadow: 0 0 0 4px rgba(255,255,255,.3); }
.slide-pause { margin-left: 10px; width: 28px; height: 28px; border: 0; background: none; cursor: pointer; color: rgba(255,255,255,.8); padding: 0; }
.slide-pause svg { width: 14px; height: 14px; }
.slide-caption { position: absolute; right: var(--gutter); bottom: 34px; z-index: 2; color: rgba(255,255,255,.85); font-size: 14px; }
@media (max-width: 700px) { .slide-caption { display: none; } }

/* ---------- Centred intro ---------- */
.intro { padding: clamp(64px, 7vw, 96px) 0 clamp(48px, 5vw, 72px); text-align: center; }
.intro h1 { max-width: 30ch; margin: 0 auto; }
.intro p { max-width: 62ch; margin: 24px auto 0; font-size: 1.08rem; }
.intro p.lead-center { margin-top: 0; max-width: 58ch; font-size: clamp(1.2rem, 1.7vw, 1.45rem); font-weight: 300; line-height: 1.5; color: var(--navy); }

.section-title { text-align: center; margin-bottom: clamp(36px, 4vw, 56px); }
.section-title .kicker { display: block; font-size: 16px; color: var(--steel); margin-bottom: 12px; }
.section-title h2.big { font-size: clamp(2.3rem, 4.2vw, 3.75rem); }
.section-title .link { display: inline-block; margin-top: 22px; }

/* ---------- Service tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiles { grid-template-columns: 1fr; } }
.tile { text-decoration: none; display: block; }
.tile__img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--soft); }
.tile__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tile:hover .tile__img img { transform: scale(1.04); }
.tile h3 { margin-top: 22px; display: inline; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--ease); padding-bottom: 2px; }
.tile:hover h3 { background-size: 100% 1px; }
.tile .tile__title { margin-top: 22px; }
.tile p { margin-top: 10px; font-size: 15.5px; }

/* ---------- All services, each with an icon ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc {
  display: flex; align-items: center; gap: 22px; padding: 18px 22px 18px 18px;
  background: rgba(255,255,255,.75); border: 1px solid rgba(19,33,60,.08);
  text-decoration: none; transition: border-color .25s, background-color .25s;
}
.svc:hover { border-color: var(--navy); background: var(--white); }
.svc__icon { flex: none; width: 76px; height: 76px; display: grid; place-items: center; background: var(--navy); color: var(--steel-light); transition: background-color .25s; }
.svc__icon svg { width: 54px; height: 54px; stroke-width: 1.7; }
.svc:hover .svc__icon { background: var(--navy-deep); }
.svc h3 { font-size: 1.12rem; line-height: 1.3; }
/* Services page: two columns, each card with a short description */
.svc-grid--two { grid-template-columns: 1fr 1fr; }
.svc--detail { align-items: flex-start; scroll-margin-top: calc(var(--header-h) + 24px); }
.svc--detail p { margin-top: 6px; font-size: 15px; line-height: 1.5; }
.svc--detail:target { border-color: var(--navy); background: var(--white); }
/* About page sectors: icon above the name, five across */
.svc-grid--sectors { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(5, 1fr); }
.svc--stack { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px; }
.svc--stack h3 { font-size: 1.05rem; }
.section--soft .svc { background: rgba(255,255,255,.72); }
@media (max-width: 1100px) { .svc-grid--sectors { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .svc-grid--two { grid-template-columns: 1fr; } .svc-grid--sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } .svc__icon { width: 64px; height: 64px; } .svc__icon svg { width: 40px; height: 40px; } }

/* ---------- Text + image row ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.duo h2 { margin-bottom: 24px; }
.duo .btn { margin-top: 28px; }
.duo__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.duo--flip .duo__img { order: -1; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } .duo--flip .duo__img { order: 0; } }

/* ---------- Project tiles ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 50px); }
@media (max-width: 1000px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .projects-grid { grid-template-columns: 1fr; } }
.ptile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--navy); text-decoration: none; }
.ptile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ptile::after { content: ""; position: absolute; inset: 0; background: rgba(8,15,30,.32); transition: background-color .4s; }
.ptile:hover img { transform: scale(1.05); }
.ptile:hover::after { background: rgba(8,15,30,.5); }
.ptile__label { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--white); }
.ptile__label h2, .ptile__label h3 { color: var(--white); font-size: clamp(1.35rem, 1.8vw, 1.6rem); font-weight: 400; }
.ptile__label span { margin-top: 8px; font-size: 15px; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease); }
.ptile:hover .ptile__label span, .ptile:focus-visible .ptile__label span { opacity: .9; transform: none; }
@media (hover: none) { .ptile__label span { opacity: .9; transform: none; } }
.ptile[hidden] { display: none; }
.ptile--cta { background: var(--soft); border: 1px solid var(--line); }
.ptile--cta::after { display: none; }
.ptile--cta .ptile__label h2 { color: var(--navy); }
.ptile--cta .ptile__label span { color: var(--text); opacity: 1; transform: none; }
.ptile--cta:hover { border-color: var(--navy); }

/* Projects without photography yet: line drawing on navy */
.drawing { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-bottom: 36%; color: var(--steel-light); }
.drawing svg { width: 72%; height: auto; }
.drawing svg * { vector-effect: non-scaling-stroke; }
.drawing .existing { stroke-dasharray: 4 4; opacity: .6; }
.ptile--drawing::after { background: transparent; }
.ptile--drawing:hover::after { background: rgba(255,255,255,.04); }
.ptile--drawing .ptile__label { justify-content: flex-end; padding-bottom: 18%; }
.ptile--drawing .soon { position: absolute; left: 0; right: 0; bottom: 24px; z-index: 1; text-align: center; font-size: 13px; color: var(--steel-light); }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin-bottom: clamp(32px, 4vw, 52px); }
.filters button {
  font: 400 15px/1 var(--font); color: var(--navy); background: transparent; cursor: pointer;
  padding: 11px 18px; border: 1px solid var(--line); transition: border-color .2s, background-color .2s, color .2s;
}
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- Get in touch band ---------- */
.touch { background: var(--navy); color: rgba(255,255,255,.86); padding: clamp(56px, 6vw, 80px) 0; }
.touch .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.touch h2 { color: var(--white); font-size: clamp(1.8rem, 2.4vw, 2.15rem); margin-bottom: 14px; }
.touch p { max-width: 50ch; }
.touch a.go { color: var(--white); font-size: 18px; text-decoration: none; display: inline-flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.5); transition: border-color .2s, gap .3s var(--ease); }
.touch a.go:hover { border-color: var(--white); gap: 20px; }
.touch a.go svg { width: 22px; height: 12px; }
@media (max-width: 760px) { .touch .wrap { grid-template-columns: 1fr; } .touch a.go { justify-self: start; } }

/* ---------- Get in touch: photographic band (as version 1) ---------- */
.cta { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: clamp(96px, 12vw, 168px) 0; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; mix-blend-mode: luminosity; }
.cta .wrap { position: relative; }
.cta h2 { color: var(--white); font-size: clamp(2.1rem, 3.6vw, 3.1rem); }
.cta p { max-width: 44ch; margin-top: 20px; font-size: 1.15rem; font-weight: 300; color: rgba(255,255,255,.86); }
.cta .btn { margin-top: 36px; background: transparent; border-color: rgba(255,255,255,.75); color: var(--white); font-size: 16px; font-weight: 400; padding: 16px 32px; }
.cta .btn:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- Service sketches ---------- */
/* Same treatment as the project line drawings: clean light lines on navy */
.sketch {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: var(--steel-light); background: var(--navy);
}
.sketch svg { width: 78%; height: auto; overflow: visible; }
.sketch .line { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tile__img .sketch svg { width: 82%; }
.tile:hover .sketch svg { transform: scale(1.03); }
.sketch svg { transition: transform .9s var(--ease); }
.duo__sketch { aspect-ratio: 3 / 2; }

/* ---------- Footer ---------- */
.site-footer { padding: clamp(56px, 6vw, 80px) 0 32px; font-size: 15.5px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.footer-top { display: grid; grid-template-columns: 5fr 4fr 4fr; gap: 40px 64px; align-items: start; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 56px; }
.footer-links a { color: var(--navy); font-size: 16px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > :first-child { grid-column: 1 / -1; } }
.footer-top .logo { align-items: flex-start; }
.footer-top .copy { margin-top: 20px; max-width: 38ch; }
.site-footer h4 { font-size: 16px; font-weight: 500; margin-bottom: 16px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--white); }
.contact-list .ico svg { width: 16px; height: 16px; }
.footer-nav { list-style: none; margin: clamp(40px, 5vw, 56px) 0 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; }
.footer-nav a { color: var(--navy); font-size: 16.5px; }
.footer-base { margin-top: 24px; display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; font-size: 14px; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 1px solid var(--line); color: var(--navy); }
.social a:hover { border-color: var(--navy); }
.social svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { justify-content: flex-start; gap: 12px 28px; }
}

/* ---------- Where we work: towns grouped by area ---------- */
.areas { display: grid; grid-template-columns: 4fr 9fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.areas__intro h2 { margin-bottom: 20px; }
.base { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 18px 20px; background: var(--navy); color: var(--white); }
.base svg { width: 22px; height: 22px; flex: none; color: var(--steel-light); }
.base strong { display: block; font-weight: 500; }
.base span { font-size: 14.5px; color: rgba(255,255,255,.75); }
.area-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.area { background: rgba(255,255,255,.72); padding: 20px 20px 18px; border-top: 2px solid var(--navy); }
.area h3 { font-size: 1.05rem; font-weight: 500; margin-bottom: 10px; }
.area ul { list-style: none; margin: 0; padding: 0; }
.area li { padding: 3px 0; font-size: 15.5px; color: var(--text); }
@media (max-width: 1100px) { .area-groups { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .areas { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .area-groups { grid-template-columns: 1fr 1fr; } }

/* ---------- Accreditation logo ---------- */
.accred__logo { height: 64px; width: auto; margin-bottom: 18px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; height: 64vh; min-height: 420px; max-height: 720px; display: flex; align-items: flex-end; overflow: hidden; background: var(--navy); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(8,15,30,0) 45%, rgba(8,15,30,.65) 100%); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero h1 { color: var(--white); font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
.page-hero p { color: rgba(255,255,255,.85); margin-top: 12px; font-size: 1.05rem; }
.page-hero .drawing { padding-bottom: 0; }
.page-hero .drawing svg { width: min(460px, 70%); margin-top: 40px; }
.page-hero--drawing::after { background: linear-gradient(to bottom, rgba(8,15,30,.35) 0%, rgba(8,15,30,0) 30%); }

/* ---------- Project detail ---------- */
.facts-row { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(32px, 6vw, 96px); }
.facts { margin: 0; display: grid; gap: 22px; align-content: start; }
.facts dt { font-size: 1.1rem; color: var(--ink); font-weight: 500; }
.facts dd { margin: 4px 0 0; }
.facts-row .body p { font-size: 1.08rem; }
.note { font-style: italic; color: var(--steel); }
@media (max-width: 860px) { .facts-row { grid-template-columns: 1fr; } }

.stack { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 20px); }
.stack button { padding: 0; border: 0; background: var(--soft); cursor: zoom-in; overflow: hidden; aspect-ratio: 4 / 3; }
.stack button:first-child, .stack button.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.stack img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.stack button:hover img { transform: scale(1.02); }
@media (max-width: 600px) { .stack { grid-template-columns: 1fr; } .stack button, .stack button:first-child { aspect-ratio: 4 / 3; } }

.awaiting { background: var(--soft); padding: clamp(40px, 5vw, 64px); text-align: center; }
.awaiting h3 { margin-bottom: 10px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.pager a { padding: 36px 0; text-decoration: none; display: block; }
.pager a + a { text-align: right; border-left: 1px solid var(--line); }
.pager small { display: block; color: var(--steel); font-size: 14px; margin-bottom: 6px; }
.pager span { font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--ink); }
.pager a:hover span { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pager a:first-child { padding-right: 24px; }
.pager a + a { padding-left: 24px; }

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(8,15,30,.95); display: flex; align-items: center; justify-content: center; padding: 64px 72px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; width: 52px; height: 52px; font: 300 30px/1 var(--font); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font-size: 14px; }
@media (max-width: 600px) { .lightbox { padding: 64px 12px; } }

/* ---------- About / services content ---------- */
.lists { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); list-style: none; margin: 0; padding: 0; }
.lists li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.lists--single { grid-template-columns: 1fr; margin-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 600px) { .lists { grid-template-columns: 1fr; } }

.accred { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.accred > div { padding: 26px 24px; background: rgba(255,255,255,.72); }
.accred h3 { font-size: 1.2rem; margin-bottom: 10px; }
@media (max-width: 860px) { .accred { grid-template-columns: 1fr; } }

.stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; counter-reset: s; }
.stages li { counter-increment: s; background: var(--stone); border-top: 2px solid var(--navy); padding: 22px 18px 26px; color: var(--ink); line-height: 1.35; font-size: 15.5px; }
.stages li::before { content: counter(s); display: block; font-size: 2rem; font-weight: 300; color: var(--steel); margin-bottom: 18px; }
@media (max-width: 1100px) { .stages { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .stages { grid-template-columns: 1fr 1fr; } }

.places { list-style: none; margin: 0; padding: 0; columns: 5 150px; column-gap: 28px; }
.places li { padding: 5px 0; break-inside: avoid; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.cblock { padding: 22px 0; border-top: 1px solid var(--line); }
.cblock:first-child { padding-top: 0; border-top: 0; }
.cblock h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 6px; }
.cblock a { color: var(--navy); text-decoration: none; }
.cblock a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cbig { font-size: 1.3rem; font-weight: 300; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 22px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.field .opt { color: var(--steel); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 14px 16px; border: 1px solid #c9cdd3; border-radius: 0; background: #fff; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy); }
.field .error { display: none; margin: 6px 0 0; font-size: 14px; color: #a1262b; }
.field.invalid input, .field.invalid textarea { border-color: #a1262b; }
.field.invalid .error { display: block; }
.form-status { grid-column: 1 / -1; margin: 0; color: var(--navy); }
.form-status:empty { display: none; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* =====================================================================
   Version 7 refinements
   ===================================================================== */

/* ---------- Logo: one piece, in the supplied logo's proportions ---------- */
.logo { display: inline-block; line-height: 0; }
.logo .logo-mark { display: block; height: auto; overflow: visible; }
.logo .ink { fill: currentColor; }
.logo .accent, .logo .sub { fill: var(--steel); }
.logo text { font-family: "Jost", "Futura", "Century Gothic", sans-serif; font-weight: 400; font-size: 45px; }
.site-header .logo .logo-mark { width: 220px; }
.site-footer .logo .logo-mark { width: 250px; }
@media (max-width: 900px) { .site-header .logo .logo-mark { width: 168px; } }

/* ---------- Home banner: a white strip above and below ---------- */
.slideshow {
  height: calc(100vh - 2 * var(--header-h)); height: calc(100svh - 2 * var(--header-h));
  min-height: 420px; max-height: none;
}
.slideshow { margin-bottom: var(--header-h); }

/* ---------- Home page buttons: one style throughout ---------- */
.btn--line {
  font: 400 15px/1 var(--font); letter-spacing: .02em; padding: 16px 32px;
  background: transparent; border: 1px solid;
}
.btn--line { color: var(--navy); border-color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--white); }
.section-title .btn { margin-top: 22px; }

/* ---------- Footer: centred (as version 6), Jost as version 5, warm pale ground ---------- */
.site-footer { background: #f2f0eb; text-align: center; padding: clamp(56px, 7vw, 84px) 0 36px; font-size: 15.5px; }
.footer-centred { display: flex; flex-direction: column; align-items: center; }
.footer-row { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px clamp(24px, 4vw, 52px); }
.footer-row a { color: var(--navy); font-size: 16px; }
.footer-contact { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px clamp(20px, 3vw, 40px); }
.footer-contact li { display: inline-flex; align-items: center; gap: 9px; color: var(--text); }
.footer-contact svg { width: 16px; height: 16px; color: var(--steel); flex: none; }
.footer-social a { display: inline-grid; place-items: center; width: 32px; height: 32px; color: var(--navy); }
.footer-social a:hover { color: var(--steel); }
.footer-social svg { width: 18px !important; height: 18px !important; color: currentColor !important; }
.footer-copy { margin: 30px 0 0; padding-top: 20px; border-top: 1px solid rgba(19,33,60,.1); width: 100%; font-size: 14px; color: var(--steel); }

/* ---------- Page transition: the logo's V and inverted V rise between pages ---------- */
.page-transition {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--white); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .4s ease, visibility .4s;
}
.page-transition svg { width: 118px; height: auto; overflow: visible; }
.page-transition path { fill: var(--steel); transform-box: fill-box; }
html.pt-leave .page-transition, html.pt-enter .page-transition { opacity: 1; visibility: visible; }
html.pt-leave .page-transition { transition-duration: .3s; }
html.pt-leave .pt-v { animation: pt-rise .5s var(--ease) .04s both; }
html.pt-leave .pt-a { animation: pt-rise .5s var(--ease) .16s both; }
html.pt-enter .pt-v, html.pt-enter .pt-a { animation: pt-lift .7s var(--ease) both; }
@keyframes pt-rise { from { transform: translateY(46px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pt-lift { from { transform: none; } to { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .page-transition { display: none; } }

/* ---------- Contact page: panel with form, details and a line map ---------- */
.contact7 { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact7__panel { padding: clamp(28px, 4vw, 52px); }
.contact7__panel h2 { margin-bottom: 16px; }
.contact7__panel .form { margin-top: 30px; grid-template-columns: 1fr; }
.contact7__info { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-bottom: 32px; }
.contact7__info h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 10px; }
.contact7__info a { color: var(--navy); text-decoration: none; }
.contact7__info a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact7__social { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); }
.contact7__social svg { width: 18px; height: 18px; }
.map { margin: 0; background: var(--navy); color: var(--steel-light); }
.map-svg { display: block; width: 100%; height: auto; }
.m-ring { fill: none; stroke: currentColor; stroke-dasharray: 3 7; opacity: .35; }
.m-river { fill: none; stroke: currentColor; stroke-width: 6; stroke-linecap: round; opacity: .22; }
.m-river--minor { stroke-width: 3; }
.m-road { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; opacity: .8; }
.m-road--motorway { stroke-width: 2.6; opacity: 1; }
.m-road--minor { stroke-width: 1.2; stroke-dasharray: 7 5; opacity: .6; }
.m-town { fill: currentColor; }
.m-label { font: 400 13px var(--font); fill: currentColor; }
.m-label--home { font-size: 15px; font-weight: 500; fill: var(--white); }
.m-road-label { font: 500 11px var(--font); letter-spacing: .08em; fill: currentColor; opacity: .85; }
.m-river-label { font: italic 400 12px var(--font); fill: currentColor; opacity: .7; }
.m-pin path { fill: var(--white); }
.m-pin-dot { fill: var(--navy); }
.m-north path { fill: currentColor; }
.m-north text, .m-scale text { font: 500 11px var(--font); fill: currentColor; }
.m-scale path { fill: none; stroke: currentColor; stroke-width: 1.2; }
.map-link { display: inline-block; margin-top: 14px; color: var(--navy); font-size: 15px; }
@media (max-width: 900px) { .contact7 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .contact7__info { grid-template-columns: 1fr; } }
/* Map labels: a navy outline keeps them legible where they cross roads and rivers */
.m-label, .m-road-label, .m-river-label, .m-scale text, .m-north text { paint-order: stroke; stroke: var(--navy); stroke-width: 4px; stroke-linejoin: round; }

/* Home introduction: wider and larger, with a button to the contact page */
.intro--wide h1 { max-width: 1120px; margin: 0 auto; font-size: clamp(2.1rem, 3.5vw, 3.25rem); line-height: 1.16; letter-spacing: -0.02em; }
.intro--wide p { max-width: 60ch; margin: 26px auto 0; font-size: 1.12rem; }
.intro--wide .btn { margin-top: 34px; }
/* ---------- Contact map, refined ---------- */
.map { background: #0d182e; }
.m-grid { fill: none; stroke: #c9ccd1; stroke-width: .6; opacity: .06; }
.m-region { font: 500 12px var(--font); letter-spacing: .42em; text-transform: uppercase; fill: #c9ccd1; opacity: .28; }
.m-ring { fill: none; stroke: #c9ccd1; stroke-width: 1; stroke-dasharray: 2 6; opacity: .4; }
.m-ring-label { font: 500 10.5px var(--font); letter-spacing: .12em; text-transform: uppercase; fill: #c9ccd1; opacity: .6; paint-order: stroke; stroke: #13213c; stroke-width: 4px; }
.m-water rect { fill: #3a5178; opacity: .55; }
.m-river { fill: none; stroke: #3a5178; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.m-river--minor { stroke-width: 3.5; opacity: .6; }
.m-river-line { fill: none; stroke: #9fb3d1; stroke-width: 1; opacity: .55; }
.m-runways { fill: none; stroke: #c9ccd1; stroke-width: 2.4; opacity: .35; }
.m-aroad { fill: none; stroke: #c9ccd1; stroke-width: 1.3; stroke-linejoin: round; opacity: .45; }
.m-motorway path { fill: none; stroke: #0a1325; stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.m-motorway--line path { stroke: #d6d9de; stroke-width: 2.2; }
.m-shield rect { fill: #13213c; stroke: #c9ccd1; stroke-width: 1; }
.m-shield text { font: 600 10px var(--font); fill: #e6e8eb; text-anchor: middle; letter-spacing: .04em; }
.m-town { fill: #13213c; stroke: #c9ccd1; stroke-width: 1.4; }
.m-town--major { fill: #c9ccd1; stroke: #13213c; stroke-width: 1.6; }
.m-label { font: 400 12.5px var(--font); fill: #c9ccd1; }
.m-label--major { font-size: 14px; font-weight: 500; fill: #e6e8eb; }
.m-home { font: 500 17px var(--font); fill: #fff; paint-order: stroke; stroke: #13213c; stroke-width: 5px; stroke-linejoin: round; }
.m-home-sub { font: 400 10.5px var(--font); letter-spacing: .14em; text-transform: uppercase; fill: #c9ccd1; paint-order: stroke; stroke: #13213c; stroke-width: 4px; stroke-linejoin: round; }
.m-pin .m-core { fill: #fff; stroke: #13213c; stroke-width: 2.5; }
.m-pin .m-halo { fill: none; stroke: #fff; stroke-width: 1.2; opacity: .7; }
.m-pin .m-pulse { fill: #fff; opacity: .12; transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) { .m-pin .m-pulse { animation: m-pulse 2.8s ease-out infinite; } }
@keyframes m-pulse { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(2.4); opacity: 0; } }
.m-north circle { fill: none; stroke: #c9ccd1; stroke-width: 1; opacity: .5; }
.m-north path { fill: #e6e8eb; }
.m-north text { font: 600 11px var(--font); fill: #c9ccd1; }
.m-scale rect { fill: #c9ccd1; }
.m-scale path { fill: none; stroke: #c9ccd1; stroke-width: 1; }
.m-scale text { font: 500 10.5px var(--font); fill: #c9ccd1; }
.m-frame { fill: none; stroke: #c9ccd1; stroke-width: 1; opacity: .18; }
.m-label, .m-label--major, .m-river-label, .m-scale text, .m-north text { paint-order: stroke; stroke: #13213c; stroke-width: 4px; stroke-linejoin: round; }
.m-river-label { font: italic 400 12px var(--font); fill: #9fb3d1; opacity: .9; }
/* About and Services introductions: the same wide measure as the home page */
.intro--wide h2 { max-width: 1120px; margin: 0 auto; font-size: clamp(2rem, 3.2vw, 3rem); line-height: 1.16; letter-spacing: -0.02em; }
.intro--wide p { max-width: 82ch; }
.intro--wide p.lead-center { max-width: 1080px; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.5; }


/* Map: villages and suburbs in the same style, one step quieter */
.m-town--minor { stroke-width: 1.1; }
.m-label--minor { font-size: 10.5px; fill: #aeb4bf; }

/* ---------- Page transition, refined: white, with the logo's grey arrows ----------
   Leaving: a white panel wipes up from the bottom, the V drops and the inverted V rises into place,
   and a hairline draws out beneath them. Arriving: the arrows part (V down, inverted V up),
   the hairline retracts and the panel lifts away to reveal the page. */
.page-transition {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: var(--white); opacity: 1; visibility: hidden; transition: none;
  clip-path: inset(100% 0 0 0);
}
.page-transition svg { width: 112px; }
.page-transition path { fill: var(--steel); }
.pt-rule { display: block; width: 132px; height: 1px; background: var(--steel); opacity: .55; transform: scaleX(0); }
html.pt-leave .page-transition { visibility: visible; animation: pt-wipe-in .6s cubic-bezier(.77,0,.18,1) both; }
html.pt-leave .pt-v { animation: pt-drop .65s cubic-bezier(.2,.8,.2,1) .2s both; }
html.pt-leave .pt-a { animation: pt-up .65s cubic-bezier(.2,.8,.2,1) .28s both; }
html.pt-leave .pt-rule { animation: pt-draw .7s cubic-bezier(.65,0,.35,1) .3s both; }
html.pt-enter .page-transition { visibility: visible; clip-path: inset(0); animation: none; }
html.pt-enter .pt-v, html.pt-enter .pt-a { animation: none; transform: none; opacity: 1; }
html.pt-enter .pt-rule { transform: scaleX(1); }
html.pt-enter.pt-exit .page-transition { animation: pt-wipe-out .75s cubic-bezier(.77,0,.18,1) .28s both; }
html.pt-enter.pt-exit .pt-v { animation: pt-v-out .5s cubic-bezier(.5,0,.75,0) both; }
html.pt-enter.pt-exit .pt-a { animation: pt-a-out .5s cubic-bezier(.5,0,.75,0) both; }
html.pt-enter.pt-exit .pt-rule { animation: pt-undraw .45s cubic-bezier(.65,0,.35,1) both; }
@keyframes pt-wipe-in { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes pt-wipe-out { from { clip-path: inset(0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes pt-drop { from { transform: translateY(-30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pt-up { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pt-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pt-undraw { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@keyframes pt-v-out { to { transform: translateY(22px); opacity: 0; } }
@keyframes pt-a-out { to { transform: translateY(-22px); opacity: 0; } }
/* Map: Elevate tag beside the office marker, in the logo's own colours */
.m-tag rect { fill: #fff; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.m-tag-leader { fill: none; stroke: #fff; stroke-width: 1.2; }
.m-tag-ink { fill: #13213c; }
.m-tag-accent { fill: #9c9fa5; }

/* Support at every stage: RIBA Plan of Work stages */
.stages--riba { grid-template-columns: repeat(6, 1fr); counter-reset: none; }
.stages--riba li { counter-increment: none; display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 26px; }
.stages--riba li::before { content: none; }
.stage-no { font-size: 1.9rem; font-weight: 300; color: var(--steel); line-height: 1; margin-bottom: 8px; }
.stages--riba strong { font-weight: 500; color: var(--navy); font-size: 15.5px; line-height: 1.3; }
.stage-desc { font-size: 14.5px; color: var(--text); line-height: 1.5; }
@media (max-width: 1100px) { .stages--riba { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .stages--riba { grid-template-columns: 1fr 1fr; } }
/* RIBA stage and Where we work boxes: the same hover as the What we do cards */
.stages--riba li, .area, .accred > div {
  border: 1px solid rgba(19,33,60,.08); border-top: 2px solid var(--navy);
  transition: border-color .25s, background-color .25s;
}
.stages--riba li:hover, .area:hover, .accred > div:hover { border-color: var(--navy); background: var(--white); }

/* Page banner titling: a short eyebrow and a steel rule beneath the title, over the full colour photo */
.page-hero--mask > img { transform: scale(1.06); animation: hero-settle 2.4s var(--ease) forwards; }
.page-hero--mask .hero-eyebrow, .page-hero--mask h1 { text-shadow: 0 1px 14px rgba(8,15,30,.55), 0 1px 2px rgba(8,15,30,.35); }
.page-hero--mask h1::after { box-shadow: 0 1px 6px rgba(8,15,30,.35); }
.page-hero--mask .wrap { padding-bottom: clamp(48px, 7vw, 96px); }
.hero-eyebrow {
  display: block; margin-bottom: 18px; color: var(--white);
  font-size: 13px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase;
}
.page-hero--mask h1 { font-weight: 300; letter-spacing: -0.02em; }
.page-hero--mask h1::after {
  content: ""; display: block; width: 72px; height: 1px; margin-top: 28px;
  background: var(--steel-light); transform-origin: left; transform: scaleX(0);
  animation: hero-rule 1.2s .5s var(--ease) forwards;
}
.page-hero--mask .hero-eyebrow, .page-hero--mask h1 { opacity: 0; animation: hero-rise 1s var(--ease) forwards; }
.page-hero--mask h1 { animation-delay: .15s; }
@keyframes hero-settle { to { transform: scale(1); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hero-rule { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .page-hero--mask > img, .page-hero--mask .hero-eyebrow, .page-hero--mask h1, .page-hero--mask h1::after { animation: none; opacity: 1; transform: none; }
}

/* Project galleries: show a lead photo whole rather than cropped to 16:9 */
.stack button.stack-full { aspect-ratio: 4 / 3; }

/* =====================================================================
   Version 9
   ===================================================================== */

/* Home: introduction set inside the banner, bottom left, over a soft shade */
.slideshow .hero-copy { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; pointer-events: none; }
.slideshow .hero-copy .wrap { width: 100%; padding-bottom: clamp(64px, 8vh, 96px); }
.slideshow .hero-copy h1 { color: #fff; max-width: 15.5em; font-size: clamp(2rem, 3.4vw, 3.1rem); font-weight: 300; line-height: 1.12; letter-spacing: -0.02em; text-shadow: 0 1px 18px rgba(8,15,30,.35); }
.slideshow .hero-copy p { color: rgba(255,255,255,.9); max-width: 34em; margin-top: 22px; font-size: 1.08rem; line-height: 1.6; }
.slideshow .hero-copy .btn { pointer-events: auto; margin-top: 30px; }
.btn--hero { background: transparent; border: 1px solid rgba(255,255,255,.8); color: #fff; }
.btn--hero:hover { background: #fff; color: var(--navy); border-color: #fff; }
.slideshow::after {
  background:
    linear-gradient(90deg, rgba(8,15,30,.7) 0%, rgba(8,15,30,.42) 40%, rgba(8,15,30,0) 72%),
    linear-gradient(to top, rgba(8,15,30,.6) 0%, rgba(8,15,30,0) 55%) !important;
}
@media (max-width: 760px) {
  .slideshow::after { background: linear-gradient(to top, rgba(8,15,30,.85) 0%, rgba(8,15,30,.45) 60%, rgba(8,15,30,.2) 100%) !important; }
  .slideshow .hero-copy p { font-size: 1rem; }
}


/* Home banner fills the rest of the screen below the top bar */
.slideshow { height: calc(100vh - var(--header-h)) !important; height: calc(100svh - var(--header-h)) !important; margin-bottom: 0 !important; }
/* Faster slideshow fade */
.slide { transition: opacity 1.1s ease !important; }

/* Home About section: a short statement in place of the 'About us' title */
.about-punch { font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.15; letter-spacing: -0.02em; max-width: 13em; }

.about-punch { max-width: none; }

/* Home About: statement on the left, supporting text on the right */
.about-split { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-split__text { padding-top: .6em; }
.about-split__text .btn { margin-top: 18px; }
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; } .about-split__text { padding-top: 0; } }

/* Wider supporting text in the home About section */
.about-split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); }
@media (max-width: 900px) { .about-split { grid-template-columns: 1fr; } }

/* Home service cards: title only, not links */
.svc--home { align-items: center; }

/* Home: About and Our Services share one grid, so the statement lines up with the Services heading
   and the supporting text lines up with the service boxes */
.about-split, .home .areas { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) !important; gap: clamp(32px, 5vw, 80px) !important; }
.about-split__text { padding-top: 0; }
@media (max-width: 900px) { .about-split, .home .areas { grid-template-columns: 1fr !important; } }

/* Page banners: the same size as the home banner, filling the screen below the top bar */
.page-hero { height: calc(100vh - var(--header-h)) !important; height: calc(100svh - var(--header-h)) !important; min-height: 480px; max-height: none !important; }

/* ---------- Services page: alternating text panels and photo slideshows (after Sophie Paterson) ---------- */
.promos .wrap { display: grid; gap: clamp(28px, 3vw, 44px); }
.promo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 3fr); gap: clamp(16px, 2vw, 28px); scroll-margin-top: calc(var(--header-h) + 24px); }
.promo--flip { grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); }
.promo--flip .promo__media { order: -1; }
.promo__text {
  background-color: var(--stone); background-image: var(--grain), var(--grid-major), var(--grid-minor);
  background-size: 220px 220px, 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  padding: 14px;
}
.promo__inner { height: 100%; border: 1px solid rgba(19,33,60,.16); padding: clamp(36px, 5vw, 76px) clamp(28px, 4vw, 60px); }
.promo__kicker { display: block; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--steel); margin-bottom: 16px; }
.promo h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 22px; }
.promo p { max-width: 60ch; }
.promo__list { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.promo__list li { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-size: 15.5px; }
.promo__list .svc__icon { width: 46px; height: 46px; }
.promo__list .svc__icon svg { width: 30px; height: 30px; }
.promo__media { position: relative; overflow: hidden; background: var(--navy); min-height: 460px; }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.promo__media img.is-on { opacity: 1; }
.promo__dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 4px; z-index: 1; }
.promo__dots button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.promo__dots button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.6); box-shadow: 0 0 4px rgba(0,0,0,.35); }
.promo__dots button[aria-current="true"]::before { background: #fff; }
@media (max-width: 900px) {
  .promo, .promo--flip { grid-template-columns: 1fr; }
  .promo--flip .promo__media { order: 0; }
  .promo__media { min-height: 0; aspect-ratio: 4 / 3; }
}
/* Services rows: one per service, with the service icon in place of a photo */
.promo--icon .promo__inner { padding-top: clamp(30px, 4vw, 56px); padding-bottom: clamp(30px, 4vw, 56px); }
.promo__media--icon { min-height: 0; display: grid; place-items: center; color: var(--steel-light); }
.promo__media--icon svg { width: 46%; max-width: 170px; height: auto; }
@media (max-width: 900px) { .promo__media--icon { aspect-ratio: auto; height: 200px; } }

/* Services: two per row, tighter, icon beside the text */
.promos .wrap { grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.8vw, 24px); }
.promo--icon, .promo--icon.promo--flip { grid-template-columns: clamp(120px, 11vw, 160px) minmax(0, 1fr); gap: 0; }
.promo--icon.promo--flip .promo__media { order: -1; }
.promo--icon .promo__text { padding: 10px; }
.promo--icon .promo__inner { padding: clamp(22px, 2.4vw, 34px) clamp(22px, 2.4vw, 34px); }
.promo--icon h2 { font-size: clamp(1.45rem, 2vw, 1.85rem); margin-bottom: 12px; }
.promo--icon p { font-size: 15px; line-height: 1.6; margin-bottom: .7em; }
.promo--icon .promo__kicker { display: none; }
.promo__media--icon svg { width: 62%; max-width: 92px; }
.promo--icon:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (max-width: 1000px) { .promos .wrap { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .promo--icon, .promo--icon.promo--flip { grid-template-columns: 1fr; } .promo__media--icon { height: 140px; } }
.promo--icon .promo__media { order: -1; }

/* Feasibility studies: same half width as the other service cards */
.promo--icon:last-child:nth-child(odd) { grid-column: auto; }

/* Services banner: shortened introduction set inside the banner, as on the home page */
.page-hero--copy h1 { max-width: 15em; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.12; }
.page-hero--copy .hero-lead { max-width: 36em; margin-top: 20px; color: rgba(255,255,255,.9); font-size: 1.08rem; line-height: 1.6; text-shadow: 0 1px 10px rgba(8,15,30,.5); }
.page-hero--copy::after { background: linear-gradient(90deg, rgba(8,15,30,.65) 0%, rgba(8,15,30,.35) 45%, rgba(8,15,30,0) 75%), linear-gradient(to top, rgba(8,15,30,.6) 0%, rgba(8,15,30,0) 55%) !important; }

/* Services cards: hover enhancement - the card lifts, the panel brightens and the icon draws in slightly */
.promo--icon { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.promo--icon .promo__media { transition: background-color .35s var(--ease); }
.promo--icon .promo__media svg { transition: transform .45s var(--ease), color .35s; }
.promo--icon .promo__text { transition: background-color .35s var(--ease); }
.promo--icon .promo__inner { transition: border-color .35s var(--ease); }
.promo--icon h2 { transition: color .35s; }
.promo--icon:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -14px rgba(19,33,60,.4); }
.promo--icon:hover .promo__media { background: var(--navy-deep); }
.promo--icon:hover .promo__media svg { transform: scale(1.12); color: #fff; }
.promo--icon:hover .promo__text { background-color: #f1efe9; }
.promo--icon:hover .promo__inner { border-color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .promo--icon:hover, .promo--icon:hover .promo__media svg { transform: none; } }
/* Services banner: same proportions as the home banner, larger 'Our services', no rule */
.page-hero--copy .wrap { padding-bottom: clamp(64px, 8vh, 96px) !important; }
.page-hero--copy h1 { max-width: 15.5em; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.12; letter-spacing: -0.02em; }
.page-hero--copy h1::after { content: none !important; display: none !important; }
.page-hero--copy .hero-lead { max-width: 34em; margin-top: 22px; font-size: 1.08rem; line-height: 1.6; }
.page-hero--copy .hero-eyebrow { font-size: clamp(1rem, 1.3vw, 1.2rem); letter-spacing: .2em; margin-bottom: 20px; }

/* Services: header row and six professional cards */
.svc-head { margin-bottom: clamp(40px, 5vw, 64px); }
.svc-head__text { font-size: 1.08rem; line-height: 1.7; margin: 0; }
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 24px); }
.svc-card {
  position: relative; display: flex; flex-direction: column; background: var(--white);
  padding: clamp(28px, 2.6vw, 38px); border-top: 2px solid var(--navy);
  box-shadow: 0 1px 0 rgba(19,33,60,.08), 0 0 0 1px rgba(19,33,60,.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.svc-card__icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--navy); color: var(--steel-light); margin-bottom: 24px; transition: background-color .35s; }
.svc-card__icon svg { width: 40px; height: 40px; transition: transform .45s var(--ease), color .35s; }
.svc-card h3 { font-size: 1.3rem; line-height: 1.3; margin-bottom: 12px; }
.svc-card p { font-size: 15px; line-height: 1.65; margin-bottom: 20px; }
.svc-card ul { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid var(--line); }
.svc-card li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--navy); }
.svc-card li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; background: var(--steel); }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px -18px rgba(19,33,60,.45), 0 0 0 1px rgba(19,33,60,.08); }
.svc-card:hover .svc-card__icon { background: var(--navy-deep); }
.svc-card:hover .svc-card__icon svg { transform: scale(1.1); color: #fff; }
@media (max-width: 1000px) { .svc-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .svc-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .svc-card:hover, .svc-card:hover .svc-card__icon svg { transform: none; } }

/* Services banner label: previous size, sentence-style capitals */
.page-hero--copy .hero-eyebrow { text-transform: none; letter-spacing: .04em; }

/* Services: opening statement */
.svc-lead { max-width: 30em; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; color: var(--navy); font-size: clamp(1.3rem, 1.9vw, 1.7rem); font-weight: 300; line-height: 1.55; letter-spacing: -0.005em; }
.svc-lead { max-width: 34em; text-wrap: balance; }

/* Services intro laid out like the home About section */
.svc-intro { margin-bottom: clamp(48px, 6vw, 80px); }
.svc-intro .about-split__text p { font-size: 1.08rem; line-height: 1.7; margin: 0; }

.page-hero--copy .btn--hero { margin-top: 30px; }

/* How we work: process cards in the same theme as the service cards */
.step-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.8vw, 24px); }
.step-card__no { font-size: 1.6rem; font-weight: 300; color: #fff; }
.step-card__stage { display: block; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 8px; }
.step-card:hover .step-card__no { color: #fff; }
@media (max-width: 640px) { .step-cards { grid-template-columns: 1fr; } }

/* Where we work: area cards restyled to match the service cards */
.area.area--card {
  display: flex; flex-direction: column; background: var(--white);
  padding: clamp(22px, 2vw, 28px); border: 0; border-top: 2px solid var(--navy);
  box-shadow: 0 1px 0 rgba(19,33,60,.08), 0 0 0 1px rgba(19,33,60,.06);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.area--card .area__icon { width: 44px; height: 44px; margin-bottom: 16px; }
.area--card .area__icon svg { width: 24px; height: 24px; }
.area--card h3 { font-size: 1.05rem; line-height: 1.3; margin-bottom: 12px; }
.area--card ul { border-top: 1px solid var(--line); }
.area--card li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--navy); }
.area.area--card:hover { transform: translateY(-4px); background: var(--white); border-color: var(--navy); box-shadow: 0 18px 36px -18px rgba(19,33,60,.45), 0 0 0 1px rgba(19,33,60,.08); }
.area--card:hover .svc-card__icon { background: var(--navy-deep); }
.area--card:hover .svc-card__icon svg { transform: scale(1.1); color: #fff; }
@media (prefers-reduced-motion: reduce) { .area.area--card:hover { transform: none; } }
/* Where we work: back to the earlier box proportions, keeping the card theme and hover */
.area.area--card { padding: 20px 20px 18px; }
.area--card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.area--card ul { border-top: 0; }
.area--card li { padding: 3px 0; border-bottom: 0; font-size: 15.5px; color: var(--text); }

/* How we work: heading and introduction across the top, four steps in one row */
.how-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); margin-bottom: clamp(36px, 4vw, 56px); }
.how-head h2 { grid-row: span 2; }
.how-head p { margin: 0 0 .8em; font-size: 1.05rem; }
.step-cards { grid-template-columns: repeat(4, 1fr); }
.step-card { padding: clamp(22px, 2vw, 30px); }
.step-card__no { width: 52px; height: 52px; margin-bottom: 18px; font-size: 1.4rem; }
.step-card h3 { font-size: 1.2rem; }
@media (max-width: 1100px) { .step-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .how-head { grid-template-columns: 1fr; gap: 16px; } .how-head h2 { grid-row: auto; } }
@media (max-width: 560px) { .step-cards { grid-template-columns: 1fr; } }
.how-head h2 { grid-row: auto; }

/* Services title on its own */
.svc-title { margin-bottom: clamp(36px, 4vw, 56px); }

/* Where we work: small map under the introduction */
.where-map { margin: 28px 0 0; max-width: 460px; box-shadow: 0 0 0 1px rgba(19,33,60,.08); }

/* How we work: text left, image right (after Ellis + Company), steps below */
.how-head--img { align-items: end; }
.how-head--img h2 { margin-bottom: 20px; }
.how-head__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 8%; }
@media (max-width: 760px) { .how-head__img { order: -1; } }

/* What we promise you: heading and image left, four promises right */
.promise { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.promise__lead h2 { margin-bottom: 18px; }
.promise__lead p { font-size: 1.05rem; max-width: 34em; margin-bottom: 28px; }
.promise__lead img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.promise__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.8vw, 24px); }
.promise-card { padding: clamp(24px, 2.4vw, 34px); }
.promise-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.promise-card p { margin: 0; }
@media (max-width: 900px) { .promise { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .promise__grid { grid-template-columns: 1fr; } }
.how-head__img img { aspect-ratio: 16 / 9; object-position: 50% 0%; }


/* What we promise you: heading above; image and cards side by side at the same height */
.promise__title { margin-bottom: clamp(32px, 4vw, 52px); }
.promise { align-items: stretch; }
.promise__img { position: relative; min-height: 300px; }
.promise__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
@media (max-width: 900px) { .promise__img { min-height: 0; aspect-ratio: 3 / 2; } }

/* How we work: text column the same width as the promise image column, aligned to the top of the photo */
.how-head--img { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 760px) { .how-head--img { grid-template-columns: 1fr; } }
/* Contact details with round icons (after Ellis + Company) */
.contact-icons { grid-template-columns: 1fr 1fr; gap: 28px 36px; }
.ci { display: flex; gap: 16px; align-items: flex-start; }
.ci__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; }
.ci__icon svg { width: 20px; height: 20px; }
.ci h3 { font-size: 1.05rem; font-weight: 500; margin: 2px 0 6px; }
.ci p { margin: 0; line-height: 1.6; }
@media (max-width: 520px) { .contact-icons { grid-template-columns: 1fr; } }

/* Banners without a button: lift the text to the same height as the Services banner text */
.page-hero--nobtn .wrap { padding-bottom: calc(clamp(64px, 8vh, 96px) + 100px) !important; }

/* Contact details: icons only, one column */
.contact-icons { grid-template-columns: 1fr; gap: 18px; }
.ci { align-items: center; }
.ci p { font-size: 1.05rem; color: var(--navy); }
.ci a { color: var(--navy); }

/* Address icon aligned with the first line of the address */
.contact-icons .ci:first-child { align-items: flex-start; }

/* Contact details: two aligned columns, line icons without a background */
.contact-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; margin-bottom: 32px; }
.contact-col { display: grid; gap: 16px; align-content: start; }
.contact-cols .ci { display: flex; align-items: flex-start; gap: 14px; }
.contact-cols .ci__icon { width: 28px; height: 28px; border-radius: 0; background: none; color: var(--navy); display: grid; place-items: center; flex: none; }
.contact-cols .ci__icon svg { width: 22px; height: 22px; }
.contact-cols p { margin: 0; font-size: 1.05rem; line-height: 28px; color: var(--navy); }
.contact-cols a { color: var(--navy); text-decoration: none; }
.contact-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ci__title { margin: 0; font-size: 1.05rem; font-weight: 500; line-height: 28px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 520px) { .contact-cols { grid-template-columns: 1fr; gap: 16px; } }
/* Shared 34px line rhythm so the rows on each side line up */
.contact-col { gap: 0; }
.contact-cols p, .ci__title { line-height: 34px; }
.contact-cols .ci__icon { height: 34px; }
.contact-cols .ci__title, .contact-cols p { margin: 0 !important; padding: 0; }

/* Banner headlines: balance line lengths so no single word is left on the last line */
.page-hero--copy h1 { text-wrap: balance; }

/* Professional accreditation: two cards in the site card style */
.accred-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 1.8vw, 24px); }
.accred-cards .accred__logo { height: 56px; width: auto; margin: 0 0 18px; }
.accred-cards .svc-card p { margin: 0; }
@media (max-width: 640px) { .accred-cards { grid-template-columns: 1fr; } }

/* Banner headlines: full home-page width; avoid a lone last word without narrowing every line */
.page-hero--copy h1 { text-wrap: pretty; max-width: 15.5em; }
.page-hero--copy h1 { max-width: 17.5em; }

/* About: accreditation mirrors the section above (cards left, heading right) */
.areas--flip { grid-template-columns: 9fr 4fr; }
.areas--flip .areas__intro { order: 2; }
@media (max-width: 900px) { .areas--flip { grid-template-columns: 1fr; } .areas--flip .areas__intro { order: 0; } }
/* Contact banner: earlier, narrower headline width */
.page-hero--narrow h1 { max-width: 15.5em; }

/* Home and About service/sector boxes: same hover as the Services page cards */
.svc { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s, background-color .25s; }
.svc .svc__icon svg { transition: transform .45s var(--ease), color .35s; }
.svc:hover { transform: translateY(-4px); background: var(--white); border-color: rgba(19,33,60,.08); box-shadow: 0 18px 36px -18px rgba(19,33,60,.45), 0 0 0 1px rgba(19,33,60,.08); }
.svc:hover .svc__icon { background: var(--navy-deep); }
.svc:hover .svc__icon svg { transform: scale(1.1); color: #fff; }
@media (prefers-reduced-motion: reduce) { .svc:hover, .svc:hover .svc__icon svg { transform: none; } }
/* What we promise you: heading above the promise cards on the right */
.promise__right .promise__title { margin-bottom: clamp(20px, 2.4vw, 32px); }
.promise { align-items: stretch; }
.promise__img { min-height: 0; }
/* Footer: separator before the company number */
.footer-sep { margin: 0 .6em; opacity: .5; }

/* Services: intro left, cards right (two columns), icon and title side by side, shorter cards */
.svc-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.svc-layout .svc-cards { grid-template-columns: 1fr 1fr; }
.svc-card__head { display: flex; align-items: center; gap: 18px; margin-bottom: 14px; }
.svc-card__head .svc-card__icon { margin-bottom: 0; width: 56px; height: 56px; flex: none; }
.svc-card__head .svc-card__icon svg { width: 34px; height: 34px; }
.svc-card__head h3 { margin: 0; }
.svc-card { padding: clamp(22px, 2vw, 28px); }
.svc-card p { margin-bottom: 14px; }
.svc-card li { padding: 8px 0 8px 22px; }
.step-card .svc-card__head .step-card__no { width: 52px; height: 52px; margin-bottom: 0; }
.step-card .svc-card__head .step-card__stage { margin-bottom: 4px; }
@media (max-width: 1000px) { .svc-layout { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .svc-layout .svc-cards { grid-template-columns: 1fr; } }

.svc-layout .svc-card p { margin-bottom: 0; }

/* What we do boxes: compact inclusion list under each description */
.svc--detail ul { list-style: none; margin: 8px 0 0; padding: 0; }
.svc--detail li { position: relative; padding: 2px 0 2px 16px; font-size: 14px; line-height: 1.45; color: var(--navy); }
.svc--detail li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--steel); }
.svc--detail p { margin-bottom: 0; }

/* Page banners (all except home) at the depth of the version 8 home banner */
.page-hero { height: calc(100vh - 2 * var(--header-h)) !important; height: calc(100svh - 2 * var(--header-h)) !important; min-height: 420px; }
/* What we do boxes: description and inclusions at the same size, slightly more spacing */
.svc--detail p, .svc--detail li { font-size: 15px; line-height: 1.65; }
.svc--detail h3 { margin-bottom: 8px; }
.svc--detail ul { margin-top: 12px; }
.svc--detail li { padding: 3px 0 3px 16px; }
.svc--detail li::before { top: 1.05em; }

/* ===== Version 10 additions ===== */
/* Home services: version 8 boxes, four across */
.svc-grid--four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .svc-grid--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid--four { grid-template-columns: 1fr; } }
.svc-intro-text, .svc-more { font-size: 1.05rem; line-height: 1.7; color: var(--text); font-weight: 400; letter-spacing: 0; text-transform: none; }
.svc-more { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.svc-more:hover { color: var(--navy); }

/* Why our clients choose us: heading on top, four boxes in a line, version 8 box style and hover */
.why-head { max-width: 760px; margin-left: auto; margin-right: auto; }
.why-head p { font-size: 1.05rem; color: var(--text); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: why; }
.why-card {
  position: relative; display: flex; flex-direction: column; gap: 16px;
  padding: 30px 26px 28px; background: rgba(255,255,255,.75); border: 1px solid rgba(19,33,60,.08);
  transition: border-color .25s, background-color .25s;
}
.why-card::after { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--navy); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.why-card .svc__icon { width: 64px; height: 64px; transition: background-color .25s; }
.why-card .svc__icon svg { width: 40px; height: 40px; }
.why-card h3 { font-size: 1.12rem; line-height: 1.3; margin: 0; }
.why-card p { margin: 0; font-size: 15px; line-height: 1.65; }
.why-card:hover { border-color: var(--navy); background: var(--white); }
.why-card:hover::after { transform: scaleX(1); }
.why-card:hover .svc__icon { background: var(--navy-deep); }
@media (max-width: 1100px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* Professional accreditation: navy feature band */
.accred-band {
  background-color: var(--navy); color: rgba(255,255,255,.82);
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
}
.accred-band__inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.accred-band h2 { color: #fff; margin-bottom: 18px; }
.accred-band__intro p { font-size: 1.05rem; max-width: 30em; }
.accred-band .accred__logo { height: 60px; width: auto; margin-top: 24px; background: #fff; padding: 8px 12px; }
.accred-band__items { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.accred-item { display: flex; gap: 20px; align-items: flex-start; padding: 28px; border: 1px solid rgba(201,204,209,.28); transition: border-color .25s, background-color .25s; }
.accred-item__icon { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--steel-light); display: grid; place-items: center; color: #fff; }
.accred-item__icon svg { width: 34px; height: 34px; }
.accred-item h3 { color: #fff; font-size: 1.2rem; margin: 6px 0 10px; }
.accred-item p { margin: 0; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.78); }
.accred-item:hover { border-color: var(--steel-light); background: rgba(255,255,255,.04); }
@media (max-width: 1000px) { .accred-band__inner { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .accred-band__items { grid-template-columns: 1fr; } }
/* Why our clients choose us: stone feature band with a navy rule, white cards with a top accent, icon and title side by side */
.why-band {
  background-color: var(--stone); background-image: var(--grain), var(--grid-major), var(--grid-minor);
  background-size: 220px 220px, 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  border-top: 4px solid var(--navy);
}
.why-band .why-head h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.why-band .why-head h2::after { content: ""; display: block; width: 64px; height: 2px; margin: 22px auto 0; background: var(--navy); }
.why-band .why-card { background: var(--white); border: 0; border-top: 3px solid var(--navy); box-shadow: 0 10px 30px -18px rgba(19,33,60,.35); padding: 28px 26px 30px; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.why-band .why-card::after { display: none; }
.why-card__head { display: flex; align-items: center; gap: 16px; }
.why-card__head .svc__icon { width: 56px; height: 56px; flex: none; }
.why-card__head .svc__icon svg { width: 34px; height: 34px; transition: transform .45s var(--ease), color .35s; }
.why-card__head h3 { font-size: 1.12rem; line-height: 1.3; }
.why-band .why-card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -18px rgba(19,33,60,.5); background: var(--white); }
.why-band .why-card:hover .svc__icon { background: var(--navy-deep); }
.why-band .why-card:hover .svc__icon svg { transform: scale(1.1); color: #fff; }
@media (prefers-reduced-motion: reduce) { .why-band .why-card:hover, .why-band .why-card:hover .svc__icon svg { transform: none; } }
/* Short navy rule under section subheadings (as on Why our Clients choose us) */
main .section h2:not(.h3like)::after,
main .accred-band h2::after,
main .cta h2::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 22px; background: var(--navy); }
main .section-title h2::after { margin-left: auto; margin-right: auto; }
main .accred-band h2::after, main .cta h2::after { background: var(--steel-light); }
.why-band .why-head h2::after { margin: 22px auto 0; }
.why-band { border-top: 0; }

.why-lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem) !important; color: var(--navy) !important; font-weight: 300; letter-spacing: .01em; }

/* Privacy notice */
.legal__wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2.2rem, 3.6vw, 3.1rem); margin-bottom: 10px; }
.legal__updated { color: var(--steel); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: clamp(1.35rem, 2vw, 1.6rem); margin: 44px 0 14px; }
.legal h2::after { display: none !important; }
.legal p, .legal li { font-size: 16px; line-height: 1.75; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--navy); }
.form-privacy { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--text); }
.form-privacy a { color: var(--navy); }

/* Contact details: let the longer email set its own column width */
.contact-cols { grid-template-columns: auto 1fr; gap: 0 44px; }
.contact-cols p { white-space: nowrap; }
@media (max-width: 1100px) { .contact-cols { grid-template-columns: 1fr; gap: 0; } .contact-cols p { white-space: normal; } }

/* Home service boxes: same solid tone as the Services page boxes */
.home .svc-grid--four .svc { background: #fdfcfa; }
.home .svc-grid--four .svc:hover { background: var(--white); }

/* 404 page */
.notfound__section { min-height: calc(100vh - var(--header-h) - 300px); display: flex; align-items: center; }
.notfound__wrap { max-width: 760px; text-align: center; }
.notfound__code { display: block; font-size: clamp(5rem, 12vw, 9rem); font-weight: 300; line-height: 1; color: var(--steel-light); letter-spacing: -0.04em; margin-bottom: 18px; }
.notfound h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.notfound h1::after { content: ''; display: block; width: 64px; height: 2px; margin: 22px auto 0; background: var(--navy); }
.notfound p { margin: 24px auto 0; max-width: 34em; font-size: 1.08rem; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 18px 28px; justify-content: center; align-items: center; margin-top: 32px; }

/* ---------- Phone and tablet refinements ---------- */
main h2 { text-wrap: balance; }
@media (max-width: 760px) {
  .how-head__img { order: 0 !important; }
  .ptile { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  /* Home services: two compact columns */
  .home .svc-grid--four { grid-template-columns: 1fr 1fr; gap: 10px; }
  .home .svc-grid--four .svc { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 14px; }
  .home .svc-grid--four .svc__icon { width: 52px; height: 52px; }
  .home .svc-grid--four .svc__icon svg { width: 32px; height: 32px; }
  .home .svc-grid--four .svc h3 { font-size: 15px; line-height: 1.35; }
  /* Footer: company number on its own line */
  .footer-sep { display: none; }
  .footer-co { display: block; margin-top: 4px; }
}@media (max-width: 760px) { .ptile--drawing { aspect-ratio: 3 / 4; } .ptile--cta { aspect-ratio: 16 / 9; } }

/* Home service boxes: same background as the About sector boxes */
.home .svc-grid--four .svc { background: rgba(255,255,255,.75); }
.home .svc-grid--four .svc { background: #fbfaf9; }
.home .svc-grid--four .svc:hover { background: var(--white); }

/* Version 12 footer: one slim row with contact details and the legal line */
.site-footer { padding: 26px 0 !important; text-align: left; }
.footer-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px 40px; flex-wrap: wrap; }
.footer-bar .footer-contact { margin: 0; justify-content: flex-start; }
.footer-bar .footer-copy { margin: 0; padding: 0; border: 0; width: auto; }
.footer-bar .footer-copy a { color: var(--steel); text-decoration: underline; text-underline-offset: 3px; }
.footer-bar .footer-copy a:hover { color: var(--navy); }
@media (max-width: 1100px) { .footer-bar { flex-direction: column; align-items: center; text-align: center; } .footer-bar .footer-contact { justify-content: center; } }
/* Footer: legal line under the contact details */
.footer-bar { flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-bar .footer-contact { gap: 8px 32px; }
@media (max-width: 1100px) { .footer-bar { align-items: center; } }

/* Footer: one tidy line - contact details left, legal line right, all on the same baseline */
.footer-bar { flex-direction: row !important; align-items: center !important; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; }
.footer-bar .footer-contact { gap: 0 28px; }
.footer-bar .footer-contact li, .footer-bar .footer-copy { font-size: 14.5px; line-height: 24px; }
.footer-bar .footer-copy { color: var(--steel); }
.footer-bar .footer-social a { width: 24px; height: 24px; }
@media (max-width: 1100px) { .footer-bar { flex-direction: column !important; align-items: center !important; gap: 10px; } .footer-bar .footer-contact { justify-content: center; } }
/* Footer: legal line left, contact details right; one size and one colour throughout */
.footer-bar .footer-contact li, .footer-bar .footer-contact a, .footer-bar .footer-copy, .footer-bar .footer-copy a { font-size: 14.5px; color: var(--text); }
.footer-bar .footer-contact svg, .footer-bar .footer-social svg { color: var(--text) !important; }
.footer-bar .footer-sep { color: var(--text); opacity: .4; }
.footer-bar a:hover { color: var(--navy) !important; }
/* Footer: one connected line - hairline above, matching separators throughout */
.site-footer { padding: 0 0 28px !important; }
.footer-line { border-top: 1px solid rgba(19,33,60,.14); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; gap: 10px 32px; flex-wrap: wrap; }
.footer-line p { margin: 0; display: flex; align-items: center; flex-wrap: wrap; font-size: 13.5px; letter-spacing: .02em; color: var(--text); line-height: 22px; }
.footer-line a { color: var(--text); text-decoration: none; }
.footer-line a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.fsep { display: inline-block; width: 1px; height: 12px; margin: 0 14px; background: currentColor; opacity: .35; }
.footer-line .footer-links a[aria-label] { display: inline-grid; place-items: center; width: 22px; height: 22px; }
.footer-line .footer-links svg { width: 17px; height: 17px; }
@media (max-width: 1100px) { .footer-line { flex-direction: column; justify-content: center; text-align: center; } .footer-line p { justify-content: center; } }.footer-line p { display: block !important; white-space: normal; }
.footer-line p > * { vertical-align: middle; }
.footer-line .fsep { vertical-align: middle; }
.footer-line .footer-reach a, .footer-line .footer-legal a { font-size: 13.5px; }
.footer-line .footer-reach a[aria-label] { display: inline-grid; place-items: center; width: 22px; height: 22px; vertical-align: middle; }
.footer-line .footer-reach svg { width: 17px; height: 17px; }
.site-footer .footer-line { border-top: 1px solid rgba(19,33,60,.16) !important; }
.site-footer { padding-top: 0 !important; }@media (max-width: 760px) { .footer-line { gap: 14px; } .footer-legal .fsep { display: block; width: 0; height: 2px; margin: 0; } .footer-legal { line-height: 24px !important; } }

/* Footer: small line icons beside email and phone */
.footer-line .fico { width: 15px; height: 15px; margin-right: 8px; vertical-align: -2px; color: var(--text); }

/* Main menu in spaced capitals, echoing the logo */
.site-header .nav a { text-transform: uppercase; letter-spacing: .16em; font-size: 13.5px; font-weight: 400; }
@media (max-width: 900px) { .site-header .nav a { font-size: 20px; letter-spacing: .14em; } }

/* Subheadings and bold titles in spaced capitals, echoing the logo and menu */
main h2, main h3, main strong, .accred-band h2, .cta h2 { text-transform: uppercase; }
main h2, .cta h2 { letter-spacing: .1em; font-size: clamp(1.45rem, 2.2vw, 1.95rem) !important; line-height: 1.3 !important; font-weight: 300; }
main h3 { letter-spacing: .1em; font-size: .92rem !important; line-height: 1.45 !important; font-weight: 500; }
main strong { letter-spacing: .08em; font-size: .92em; font-weight: 500; }
.about-punch { font-size: clamp(1.6rem, 2.5vw, 2.2rem) !important; letter-spacing: .1em; line-height: 1.35 !important; }
.ptile__label h2, .ptile__label h3 { font-size: clamp(1rem, 1.3vw, 1.15rem) !important; letter-spacing: .14em; }
.legal h2 { font-size: clamp(1.1rem, 1.6vw, 1.3rem) !important; }@media (min-width: 901px) { .about-punch { white-space: nowrap; font-size: clamp(1.4rem, 2.1vw, 1.95rem) !important; } }

/* Capitals for the menu and section headings only; statements, titles and bold text back to normal case */
main h3, main strong, .about-punch, .ptile__label h2, .ptile__label h3 { text-transform: none !important; letter-spacing: normal !important; }
main h3 { font-size: 1.05rem !important; font-weight: 400; letter-spacing: -0.005em !important; }
.svc h3, .why-card h3, .svc--detail h3 { font-size: 1.05rem !important; }
.svc--stack h3 { font-size: 1.05rem !important; }
main strong { font-size: 1em; font-weight: 600; }
.about-punch { font-size: clamp(2rem, 3.2vw, 2.9rem) !important; line-height: 1.15 !important; letter-spacing: -0.02em !important; font-weight: 300; }
.ptile__label h2, .ptile__label h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem) !important; font-weight: 400; }
.accred-item h3 { font-size: 1.2rem !important; }
.step-card h3, .promise-card h3 { font-size: 1.15rem !important; }
/* Section headings back to normal case at their previous size; menu stays in capitals */
main h2, .cta h2, .accred-band h2 { text-transform: none !important; letter-spacing: -0.015em !important; font-weight: 300; font-size: clamp(1.95rem, 3.1vw, 2.75rem) !important; line-height: 1.14 !important; }
.about-punch { font-size: clamp(2rem, 3.2vw, 2.9rem) !important; }
.ptile__label h2 { font-size: clamp(1.35rem, 1.8vw, 1.6rem) !important; }
.legal h2 { font-size: clamp(1.35rem, 2vw, 1.6rem) !important; }
.why-band .why-head h2 { font-size: clamp(2.2rem, 3.6vw, 3.2rem) !important; }

/* Plain white section, used where photographs lead */
.section--white { background: var(--white); }

/* Footer strip on white with a fine rule above */
.site-footer { background: var(--white) !important; border-top: 1px solid rgba(19,33,60,.1); }

/* Boxes on white sections: very pale warm fill with a fine border */
.section--white .svc { background: #f7f5f0; border-color: rgba(19,33,60,.09); }
.section--white .svc:hover { background: var(--white); border-color: var(--navy); }

/* Boxes on white sections: white with a light border */
.section--white .svc { background: var(--white); border-color: rgba(19,33,60,.14); }
.section--white .svc:hover { border-color: var(--navy); }
.section--white .svc { border-color: rgba(19,33,60,.24); }

/* Where we work on white: faint border on the area boxes, keeping the navy top edge */
.section--white .area.area--card { background: var(--white); box-shadow: none; border: 1px solid rgba(19,33,60,.24); border-top: 2px solid var(--navy); }
.section--white .area.area--card:hover { border-color: var(--navy); }

/* =====================================================================
   Pale steel grey replaces the beige and the beige grid (colours drawn from the logo)
   ===================================================================== */
:root { --stone: #eceef1; --paper: #f2f3f5; }
.bg-paper, .bg-stone, .section--soft, .why-band, .promo__text, .contact7__panel {
  background-color: #f2f3f5 !important; background-image: none !important;
}
.stages li, .stages--riba li { background: var(--white); }
.home .svc-grid--four .svc { background: var(--white) !important; border-color: rgba(19,33,60,.12); }
.section--soft .svc, .bg-paper .svc { background: var(--white); border-color: rgba(19,33,60,.12); }
.section--soft .area.area--card, .bg-paper .area.area--card { background: var(--white); }
/* Faint navy blueprint grid on the pale steel grey bands (no warm grain) */
.bg-stone, .section--soft, .why-band, section.bg-paper {
  background-image:
    linear-gradient(rgba(19,33,60,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,33,60,.06) 1px, transparent 1px),
    linear-gradient(rgba(19,33,60,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,33,60,.03) 1px, transparent 1px) !important;
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px !important;
  background-position: center top !important;
}
/* Refined blueprint grid: single fine navy grid at 40px, barely visible */
.bg-stone, .section--soft, .why-band, section.bg-paper {
  background-image:
    linear-gradient(rgba(19,33,60,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19,33,60,.035) 1px, transparent 1px) !important;
  background-size: 40px 40px, 40px 40px !important;
  background-position: center top !important;
}
/* Deeper header bar so the logo and menu have more breathing room */
:root { --header-h: 96px; }
@media (max-width: 900px) { :root { --header-h: 78px; } }

/* Slightly deeper banner photos on inner pages (home slideshow unchanged) */
.page-hero { height: calc(100vh - 2 * var(--header-h) + 72px) !important; height: calc(100svh - 2 * var(--header-h) + 72px) !important; min-height: 470px; }
/* Projects banner: text very slightly clearer over the bright pool photo (same weight and style) */
.page-hero--clear h1 { text-shadow: 0 1px 18px rgba(8,15,30,.6), 0 1px 3px rgba(8,15,30,.45) !important; }
.page-hero--clear .hero-lead { color: #fff; text-shadow: 0 1px 12px rgba(8,15,30,.65), 0 1px 2px rgba(8,15,30,.45); }
.page-hero--clear::after {
  background:
    linear-gradient(90deg, rgba(8,15,30,.74) 0%, rgba(8,15,30,.44) 45%, rgba(8,15,30,0) 75%),
    linear-gradient(to top, rgba(8,15,30,.6) 0%, rgba(8,15,30,0) 55%) !important;
}
/* Same slightly clearer banner text on every banner */
.page-hero--copy h1, .page-hero:not(.page-hero--drawing) h1, .slideshow .hero-copy h1 { text-shadow: 0 1px 18px rgba(8,15,30,.6), 0 1px 3px rgba(8,15,30,.45) !important; }
.page-hero--copy .hero-lead, .page-hero:not(.page-hero--drawing) p, .slideshow .hero-copy p { color: #fff; text-shadow: 0 1px 12px rgba(8,15,30,.65), 0 1px 2px rgba(8,15,30,.45); }
.page-hero--copy::after {
  background:
    linear-gradient(90deg, rgba(8,15,30,.74) 0%, rgba(8,15,30,.44) 45%, rgba(8,15,30,0) 75%),
    linear-gradient(to top, rgba(8,15,30,.6) 0%, rgba(8,15,30,0) 55%) !important;
}
.slideshow::after {
  background:
    linear-gradient(90deg, rgba(8,15,30,.74) 0%, rgba(8,15,30,.46) 40%, rgba(8,15,30,0) 72%),
    linear-gradient(to top, rgba(8,15,30,.6) 0%, rgba(8,15,30,0) 55%) !important;
}
/* Logo V and inverted V as a small sign-off mark in the footer line */
.footer-line .fmark { width: 30px; height: 11px; fill: var(--text); margin-right: 14px; vertical-align: middle; position: relative; top: -1px; }

/* Home slideshow matches the inner page banner depth */
.slideshow { height: calc(100vh - 2 * var(--header-h) + 72px) !important; height: calc(100svh - 2 * var(--header-h) + 72px) !important; min-height: 470px !important; }
/* Logo strapline: mid steel grey for legibility (V and inverted V stay light steel) */
.site-header .logo .sub { fill: #6e737c; }

/* "Tell us about your project" lands on the enquiry form panel, clear of the fixed header */
#enquiry { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Line breaks that only apply on wider screens */
@media (max-width: 760px) { br.br-desk { display: none; } }