/* Fonts are hosted on this site: no request to Google, no cookie question */
@font-face{font-family:"Archivo";src:url("../fonts/archivo-var.woff2") format("woff2");font-weight:400 800;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url("../fonts/ibmplexsans-var.woff2") format("woff2");font-weight:400 600;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("../fonts/ibmplexmono-regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("../fonts/ibmplexmono-medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"IBM Plex Mono";src:url("../fonts/ibmplexmono-semibold.woff2") format("woff2");font-weight:600;font-display:swap}
/* ==========================================================================
   Film & Events Ambulance Service
   Core stylesheet
   --------------------------------------------------------------------------
   Palette is derived from the July 2026 logo. Red (--alert) is reserved
   exclusively for emergency / 999 messaging so that it never competes with
   commercial calls to action.
   ========================================================================== */

:root {
  /* Brand */
  --brand:        #2DC0D4;
  --brand-bright: #56E0CE;
  --brand-deep:   #0B6F86;
  --brand-ink:    #06333F;

  /* Emergency — reserved */
  --alert:        #C8102E;
  --alert-dark:   #9E0C24;

  /* Dark chrome */
  --ink-900: #05090C;
  --ink-800: #0A1218;
  --ink-700: #101E26;
  --ink-600: #172A33;
  --line-dk: rgba(255,255,255,.12);
  --line-dk-soft: rgba(255,255,255,.07);

  /* Light paper */
  --paper:    #F6F8F9;
  --paper-2:  #FFFFFF;
  --paper-3:  #ECF1F3;
  --text:     #0D1A21;
  --text-mid: #45585F;
  --text-low: #6C7F87;
  --line:     #DCE4E7;

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Metrics */
  --wrap: 1280px;
  --gutter: 28px;
  --radius: 4px;
}

/* --------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--brand-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-ink); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -.025em; line-height: 1.1; margin: 0; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .38em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 2px;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #04222B; padding: .75rem 1.25rem;
  font-family: var(--mono); font-size: .8rem; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------- Emergency banner */
.emergency {
  background: var(--alert);
  color: #fff;
  text-align: center;
  padding: .7rem var(--gutter);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .005em;
  position: relative;
  z-index: 60;
}
.emergency .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: .7rem; flex-wrap: wrap; padding: 0;
}
.emergency svg { flex: none; }
.emergency strong { font-family: var(--display); font-weight: 800; letter-spacing: .01em; text-transform: uppercase; }
.emergency a { color: #fff; text-decoration: underline; font-weight: 700; }
.emergency a:hover { color: #fff; }

/* --------------------------------------------------------- Site header */
.site-header {
  background: var(--ink-900);
  border-bottom: 1px solid var(--line-dk-soft);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 88px;
}
.brand-lockup { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex: none; }
.brand-lockup img { width: 46px; height: auto; }
.brand-words { display: block; line-height: 1; }
.brand-words .l1 {
  font-family: var(--display); font-weight: 800; font-size: 1.16rem;
  color: #fff; letter-spacing: -.01em; display: block;
}
.brand-words .l2 {
  font-family: var(--display); font-weight: 600; font-size: .78rem;
  color: var(--brand); letter-spacing: .17em; display: block; margin-top: .18rem;
}
.brand-words .l3 {
  font-family: var(--mono); font-size: .545rem; color: rgba(255,255,255,.5);
  letter-spacing: .13em; display: block; margin-top: .3rem;
  border-top: 1px solid rgba(255,255,255,.16); padding-top: .28rem;
}

/* Navigation */
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav > ul > li > a {
  display: flex; align-items: center; gap: .35rem;
  padding: .65rem .7rem; color: rgba(255,255,255,.86);
  font-size: .875rem; font-weight: 500; text-decoration: none;
  border-radius: 3px; white-space: nowrap;
}
.nav > ul > li > a:hover,
.nav > ul > li:focus-within > a { color: #fff; background: rgba(255,255,255,.07); }
.nav > ul > li > a[aria-current="true"] { color: var(--brand); }
.nav .caret { width: 8px; height: 8px; opacity: .55; }

.submenu {
  position: absolute; top: calc(100% + 6px); left: -.4rem;
  min-width: 288px; background: var(--ink-800);
  border: 1px solid var(--line-dk); border-top: 2px solid var(--brand);
  list-style: none; margin: 0; padding: .45rem;
  opacity: 0; visibility: hidden; transform: translateY(-5px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  box-shadow: 0 22px 48px rgba(0,0,0,.55);
  z-index: 40;
}
.nav > ul > li:hover > .submenu,
.nav > ul > li:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: .55rem .7rem; color: rgba(255,255,255,.8);
  font-size: .855rem; text-decoration: none; border-radius: 3px;
}
.submenu a:hover { background: rgba(45,192,212,.14); color: #fff; }
.submenu li { margin: 0; }

.header-contact { display: flex; align-items: center; gap: .95rem; flex: none; }
.tel {
  display: flex; align-items: center; gap: .55rem;
  color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em;
  white-space: nowrap;
}
.tel .tel-ring {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--brand); display: grid; place-items: center; flex: none;
}
.tel:hover { color: var(--brand-bright); }

.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line-dk);
  color: #fff; padding: .55rem .8rem; border-radius: 3px; cursor: pointer;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  align-items: center; gap: .5rem;
}

/* Mobile drawer */
.mobile-nav {
  display: none; background: var(--ink-800); border-top: 1px solid var(--line-dk);
  max-height: 74vh; overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--line-dk-soft); }
.mobile-nav > ul > li > a,
.mobile-nav .m-toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  padding: .95rem var(--gutter); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  background: none; border: 0; text-align: left; cursor: pointer;
}
.mobile-nav .m-toggle[aria-expanded="true"] { color: var(--brand); }
.mobile-nav .m-sub { display: none; padding: 0 0 .7rem; background: rgba(0,0,0,.28); }
.mobile-nav .m-sub.open { display: block; }
.mobile-nav .m-sub a {
  display: block; padding: .6rem var(--gutter) .6rem calc(var(--gutter) + 1rem);
  color: rgba(255,255,255,.78); text-decoration: none; font-size: .9rem;
}
.mobile-nav .m-actions { padding: 1.1rem var(--gutter) 1.4rem; display: grid; gap: .6rem; }

