/* ==========================================
   P C Scaffolding - custom styles
   Minimal layout, alternating light/dark sections.
   Motion: hero photo zoom on load, town ticker on scroll, hover effects only.
   ========================================== */

/* ---------- Fonts (self-hosted, no Google Fonts; licences in fonts/) ---------- */
@font-face {
  font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/anton-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap;   /* one variable file covers all weights */
  src: url('../fonts/inter-latin-var.woff2') format('woff2');
}

:root { --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.76, 0, .24, 1); }
/* ---------- Theme colours (see "Design system" in CLAUDE.md) ---------- */
:root {
  --soft: rgba(255,255,255,.7); --hair: rgba(255,255,255,.16); --ring: #fff;
  --btn: #C4161C; --btn-hover: #E31E24; --field: rgba(255,255,255,.5); --place: #A8ABB0;
}
/* White section: black text, red buttons */
.light { --soft: rgba(0,0,0,.62); --hair: rgba(0,0,0,.12); --ring: #0E0E0F; --field: rgba(0,0,0,.55); --place: #6B6B6B; }
.band { --soft: #fff; --hair: rgba(255,255,255,.35); background: #C4161C; color: #fff; }   /* full-width red band: short content only */
html { background: #0E0E0F; }

/* ---------- Type scale + section spacing ---------- */
.page-title, .sec-title, .sub-title { font-family: 'Anton', 'Oswald', Impact, sans-serif; font-weight: 400; text-transform: uppercase; }
.page-title { font-size: 15vw; line-height: .95; }
.sec-title { font-size: clamp(48px, 5vw, 72px); line-height: .95; }
.sub-title { font-size: clamp(30px, 2.6vw, 36px); line-height: 1; }
@media (min-width: 640px) { .page-title { font-size: clamp(64px, 6.6vw, 96px); } }
.sec { padding-top: 72px; padding-bottom: 72px; }   /* same rhythm as the homepage sections (.pad-std) */
.sec-short { padding-top: 64px; padding-bottom: 64px; }
.page-intro .eyebrow { line-height: 1.5; margin-bottom: 4px; }
@media (max-width: 767.98px) { .page-intro .eyebrow { letter-spacing: .08em; font-size: 11px; } }   /* phones: one line, same as the hero eyebrow */
.nowrap { white-space: nowrap; }
.page-intro { padding-top: 124px; padding-bottom: 56px; }   /* compact: clears the floating header, then the title */
@media (min-width: 768px) { .sec { padding-top: 96px; padding-bottom: 96px; } .sec-short { padding-top: 96px; padding-bottom: 96px; } .page-intro { padding-top: 148px; padding-bottom: 72px; } }

html { scroll-behavior: smooth; }
::selection { background: #E31E24; color: #fff; }

/* ---------- Keep things clear of the fixed header (top) and mobile call bar (bottom) ----------
   Works for jump links AND for keyboard focus, so a tabbed-to item is never hidden underneath. */
html { scroll-padding-top: 104px; scroll-padding-bottom: 16px; }

/* ---------- Accessibility: skip link, focus rings, bigger tap areas ---------- */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 70; padding: 12px 18px; min-height: 44px;
  background: #0E0E0F; color: #fff; font-size: 14px; font-weight: 500; border-radius: 2px;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }                   /* the skip link's target, no box around the whole page */
:focus-visible { outline: 2px solid #E31E24; outline-offset: 3px; border-radius: 4px; }   /* keyboard focus: red ring with a small gap */
.band :focus-visible { outline-color: #fff; }   /* on red, the ring is white */
/* .hit: makes a text link at least 44px tall to tap, without changing how it looks */
.hit { position: relative; }
.hit::before { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; min-height: 100%; transform: translateY(-50%); }

/* ---------- Small labels above headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--soft);
}
/* Pulsing ring: a ring on the dot that grows and fades. Scale + opacity only, so the graphics card does the work
   (the old outline animation repainted the page every frame and slowed phones down) */
.dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 9999px; background: #E31E24; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid #E31E24; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { from { transform: scale(1); opacity: 1; } to { transform: scale(3.25); opacity: 0; } }

/* ---------- Links: underline slides in ---------- */
.link { position: relative; }
.link::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
@media (hover: hover) { .link:hover::after { transform: scaleX(1); transform-origin: left; } }

/* ---------- Buttons: one style site-wide. Primary = red with a circled arrow; secondary = outline with a circled arrow.
   (.btn-white is the primary on red bands, where a red button would disappear.) ---------- */
.btn-red, .btn-outline, .btn-white {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 50px; padding: 0 8px 0 20px;
  border-radius: 12px; font-size: 15px; font-weight: 600; white-space: nowrap; color: #fff; border: 1px solid transparent;
  transition: transform .4s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease), color .3s var(--ease);
}
.btn-red { background: #C4161C; box-shadow: 0 8px 24px -10px rgba(227,30,36,.55); }
@media (hover: hover) { .btn-red:hover { background: #E31E24; box-shadow: 0 10px 28px -8px rgba(227,30,36,.7); } }
.btn-outline { border-color: rgba(255,255,255,.55); }
@media (hover: hover) { .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); } }
.light .btn-outline { color: #0E0E0F; border-color: rgba(14,14,15,.55); }
@media (hover: hover) { .light .btn-outline:hover { border-color: #0E0E0F; background: rgba(14,14,15,.05); } }
.btn-white { background: #fff; color: #0E0E0F; }
@media (hover: hover) { .btn-white:hover { background: #F2F3F5; } }
.light .btn-outline .hb-circ, .btn-white .hb-circ { border-color: rgba(14,14,15,.45); }
@media (hover: hover) { .btn-red:hover .hb-circ, .btn-outline:hover .hb-circ, .btn-white:hover .hb-circ { transform: rotate(45deg); } }

/* ---------- Header: floating glass bar, always visible ---------- */
/* Logo image (white version on black). Swap for the designer's original logo file when available. */
.hdr-float { position: fixed; top: 12px; left: 12px; right: 12px; z-index: 50; color: #fff; }
.hb {
  max-width: 1360px; margin: 0 auto; height: 64px; padding: 0 10px 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: rgba(14,14,15,.85); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.14); border-radius: 16px; box-shadow: 0 12px 36px -12px rgba(0,0,0,.45);
}
html.menu-open .hb { background: rgba(14,14,15,.96); }
.logo { display: block; flex: none; padding: 6px 0; }
.logo img { display: block; height: 40px; width: auto; }
.hb-nav { display: none; align-items: center; gap: 34px; font-size: 14px; font-weight: 500; }
.hb-link { position: relative; padding: 12px 0; }
.hb-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: #E31E24; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.hb-link[aria-current="page"]::after { transform: scaleX(1); } @media (hover: hover) { .hb-link:hover::after { transform: scaleX(1); } }
.hb-actions { display: flex; align-items: center; gap: 4px; }
.hb-btn { display: none; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 18px; border-radius: 12px; font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.hb-quote { background: #C4161C; box-shadow: 0 6px 22px -6px rgba(227,30,36,.6); }
@media (hover: hover) { .hb-quote:hover { background: #E31E24; box-shadow: 0 8px 28px -6px rgba(227,30,36,.75); } }
.hb-call { border: 1px solid rgba(255,255,255,.4); }
@media (hover: hover) { .hb-call:hover { border-color: #fff; background: rgba(255,255,255,.08); } }
.hb-circ { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9999px; border: 1px solid rgba(255,255,255,.55); transition: transform .3s var(--ease); }
.hb-circ svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { .hb-btn:hover .hb-circ { transform: rotate(45deg); } }
.hb-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.hb-pill { display: inline-flex; align-items: center; height: 36px; padding: 0 13px; margin-right: 4px; border: 1px solid rgba(255,255,255,.55); border-radius: 9999px;
  font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; transition: border-color .3s var(--ease), background-color .3s var(--ease); }   /* phones + tablets: compact quote pill */
.hb-pill:active { background: rgba(255,255,255,.1); }
.hb-pill { position: relative; }
.hb-pill::before { content: ""; position: absolute; left: -2px; right: -2px; top: 50%; height: 44px; transform: translateY(-50%); }   /* 44px tap area, same look */
@media (max-width: 359.98px) { .row .title { font-size: 17px; } .row { grid-template-columns: 28px 1fr auto; } .hb { padding: 0 6px 0 14px; gap: 8px; } .logo img { height: 34px; } .hb-pill { padding: 0 11px; margin-right: 2px; } }
@media (hover: hover) { .hb-pill:hover { border-color: #fff; background: rgba(255,255,255,.08); } }
.hb-phone { background: #C4161C; }
.hb-phone svg { width: 20px; height: 20px; fill: #fff; }
@media (hover: hover) { .hb-phone:hover { background: #E31E24; } }
@media (min-width: 768px) { .hdr-float { top: 16px; left: 24px; right: 24px; } .hb { height: 72px; padding: 0 12px 0 22px; } .logo img { height: 44px; } }
@media (min-width: 1024px) {
  .hb-nav { display: flex; gap: 26px; }
  .hb-quote { display: inline-flex; }
  .hb-phone, .menu-btn, .hb-pill { display: none; }
}
@media (min-width: 1280px) { .hb-nav { gap: 34px; } .hb-actions { gap: 10px; } .hb-call { display: inline-flex; } }

/* ---------- Mobile menu: ☰ button + panel ---------- */
/* .menu-btn size + layout are Tailwind classes in the HTML, so lg:hidden always wins */
.menu-icon { position: relative; width: 22px; height: 14px; }
.menu-icon span { position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-icon span:nth-child(1) { top: 0; }
.menu-icon span:nth-child(2) { top: 6px; }
.menu-icon span:nth-child(3) { top: 12px; }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s; }
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s; }
html.menu-open, html.menu-open body { overflow: hidden; overscroll-behavior: none; }   /* page behind doesn't scroll (iOS: body is also fixed in place by script.js) */
html.menu-open #hdr { z-index: 1001; }   /* the header (logo, call, close button) stays above the menu */
/* while the menu is open, the page behind has the same dark red background, so no black band can show at the very bottom */
html.menu-open, html.menu-open body { background: #0E0E0F radial-gradient(120% 55% at 50% 104%, rgba(196,22,28,.3), rgba(196,22,28,0) 70%) no-repeat fixed; }
/* Panel: black with a soft red glow at the bottom and the brace pattern barely visible; links on top, contact block pinned to the bottom */
.mobile-menu { display: flex; overflow-y: auto; overscroll-behavior: contain; position: fixed; top: 0; right: 0; bottom: 0; left: 0; height: 100vh; height: 100lvh; z-index: 1000 !important;   /* the largest screen size: runs behind Safari's bottom toolbar and the home indicator */
  background-color: #0E0E0F;
  background-image: radial-gradient(120% 55% at 50% 104%, rgba(196,22,28,.3), rgba(196,22,28,0) 70%),
                    linear-gradient(rgba(14,14,15,.97), rgba(14,14,15,.97)), url("../images/brace-pattern.svg");
  background-size: auto, auto, 240px 240px; }
.mm { flex: none; align-self: flex-start; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; width: 100%; max-width: 640px; margin: 0 auto;
  min-height: calc(100vh - var(--mm-top, 76px)); min-height: calc(100dvh - var(--mm-top, 76px));   /* the rest of the visible screen below the header: links at the top,
     contact block pinned to its bottom (where it doesn't fit, it simply follows the links) */
  padding: 8px 24px calc(20px + env(safe-area-inset-bottom, 0px)); }   /* contact block at the very bottom (clear of the iPhone home bar) */
.mm-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.08); }
.mm-link { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 5px 2px; border-bottom: 1px solid rgba(255,255,255,.08); transition: color .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.mm-num { flex: none; width: 22px; font-size: 12px; font-weight: 500; letter-spacing: .1em; color: rgba(255,255,255,.45); transition: color .3s var(--ease); }
.mm-name { flex: 1; font-size: 19px; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }   /* Inter, sentence case */
.mm-arr { display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 0; color: rgba(255,255,255,.55); transition: transform .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease); }
.mm-arr svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mm-link:active, .mm-link[aria-current="page"] { color: #E31E24; } @media (hover: hover) { .mm-link:hover { color: #E31E24; } }   /* bright red on large Anton text only */
.mm-link:active .mm-num, .mm-link[aria-current="page"] .mm-num { color: #EF3B41; } @media (hover: hover) { .mm-link:hover .mm-num { color: #EF3B41; } }
.mm-link:active .mm-arr { transform: translateX(4px); color: #E31E24; } @media (hover: hover) { .mm-link:hover .mm-arr { transform: translateX(4px); color: #E31E24; } }
.mm-contact { display: grid; gap: 12px; }
.mm-quote { width: 100%; min-height: 52px; font-size: 15px; }
.mm-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mm-icon { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 7px; min-height: 44px; border-radius: 9999px;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); font-size: 12px; font-weight: 600; letter-spacing: .04em; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.mm-icon svg { width: 17px; height: 17px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mm-icon svg .fill { fill: #fff; stroke: none; }
.mm-icon:active { border-color: #E31E24; background: rgba(196,22,28,.18); } @media (hover: hover) { .mm-icon:hover { border-color: #E31E24; background: rgba(196,22,28,.18); } }
@media (max-height: 640px) { .mm-link { min-height: 48px; } .mm-name { font-size: 18px; } }
/* Opening: links slide in one after another, then the contact block (off for reduced motion, see the end of this file) */
@keyframes mmIn { from { opacity: 0; transform: translateX(-18px); } }
@keyframes mmUp { from { opacity: 0; transform: translateY(12px); } }
.mobile-menu.open .mm-links li { animation: mmIn .5s var(--ease) both; animation-delay: calc(.06s + var(--i) * .06s); }
.mobile-menu.open .mm-contact { animation: mmUp .5s var(--ease) both; animation-delay: .32s; }

/* ---------- Headline lines (no animation; kept as plain blocks) ---------- */
.line { display: block; }

/* ---------- Homepage hero ---------- */
/* Spacing + fonts are set here (not Tailwind classes) so nothing jumps while Tailwind loads */
.hero, .hero * { box-sizing: border-box; }
:where(.hero) :where(h1, p, ul) { margin: 0; padding: 0; list-style: none; }
.hero { font-family: 'Inter', system-ui, sans-serif; line-height: 1.5; }
.hero a { text-decoration: none; }
body:has(> main > .hero) { margin: 0; }
/* Phones: 54px shorter than the screen, so the trust strip sits just above the call bar */
.hero {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  min-height: 100svh; background: #0E0E0F; color: #fff;
}
.hero-photo { position: absolute; inset: 0; }
/* Phones + portrait tablets: the portrait photo (images/hero-portrait-*.webp). Anchored to the top and centred on the scaffold,
   so the spire, clock and scaffold sit in the upper part and the path leads in below, behind the text */
.hero-photo img {
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 27% 0;
  transform-origin: 30% 0; animation: heroZoom 2.6s var(--ease) both;   /* zoom from the top keeps the spire in frame */
  filter: saturate(.95) brightness(1.07) contrast(1.02);   /* light, natural look: only a touch of grading */
}
@keyframes heroZoom { from { transform: scale(1.08); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(14,14,15,.5), rgba(14,14,15,0) 140px),   /* soft fade behind the floating header */
    linear-gradient(rgba(14,14,15,.06), rgba(14,14,15,.06));   /* very light even layer over the photo (6%); the text has its own dark gradient */
}
.hero-body { position: relative; z-index: 0; flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; max-width: 1320px; margin: 0 auto; padding: 88px 24px 20px; }
/* Darkest shade follows the text: the red line needs a near-black background to be readable (AA) */
.hero-text { position: relative; }
.hero-text::before {
  content: ""; position: absolute; z-index: -1; inset: -40px -24px -20px;
  background: linear-gradient(to bottom, rgba(14,14,15,0), rgba(14,14,15,.6) 36px, rgba(14,14,15,.74) 22%, rgba(14,14,15,.93) 34%);   /* red "Professional." needs 3:1 on the photo */
}
.hero h1 { font-family: 'Anton', 'Oswald', Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: calc((100vw - 48px) / 10.3); line-height: 1.08; letter-spacing: -.01em; }   /* phones: smaller, a little more line spacing */
.hero-eyebrow { display: block; font: 12px/1.5 'Inter', system-ui, sans-serif; }
.hero .eyebrow { color: #fff; margin-bottom: 14px; line-height: 1.5; letter-spacing: .08em; font-size: 11px; }
.hero-intro { margin-top: 18px; max-width: 30rem; line-height: 1.55; }
.hero-btns { margin-top: 24px; display: grid; gap: 10px; }


@media (min-width: 768px) {
  .hero { min-height: 100svh; }
  .hero-photo img { object-position: 70% 0; transform-origin: 70% 0; }   /* landscape tablets: wide photo, church kept on the right */
  .hero-body { padding: 110px 40px 112px; }   /* bottom: room for the trust cards that overlap the hero */
  .hero-text { width: fit-content; }
  .hero-text::before {
    inset: -60px -24vw -48px -50vw;
    background: linear-gradient(to bottom, rgba(14,14,15,0), rgba(14,14,15,.6) 58px, rgba(14,14,15,.75) 30%, rgba(14,14,15,.9) 50%);
    -webkit-mask-image: linear-gradient(to left, transparent, rgba(0,0,0,.5) 12vw, #000 23vw); mask-image: linear-gradient(to left, transparent, rgba(0,0,0,.5) 12vw, #000 23vw);
  }
  .hero h1 { font-size: clamp(40px, min(4.9vw, 8.4svh), 86px); line-height: 1; }   /* calm and premium: smaller headline, more space around it */
  .hero .eyebrow { margin-bottom: 30px; letter-spacing: .18em; font-size: 12px; }
  .hero-intro { margin-top: 28px; max-width: 32rem; font-size: 18px; }
  .hero-btns { margin-top: 38px; display: flex; gap: 16px; }
}
/* Short laptop screens: tighter, so everything still fits above the trust cards */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero-body { padding: 92px 40px 88px; }
  .hero h1 { font-size: clamp(40px, min(4.9vw, 6.4svh), 86px); }
  .hero .eyebrow { margin-bottom: 20px; }
  .hero-intro { margin-top: 20px; font-size: 16px; }
  .hero-btns { margin-top: 26px; }
}
/* Laptops: the photo fills the whole hero, edge to edge. One smooth overlay: dark on the left behind the text,
   nearly clear from the middle-right, with soft fades at the top (behind the header) and the bottom (behind the trust cards). */
@media (min-width: 1024px) {
  .hero { min-height: calc(100svh - 64px); }   /* 64px shorter than the screen: the whole row of trust cards (half over the hero) fits in the first screen */
  .hero { --strip-h: 64px; --tx: max(40px, calc((100vw - 1320px) / 2 + 40px)); }   /* --tx: where the text starts */
  .hero-body { justify-content: center; }   /* text block centred vertically */
  .hero-text { max-width: 560px; }
  .hero-text::before { display: none; }    /* the overlay below does this job on laptops */
  /* Photo sized from the screen height so the frame is as tight as it can be while BOTH stay fully in view:
     the spire tip (y 129 of 941 in the original) sits 26px below the floating header (88px), and the bottom of the
     lowest yellow pole sleeve (y 705 of 941) sits 14px above the trust cards (--strip-h = how far they overlap the hero). Span 576/941 of the photo:
     height = (hero - strip - 128px) x 941/576, top = 114px - height x 129/941. The width is set by the photo's own
     shape (object-fit: cover), cropped from the left so the graveyard goes out of frame first. */
  .hero-photo img {
    position: absolute; left: 0; width: 100%;
    height: calc((100% - var(--strip-h) - 128px) * 1.6337);
    top: calc(114px - (100% - var(--strip-h) - 128px) * .22396);
    object-fit: cover; object-position: 86% 22%;
    transform-origin: 70% 53.5%;   /* the load zoom grows from a point between the spire and the poles, so both keep a margin */
  }
  @keyframes heroZoomLaptop { from { transform: scale(1.02); } }   /* small: moves the spire up about 9px and the poles down about 5px at most */
  .hero-photo img { animation-name: heroZoomLaptop; }
  .hero-shade {
    bottom: 0;
    background:
      linear-gradient(to bottom, rgba(14,14,15,.45), rgba(14,14,15,.16) 90px, rgba(14,14,15,0) 180px),   /* top: behind the header */
      linear-gradient(to top, rgba(14,14,15,.8), rgba(14,14,15,.45) 40px, rgba(14,14,15,.1) 80px, rgba(14,14,15,0) 130px),        /* bottom: darker behind the trust cards */
      radial-gradient(55% 35% at 0% 100%, rgba(14,14,15,.95), rgba(14,14,15,.94) 30%, rgba(14,14,15,.88) 50%, rgba(14,14,15,.68) 68%, rgba(14,14,15,.38) 82%, rgba(14,14,15,.12) 93%, rgba(14,14,15,0)),   /* gravestones, bottom left: almost solid black in the corner, easing off up and towards the centre */
      radial-gradient(15% 30% at 100% 100%, rgba(14,14,15,.88), rgba(14,14,15,.5) 55%, rgba(14,14,15,0)),     /* gravestones, bottom right corner (outside the scaffold) */
      radial-gradient(640px 460px at calc(var(--tx) + 230px) 50%, rgba(14,14,15,.38), rgba(14,14,15,0)),   /* soft halo behind the text block */
      linear-gradient(to right, rgba(14,14,15,.88) 0, rgba(14,14,15,.87) calc(var(--tx) + 470px), rgba(14,14,15,.66) calc(var(--tx) + 600px),
                                rgba(14,14,15,.42) calc(var(--tx) + 720px), rgba(14,14,15,.18) calc(var(--tx) + 840px), rgba(14,14,15,.04) calc(var(--tx) + 960px));
      /* left, behind the text: dark across the text column wherever the text is (red text needs it for 3:1), clearing to 4% by the middle-right */
  }
}
/* Smaller laptops (1024-1279): the same overlay with a shorter fade, so the church isn't darkened */
@media (min-width: 1024px) and (max-width: 1279px) {
  .hero-shade {
    background:
      linear-gradient(to bottom, rgba(14,14,15,.45), rgba(14,14,15,.16) 90px, rgba(14,14,15,0) 180px),
      linear-gradient(to top, rgba(14,14,15,.8), rgba(14,14,15,.45) 40px, rgba(14,14,15,.1) 80px, rgba(14,14,15,0) 130px),
      radial-gradient(55% 35% at 0% 100%, rgba(14,14,15,.95), rgba(14,14,15,.94) 30%, rgba(14,14,15,.88) 50%, rgba(14,14,15,.68) 68%, rgba(14,14,15,.38) 82%, rgba(14,14,15,.12) 93%, rgba(14,14,15,0)),
      radial-gradient(14% 28% at 100% 100%, rgba(14,14,15,.88), rgba(14,14,15,.5) 55%, rgba(14,14,15,0)),
      radial-gradient(560px 420px at calc(var(--tx) + 230px) 50%, rgba(14,14,15,.38), rgba(14,14,15,0)),
      linear-gradient(to right, rgba(14,14,15,.88) 0, rgba(14,14,15,.87) calc(var(--tx) + 470px), rgba(14,14,15,.62) calc(var(--tx) + 560px),
                                rgba(14,14,15,.38) calc(var(--tx) + 640px), rgba(14,14,15,.16) calc(var(--tx) + 720px), rgba(14,14,15,.04) calc(var(--tx) + 800px));
  }
}

/* ---------- Phones (<768): stacked hero. Photo on top (about the top 55%), fading smoothly into black; the text sits
   below it on clean black, overlapping the fade a little. The hero (with the towns band) fills the first screen exactly. ---------- */
@media (max-width: 767.98px) {
  .hero-photo { position: relative; inset: auto; flex: 1 1 auto; min-height: 260px; margin-bottom: -96px; overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 78%, rgba(0,0,0,.6) 91%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 78%, rgba(0,0,0,.6) 91%, transparent 100%); }
  /* Portrait photo sized from the photo area, then placed so the top of the spire's slate roof (17.1% down the photo) sits 8px
     under the floating header (76px); the thin pole above it goes behind the header.
     Sized as tight as possible with both in view: the slate roof top at 78px (just under the 76px header) and the scaffold base
     (59.1%) 108px above the bottom of the photo area, i.e. 12px above the text.
     Never narrower than the screen (133.4vw tall = full width for a 3:4 photo), never shorter than 682px
     (below that the photo's top edge would show under the header). */
  .hero-photo img { position: absolute; left: 0; width: 100%;
    height: max(calc((100% - 186px) / .42), 133.4vw);
    top: calc(78px - max(calc((100% - 186px) / .42), 133.4vw) * .171);
    object-fit: cover; object-position: 31% 0;
    transform-origin: 34% 17.1%; }   /* the load zoom grows from the roof top, so it never slides under the header */
  .hero-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; pointer-events: none;
    background: linear-gradient(to bottom, rgba(14,14,15,0), rgba(14,14,15,.55) 45%, #0E0E0F 82%); }   /* photo turns black where the text starts (eyebrow contrast) */
  .hero-shade { bottom: auto; height: 170px; background: linear-gradient(to bottom, rgba(14,14,15,.6), rgba(14,14,15,0)); }   /* behind the header only */
  .hero-body { flex: none; justify-content: flex-start; padding: 0 24px 18px; }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero-intro { margin-top: 10px; font-size: 16px; line-height: 1.5; }
  .hero-btns { margin-top: 16px; }
  .hero-text::before { display: none; }   /* text is on plain black now */
  .hero-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }   /* both buttons exactly the same size, side by side */
  .hero-btns > a { gap: 6px; padding: 0 6px 0 12px; font-size: clamp(13px, 3.55vw, 14px); }
  .hero-btns .hb-circ { width: 26px; height: 26px; }
  /* Headline lines slide up one after another (off for reduced motion) */
  .hero h1 .line { animation: heroLineUp .8s var(--ease) both; }
  .hero h1 .line:nth-child(2) { animation-delay: .15s; }
  .hero h1 .line:nth-child(3) { animation-delay: .27s; }
  .hero h1 .line:nth-child(4) { animation-delay: .39s; }
}
@keyframes heroLineUp { from { opacity: 0; transform: translateY(20px); } }
/* Short phone screens (visible height under 760px: iPhone SE, and iPhone 13/14 in Safari with its toolbars). Tall phones unchanged.
   The hero already sizes to the real visible height (100svh). Here: a compact text block so the photo gets about half the
   screen, and the photo is anchored on the scaffold BASE (59.1% down the photo) 56px above the photo area's bottom, so the base and
   yellow poles always show; the spire sits as low as the photo's width allows (a 3:4 photo must be 133.4vw tall to fill
   the width, so on the very shortest screens the spire tip goes up behind the header). */
@media (max-width: 767.98px) and (max-height: 760px) {
  .hero-photo { margin-bottom: -44px; min-height: 200px; }   /* lower minimum: hero + ticker must fit above the call bar */
  .hero-photo img {
    height: max(133.4vw, calc((100% - 134px) / .42));
    top: calc(100% - 56px - max(133.4vw, calc((100% - 134px) / .42)) * .591);   /* base 56px above the photo area's bottom = 12px above the text */
    transform-origin: 34% 59.1%; }   /* the load zoom grows from the base, so it never hides the poles */
  .hero-body { padding-bottom: 12px; }
  .hero .eyebrow { font-size: 11px; margin-bottom: 8px; }
  .hero h1 { font-size: calc((100vw - 48px) / 12.1); }   /* about 15% smaller than on tall phones */
  .hero-intro { margin-top: 8px; font-size: 15px; }
  .intro-more { display: none; }   /* only the first sentence on short screens */
  .hero-btns { margin-top: 12px; }
  .hero-btns > a { min-height: 46px; }
}

/* ---------- Phones: the four trust points as glass cards straight after the hero (dark, like the hero) ---------- */
.tcards { display: none; }
@media (max-width: 767.98px) {
  .tcards { display: block; background: #0E0E0F; padding: 18px 24px 28px; }
  .tc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .tc { position: relative; overflow: hidden; display: grid; gap: 4px; align-content: start; padding: 16px 12px 13px;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
    transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease); -webkit-tap-highlight-color: transparent; }
  .tc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, #E31E24, rgba(227,30,36,.25)); }
  .tc-icon { width: 22px; height: 22px; margin-bottom: 6px; fill: none; stroke: #E31E24; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tc strong { font-family: 'Anton', 'Oswald', Impact, sans-serif; font-weight: 400; font-size: 20px; line-height: 1.05; text-transform: uppercase; color: #fff; }
  .tc > span { font-size: 13px; line-height: 1.35; color: rgba(255,255,255,.7); }
  .tc:active { border-color: rgba(227,30,36,.6); background: rgba(196,22,28,.08); box-shadow: 0 10px 30px -10px rgba(227,30,36,.55); }   /* soft red glow on tap */
}

/* ---------- Tablets + laptops (768+): the trust cards as one row of dark glass cards, half over the bottom of the hero,
   half over the dark band below (then the town ticker). Phones: see the phone block below. ---------- */
@media (min-width: 768px) {
  .tcards { display: block; position: relative; z-index: 2; margin-top: -64px; padding: 0 0 8px;
    background: linear-gradient(to bottom, transparent 64px, #0E0E0F 64px); }
  .tc-grid { list-style: none; margin: 0 auto; padding: 0 40px; max-width: 1320px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .tc { position: relative; overflow: hidden; display: grid; gap: 4px; align-content: center; min-height: 128px; padding: 20px 20px 18px;
    background: linear-gradient(rgba(255,255,255,.04), rgba(255,255,255,.04)), rgba(14,14,15,.62);   /* dark glass: readable over the photo */
    -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%);
    border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
  .tc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, #E31E24, rgba(227,30,36,.25)); }
  .tc-icon { width: 24px; height: 24px; margin-bottom: 6px; fill: none; stroke: #E31E24; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .tc strong { font-family: 'Anton', 'Oswald', Impact, sans-serif; font-weight: 400; font-size: 24px; line-height: 1.05; text-transform: uppercase; color: #fff; }
  .tc > span { font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.72); }
  @media (hover: hover) { .tc:hover { transform: translateY(-4px); border-color: rgba(227,30,36,.55); box-shadow: 0 18px 40px -16px rgba(227,30,36,.55); } }
}
@media (min-width: 1280px) { .tc strong { font-size: 26px; } }

/* ---------- Phones: one slim moving band of towns instead of the red 2x2 strip and the town ticker ---------- */
.pband { display: none; }
@media (max-width: 767.98px) {
  #towns { display: none; }
  .pband { display: block; position: relative; overflow: hidden; background: #0E0E0F; border-top: 2px solid #C4161C; -webkit-tap-highlight-color: transparent; }
  .pband-track { display: flex; width: max-content; animation: pbandMove 75s linear infinite; }
  .pband.paused .pband-track { animation-play-state: paused; }
  .pband-set { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
  .pband-set li { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; padding: 14px 0; }
  .pband-set li::before { content: ""; align-self: center; flex: none; width: 5px; height: 5px; margin: 0 14px 0 18px; border-radius: 9999px; background: #E31E24; }
  .pb-item strong { font-family: 'Anton', 'Oswald', Impact, sans-serif; font-weight: 400; font-size: 18px; line-height: 1; text-transform: uppercase; color: #fff; }
  .pb-item span { font-size: 13px; color: rgba(255,255,255,.7); }
  .pb-town { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); line-height: 18px; }
}
@keyframes pbandMove { to { transform: translateX(-50%); } }
@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  .pband { overflow-x: auto; scrollbar-width: none; }   /* still, and swipeable */
  .pband::-webkit-scrollbar { display: none; }
  .pband-set[aria-hidden="true"] { display: none; }
}

/* ---------- Town ticker: moves sideways as you scroll ---------- */
.scroll-text { will-change: transform; }
.ticker { padding: 0; background: #0E0E0F; overflow: hidden; }   /* sits straight under the hero strip */
.ticker-line { padding: 26px 0; overflow: hidden; }
.ticker-row, .ticker-row > div { display: flex; width: max-content; }
.ticker-row span {
  display: flex; align-items: center; white-space: nowrap;
  font-size: 13px; line-height: 20px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6);
}
.ticker-row span::after { content: ""; width: 4px; height: 4px; margin: 0 26px; border-radius: 9999px; background: #E31E24; }
@media (min-width: 768px) {
  .ticker-line { padding: 34px 0; }
  .ticker-row span { font-size: 15px; }
  .ticker-row span::after { margin: 0 36px; }
}

/* ---------- Final call-to-action band (every page): scaffold-brace pattern under a dark overlay ---------- */
.cta-band {
  background-color: #0E0E0F; color: #fff; text-align: center;
  background-image: radial-gradient(ellipse at center, rgba(14,14,15,.9) 0%, rgba(14,14,15,.86) 45%, rgba(14,14,15,.76) 100%), url("../images/brace-pattern.svg");
  background-size: auto, 200px 200px;
}
.cta-inner { max-width: 1320px; margin: 0 auto; padding: 64px 24px; }
.cta-title { font-family: 'Anton', 'Oswald', Impact, sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(44px, 5.6vw, 84px); line-height: .95; }
.cta-line { margin: 14px auto 0; max-width: 34rem; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.75); }
.cta-btns { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 50px; padding: 0 8px 0 20px; border-radius: 12px;
  font-size: 15px; font-weight: 600; white-space: nowrap; transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.cta-btn .hb-circ { width: 30px; height: 30px; }
.cta-quote { background: #C4161C; box-shadow: 0 10px 30px -8px rgba(227,30,36,.6); }
@media (hover: hover) { .cta-quote:hover { background: #E31E24; box-shadow: 0 12px 36px -8px rgba(227,30,36,.75); } }
.cta-call { border: 1px solid rgba(255,255,255,.55); }
@media (hover: hover) { .cta-call:hover { border-color: #fff; background: rgba(255,255,255,.08); } }
@media (hover: hover) { .cta-btn:hover .hb-circ { transform: rotate(45deg); } }
@media (min-width: 768px) { .cta-inner { padding: 84px 40px; } .cta-line { font-size: 18px; } .cta-band { background-size: auto, 240px 240px; } }

/* ---------- Areas we cover (About + Contact): three short columns of towns, small and tidy ---------- */
.areas-cols { margin-top: 36px; display: grid; gap: 28px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 28px; }
.areas-head { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.areas-head::before { content: ""; width: 4px; height: 4px; border-radius: 9999px; background: #E31E24; }
.areas-cols ul { margin: 12px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 16px; font-size: 15px; line-height: 1.9; color: rgba(255,255,255,.7); }
.areas-cols li { break-inside: avoid; }
.areas-note { margin-top: 28px; font-size: 15px; color: rgba(255,255,255,.7); }
@media (min-width: 768px) {
  .areas-cols { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .areas-cols ul { columns: 1; font-size: 16px; line-height: 1.85; }
  .areas-note { font-size: 16px; }
}

/* ---------- Areas map (homepage + About page: same markup, script.js section 14, this one style) ----------
   Two tiers: core area (Surrey, London) strong red, wider South East lighter red, everything else dark grey, thin borders.
   Tabs zoom the map; labels, town dots and pins sit in an overlay that moves with the map but never grows.
   Tabs + postcode checker under the map, panel beside it (under it on phones). */
.am-wrap { margin-top: 40px; display: grid; gap: 32px; }
.am-wrap > * { min-width: 0; }   /* the town lists never widen the column, so the full-bleed map never makes the page scroll sideways */
@media (min-width: 1024px) { .am-wrap { grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; } }
.am-figure { margin: 0 -24px; background: #0E0E0F; }
@media (min-width: 768px) { .am-figure { margin: 0; border: 1px solid rgba(255,255,255,.1); } }
.am-map { display: block; width: 100%; height: auto; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.am-geo path { stroke-width: 1; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.am-ctx { fill: #1C1C1F; stroke: #34343A; }
.am-area path { stroke: rgba(14,14,15,.6); transition: stroke .5s var(--ease); }
.am-surrey, .am-london { fill: #C4161C; }   /* core area */
.am-se { fill: #C4161C; fill-opacity: .32; }   /* we also cover: the same red, lighter */
.am-area { cursor: pointer; transition: opacity .5s var(--ease), fill .5s var(--ease), fill-opacity .5s var(--ease); }
.am-map.is-ready .am-area.is-on { fill: #E31E24; }   /* the chosen area is the brightest red... */
.am-map.is-ready .am-se.is-on { fill-opacity: .46; }   /* ...but the South East stays lighter than the core area */
.am-map.is-ready .am-area.is-on path { stroke: rgba(255,120,124,.9); }
.am-map[data-sel]:not([data-sel="all"]) .am-area:not(.is-on) { opacity: .4; }   /* the others dim */
@media (hover: hover) { .am-map.is-ready .am-area:not(.is-on):hover { opacity: .85; } }
/* faint red glow along the chosen area's border */
.am-glow { fill: none; stroke: #E31E24; stroke-width: 9; stroke-opacity: 0; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; transition: stroke-opacity .5s var(--ease); }
.am-glow.is-on { stroke-opacity: .26; }
/* Overlay: area names, town dots, pins */
.am-overlay { pointer-events: none; }
.am-label { font-family: 'Anton', 'Oswald', Impact, sans-serif; font-size: 46px; text-transform: uppercase; letter-spacing: .02em; text-anchor: middle; fill: #fff;
  paint-order: stroke; stroke: rgba(14,14,15,.75); stroke-width: 8px; stroke-linejoin: round; transition: opacity .5s var(--ease); }
.am-map[data-sel]:not([data-sel="all"]) .am-label:not(.is-on) { opacity: 0; }   /* zoomed in: only the chosen area's name */
.am-town-dot { fill: #fff; stroke: #0E0E0F; stroke-width: 3; transition: fill .4s var(--ease); }
.am-town-hit { fill: transparent; }
.am-town { opacity: .4; transition: opacity .5s var(--ease); }
.am-town-name { font: 600 24px 'Inter', system-ui, sans-serif; text-anchor: middle; fill: #fff; paint-order: stroke; stroke: rgba(14,14,15,.9); stroke-width: 7px; stroke-linejoin: round;
  opacity: 0; transition: opacity .25s var(--ease); }
.am-map[data-sel]:not([data-sel="all"]) .am-town { opacity: 0; }
.am-map[data-sel]:not([data-sel="all"]) .am-town.is-on { opacity: 1; pointer-events: auto; cursor: pointer; }
.am-town.is-shown .am-town-name { opacity: 1; }
.am-town.is-shown .am-town-dot { fill: #E31E24; stroke: #fff; }
@media (hover: hover) { .am-town.is-on:hover .am-town-name { opacity: 1; } .am-town.is-on:hover .am-town-dot { fill: #E31E24; stroke: #fff; } }
/* Walton-on-Thames pin, with a slow red radar pulse rippling out */
.am-halo { fill: #0E0E0F; opacity: .55; }   /* dark ring so the red pin shows on red */
.am-dot { fill: #E31E24; stroke: #fff; stroke-width: 5; }
.am-radar { fill: none; stroke: #E31E24; stroke-width: 3; vector-effect: non-scaling-stroke; opacity: 0; transform-box: fill-box; transform-origin: center;
  animation: amRadar 4.8s cubic-bezier(.2, .6, .35, 1) infinite; }
.am-radar-2 { animation-delay: 2.4s; }
@keyframes amRadar { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(6); opacity: 0; } }
.am-pin-label { font: 600 26px 'Inter', system-ui, sans-serif; fill: #fff; paint-order: stroke; stroke: rgba(14,14,15,.85); stroke-width: 7px; stroke-linejoin: round; transition: opacity .25s var(--ease); }
.am-map.town-open .am-pin-label { opacity: 0; }
/* "Your postcode" pin: small, white, drops in */
.am-you-halo { fill: rgba(14,14,15,.55); }
.am-you-dot { fill: #fff; stroke: #0E0E0F; stroke-width: 4; }
.am-you.is-new .am-you-in { animation: amDrop .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes amDrop { from { transform: translateY(-40px) scale(.6); opacity: 0; } }
@media (max-width: 767px) {
  .am-label { font-size: 64px; stroke-width: 11px; }
  .am-pin-in, .am-town-in, .am-you-in { transform: scale(1.8); }   /* the map is drawn smaller on phones */
  .am-you.is-new .am-you-in { animation-name: amDropPhone; }
}
@keyframes amDropPhone { from { transform: translateY(-60px) scale(1.1); opacity: 0; } to { transform: scale(1.8); } }
/* Legend + credit */
.am-legend { margin: 0; padding: 14px 24px 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.85); }
.am-legend li { display: flex; align-items: center; }
.am-key { display: inline-block; flex: none; width: 12px; height: 12px; margin-right: 8px; border-radius: 3px; vertical-align: -1px; }
.am-key-core { background: #C4161C; }
.am-key-wide { background: rgba(196,22,28,.32); box-shadow: inset 0 0 0 1px rgba(196,22,28,.9); }
@media (min-width: 768px) { .am-legend { padding: 14px 14px 0; } }
.am-credit { padding: 10px 24px 0; font-size: 11px; line-height: 1.5; color: rgba(255,255,255,.6); }
@media (min-width: 768px) { .am-credit { padding: 10px 14px 12px; } }
/* Tabs: one slim segmented control (All / Surrey / London / South East) */
.am-tabs { margin-top: 16px; display: flex; gap: 4px; padding: 4px; width: 100%; border: 1px solid rgba(255,255,255,.08); border-radius: 9999px; background: rgba(255,255,255,.05); }
.am-tabs[hidden] { display: none; }
.am-tab { flex: 1 1 auto; min-height: 44px; padding: 0 12px; border-radius: 9999px; font-size: 14px; font-weight: 500; white-space: nowrap; color: rgba(255,255,255,.85); background: transparent; cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
@media (hover: hover) { .am-tab:hover { color: #fff; background: rgba(255,255,255,.08); } }
.am-tab[aria-selected="true"] { color: #fff; background: #C4161C; box-shadow: 0 6px 18px -8px rgba(227,30,36,.7); }
@media (min-width: 768px) { .am-tabs { width: fit-content; } .am-tab { flex: none; padding: 0 20px; font-size: 15px; } }
/* Postcode checker */
.am-check { margin-top: 20px; }
.am-check[hidden] { display: none; }
.am-check-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.am-check-row { margin-top: 8px; display: flex; gap: 8px; }
.am-pc { flex: 1; min-width: 0; height: 50px; padding: 0 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; background: rgba(255,255,255,.06); color: #fff;
  font-size: 17px; letter-spacing: .04em; text-transform: uppercase; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.am-pc::placeholder { color: #A8ABB0; opacity: 1; text-transform: none; letter-spacing: 0; }
.am-pc:focus, .am-pc:focus-visible { outline: none; border-color: #E31E24; box-shadow: 0 0 0 1px #E31E24; }
.am-check-btn { flex: none; }
.am-check.is-busy .am-check-btn { opacity: .7; cursor: progress; }
.am-result { display: none; }
.am-check[data-result] .am-result { display: block; margin-top: 12px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.04); }
.am-check[data-result="yes"] .am-result { box-shadow: inset 0 2px 0 #E31E24; }
.am-result-text { font-size: 16px; line-height: 1.5; color: rgba(255,255,255,.9); }
.am-check[data-result="busy"] .am-result-text { color: rgba(255,255,255,.7); }
.am-result-btns { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.am-result-btns[hidden], .am-result-btns [hidden] { display: none; }
@media (max-width: 767px) { .am-check-btn { padding-left: 16px; gap: 10px; } }
/* Panel */
.am-panels { display: grid; gap: 40px; }
.am-panel[hidden] { display: none; }
.am-panel { border-top: 1px solid rgba(255,255,255,.15); padding-top: 24px; }
.am-panel:focus-visible { outline-offset: 6px; }
.am-kicker { display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.am-kicker-gap { width: 18px; }
.am-name { margin-top: 10px; }
.am-intro { margin-top: 14px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.8); }
.am-towns { margin: 20px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 20px; font-size: 16px; line-height: 2; color: rgba(255,255,255,.8); }
.am-towns li { break-inside: avoid; }
.am-note { margin-top: 18px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.7); }
.am-btns { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
/* Homepage: the same map, a little shorter (centred in its dark frame), heading sized like the FAQ's */
.am-compact .areas-title { font-size: clamp(40px, 4.4vw, 64px); }
.am-compact .am-wrap { margin-top: 32px; }
@media (min-width: 1024px) {   /* laptop: map 500px tall, its frame shrinks to fit (no empty bars), panel takes the rest */
  .am-compact .am-wrap { grid-template-columns: auto minmax(0, 1fr); }
  .am-compact .am-map-col { width: min-content; }   /* the tabs and checker never widen the map column */
  .am-compact .am-figure { width: fit-content; }
  .am-compact .am-map { width: auto; height: 500px; }
  .am-compact .am-credit { max-width: 560px; }
}
@media (prefers-reduced-motion: reduce) { .am-radar { display: none; } }   /* no pulse; zoom is instant (script.js) */

/* ---------- Privacy page: contents list beside the text (laptop) ---------- */
.privacy-toc { position: sticky; top: 112px; align-self: start; border-left: 1px solid var(--hair); padding-left: 24px; }
.privacy-toc ul { margin: 14px 0 0; padding: 0; list-style: none; }
.privacy-toc a { display: block; padding: 6px 0; font-size: 15px; color: rgba(14,14,15,.68); transition: color .3s var(--ease); }
@media (hover: hover) { .privacy-toc a:hover { color: #C4161C; } }

/* ---------- Contact page: big Call / Email buttons and tappable contact cards ---------- */
.contact-sec { padding-top: 32px; padding-bottom: 64px; }
@media (min-width: 768px) { .contact-sec { padding-top: 64px; padding-bottom: 96px; } }
.cc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-btns a { min-height: 56px; font-size: 16px; }
.cc-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.cc { display: flex; align-items: center; gap: 14px; min-height: 68px; padding: 12px 14px; border: 1px solid rgba(14,14,15,.12); border-radius: 12px; background: #F6F6F7;
  transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.cc:active { border-color: #C4161C; background: #fff; } @media (hover: hover) { .cc:hover { border-color: #C4161C; background: #fff; } }
.cc-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: #0E0E0F; }
.cc-icon svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cc-icon svg .fill { fill: #fff; stroke: none; }
.cc-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cc-label { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(14,14,15,.6); }
.cc-value { font-size: 17px; font-weight: 500; color: #0E0E0F; overflow-wrap: break-word; }
.cc-arr { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9999px; border: 1px solid rgba(14,14,15,.3); color: #0E0E0F; transition: transform .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.cc-arr svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cc:active .cc-arr { transform: translateX(3px); background: #C4161C; border-color: #C4161C; color: #fff; } @media (hover: hover) { .cc:hover .cc-arr { transform: translateX(3px); background: #C4161C; border-color: #C4161C; color: #fff; } }
@media (max-width: 479px) {   /* phones: slimmer cards so the email address fits on one line */
  .cc { gap: 10px; padding: 10px 10px 10px 12px; }
  .cc-icon { width: 36px; height: 36px; }
  .cc-arr { width: 28px; height: 28px; }
  .cc-value { font-size: 16px; }
  .cc-value.cc-email { font-size: clamp(14px, 3.9vw, 16px); letter-spacing: -.01em; }
}

/* ---------- Photos everywhere (except the hero, which has its own grade): square corners, soft shadow,
   the same muted, slightly darker colour grade ---------- */
.photo { overflow: hidden; border-radius: 0; box-shadow: 0 28px 40px -24px rgba(14,14,15,.45); }
main img:not(.hero-photo img) { filter: saturate(.68) brightness(.92) contrast(1.03); }

/* ---------- Homepage About: label on top, text left, photo right ---------- */
.about-wrap { padding-top: 72px; padding-bottom: 72px; }
.about-grid { display: grid; gap: 32px; align-items: center; }   /* text column centred next to the photo */
.about-photo { position: relative; aspect-ratio: 4 / 5; }   /* 4:5 on phones and laptops: more of the stairs than a wide crop */
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 100%; }   /* stair tower photo: anchored to the bottom so the inspection tag (bottom left) stays in view; same grade as every photo */
@media (max-width: 767.98px) { .about-wrap { padding-top: 44px; } }   /* phones: less white space above About (straight after the slim band) */
@media (min-width: 768px) { .about-wrap { padding-top: 96px; padding-bottom: 96px; } .about-lead { font-size: 20px; } }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 7fr 5fr; gap: 64px; } }

/* ---------- Homepage How it works: 3 steps on a red band ---------- */
.steps-wrap { padding-top: 48px; padding-bottom: 52px; }
/* The steps hang off one scaffold tube, with a coupler at each step (vertical on phones, horizontal from tablet up) */
.steps { position: relative; margin: 28px 0 0; padding: 0 0 0 34px; list-style: none; display: grid; gap: 28px; }
.steps::before { content: ""; position: absolute; left: 10px; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: rgba(255,255,255,.55); }
.steps li { position: relative; }
.steps li::before { content: ""; position: absolute; left: -32px; top: 8px; width: 16px; height: 12px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 3px #C4161C; }
.steps li { display: flex; align-items: flex-start; gap: 18px; }
.step-num { flex: none; min-width: 1.05em; font-family: 'Anton', 'Oswald', Impact, sans-serif; font-size: 44px; line-height: 1; }   /* same width, so the step text lines up */
.step-body { display: grid; gap: 6px; padding-top: 4px; }
.step-title { font-size: 19px; font-weight: 600; line-height: 1.25; }
.step-text { font-size: 15px; line-height: 1.5; }
@media (min-width: 768px) { .steps-wrap { padding-top: 56px; padding-bottom: 60px; } .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 34px 0 0; } .steps::before { left: 0; right: 0; top: 10px; bottom: auto; width: auto; height: 4px; } .steps li::before { left: 0; top: -30px; width: 12px; height: 16px; } .step-num { font-size: 56px; } }

/* Homepage Services heading sits in the narrow left column */
.svc-title { font-size: clamp(44px, 4vw, 56px); }

/* Homepage content sections share one rhythm: 72px top/bottom on phones, 96px on laptop */
.pad-std { padding-top: 72px; padding-bottom: 72px; }
@media (min-width: 768px) { .pad-std { padding-top: 96px; padding-bottom: 96px; } }
/* Homepage enquiry: ends a little sooner after the form; phone + email as clear links */
.enq-sec { padding-bottom: 64px; }
/* Homepage enquiry: the red scaffold-brace pattern, under a much heavier charcoal overlay than the CTA band so the form stays easy to read */
.enq-pattern {
  background-color: #161618;
  background-image: linear-gradient(rgba(22,22,24,.94), rgba(22,22,24,.94)), url("../images/brace-pattern.svg");
  background-size: auto, 240px 240px;
}
@media (min-width: 768px) { .enq-sec { padding-bottom: 88px; } }
.enq-link { display: block; width: fit-content; color: #fff; text-decoration: underline 2px transparent; text-underline-offset: 6px; transition: text-decoration-color .3s var(--ease); }
.enq-link:focus-visible { text-decoration-color: #E31E24; } @media (hover: hover) { .enq-link:hover { text-decoration-color: #E31E24; } }

/* ---------- Homepage "While it's up": 4 points hanging off a scaffold tube (same motif as How it works) ---------- */
.up-wrap { padding-top: 72px; padding-bottom: 72px; }
.up-title { font-size: clamp(40px, 4.4vw, 64px); }
.tube-row { position: relative; margin: 40px 0 0; padding: 0 0 0 34px; list-style: none; display: grid; gap: 26px; }
.tube-row::before { content: ""; position: absolute; left: 10px; top: 4px; bottom: 4px; width: 4px; border-radius: 2px; background: rgba(255,255,255,.35); }
.tube-row li { position: relative; display: grid; gap: 6px; align-content: start; }
.tube-row li::before { content: ""; position: absolute; left: -32px; top: 5px; width: 16px; height: 12px; border-radius: 3px; background: #E31E24; box-shadow: 0 0 0 3px #0E0E0F; }
.tube-row strong { font-size: 18px; font-weight: 600; line-height: 1.3; }
.tube-row span { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.7); }
@media (min-width: 768px) {
  .up-wrap { padding-top: 96px; padding-bottom: 96px; }
  .tube-row { grid-template-columns: repeat(2, 1fr); gap: 32px 40px; }
}
@media (min-width: 1024px) {
  .tube-row { grid-template-columns: repeat(4, 1fr); padding: 34px 0 0; }
  .tube-row::before { left: 0; right: 0; top: 10px; bottom: auto; width: auto; height: 4px; }
  .tube-row li::before { left: 0; top: -30px; width: 12px; height: 16px; }
}

/* ---------- Homepage FAQ: simple open/close list (native <details>, keyboard friendly, no script) ---------- */
.faq-wrap { padding-top: 72px; padding-bottom: 72px; display: grid; gap: 32px; }
.faq-title { font-size: clamp(40px, 4.4vw, 64px); }
.faq-list { border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 19px; font-weight: 500; line-height: 1.35; transition: color .3s var(--ease); }
.faq-item summary::-webkit-details-marker { display: none; }
@media (hover: hover) { .faq-item summary:hover { color: #C4161C; } }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border: 1px solid rgba(14,14,15,.45); border-radius: 9999px; transition: transform .3s var(--ease), background-color .3s, border-color .3s; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -.75px 0 0 -5px; background: currentColor; }
.faq-icon::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq-item[open] .faq-icon { background: #C4161C; border-color: #C4161C; color: #fff; }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-item p { max-width: 40rem; padding: 0 48px 22px 0; font-size: 16px; line-height: 1.6; color: rgba(14,14,15,.68); }
@media (min-width: 768px) { .faq-wrap { padding-top: 96px; padding-bottom: 96px; } .faq-item summary { font-size: 21px; padding: 24px 0; } }
@media (min-width: 1024px) { .faq-wrap { grid-template-columns: 4fr 8fr; gap: 64px; } }

/* ---------- Services rows: hover lightens the row, name + arrow slide right and turn red ---------- */
.row {
  display: grid; grid-template-columns: 48px 1fr auto; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--hair); position: relative; isolation: isolate;
}
.row::after { content: ""; position: absolute; inset: 0 -16px; z-index: -1; background: rgba(255,255,255,.045); opacity: 0; transition: opacity .3s var(--ease); }
@media (hover: hover) { .row:hover::after { opacity: 1; } }
.row .num   { font-size: 13px; color: var(--soft); }
.row .title { font-size: clamp(24px, 2.3vw, 32px); font-weight: 400; letter-spacing: -.015em; transition: transform .3s var(--ease), color .3s var(--ease); }
.row .desc  { display: none; grid-column: 2; font-size: 15px; color: var(--soft); }
.row .arr   { font-size: 22px; transition: transform .3s var(--ease), color .3s var(--ease); }
@media (hover: hover) { .row:hover .title { transform: translateX(8px); color: #E31E24; } }   /* bright red on charcoal: large text (24px+) only */
@media (hover: hover) { .row:hover .arr { transform: translateX(8px); color: #E31E24; } }
@media (min-width: 768px) { .row { grid-template-columns: 64px 1fr 1fr auto; } .row .desc { display: block; grid-column: auto; } }
@media (min-width: 1024px) { .row .title { white-space: nowrap; } }

/* ---------- Homepage projects: centred heading, buttons, curved photo arc ---------- */
/* Whole section fits one screen: header gap on top, heading + buttons, then the ring fills the rest */
.proj-screen { display: flex; flex-direction: column; max-height: calc(100svh - 56px); }   /* sized to its content, never taller than one screen */
.proj-head { flex: none; width: 100%; padding-top: 80px; }
.proj-title { margin-top: 8px; font-size: clamp(40px, 5vw, 72px); }
.proj-intro { margin: 10px auto 0; max-width: 32rem; font-size: 17px; line-height: 1.5; color: rgba(14,14,15,.62); }
.proj-btns { margin-top: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.proj-screen { padding-bottom: 32px; }   /* a little air below the gallery */
@media (min-width: 768px) { .proj-screen { max-height: 100svh; padding-bottom: 48px; } .proj-head { padding-top: 100px; } .proj-btns { margin-top: 20px; } }
/* Very faint grey scaffold-brace texture behind the white gallery section */
.proj-texture { background-color: #fff; background-image: url("../images/brace-pattern-light.svg"); background-size: 240px 240px; }
.arc { position: relative; isolation: isolate; flex: none; height: var(--arc-h, 360px); margin: 8px 0 8px; overflow: hidden; overflow: clip;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline-offset: -4px; }
.arc.dragging { cursor: grabbing; }
.arc.dragging .arc-card { pointer-events: none; }
.arc-track { position: absolute; left: 50%; top: calc(50% - 18px); width: 0; height: 0; }   /* a little high, leaving room for the shadows */
/* "← Drag →" hint: fades out once you start dragging */
.arc-hint { position: absolute; left: 50%; top: calc(50% - 18px); z-index: 1000; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 14px;
  padding: 12px 20px; background: rgba(14,14,15,.88); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  pointer-events: none; transition: opacity .4s var(--ease); }
.arc-hint span { letter-spacing: 0; }
.arc.used .arc-hint { opacity: 0; }
.arc-card { position: absolute; left: 0; top: 0; display: block; will-change: transform; backface-visibility: hidden;
  box-shadow: 0 28px 40px -24px rgba(14,14,15,.45); background: #E9EAEC; -webkit-user-drag: none; }
.arc-card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.arc-name { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: #0E0E0F; color: #fff; font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .3s var(--ease); }
/* Hover label: inside the photo, name on top, job type below */
.arc-name { right: 0; display: grid; gap: 3px; padding: 8px 10px; font-size: 11px; line-height: 1.25; white-space: normal; }
.arc-type { font-weight: 500; color: rgba(255,255,255,.75); letter-spacing: .1em; }
.arc-type::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 7px; border-radius: 9999px; background: #E31E24; vertical-align: middle; }
.arc-card:focus-visible .arc-name { opacity: 1; } @media (hover: hover) { .arc-card:hover .arc-name { opacity: 1; } }
/* Phones (no hover): no labels on the small photos; a caption under the row names the middle photo */
.arc-caption { display: none; }
@media (hover: none) {
  .arc-name { display: none; }
  .arc-caption { display: block; margin: -36px 24px 28px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #0E0E0F; min-height: 1.5em; }
  .arc-caption .arc-type { color: rgba(14,14,15,.62); margin-left: 8px; }
}
.arc-card:focus-visible { outline: 2px solid #E31E24; outline-offset: 3px; }
@media (min-width: 768px) { .arc { margin: 16px 0 16px; } .arc-name { font-size: 12px; } }

/* ---------- Projects page: compact intro, filter pills, masonry gallery, lightbox ---------- */
.page-intro-compact { padding-bottom: 36px; }
.page-intro-compact .page-title { font-size: clamp(56px, 15vw, 96px); }
@media (min-width: 768px) { .page-intro-compact { padding-bottom: 48px; } }

/* Filter pills: grey when off, red when on */
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.pill { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border-radius: 9999px; font-size: 14px; font-weight: 500;
  background: #F0F0F2; color: #0E0E0F; border: 1px solid transparent; cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
@media (hover: hover) { .pill:hover { background: #E4E4E7; } }
.pill[aria-pressed="true"] { background: #C4161C; color: #fff; }
@media (min-width: 768px) { .pills { gap: 8px; margin-bottom: 24px; } .pill { padding: 0 18px; font-size: 15px; } }

/* Masonry: columns, each photo at its natural shape, 12px gaps, square corners */
/* Before script.js runs (or without it): a plain row-by-row grid, which puts same-shape photos exactly where the script will,
   so nothing jumps when it takes over (no layout shift) */
.masonry { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; transition: opacity .25s var(--ease); }
.masonry.is-fading { opacity: 0; }
@media (min-width: 1024px) { .masonry { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.masonry.is-js { display: block; position: relative; }
.masonry.is-js .m-item { position: absolute; left: 0; top: 0; margin: 0; }
.m-item { position: relative; display: block; margin: 0; overflow: hidden; background: #E9EAEC; cursor: zoom-in; }
.m-item[hidden] { display: none; }
.m-item img { display: block; width: 100%; height: auto; transition: transform .6s var(--ease); }
/* Hover: slight zoom + a dark gradient with the name and type fades in at the bottom */
.m-item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to bottom, rgba(14,14,15,0), rgba(14,14,15,.85)); opacity: 0; transition: opacity .3s var(--ease); pointer-events: none; }
.m-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; padding: 16px; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.m-name { font-size: 15px; font-weight: 600; line-height: 1.3; }
.m-type { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.m-type::before { content: ""; width: 4px; height: 4px; border-radius: 9999px; background: #E31E24; }
.m-item:focus-visible img { transform: scale(1.04); } @media (hover: hover) { .m-item:hover img { transform: scale(1.04); } }
.m-item:focus-visible::after, .m-item:focus-visible .m-cap { opacity: 1; transform: none; } @media (hover: hover) { .m-item:hover::after, .m-item:hover .m-cap { opacity: 1; transform: none; } }
.m-item:focus-visible { outline: 2px solid #E31E24; outline-offset: 3px; border-radius: 0; }
/* Phones and tablets (no hover): the label always shows, smaller */
@media (hover: none) {
  .m-item::after, .m-cap { opacity: 1; transform: none; }
  .m-cap { padding: 10px 12px; gap: 2px; }
  .m-name { font-size: 13px; }
  .m-type { font-size: 10px; }
}
@media (min-width: 768px) { .m-cap { padding: 20px; } .m-name { font-size: 16px; } }

/* Lightbox: full screen, black, photo centred, name + type on top, arrows at the sides */
.lb { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-rows: auto 1fr; background: rgba(14,14,15,.97); color: #fff; opacity: 0; transition: opacity .3s var(--ease); }
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }
html.lb-open { overflow: hidden; }
.lb-top { display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 24px; }
.lb-meta { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.lb-name { font-family: 'Anton', 'Oswald', Impact, sans-serif; font-size: 24px; line-height: 1.1; text-transform: uppercase; }
.lb-type { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.lb-type::before { content: ""; width: 4px; height: 4px; border-radius: 9999px; background: #E31E24; }
.lb-count { font-size: 13px; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 9999px; border: 1px solid rgba(255,255,255,.35); background: rgba(14,14,15,.6); color: #fff; cursor: pointer; transition: border-color .3s var(--ease), background-color .3s var(--ease); }
@media (hover: hover) { .lb-btn:hover { border-color: #fff; background: rgba(255,255,255,.1); } }
.lb-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lb :focus-visible { outline-color: #fff; }
.lb-stage { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 12px 24px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.lb-img { max-width: 100%; max-height: calc(100svh - 104px); width: auto; height: auto; object-fit: contain; filter: saturate(.68) brightness(.92) contrast(1.03); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.lb-img.is-loading { opacity: 0; }
.lb-arrow { position: absolute; top: 50%; margin-top: -24px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
@media (max-width: 767px) { .lb-arrow { top: auto; bottom: 20px; margin-top: 0; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } .lb-stage { padding-bottom: 88px; } .lb-img { max-height: calc(100svh - 190px); } .lb-name { font-size: 20px; } }
@media (min-width: 768px) { .lb-top { padding: 16px 20px 16px 40px; } .lb-stage { padding: 0 96px 40px; } .lb-img { max-height: calc(100svh - 120px); } .lb-name { font-size: 28px; } .lb-prev { left: 24px; } .lb-next { right: 24px; } }

/* ---------- Form ---------- */
.label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
label:focus-within .label { color: var(--ring); }
.field {
  width: 100%; margin-top: 8px; padding: 13px 16px; font-size: 17px; line-height: 1.4; border: 1px solid var(--field); border-radius: 12px;
  background-color: rgba(255,255,255,.06); color: #fff; color-scheme: dark; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.field::placeholder { color: var(--place); opacity: 1; }
.field option { background: #161618; color: #fff; }
.field:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 100px #1A1A1C inset; caret-color: #fff; }
/* On white sections: light grey box, grey border (3:1), black text */
.light .field { background-color: #F4F4F6; border-color: #767B84; color: #0E0E0F; color-scheme: light; }
.light .field option { background: #fff; color: #0E0E0F; }
.light .field:-webkit-autofill { -webkit-text-fill-color: #0E0E0F; box-shadow: 0 0 0 100px #F4F4F6 inset; caret-color: #0E0E0F; }
.field:focus, .field:focus-visible { outline: none; border-color: #E31E24; box-shadow: 0 0 0 1px #E31E24; }   /* red border shows which field you're in */
.light .field:focus { background-color: #fff; }
/* "Type of work" dropdown: same box, custom arrow */
select.field { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23E31E24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
textarea.field { min-height: 120px; }
/* "Send enquiry": full width of the form column, slightly larger */
#quote button[type="submit"] { width: 100%; min-height: 58px; font-size: 16px; padding: 0 10px 0 24px; }
#quote button[type="submit"] .hb-circ { width: 34px; height: 34px; }

/* Optional job details: a folded panel under the main fields, with tap-friendly choice chips */
.opt-panel { border: 1px dashed var(--field); border-radius: 12px; }
.opt-panel summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px 10px 16px; font-size: 16px; }
.opt-panel summary::-webkit-details-marker { display: none; }
.opt-panel summary > span:first-child { flex: 1; }
.opt-panel strong { font-weight: 600; }
.opt-hint { font-size: 13px; color: var(--soft); }
.opt-panel .faq-icon { border-color: var(--field); }
.opt-panel[open] .faq-icon { background: #C4161C; border-color: #C4161C; color: #fff; }
.opt-panel[open] .faq-icon::after { transform: rotate(0deg); }
.opt-body { display: grid; gap: 22px; padding: 6px 16px 20px; }
.opt-chips { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt-chips > div { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--field); border-radius: 9999px; font-size: 15px; transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
@media (hover: hover) { .chip input:hover + span { border-color: var(--ring); } }
.chip input:checked + span { background: #C4161C; border-color: #C4161C; color: #fff; }
.chip input:focus-visible + span { outline: 2px solid #E31E24; outline-offset: 3px; }
@media (max-width: 479px) { .opt-hint { display: none; } }

/* ---------- Services page: full-width rows, alternating white and charcoal ---------- */
.svc { padding-left: max(24px, calc((100% - 1320px) / 2 + 40px)); padding-right: max(24px, calc((100% - 1320px) / 2 + 40px)); }
.svc:nth-child(even) { background: #161618; }
@media (min-width: 768px) { .svc { padding-left: max(40px, calc((100% - 1320px) / 2 + 40px)); padding-right: max(40px, calc((100% - 1320px) / 2 + 40px)); } }

/* ---------- Footer: black, red stripe, logo + contact left, link columns right ---------- */
.site-footer { background: #0E0E0F; border-top: 3px solid #C4161C; color: #fff; }
.f-wrap { max-width: 1320px; margin: 0 auto; padding: 48px 24px 32px; display: grid; grid-template-columns: 2fr 3fr; gap: 32px 20px; }
@media (max-width: 767px) { .f-col .f-link { letter-spacing: .1em; } }
.f-brand, .f-reach { grid-column: 1 / -1; }
.f-logo { display: block; width: fit-content; }
.f-logo img { display: block; width: 130px; height: auto; }
.f-address { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.6; }
.f-phones { display: flex; flex-wrap: wrap; gap: 16px 40px; }
.f-label { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.f-phone { display: inline-block; margin-top: 4px; transition: color .3s var(--ease); font-size: 24px; font-weight: 500; letter-spacing: -.01em; line-height: 1.2; }
.f-email { display: inline-block; margin-top: 14px; font-size: 16px; padding: 6px 0; text-decoration: underline 1px #E31E24; text-underline-offset: 7px; transition: text-decoration-thickness .3s var(--ease); word-break: break-all; }
@media (hover: hover) { .f-email:hover { text-decoration-thickness: 2px; } }
.f-social[hidden] { display: none; }   /* stays hidden until accounts are confirmed */
.f-social { margin-top: 20px; display: flex; gap: 10px; }
.f-social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.35); transition: border-color .3s, background-color .3s; }
@media (hover: hover) { .f-social a:hover { border-color: #fff; } }
.f-social svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.6; }
.f-social svg path { fill: #fff; stroke: none; }
.f-social svg .fill { fill: #fff; stroke: none; }
.f-links { display: block; }
.f-col { display: grid; gap: 0; align-content: start; list-style: none; margin: 0; padding: 0; }
.f-link { display: inline-block; padding: 7px 0; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.8);
  text-decoration: underline 1px transparent; text-underline-offset: 7px; transition: color .3s, text-decoration-color .3s; }
@media (hover: hover) { .f-link:hover { color: #EF3B41; text-decoration-color: transparent; } }   /* lighter red: 4.9:1 on black for small text */
.f-col .f-link::after { content: "↗"; display: inline-block; width: 0; margin-left: 0; opacity: 0; overflow: hidden; vertical-align: top; transform: translate(-4px, 2px);
  transition: width .3s var(--ease), margin .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease); }
@media (hover: hover) { .f-col .f-link:hover::after { width: 1em; margin-left: 6px; opacity: 1; transform: translate(0, 0); } }
@media (hover: hover) { .f-phone:hover { color: #E31E24; } }   /* large text (24px+): 4.1:1 passes */
.f-bottom { max-width: 1320px; margin: 0 auto; padding: 18px 24px 22px; border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 10px;
  font-size: 12px; letter-spacing: .1em; line-height: 1.9; color: rgba(255,255,255,.6); }
.f-bottom .f-link { padding: 0; font-size: inherit; font-weight: 400; letter-spacing: inherit; text-transform: none; color: inherit; text-decoration-color: rgba(255,255,255,.35); }
@media (hover: hover) { .f-bottom .f-link:hover { color: #EF3B41; text-decoration-color: #EF3B41; } }
.f-bottom-left, .f-bottom-right { display: grid; gap: 10px; align-content: start; }
.f-top { width: fit-content; padding: 6px 0; color: rgba(255,255,255,.8); transition: color .3s var(--ease); }
@media (hover: hover) { .f-top:hover { color: #EF3B41; } }
.f-credit .f-link { white-space: nowrap; }   /* website credit: same small grey as the rest of the bottom row */
@media (max-width: 1023px) { .f-credit .f-link { display: inline-flex; align-items: center; min-height: 44px; } }
/* Phones + tablets: every footer link is a full 44px tap target (laptop keeps the compact look) */
@media (max-width: 1023px) {
  .f-phone { display: inline-flex; align-items: center; min-height: 44px; margin-top: 0; }
  .f-email { display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin-top: 8px; }
  .f-col .f-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
  .f-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; }
}
@media (min-width: 768px) {
  .f-wrap { padding: 64px 40px 40px; }
  .f-bottom { padding: 20px 40px 26px; }
  .f-logo img { width: 150px; }
  .f-phone { font-size: 26px; }
}
@media (min-width: 1024px) {
  .f-wrap { grid-template-columns: 1.1fr 1.2fr .8fr 1.1fr; gap: 40px; }
  .f-brand, .f-reach { grid-column: auto; }
  .f-phones { display: grid; gap: 14px; }
  .f-links { padding-top: 2px; }
  .f-link { white-space: nowrap; }
  .f-bottom { display: flex; justify-content: space-between; gap: 32px; }
  .f-bottom-left { gap: 2px; }
  .f-bottom-right { flex: none; gap: 2px; justify-items: end; text-align: right; }   /* back to top, then the website credit */
}

/* ---------- Phones (<768): tighter rhythm and compact shared parts. Laptop and tablet unchanged. ---------- */
@media (max-width: 767.98px) {
  /* sections: 56px top and bottom */
  .sec, .pad-std, .up-wrap, .faq-wrap { padding-top: 56px; padding-bottom: 56px; }
  .sec-short { padding-top: 48px; padding-bottom: 48px; }
  .about-wrap { padding-top: 44px; padding-bottom: 56px; }
  #contact .enq-sec { padding-bottom: 56px; row-gap: 32px; }   /* enquiry: contact details closer to the form (id beats the Tailwind gap class) */
  .proj-screen { max-height: none; }   /* gallery: big photos matter more than fitting one phone screen */
  .faq-wrap { gap: 24px; }
  .cta-inner { padding-top: 56px; padding-bottom: 56px; }
  /* gallery: less white above and below (the photos themselves are sized in script.js section 12) */
  .proj-head { padding-top: 48px; }
  .proj-screen { padding-bottom: 4px; }
  .arc { margin: 0; }
  .arc { height: var(--arc-h, calc(48.6vw + 36px)); }   /* phones: start at the height script.js will set, so jump links below don't land short */
  .arc-hint { padding: 7px 12px; gap: 9px; font-size: 10px; letter-spacing: .16em; }   /* smaller "← DRAG →" pill; fades after the first drag (.used) */
  .arc-caption { margin: -22px 24px 20px; }
  .proj-btns { flex-wrap: nowrap; gap: 8px; margin-top: 14px; }   /* the two buttons side by side: less height above the photos */
  .proj-btns > a { gap: 8px; padding: 0 6px 0 14px; font-size: 14px; }
  .proj-btns .hb-circ { width: 26px; height: 26px; }
  /* floating header: solid dark glass over every section, never grey on white */
  .hb { background: rgba(14,14,15,.9); }
  /* service rows: every title on one line */
  .row { grid-template-columns: 34px 1fr auto; gap: 10px; padding: 13px 0; }
  .row .title { font-size: 19px; letter-spacing: -.01em; white-space: nowrap; }
  .row .arr { font-size: 18px; }
  /* trust cards: all four the same height */
  .tc-grid { grid-auto-rows: 1fr; }
  /* footer: logo, contact, page links in two short columns, then the small print */
  .f-wrap { grid-template-columns: 1fr; gap: 26px; padding: 36px 24px 24px; }
  .f-links[aria-label="Services"] { display: none; }
  .f-links .f-col { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .f-address { margin-top: 12px; }
  .f-bottom { padding: 16px 24px 22px; font-size: 13px; letter-spacing: 0; line-height: 1.6; gap: 8px; }
  .f-bottom-left, .f-bottom-right { gap: 6px; }
  .f-credit { white-space: nowrap; font-size: clamp(11.5px, 3.3vw, 13px); }
}

/* ---------- Homepage About: image-led and layered on every size. Photo (rounded, the hero's natural grade), a dark glass
   card overlapping it (red line on top), "start to finish." in red, slim "More about us" link, faint huge "1996" behind. ---------- */
.about-accent { color: inherit; }
#about { position: relative; overflow: hidden; }
#about::before { content: "1996"; position: absolute; pointer-events: none; font-family: 'Anton', 'Oswald', Impact, sans-serif; line-height: .8; color: rgba(14,14,15,.04); }
#about .about-photo { border-radius: 16px; aspect-ratio: 4 / 5; }
#about .about-photo img { filter: saturate(.95) brightness(1.07) contrast(1.02); }
#about .about-grid > div:first-child { position: relative; z-index: 1; overflow: hidden; color: #fff; border-radius: 14px; border: 1px solid rgba(255,255,255,.1);
  background: rgba(22,22,24,.9); -webkit-backdrop-filter: blur(14px) saturate(130%); backdrop-filter: blur(14px) saturate(130%); box-shadow: 0 24px 50px -20px rgba(14,14,15,.6); }
#about .about-grid > div:first-child::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, #E31E24, rgba(227,30,36,.25)); }
#about .eyebrow { color: rgba(255,255,255,.7); }
#about .sec-title { color: #fff; }
#about .about-accent { color: #E31E24; }
#about .about-lead { color: rgba(255,255,255,.78); }
#about #about-more-btn { min-height: 44px; padding: 0; gap: 6px; border: 0; background: none; color: #fff; font-size: 15px;
  text-decoration: underline 2px transparent; text-underline-offset: 7px; transition: text-decoration-color .3s var(--ease); }
#about #about-more-btn .hb-circ { width: 16px; height: 16px; border: 0; }
#about #about-more-btn:active, #about #about-more-btn:focus-visible { text-decoration-color: #E31E24; }
@media (hover: hover) { #about #about-more-btn:hover { text-decoration-color: #E31E24; background: none; } }
/* phones: photo first, card over its bottom 20% */
@media (max-width: 767.98px) {
  #about::before { right: -6vw; top: 14px; font-size: 58vw; }
  #about .about-wrap { position: relative; padding-top: 28px; padding-bottom: 40px; }
  #about .about-grid { gap: 0; }
  #about .about-photo { order: -1; }
  #about .about-grid > div:first-child { margin: -25% 12px 0; padding: 22px 20px 12px; }   /* -25% of the width = bottom 20% of a 4:5 photo */
  #about .sec-title { margin-top: 10px; font-size: 34px; }
  #about .about-lead { margin-top: 12px; font-size: 16px; line-height: 1.55; }
  #about #about-more-btn { margin-top: 6px; }
}
/* tablets + laptops: photo on the left, card overlapping it from the right */
@media (min-width: 768px) {
  #about::before { right: -2vw; bottom: -3vw; font-size: 26vw; }
  #about .about-wrap { position: relative; padding-top: 72px; padding-bottom: 72px; }
  #about .about-grid { grid-template-columns: 5fr 6fr; gap: 0; align-items: center; }
  #about .about-photo { order: -1; }
  #about .about-grid > div:first-child { margin-left: -96px; padding: 40px 40px 26px; }
  #about .sec-title { margin-top: 14px; font-size: clamp(36px, 3.6vw, 52px); }
  #about .about-lead { margin-top: 18px; font-size: 18px; line-height: 1.6; }
  #about #about-more-btn { margin-top: 10px; }
}
@media (min-width: 1024px) { #about .about-grid { grid-template-columns: 5fr 6fr; } #about .about-grid > div:first-child { margin-left: -120px; padding: 48px 48px 30px; } }

/* ---------- Homepage: the same layered feel for the other sections (glass cards, red accents, rounded photos) ---------- */
/* Services: rows on a glass panel */
#services .svc-panel { padding: 6px 28px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 2px 0 #C4161C; }
#services .svc-panel li:last-child .row { border-bottom: 0; }
/* Gallery: rounded photos */
.arc-card { border-radius: 10px; overflow: hidden; }
/* While it's up: each point a glass card hanging off the scaffold tube */
.tube-row li { padding: 18px 18px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 2px 0 #E31E24; }
/* Areas map: rounded map, town panel as a glass card */
.am-figure { border-radius: 16px; overflow: hidden; }
.am-panel { padding: 24px 24px 20px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.04); box-shadow: inset 0 2px 0 #E31E24; }
/* FAQ: each question a soft card, red line when open */
.faq-list { border-top: 0; display: grid; gap: 10px; }
.faq-item { padding: 0 20px; border: 1px solid rgba(14,14,15,.1); border-radius: 12px; background: #F6F6F7; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.faq-item[open] { background: #fff; border-color: rgba(196,22,28,.35); box-shadow: inset 0 2px 0 #C4161C, 0 14px 30px -18px rgba(14,14,15,.35); }
.faq-item p { padding-right: 8px; }
/* Enquiry: the form on a dark glass card */
#contact #quote { padding: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; background: rgba(255,255,255,.04);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 2px 0 #E31E24; }
@media (max-width: 767.98px) {
  #services .svc-panel { padding: 2px 14px; }
  .faq-item { padding: 0 16px; }
  #contact #quote { padding: 20px 16px; }
  .am-panel { padding: 20px 18px 16px; }
  .am-towns { column-gap: 10px; font-size: 15px; }
}
@media (min-width: 360px) and (max-width: 767.98px) {
  .am-towns li { white-space: nowrap; }   /* one line each from 360px up (narrower phones may wrap) */
}

/* ---------- Inner pages (body.inner: services, projects, about, contact, privacy): final polish to match the homepage.
   Calm and compact: smaller headlines on phones, 16px body text, rounded photos, tidy lists, slimmer form. ---------- */
/* Photos: 16px corners, a softer shadow; same muted grade as every photo (main img rule above) */
.inner .photo, .inner .m-item { border-radius: 16px; }
.inner .photo { box-shadow: 0 20px 40px -28px rgba(14,14,15,.5); }
/* Services: "Good for" as a small label and a compact list with red dots */
.good-label { margin-top: 24px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.good-for { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 6px 20px; font-size: 16px; line-height: 1.45; color: var(--soft); }
.good-for li { display: flex; align-items: baseline; gap: 10px; }
.good-for li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 9999px; background: #C4161C; transform: translateY(-2px); }
@media (min-width: 640px) { .good-for { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 768px) { .inner .svc .sec-title { font-size: clamp(40px, 3.6vw, 52px); } }   /* service names: smaller than a section headline */
/* Contact: the form on a soft card (the light version of the homepage's glass form card), fields 52px tall, closer together */
.inner #quote { padding: 24px 20px; border: 1px solid rgba(14,14,15,.08); border-radius: 16px; background: #F6F6F7; box-shadow: inset 0 2px 0 #C4161C; }
.inner #quote > :not([hidden]) ~ :not([hidden]) { margin-top: 20px; }
.inner #quote .grid { gap: 20px; }
.inner #quote .field { margin-top: 6px; background-color: #fff; }
.inner #quote input.field, .inner #quote select.field { height: 52px; padding-top: 0; padding-bottom: 0; }
.inner #quote textarea.field { min-height: 104px; }
.inner #quote .opt-panel { background: #fff; }
@media (min-width: 768px) { .inner #quote { padding: 32px 28px; } }
/* Phones (<768): about 30% smaller headlines (none more than about a third of the screen), 16px body text, 56px section rhythm */
@media (max-width: 767.98px) {
  .inner .page-intro .page-title { font-size: clamp(36px, 10.6vw, 46px); line-height: .98; }
  .inner .page-intro { padding-bottom: 40px; }
  .inner main .page-intro p { margin-top: 14px; font-size: 17px; line-height: 1.55; }
  .inner .sec-title { font-size: clamp(30px, 8.8vw, 36px); line-height: 1; }
  .inner .sub-title { font-size: 24px; line-height: 1.05; }
  .inner .cta-title { font-size: 34px; }
  .inner .sec-short, .inner .contact-sec { padding-top: 56px; padding-bottom: 56px; }
  /* body text: 16px, regular weight, comfortable line height, slightly lighter grey on dark */
  .inner main .text-lg, .inner main .text-xl { font-size: 16px; line-height: 1.6; font-weight: 400; }
  .inner main .text-white\/70 { color: rgba(255,255,255,.76); }
  /* headline to text: closer */
  .inner main .sec-title + p, .inner main .sec-title + div { margin-top: 16px; }
  .inner main .sub-title + p { margin-top: 10px; }
  .inner .space-y-5 > :not([hidden]) ~ :not([hidden]) { margin-top: 14px; }
  /* services: photo, then name and text close under it */
  .inner .svc.grid { row-gap: 24px; }
  .inner #more-services { row-gap: 36px; }
  .inner .svc .sec-title { margin-top: 6px; }
  /* about: training list and How we work band, compact */
  .inner #accreditations .grid { row-gap: 28px; }
  .inner #accreditations ul > :not([hidden]) ~ :not([hidden]) { margin-top: 20px; }
  .inner #accreditations li { padding-top: 18px; }
  .inner #accreditations h3 { font-size: 18px; }
  .inner #how-we-work .grid { margin-top: 24px; padding-top: 24px; row-gap: 26px; }
  /* privacy: shorter gaps between sections and paragraphs */
  .inner .privacy-text > :not([hidden]) ~ :not([hidden]) { margin-top: 40px; }
  .inner .privacy-text .space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 12px; }
  .inner .privacy-text p.text-xl { font-size: 17px; }
  /* contact: the form starts closer to the contact cards */
  .inner .contact-sec { row-gap: 40px; }
  .inner #contact-form .eyebrow.mb-6 { margin-bottom: 14px; }
  .inner #quote { padding: 20px 16px; }
}

/* ---------- Less motion for people who prefer it ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-row { width: auto; padding: 0 24px; }            /* no movement: one copy, wrapped so every town shows */
  .ticker-row > div { width: 100%; flex-wrap: wrap; justify-content: center; row-gap: 12px; }
  .ticker-row > div + div, .ticker-row span:last-child::after { display: none; }
}