/* ------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 1.4rem;
  padding: .95rem 1.35rem; border-radius: var(--radius);
  font-family: var(--display); font-weight: 700; font-size: .84rem;
  letter-spacing: .09em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #04232C; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-bright); border-color: var(--brand-bright); color: #04232C; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-bright); }
.btn-dark { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.btn-dark:hover { background: var(--ink-700); border-color: var(--ink-700); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-ink); }
.btn-sm { padding: .68rem 1rem; font-size: .74rem; gap: .9rem; }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- Hero */
.hero {
  position: relative; background: var(--ink-900); color: #fff; overflow: hidden;
  border-bottom: 1px solid var(--line-dk-soft);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 88% at 88% 12%, rgba(45,192,212,.30) 0%, rgba(45,192,212,0) 58%),
    radial-gradient(90% 70% at 8% 92%, rgba(11,111,134,.34) 0%, rgba(11,111,134,0) 62%),
    linear-gradient(180deg, rgba(5,9,12,.34) 0%, rgba(5,9,12,.86) 72%, var(--ink-900) 100%);
}
.hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 5.5rem 0 0; }
.hero-copy { max-width: 700px; }
.eyebrow {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 1.25rem;
  display: flex; align-items: center; gap: .8rem;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--brand); flex: none; }
.hero h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.5rem);
  letter-spacing: -.038em; line-height: 1.02; margin: 0 0 1.5rem;
}
.hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-bottom: 4rem; }

/* Hero watermark */
.hero-mark {
  position: absolute; right: 4%; top: 3%; width: 37%; max-width: 460px;
  opacity: .15; z-index: 1; pointer-events: none;
}

/* Hero pulse signature */
.pulse-line { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 1; opacity: .7; pointer-events: none; }
.pulse-line path { fill: none; stroke: var(--brand); stroke-width: 1.4; stroke-linecap: round;
  stroke-dasharray: 1500; stroke-dashoffset: 1500; animation: trace 6s ease-out .4s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }

/* Service strip in hero */
.hero-services {
  position: relative; z-index: 2;
  border-top: 1px solid var(--line-dk);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.hero-services > a {
  padding: 2rem 1.6rem 2.3rem; text-decoration: none; color: #fff;
  border-right: 1px solid var(--line-dk); transition: background .2s;
  display: block;
}
.hero-services > a:last-child { border-right: 0; }
.hero-services > a:hover { background: rgba(45,192,212,.09); }
.hero-services .ico { color: var(--brand); margin-bottom: .95rem; display: block; }
.hero-services h3 {
  font-size: .93rem; text-transform: uppercase; letter-spacing: .04em;
  font-weight: 700; margin-bottom: .55rem; line-height: 1.25;
}
.hero-services p { font-size: .85rem; color: rgba(255,255,255,.62); margin: 0; line-height: 1.5; }

/* Assurance strip */
.assurance { background: var(--ink-800); border-top: 1px solid var(--line-dk-soft); }
.assurance ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.assurance li {
  display: flex; align-items: center; gap: .65rem; margin: 0;
  padding: 1.05rem 1.2rem; color: rgba(255,255,255,.82);
  font-family: var(--mono); font-size: .715rem; letter-spacing: .09em; text-transform: uppercase;
  border-right: 1px solid var(--line-dk-soft); line-height: 1.35;
}
.assurance li:last-child { border-right: 0; }
.assurance svg { color: var(--brand); flex: none; }

/* Regulatory bar */
.reg-bar { background: var(--ink-900); border-top: 1px solid var(--line-dk-soft); padding: 1.9rem 0; }
.reg-bar .wrap { display: grid; grid-template-columns: 1.6fr 1.2fr auto; gap: 2.4rem; align-items: center; }
.reg-note { display: flex; gap: 1.1rem; align-items: flex-start; }
.reg-note .cqc-badge {
  font-family: var(--display); font-weight: 700; color: #fff; line-height: 1.15;
  border: 1.5px solid rgba(255,255,255,.35); padding: .5rem .7rem; border-radius: 3px;
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; text-align: center; flex: none;
}
.reg-note p { margin: 0; font-size: .82rem; color: rgba(255,255,255,.62); line-height: 1.55; }
.reg-cta .rt { color: #fff; font-size: 1rem; margin-bottom: .3rem; }
.reg-cta p { margin: 0; font-size: .84rem; color: rgba(255,255,255,.6); }
.reg-buttons { display: grid; gap: .55rem; }

/* --------------------------------------------------------- Page header */
.page-head {
  background: var(--ink-900); color: #fff; position: relative; overflow: hidden;
  padding: 2.6rem 0 3.2rem;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 130% at 85% 0%, rgba(45,192,212,.22), transparent 62%);
}
.page-head .wrap { position: relative; z-index: 2; }
.breadcrumb { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.6rem; }
.breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: rgba(255,255,255,.3); margin: 0 .5rem; }
.breadcrumb .current { color: var(--brand); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3.1rem); letter-spacing: -.032em; max-width: 20ch; }
.page-head .purpose {
  margin: 1.3rem 0 0; max-width: 62ch; font-size: 1.08rem; color: rgba(255,255,255,.74);
  border-left: 2px solid var(--brand); padding-left: 1.1rem;
}

/* ------------------------------------------------------------- Content */
main { display: block; }
.section { padding: 4.6rem 0; }
.section-tight { padding: 3rem 0; }
.section-alt { background: var(--paper-3); }
.section-dark { background: var(--ink-900); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.72); }

.section-head { margin-bottom: 2.6rem; max-width: 68ch; }
.section-head .eyebrow { color: var(--brand-deep); }
.section-head .eyebrow::before { background: var(--brand); }
.section-dark .section-head .eyebrow { color: var(--brand); }
.section-head h2 { font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.03em; }
.section-head p { margin-top: .9rem; color: var(--text-mid); font-size: 1.05rem; }
.section-dark .section-head p { color: rgba(255,255,255,.7); }

.prose { max-width: 74ch; }
.prose h2 { font-size: 1.55rem; margin: 2.6rem 0 .9rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin: 2rem 0 .6rem; }
.prose > ul li::marker { color: var(--brand-deep); }

.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 4rem; align-items: start; }

/* Cards */
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--paper-2); padding: 1.9rem 1.7rem; display: flex; flex-direction: column; }
a.card { text-decoration: none; color: inherit; transition: background .18s; }
a.card:hover { background: #fff; }
a.card:hover h3 { color: var(--brand-deep); }
.card .ico { color: var(--brand-deep); margin-bottom: 1.1rem; }
.card h3 { font-size: 1.08rem; margin-bottom: .55rem; }
.card p { font-size: .92rem; color: var(--text-mid); margin: 0; }
.card .card-more {
  margin-top: auto; padding-top: 1.2rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--brand-deep);
  display: flex; align-items: center; gap: .5rem;
}
.card-index {
  font-family: var(--mono); font-size: .72rem; color: var(--text-low);
  letter-spacing: .1em; margin-bottom: .8rem;
}

/* Feature list (Why choose us) */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 2.6rem; }
.feature-list li {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1.05rem 0; border-bottom: 1px solid var(--line); margin: 0;
}
.feature-list svg { color: var(--brand-deep); flex: none; margin-top: .28rem; }
.section-dark .feature-list li { border-bottom-color: var(--line-dk-soft); }
.section-dark .feature-list svg { color: var(--brand); }

/* Checklist / section list */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.checklist.cols-2 { grid-template-columns: repeat(2, 1fr); column-gap: 2.6rem; }
.checklist.cols-3 { grid-template-columns: repeat(3, 1fr); column-gap: 2.2rem; }
.checklist li {
  margin: 0; padding: .78rem 0 .78rem 1.6rem; position: relative;
  border-bottom: 1px solid var(--line); font-size: .96rem;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 1.32rem;
  width: 7px; height: 7px; background: var(--brand); border-radius: 1px;
}
.section-dark .checklist li { border-bottom-color: var(--line-dk-soft); }

/* Numbered steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li {
  counter-increment: s; margin: 0; padding: 1rem 0 1rem 3.4rem;
  border-bottom: 1px solid var(--line); position: relative; font-size: .98rem;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute; left: 0; top: 1.05rem;
  font-family: var(--mono); font-size: .78rem; color: var(--brand-deep);
  letter-spacing: .05em; font-weight: 600;
}

/* Notices */
.notice {
  border-left: 3px solid var(--brand); background: var(--paper-2);
  padding: 1.5rem 1.7rem; margin: 2rem 0; border-radius: 0 var(--radius) var(--radius) 0;
  border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.notice .nt {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-deep); margin-bottom: .7rem; font-weight: 600;
}
.notice p:last-child { margin-bottom: 0; }
.notice-alert { border-left-color: var(--alert); background: #FDF3F4; border-color: #F3D9DD; border-left-color: var(--alert); }
.notice-alert .nt { color: var(--alert-dark); }
.notice-status { background: #FFFBF0; border-color: #F0E4C6; border-left-color: #C98A00; }
.notice-status .nt { color: #8A5D00; }

/* Download blocks */
.download {
  display: flex; align-items: center; gap: 1.2rem; justify-content: space-between;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem; margin: 1rem 0; text-decoration: none; color: inherit;
  transition: border-color .18s, background .18s;
}
.download:hover { border-color: var(--brand); background: #fff; }
.download .dl-main { display: flex; align-items: center; gap: 1rem; }
.download .dl-icon { color: var(--brand-deep); flex: none; }
.download strong { display: block; font-family: var(--display); font-size: 1rem; letter-spacing: -.01em; }
.download small { color: var(--text-low); font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.download .dl-go { font-family: var(--mono); font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; color: var(--brand-deep); white-space: nowrap; }

/* CTA rows */
.cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin: 2.4rem 0 0; }

/* Key/value contact panel */
.panel {
  background: var(--paper-2); border: 1px solid var(--line);
  border-top: 3px solid var(--brand); padding: 1.7rem; border-radius: 0 0 var(--radius) var(--radius);
}
.panel h3 { font-size: 1.05rem; margin-bottom: 1rem; }
.panel .kv { display: grid; gap: .8rem; margin: 0 0 1.2rem; }
.panel .kv div { display: grid; gap: .15rem; }
.panel .kv dt, .panel .kv .k {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-low);
}
.panel .kv dd, .panel .kv .v { margin: 0; font-size: .96rem; }
.panel address { font-style: normal; font-size: .96rem; line-height: 1.55; }

.sidebar { display: grid; gap: 1.4rem; position: sticky; top: 116px; }
.sidebar-nav { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sidebar-nav .snt {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 1rem 1.2rem; background: var(--ink-900); color: #fff; margin: 0; font-weight: 500;
}
.sidebar-nav ul { list-style: none; margin: 0; padding: .5rem; }
.sidebar-nav li { margin: 0; }
.sidebar-nav a {
  display: block; padding: .6rem .75rem; font-size: .9rem; color: var(--text-mid);
  text-decoration: none; border-radius: 3px; border-left: 2px solid transparent;
}
.sidebar-nav a:hover { background: var(--paper-3); color: var(--text); }
.sidebar-nav a[aria-current="page"] { color: var(--brand-ink); border-left-color: var(--brand); background: var(--paper-3); font-weight: 600; }

/* Stats / values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dk); border-block: 1px solid var(--line-dk); }
.values > div { background: var(--ink-900); padding: 2.4rem 1.8rem; text-align: center; }
.values .v-word {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem,3vw,2.1rem);
  color: var(--brand); letter-spacing: -.02em; display: block; margin-bottom: .6rem;
}
.values p { font-size: .92rem; color: rgba(255,255,255,.68); margin: 0; }

/* Pre-footer CTA */
.prefooter { background: var(--ink-800); color: #fff; padding: 3.6rem 0; border-top: 1px solid var(--line-dk-soft); }
.prefooter .wrap { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; }
.prefooter h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .6rem; }
.prefooter p { color: rgba(255,255,255,.68); margin: 0; max-width: 56ch; }
.prefooter-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* --------------------------------------------------------------- Forms */
.form { display: grid; gap: 1.3rem; max-width: 780px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.field { display: grid; gap: .45rem; }
.field label { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mid); }
.field .req { color: var(--alert); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; padding: .8rem .9rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper-2);
  color: var(--text); width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px rgba(45,192,212,.2); }
.field .hint { font-size: .82rem; color: var(--text-low); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .93rem; }
.check input { width: 18px; height: 18px; margin-top: .2rem; flex: none; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.fieldset legend {
  font-family: var(--display); font-size: 1.2rem; font-weight: 700; letter-spacing: -.02em;
  padding: 0 0 .3rem; margin-bottom: .4rem; width: 100%; border-bottom: 1px solid var(--line);
}
.form-status { padding: 1rem 1.2rem; border-radius: var(--radius); font-size: .95rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #E9F7F6; border: 1px solid #A8DED8; color: #0B5C55; }

/* ---------------------------------------------------------- Vacancies */
.vacancy { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.7rem; margin-bottom: 1rem; }
.vacancy-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.vacancy h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .55rem; border: 1px solid var(--line); border-radius: 2px; color: var(--text-mid);
  display: inline-block; margin: 0 .35rem .35rem 0;
}
.tag-live { border-color: var(--brand); color: var(--brand-ink); background: rgba(45,192,212,.1); }
.vacancy-meta { display: flex; flex-wrap: wrap; gap: 0 1.8rem; margin: 1rem 0; }
.vacancy-meta div { font-size: .9rem; }
.vacancy-meta .k { font-family: var(--mono); font-size: .66rem; letter-spacing: .11em; text-transform: uppercase; color: var(--text-low); display: block; }

/* --------------------------------------------------------------- Table */
.table-wrap { overflow-x: auto; margin: 1.6rem 0; }
table { border-collapse: collapse; width: 100%; font-size: .94rem; }
th, td { text-align: left; padding: .85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: .7rem; letter-spacing: .11em; text-transform: uppercase; color: var(--text-mid); background: var(--paper-3); }

/* -------------------------------------------------------------- Footer */
.site-footer { background: var(--ink-900); color: rgba(255,255,255,.7); padding-top: 3.6rem; }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 2.4rem; padding-bottom: 3rem; }
.footer-brand img { width: 120px; margin-bottom: 1.3rem; }
.footer-brand p { font-size: .88rem; line-height: 1.6; margin-bottom: 1.2rem; }
.footer-brand address { font-style: normal; font-size: .88rem; line-height: 1.6; color: rgba(255,255,255,.6); }
.footer-col .ft {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 1.1rem; font-weight: 500;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .55rem; }
.footer-col a { color: rgba(255,255,255,.68); text-decoration: none; font-size: .875rem; }
.footer-col a:hover { color: var(--brand-bright); }

.footer-emergency {
  border-top: 1px solid var(--line-dk); border-bottom: 1px solid var(--line-dk);
  padding: 1.3rem 0; display: flex; align-items: center; gap: .8rem; justify-content: center;
  text-align: center; flex-wrap: wrap;
}
.footer-emergency svg { color: var(--alert); flex: none; }
.footer-emergency p { margin: 0; color: #fff; font-weight: 600; font-size: .95rem; }
.footer-emergency a { color: #fff; }

.footer-legal { padding: 1.6rem 0 2.4rem; display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal p { margin: 0; font-size: .8rem; color: rgba(255,255,255,.45); line-height: 1.6; }
.footer-legal ul { list-style: none; display: flex; gap: 1.3rem; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.55); font-size: .8rem; text-decoration: none; }
.footer-legal a:hover { color: var(--brand); }
.footer-legal button {
  background: none; border: 0; color: rgba(255,255,255,.55); font: inherit; font-size: .8rem;
  cursor: pointer; padding: 0; text-decoration: underline;
}

/* -------------------------------------------------------- Cookie banner */
.cookie {
  position: fixed; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 80;
  background: var(--ink-800); border: 1px solid var(--line-dk); border-top: 2px solid var(--brand);
  padding: 1.4rem 1.6rem; box-shadow: 0 24px 60px rgba(0,0,0,.5);
  display: none; gap: 1.6rem; align-items: center; justify-content: space-between;
  max-width: 1100px; margin: 0 auto; border-radius: var(--radius); flex-wrap: wrap;
}
.cookie.show { display: flex; }
.cookie p { margin: 0; color: rgba(255,255,255,.78); font-size: .9rem; max-width: 62ch; }
.cookie .ct { color: #fff; font-size: 1rem; margin-bottom: .4rem; }
.cookie-actions { display: flex; gap: .6rem; flex-wrap: wrap; }

/* ------------------------------------------------------------ Utilities */
.mono-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-low); }
.lede-text { font-size: 1.15rem; color: var(--text-mid); max-width: 68ch; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --------------------------------------------------------- Responsive */
@media (max-width: 1180px) {
  .nav > ul > li > a { padding: .6rem .5rem; font-size: .83rem; }
  .tel { font-size: .95rem; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  .nav, .header-contact { display: none; }
  .nav-toggle { display: flex; }
  .hero-mark { display: none; }
  .hero-services { grid-template-columns: repeat(2, 1fr); }
  .hero-services > a { border-bottom: 1px solid var(--line-dk); }
  .assurance ul { grid-template-columns: repeat(2, 1fr); }
  .assurance li { border-bottom: 1px solid var(--line-dk-soft); }
  .reg-bar .wrap { grid-template-columns: 1fr; gap: 1.6rem; }
  .content-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .sidebar { position: static; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .prefooter .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; }
  .header-inner { min-height: 72px; }
  .brand-lockup img { width: 38px; }
  .brand-words .l1 { font-size: 1rem; }
  .brand-words .l2 { font-size: .68rem; letter-spacing: .13em; }
  .brand-words .l3 { display: none; }
  .hero-inner { padding-top: 3.4rem; }
  .hero-actions { margin-bottom: 3rem; }
  .hero-services { grid-template-columns: 1fr; }
  .assurance ul { grid-template-columns: 1fr; }
  .section { padding: 3.2rem 0; }
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .feature-list, .checklist.cols-2, .checklist.cols-3 { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
  .download { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .cookie { left: .8rem; right: .8rem; bottom: .8rem; padding: 1.2rem; }
  .btn { width: 100%; }
  .cta-row .btn, .hero-actions .btn, .prefooter-actions .btn { width: 100%; }
}

/* ------------------------------------------------------------- Print */
@media print {
  .site-header, .prefooter, .cookie, .mobile-nav, .hero-services, .assurance { display: none; }
  body { background: #fff; font-size: 11pt; }
  .page-head, .hero { background: #fff !important; color: #000; }
  .page-head h1, .page-head .purpose { color: #000; }
}

/* Spam trap for Netlify Forms: hidden from people, filled in only by bots */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status.err { border: 1px solid var(--alert); background: #FDECEE; color: var(--alert-dark); }

/* Header fit: the full menu, phone number and quote button need about 1,700px.
   Below that the menu tightens and the phone shows as an icon; below 1,280px it
   switches to the Menu button. */
@media (max-width: 1700px) {
  .nav > ul > li > a { padding: .6rem .46rem; font-size: .83rem; }
  .header-contact { gap: .6rem; }
  .tel .tel-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (max-width: 1279px) {
  .nav, .header-contact { display: none; }
  .nav-toggle { display: flex; }
}

/* a last card left alone on its row stretches to fill it, so no empty grey slot shows */
@media (min-width: 1025px) {
  .cards-3 > .card:last-child:nth-child(3n+1), .cards-4 > .card:last-child:nth-child(4n+1) { grid-column: 1 / -1; }
  .cards-3 > .card:last-child:nth-child(3n+2), .cards-4 > .card:last-child:nth-child(4n+3) { grid-column: span 2; }
  .cards-4 > .card:last-child:nth-child(4n+2) { grid-column: span 3; }
}
@media (min-width: 721px) {
  .cards-2 > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 721px) and (max-width: 1024px) {
  .cards-3 > .card:last-child:nth-child(odd), .cards-4 > .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------------------------------------------------- Accessibility layer */
/* Contrast: secondary grey text darkened to pass 4.5:1 on white and pale grey */
:root { --text-low: #55686F; }
/* Links on the dark footer and cookie banner use the bright teal */
.footer-brand address a, .cookie p a { color: var(--brand); }
.footer-brand address a:hover, .cookie p a:hover { color: var(--brand-bright); }
/* Former h4 labels keep their size now they are h2 */
.footer-col .ft, .sidebar-nav .snt, .cookie .ct, .reg-cta .rt { line-height: 1.3; }
.cookie .ct, .reg-cta .rt { font-size: 1rem; letter-spacing: -.01em; }
.notice .nt { font-family: var(--mono); line-height: 1.4; }
/* Small capitals labels never drop below 12px */
.assurance li, .breadcrumb, .footer-col .ft, .sidebar-nav .snt, .panel .kv .k, .tag, th, .card .card-more, .mono-label, .field label { font-size: max(.75rem, 12px); }
.brand-words .l3 { font-size: max(.545rem, 9px); }
/* Links inside running text are always underlined, not shown by colour alone */
main p a:not(.btn), main ul:not([class]) li a, main ol li a, main .checklist a, main td a, .notice a, .footer-brand a { text-decoration: underline; text-underline-offset: 3px; }
/* Keyboard focus: a strong two-tone ring that shows on every background */
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #0B6F86; border-radius: 2px; }
.btn:focus-visible, a.card:focus-visible { outline-offset: 3px; }
.skip-link:focus { outline: 3px solid #fff; }
/* Submenus close with Escape (see site.js) */
.nav > ul > li.closed > .submenu { opacity: 0 !important; visibility: hidden !important; }
/* Forced colours (Windows high contrast): keep borders and the 999 banner visible */
@media (forced-colors: active) {
  .emergency, .notice, .card, .panel, .btn, .cookie { border: 1px solid CanvasText; }
  .hero-mark, .hero-grid, .hero-bg { display: none; }
}
/* Reduced motion: no smooth scrolling into view either */
@media (prefers-reduced-motion: reduce) { .btn svg, .card .card-more svg { transition: none !important; } }

/* ============================================== Accessibility settings */
@font-face{font-family:"Atkinson Hyperlegible";src:url("../fonts/atkinson-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url("../fonts/atkinson-700.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"OpenDyslexic";src:url("../fonts/opendyslexic-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"OpenDyslexic";src:url("../fonts/opendyslexic-700.woff2") format("woff2");font-weight:700;font-display:swap}

/* Text size: everything is sized from the root, so one setting scales the page */
body { font-size: 1.0625rem; }
@media (max-width: 720px) { body { font-size: 1rem; } }
html.a11y-text-1 { font-size: 112.5%; }
html.a11y-text-2 { font-size: 125%; }
html.a11y-text-3 { font-size: 150%; }
@media (max-width: 1900px) {
  html.a11y-text-1 .nav, html.a11y-text-1 .header-contact { display: none; }
  html.a11y-text-1 .nav-toggle { display: flex; }
}
html.a11y-text-2 .nav, html.a11y-text-2 .header-contact, html.a11y-text-3 .nav, html.a11y-text-3 .header-contact { display: none; }
html.a11y-text-2 .nav-toggle, html.a11y-text-3 .nav-toggle { display: flex; }
html.a11y-text-3 .brand-words .l3 { display: none; }

/* Fonts */
html.a11y-font-easy { --display: "Atkinson Hyperlegible", Verdana, sans-serif; --body: "Atkinson Hyperlegible", Verdana, sans-serif; --mono: "Atkinson Hyperlegible", Verdana, sans-serif; }
html.a11y-font-dyslexia { --display: "OpenDyslexic", Verdana, sans-serif; --body: "OpenDyslexic", Verdana, sans-serif; --mono: "OpenDyslexic", Verdana, sans-serif; }
html.a11y-font-easy h1, html.a11y-font-easy h2, html.a11y-font-easy h3, html.a11y-font-dyslexia h1, html.a11y-font-dyslexia h2, html.a11y-font-dyslexia h3 { letter-spacing: 0 !important; }

/* Text spacing (WCAG 1.4.12 values) */
html.a11y-spacing-on body :is(p, li, td, th, dd, label, a, span, small, address, legend, h1, h2, h3, h4) {
  line-height: 1.8 !important; letter-spacing: .12em !important; word-spacing: .16em !important;
}
html.a11y-spacing-on main p { margin-bottom: 2em !important; }

/* Highlight links */
html.a11y-links-on a:not(.btn) { text-decoration: underline !important; text-decoration-thickness: 2px !important; text-underline-offset: 4px !important; outline: 2px solid #FFD200 !important; outline-offset: 2px; }
html.a11y-links-on :is(p, li, td, address) > a:not(.btn) { background: #FFE680 !important; color: #111 !important; outline: 0 !important; }
html.a11y-links-on .btn { outline: 3px solid #FFD200 !important; outline-offset: 3px; }

/* Stop motion */
html.a11y-motion-still, html.a11y-motion-still *, html.a11y-motion-still *::before, html.a11y-motion-still *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}

/* Large cursor */
html.a11y-cursor-on, html.a11y-cursor-on * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M6 3l30 22-13 2 8 16-6 3-8-16-10 9z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 6 3, auto !important; }

/* Reading guide */
.a11y-guide { display: none; position: fixed; left: 0; right: 0; top: 0; height: 2.8em; pointer-events: none; z-index: 95;
  background: rgba(255,210,0,.16); border-block: 2px solid #FFD200; transform: translateY(-100px); }
html.a11y-guide-on .a11y-guide { display: block; }

/* Colours: greyscale */
html.a11y-colour-mono { filter: grayscale(1); }

/* Colours: high contrast (black, white and yellow) */
html.a11y-colour-contrast body, html.a11y-colour-contrast body :where(*:not(svg, path, circle, img)) {
  background-color: #000 !important; background-image: none !important; color: #fff !important;
  border-color: #fff !important; box-shadow: none !important; text-shadow: none !important;
}
html.a11y-colour-contrast *::before, html.a11y-colour-contrast *::after { background-image: none !important; }
html.a11y-colour-contrast :is(.hero-mark, .hero-grid, .hero-bg) { display: none !important; }
html.a11y-colour-contrast a, html.a11y-colour-contrast a * { color: #FFE600 !important; }
html.a11y-colour-contrast .btn, html.a11y-colour-contrast .btn * { background-color: #FFE600 !important; color: #000 !important; border-color: #FFE600 !important; }
html.a11y-colour-contrast :is(.card, .panel, .notice, .sidebar-nav, .table-wrap, .cookie, .a11y-panel, .field input, .field select, .field textarea) { border: 1px solid #fff !important; }
html.a11y-colour-contrast .a11y-opt input:checked + span { background-color: #FFE600 !important; color: #000 !important; }

/* Colours: light background */
html.a11y-colour-light body, html.a11y-colour-light body :where(*:not(svg, path, circle, img)) {
  background-color: #fff !important; background-image: none !important; color: #14212A !important;
  border-color: #A9B6BC !important; box-shadow: none !important; text-shadow: none !important;
}
html.a11y-colour-light *::before, html.a11y-colour-light *::after { background-image: none !important; }
html.a11y-colour-light :is(.hero-mark, .hero-grid, .hero-bg) { display: none !important; }
html.a11y-colour-light a, html.a11y-colour-light a * { color: #0047AB !important; }
html.a11y-colour-light .btn, html.a11y-colour-light .btn * { background-color: #0B2533 !important; color: #fff !important; border-color: #0B2533 !important; }
html.a11y-colour-light :is(.btn-ghost, .btn-outline), html.a11y-colour-light :is(.btn-ghost, .btn-outline) * { background-color: #fff !important; color: #0B2533 !important; border-color: #0B2533 !important; }
html.a11y-colour-light .footer-brand img, html.a11y-colour-light .brand-lockup img { background-color: #0B2533 !important; padding: 6px; border-radius: 4px; }
html.a11y-colour-light .a11y-opt input:checked + span { background-color: #0B2533 !important; color: #fff !important; }

/* Switch tracks keep showing on/off in the colour modes */
html.a11y-colour-contrast .a11y-switch input:checked { background-color: #FFE600 !important; border-color: #FFE600 !important; }
html.a11y-colour-light .a11y-switch input:checked { background-color: #0B2533 !important; border-color: #0B2533 !important; }
html.a11y-colour-light .a11y-switch input::after { background: #fff; box-shadow: 0 0 0 1px #0B2533; }

/* Wider text settings switch the header to the Menu button so nothing overlaps */
html.a11y-spacing-on .nav, html.a11y-spacing-on .header-contact, html.a11y-font-dyslexia .nav, html.a11y-font-dyslexia .header-contact { display: none; }
html.a11y-spacing-on .nav-toggle, html.a11y-font-dyslexia .nav-toggle { display: flex; }

/* The 999 banner stays red in every colour setting except greyscale */
html.a11y-colour-contrast .emergency, html.a11y-colour-contrast .emergency *:not(svg):not(path),
html.a11y-colour-light .emergency, html.a11y-colour-light .emergency *:not(svg):not(path) { background-color: #B10E28 !important; color: #fff !important; }

/* Settings button */
.a11y-fab {
  position: fixed; z-index: 70; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1rem .62rem .7rem;
  background: #0B6F86; color: #fff; border: 2px solid #fff; border-radius: 999px; cursor: pointer;
  font: 700 .86rem/1 var(--body); letter-spacing: .02em; box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.a11y-fab:hover { background: #06333F; }
@media (max-width: 720px) {
  .a11y-fab { padding: .62rem; }
  .a11y-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.footer-legal button[data-a11y-open], .link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.link-button { color: var(--brand-deep); }

/* Settings panel */
.a11y-panel {
  padding: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--paper-2); color: var(--text);
  width: min(600px, calc(100vw - 32px)); max-height: min(90vh, 960px); overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.a11y-panel::backdrop { background: rgba(3,8,12,.62); }
.a11y-inner { padding: 1.5rem 1.6rem 1.6rem; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.a11y-head h2 { font-size: 1.4rem; letter-spacing: -.02em; }
.a11y-close { flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: none; color: var(--text); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.a11y-close:hover { border-color: var(--brand); }
.a11y-intro { margin: .7rem 0 0; color: var(--text-mid); font-size: .95rem; }
.a11y-group { border: 0; padding: 0; margin: 1.4rem 0 0; min-width: 0; }
.a11y-group legend { padding: 0; margin-bottom: .6rem; font-family: var(--mono); font-size: max(.75rem, 12px); letter-spacing: .12em; text-transform: uppercase; color: var(--text-low); }
.a11y-options { display: grid; gap: 8px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.a11y-options.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.a11y-opt { position: relative; display: block; }
.a11y-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.a11y-opt span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 54px; padding: .5rem .4rem;
  border: 1px solid var(--line); border-radius: 4px; font-weight: 600; font-size: .9rem; line-height: 1.2; cursor: pointer;
}
.a11y-opt span.f-easy { font-family: "Atkinson Hyperlegible", Verdana, sans-serif; }
.a11y-opt span.f-dys { font-family: "OpenDyslexic", Verdana, sans-serif; font-size: .8rem; }
.a11y-opt:hover span { border-color: var(--brand); }
.a11y-opt input:checked + span { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); background: rgba(45,192,212,.14); }
.a11y-opt input:focus-visible + span { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 6px #0B6F86; }
.a11y-switch { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.a11y-switch label { display: grid; gap: .15rem; cursor: pointer; }
.a11y-switch strong { font-weight: 600; font-size: .98rem; }
.a11y-switch small { color: var(--text-mid); font-size: .86rem; }
.a11y-switch input {
  appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 50px; height: 28px; margin: 0;
  border-radius: 999px; background: rgba(127,140,148,.35); border: 1px solid var(--line); cursor: pointer;
}
.a11y-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.a11y-switch input:checked { background: #0B6F86; border-color: #0B6F86; }
.a11y-switch input:checked::after { left: 25px; }
.a11y-status { min-height: 1.2em; margin: .8rem 0 0; font-size: .86rem; color: var(--text-mid); }
.a11y-foot { display: flex; gap: .6rem; justify-content: space-between; flex-wrap: wrap; margin-top: .6rem; }
@media (max-width: 560px) {
  .a11y-options, .a11y-options.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a11y-inner { padding: 1.2rem 1.1rem 1.3rem; }
}
@media (forced-colors: active) { .a11y-switch input, .a11y-opt span, .a11y-fab { border: 1px solid CanvasText; } .a11y-switch input:checked { background: Highlight; } }

/* ==========================================================================
   DESIGN 1 · MIDNIGHT
   The current theme carried through every page: the hero's black-teal runs
   the full length of the site, content sits on deep panels, teal does the
   highlighting. Same fonts, logo, colours and layout as the current site.
   ========================================================================== */
:root {
  --paper:    #070D11;
  --paper-2:  #0C171D;
  --paper-3:  #09131A;
  --text:     #E6EEF1;
  --text-mid: #A7B9C0;
  --text-low: #7C929A;
  --line:     rgba(255,255,255,.10);
  --brand-deep: #2DC0D4;   /* links and accents need the bright teal on dark */
  --brand-ink:  #8DEDE1;
  color-scheme: dark;
}
body { background: var(--paper); }
a:hover { color: var(--brand-bright); }
hr { border-top-color: var(--line); }

/* Sections alternate between two near-blacks, divided by a hairline */
.section { border-top: 1px solid var(--line-dk-soft); }
.section-alt { background: var(--paper-3); }
.section-head .eyebrow { color: var(--brand); }
.section-head p, .lede-text { color: var(--text-mid); }

/* Cards: dark panels, a teal line appears on hover */
.cards { background: var(--line); border-color: var(--line); }
.card { background: var(--paper-2); position: relative; }
a.card:hover { background: #0F1F27; }
a.card:hover h3 { color: var(--brand-bright); }
a.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
a.card:hover::before { transform: scaleX(1); }
.card .ico { color: var(--brand); }
.card .card-more { color: var(--brand); }
.card-index { color: var(--text-low); }

/* Lists, notices and panels */
.feature-list svg { color: var(--brand); }
.prose > ul li::marker { color: var(--brand); }
.steps li::before { color: var(--brand); }
.notice { background: var(--paper-2); }
.notice .nt { color: var(--brand); }
.notice-alert { background: #1A0B0F; border-color: #4A1C24; border-left-color: var(--alert); }
.notice-alert .nt { color: #FF8A9A; }
.notice-status { background: #1A1608; border-color: #4A3D14; border-left-color: #E0A100; }
.notice-status .nt { color: #F2C14E; }
.panel { background: var(--paper-2); }
.sidebar-nav { background: var(--paper-2); }
.sidebar-nav .snt { background: #03070A; border-bottom: 1px solid var(--line); }
.sidebar-nav a:hover, .sidebar-nav a[aria-current="page"] { background: #102028; }
.download { background: var(--paper-2); }
.download:hover { background: #0F1F27; }
.download .dl-icon, .download .dl-go { color: var(--brand); }
.vacancy { background: var(--paper-2); }
.tag-live { color: var(--brand-bright); background: rgba(45,192,212,.12); }
th { background: #0E1A21; color: var(--text-mid); }

/* Buttons that were dark-on-light now read on dark */
.btn-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-dark:hover { background: var(--brand); border-color: var(--brand); color: #04232C; }
.btn-outline { color: var(--text); border-color: rgba(255,255,255,.3); }
.btn-outline:hover { color: var(--brand-bright); border-color: var(--brand); }

/* Forms */
.field input, .field select, .field textarea { background: #0A141A; border-color: rgba(255,255,255,.16); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-low); }
.field .hint { color: var(--text-low); }
.fieldset legend { border-bottom-color: var(--line); }
.form-status.ok { background: #0B2A2A; border-color: #1E6B66; color: #9BEADF; }
.form-status.err { background: #2A0D12; color: #FF9AA8; }

/* Values band sits one shade deeper so it still reads as a break */
.section-dark, .values > div { background: #03070A; }
.prefooter { background: #0A1820; }

/* ==========================================================================
   DESIGN 1 · MIDNIGHT, ENHANCED
   Same theme, sharper finish: glass header, larger and calmer type, cards
   with fine teal-lit edges, framed tables, quieter notices, more space.
   Motion is limited to short hover transitions; nothing flashes or loops.
   ========================================================================== */
:root {
  --edge: rgba(255,255,255,.08);
  --edge-teal: rgba(45,192,212,.38);
  --glow: rgba(45,192,212,.10);
  --text: #EDF3F5;
  --text-mid: #B3C3C9;
}
::selection { background: rgba(45,192,212,.35); color: #fff; }
body { line-height: 1.68; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
a[href^="tel"] { font-variant-numeric: tabular-nums; }

/* Red 999 banner: kept red, made neater */
.emergency { padding: .55rem var(--gutter); font-size: .9rem; font-weight: 500; background: #B10E28; border-bottom: 1px solid rgba(0,0,0,.25); }
.emergency strong { font-size: .86rem; letter-spacing: .06em; }

/* Glass header with a fine teal edge */
.site-header {
  background: rgba(5,9,12,.84);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--edge);
}
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--edge-teal) 30%, var(--edge-teal) 70%, transparent 100%);
  pointer-events: none;
}
.header-inner { min-height: 92px; }
.nav > ul > li > a { position: relative; border-radius: 0; background: none !important; }
.nav > ul > li > a::after {
  content: ""; position: absolute; left: .7rem; right: .7rem; bottom: .25rem; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav > ul > li > a:hover::after, .nav > ul > li:focus-within > a::after, .nav > ul > li > a[aria-current="true"]::after { transform: scaleX(1); }
.submenu { background: rgba(10,18,24,.97); border: 1px solid var(--edge); border-top: 2px solid var(--brand); border-radius: 0 0 6px 6px; padding: .55rem; }
.submenu a { padding: .6rem .75rem; border-radius: 4px; }

/* Buttons: crisper, arrow steps forward on hover */
.btn { border-radius: 3px; letter-spacing: .1em; }
.btn svg { transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn:hover { transform: none; }
.btn-primary { box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 8px 24px rgba(45,192,212,.18); }
.btn-ghost { border-color: rgba(255,255,255,.32); }

/* Hero: deeper, quieter light, bigger headline */
.hero-bg::after {
  background:
    radial-gradient(60% 75% at 82% 18%, rgba(45,192,212,.22) 0%, rgba(45,192,212,0) 62%),
    radial-gradient(55% 60% at 0% 100%, rgba(11,111,134,.22) 0%, rgba(11,111,134,0) 60%),
    linear-gradient(180deg, rgba(5,9,12,.2) 0%, rgba(5,9,12,.78) 70%, var(--ink-900) 100%);
}
.hero-grid { opacity: .32; }
.hero-inner { padding-top: 6.5rem; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.045em; font-weight: 700; max-width: 15ch; }
.hero .lede { color: rgba(255,255,255,.74); font-size: clamp(1.08rem, 1.5vw, 1.26rem); line-height: 1.6; }
.hero-actions { margin-bottom: 4.8rem; }
.hero-mark { opacity: .1; }
.hero-services { border-top: 1px solid var(--edge); background: linear-gradient(180deg, rgba(10,18,24,.4), rgba(10,18,24,.85)); }
.hero-services > a { position: relative; padding: 2.1rem 1.7rem 2.4rem; border-right-color: var(--edge); }
.hero-services > a::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.hero-services > a:hover { background: rgba(45,192,212,.05); }
.hero-services > a:hover::before { transform: scaleX(1); }
.hero-services .ico { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--edge-teal); border-radius: 4px; background: var(--glow); }
.hero-services h3 { font-size: .9rem; letter-spacing: .06em; }

/* Assurance strip and 2027 bar */
.assurance { background: #070E13; border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.assurance li { color: rgba(255,255,255,.7); font-size: .68rem; letter-spacing: .12em; padding: 1.15rem 1.3rem; border-right-color: var(--edge); }
.reg-bar { padding: 2.2rem 0; }
.reg-note .cqc-badge { border-color: var(--edge-teal); color: var(--brand-bright); background: var(--glow); }

/* Inner page headers: taller, faint grid, teal-lit base line */
.page-head { padding: 4.2rem 0 4.4rem; border-bottom: 1px solid var(--edge); }
.page-head::before {
  background:
    radial-gradient(60% 140% at 88% 0%, rgba(45,192,212,.18), transparent 62%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 70%); mask-image: linear-gradient(90deg, rgba(0,0,0,.35), #000 70%);
}
.page-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--edge-teal) 40%, transparent);
}
.page-head h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); letter-spacing: -.04em; max-width: 22ch; }
.page-head .purpose { border-left: 0; padding-left: 0; font-size: 1.14rem; color: rgba(255,255,255,.66); margin-top: 1.1rem; }
.breadcrumb { margin-bottom: 1.8rem; }

/* Sections: more air, larger section titles */
.section { padding: 5.6rem 0; border-top-color: var(--edge); }
.section-head { margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); letter-spacing: -.035em; }
.section-head p { max-width: 62ch; font-size: 1.08rem; }
.lede-text { font-size: 1.22rem; line-height: 1.6; color: var(--text-mid); }
.content-grid { gap: 5rem; }
.content-grid > div > h2, .prose h2 { font-size: 1.7rem; letter-spacing: -.03em; padding-top: 1.6rem; border-top: 1px solid var(--edge); }
.content-grid > div > h2:first-child, .prose h2:first-child { border-top: 0; padding-top: 0; }

/* Cards: separate panels with a fine teal-lit edge */
.cards { gap: 18px; background: transparent; border: 0; }
.card {
  border: 1px solid transparent; border-radius: 6px;
  background: linear-gradient(var(--paper-2), var(--paper-2)) padding-box,
              linear-gradient(155deg, rgba(45,192,212,.30), rgba(255,255,255,.06) 38%, rgba(255,255,255,.04)) border-box;
  padding: 2rem 1.8rem;
}
a.card { transition: background .2s ease, box-shadow .2s ease; }
a.card::before { display: none; }
a.card:hover {
  background: linear-gradient(#0E1C23, #0E1C23) padding-box,
              linear-gradient(155deg, rgba(45,192,212,.75), rgba(45,192,212,.12) 45%, rgba(255,255,255,.06)) border-box;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.card .ico { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--edge-teal); border-radius: 4px; background: var(--glow); margin-bottom: 1.3rem; }
.card h3 { font-size: 1.12rem; letter-spacing: -.015em; }
.card p { color: var(--text-mid); }
.card .card-more svg { transition: transform .18s ease; }
a.card:hover .card-more svg { transform: translateX(3px); }

/* Lists */
.feature-list li { border-bottom-color: var(--edge); padding: 1.15rem 0; }
.checklist li { border-bottom-color: var(--edge); padding: .9rem 0 .9rem 1.7rem; }
.checklist li::before { width: 6px; height: 6px; top: 1.45rem; box-shadow: 0 0 0 4px var(--glow); }
.steps li { border-bottom-color: var(--edge); }

/* Tables framed */
.table-wrap { border: 1px solid var(--edge); border-radius: 6px; }
table { font-size: .95rem; }
th { background: #0E1A21; border-bottom: 1px solid var(--edge-teal); }
td { border-bottom-color: var(--edge); }
tbody tr:nth-child(even) td { background: rgba(255,255,255,.018); }
tbody tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--text); font-weight: 500; white-space: nowrap; }

/* Notices: quieter, still clear */
.notice { border: 1px solid var(--edge); border-left: 2px solid var(--brand); border-radius: 0 6px 6px 0; background: linear-gradient(90deg, var(--glow), transparent 60%), var(--paper-2); }
.notice-alert { border-left-color: var(--alert); background: linear-gradient(90deg, rgba(200,16,46,.10), transparent 60%), #120A0D; border-color: rgba(200,16,46,.25); }
.notice-status { border-left-color: #E0A100; background: linear-gradient(90deg, rgba(224,161,0,.08), transparent 60%), #12100A; }

/* Side navigation and contact panels */
.sidebar { top: 128px; }
.sidebar-nav { border: 1px solid var(--edge); border-radius: 6px; }
.sidebar-nav .snt { background: transparent; color: var(--text-low); border-bottom: 1px solid var(--edge); padding: 1.1rem 1.3rem; }
.sidebar-nav a { border-left-width: 2px; }
.sidebar-nav a[aria-current="page"] { background: var(--glow); color: #fff; }
.panel {
  border: 1px solid transparent; border-radius: 6px;
  background: linear-gradient(var(--paper-2), var(--paper-2)) padding-box,
              linear-gradient(180deg, var(--brand) 0, var(--brand) 2px, var(--edge) 2px) border-box;
}

/* Forms */
.field input, .field select, .field textarea { background: #08121A; border-color: rgba(255,255,255,.14); border-radius: 4px; padding: .9rem 1rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,.26); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(45,192,212,.18); }
.fieldset legend { font-size: 1.3rem; padding-top: .4rem; }

/* Values band */
.section-dark { position: relative; background: radial-gradient(70% 120% at 50% 0%, rgba(45,192,212,.08), transparent 70%), #03070A; }
.values { background: var(--edge); border-block-color: var(--edge); }
.values > div { background: transparent; padding: 3rem 2rem; }
.values .v-word { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.03em; }

/* Pre-footer */
.prefooter { background: radial-gradient(60% 140% at 100% 0%, rgba(45,192,212,.14), transparent 65%), #08141B; border-top: 1px solid var(--edge); padding: 4.4rem 0; }
.prefooter h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.035em; }

/* Footer */
.site-footer { padding-top: 4.4rem; border-top: 1px solid var(--edge); }
.footer-col .ft { letter-spacing: .18em; }
.footer-col a { transition: color .15s; }
.footer-col li { margin-bottom: .65rem; }
.footer-legal { border-top: 1px solid var(--edge); margin-top: 1rem; }

/* Cookie banner */
.cookie { background: rgba(10,18,24,.96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--edge); border-top: 2px solid var(--brand); border-radius: 6px; }

@media (max-width: 720px) {
  .hero-inner { padding-top: 3.8rem; }
  .page-head { padding: 2.8rem 0 3rem; }
  .section { padding: 3.6rem 0; }
  td:first-child { white-space: normal; }
}
