@font-face { font-family: 'Carlito'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/carlito-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Carlito'; font-style: italic; font-weight: 400; font-display: swap; src: url('../fonts/carlito-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Carlito'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/carlito-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Carlito'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/carlito-700-italic.woff2') format('woff2'); }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.em-fallback { white-space: nowrap; }
/* Layout: white logo bar, then a deep charcoal hero where Keith's portrait dissolves into the dark and embers rise behind it.
   Services use red square safety-sign tiles (the ISO 7010 fire equipment sign shape) as icons. Contact closes on the same dark ground. Single light page theme by choice so the logo always sits on white. */
:root {
  --red: #FF3131;
  --red-dark: #C8201C;
  --red-deep: #A51915;
  --charcoal: #2D353B;
  --night: #0E1316;
  --grey: #5E656B;
  --mist: #C9CED2;
  --panel: #F3F4F5;
  --rule: #D9DCDF;
  --white: #FFFFFF;
  --font: Calibri, Carlito, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--white); color: var(--charcoal); font-family: var(--font); font-size: 17px; line-height: 1.5; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--white); }
a { color: var(--red-dark); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--charcoal); color: var(--white); padding: 10px 14px; z-index: 20; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--white); box-shadow: 0 1px 0 var(--rule); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.site-header img { height: 50px; width: auto; display: block; }
nav { margin-left: auto; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
nav a { color: var(--charcoal); text-decoration: none; font-weight: 700; font-size: 15px; }
nav a:hover, nav a[aria-current] { color: var(--red-dark); }
.nav-call { background: var(--red-dark); color: var(--white); padding: 10px 18px; border-radius: 4px; text-decoration: none; font-weight: 700; font-size: 15px; }
.nav-call:hover { background: var(--red-deep); }
@media (max-width: 820px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 4px; }
  .site-header img { height: 46px; }
  .nav-call { margin-left: auto; }
  nav { order: 3; width: 100%; overflow-x: auto; margin-left: 0; border-top: 1px solid var(--rule); }
  nav ul { gap: 18px; }
  nav li { flex: none; }
  nav a { display: inline-block; padding-block: 8px; }
}

/* Hero */
.hero { position: relative; background: var(--night); color: var(--white); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: auto -20% -55% -20%; height: 90%; background: radial-gradient(closest-side, rgba(200,32,28,.55), rgba(200,32,28,0)); z-index: -1; }
#embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: end; padding-block: 64px 0; }
.hero-text { padding-bottom: 64px; min-width: 0; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.02; font-weight: 700; letter-spacing: -.015em; }
.hero h1 .line2 { display: block; font-weight: 400; color: var(--mist); margin-top: 10px; font-size: .62em; line-height: 1.15; }
.rule-flame { width: 72px; height: 5px; background: var(--red); margin: 26px 0 22px; border-radius: 3px; }
.hero p.lede { font-size: 19px; max-width: 32em; margin: 0 0 30px; color: #E4E7E9; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 4px; font-weight: 700; text-decoration: none; font-size: 17px; }
.btn-red { background: var(--red-dark); color: var(--white); }
.btn-red:hover { background: var(--red); }
.btn-ghost { border: 2px solid rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--night); }
.hero-photo { position: relative; align-self: end; justify-self: center; width: min(100%, 440px); margin: 0; }
.hero-photo img { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 72%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%, #000 78%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 72%, transparent 100%);
  mask-composite: intersect; }
.hero-photo figcaption { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); white-space: nowrap; background: var(--white); color: var(--charcoal); padding: 10px 18px; border-radius: 4px; font-size: 15px; border-left: 5px solid var(--red); box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.hero-photo figcaption b { display: block; font-size: 17px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-text { padding-bottom: 8px; }
  .hero-photo { width: min(100%, 340px); }
}

/* Proof strip */
.proof { background: var(--white); border-bottom: 1px solid var(--rule); }
.proof .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.proof div.item { padding: 26px 24px; border-left: 1px solid var(--rule); min-width: 0; }
.proof div.item:first-child { border-left: 0; padding-left: 0; }
.proof b { display: block; font-size: 44px; line-height: 1; color: var(--red-dark); font-variant-numeric: tabular-nums; }
.proof span { display: block; margin-top: 6px; font-size: 16px; max-width: 22em; }
@media (max-width: 760px) {
  .proof .wrap { grid-template-columns: 1fr; }
  .proof div.item { border-left: 0; border-top: 1px solid var(--rule); padding: 18px 0; display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; }
  .proof div.item:first-child { border-top: 0; }
  .proof b { font-size: 36px; }
  .proof span { margin: 0; }
}

/* Sections */
section.block { padding-block: 80px; }
section.alt { background: var(--panel); }
.sec-head { margin-bottom: 40px; max-width: 46em; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.1; color: var(--charcoal); }
.sec-head h2::after { content: ""; display: block; width: 56px; height: 4px; background: var(--red); border-radius: 2px; margin-top: 14px; }
.sec-head p { margin: 16px 0 0; font-size: 19px; color: var(--grey); }

/* Services with safety-sign tiles */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 40px; }
.svc { min-width: 0; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; }
.sign { width: 64px; height: 64px; background: var(--red); border-radius: 6px; display: grid; place-items: center; box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 5px rgba(255,255,255,.9); }
.sign svg { width: 36px; height: 36px; stroke: var(--white); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-size: 21px; margin-bottom: 6px; }
.svc p { margin: 0; }
.svc ul { margin: 10px 0 0; padding: 0; list-style: none; color: var(--grey); font-size: 15px; }
.svc li { padding-left: 16px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--red); border-radius: 1px; }
.svc.ask { background: var(--red-dark); color: var(--white); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.svc.ask h3 { font-size: 22px; }
.svc.ask p { color: #FFE4E1; }
.svc.ask a { align-self: flex-start; margin-top: 6px; background: var(--white); color: var(--red-dark); font-weight: 700; text-decoration: none; padding: 0 18px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 4px; }
.svc.ask a:hover { background: var(--night); color: var(--white); }
.svc.lead { grid-column: 1 / -1; background: var(--night); color: var(--white); border-radius: 10px; padding: 32px; grid-template-columns: 88px 1fr minmax(0, 0.9fr); gap: 28px; align-items: center; }
.svc.lead .sign { width: 88px; height: 88px; }
.svc.lead .sign svg { width: 50px; height: 50px; }
.svc.lead h3 { font-size: 28px; }
.svc.lead p { color: #E4E7E9; font-size: 18px; }
.svc.lead ul { color: var(--mist); font-size: 16px; margin: 0; }
.svc.lead li { padding-block: 4px; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } .svc.lead { grid-template-columns: 88px 1fr; } .svc.lead ul { grid-column: 2; } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; gap: 32px; } .svc.lead { grid-template-columns: 1fr; padding: 24px; } .svc.lead ul { grid-column: auto; } }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.sectors li { background: var(--white); border-radius: 6px; padding: 20px 22px; border-top: 4px solid var(--charcoal); min-width: 0; }
.sectors li.sleep { border-top-color: var(--red); }
.sectors li.wide-tile { grid-column: 1 / -1; }
.sectors b { display: block; font-size: 19px; margin-bottom: 4px; }
.sectors span { color: var(--grey); font-size: 16px; }
.key { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--grey); font-size: 15px; }
.key i { width: 28px; height: 4px; background: var(--red); border-radius: 2px; }
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: repeating-linear-gradient(90deg, var(--rule) 0 10px, transparent 10px 18px); }
.steps li { counter-increment: s; min-width: 0; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--white); border: 3px solid var(--red); color: var(--red-dark); font-weight: 700; font-size: 20px; margin-bottom: 16px; position: relative; }
.steps h3 { font-size: 20px; margin-bottom: 6px; }
.steps p { margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.callout { background: var(--charcoal); color: var(--white); text-align: center; border-radius: 8px; padding: 30px 24px; font-size: 19px; margin-top: 56px; }
.callout p { margin: 0 auto; max-width: 50em; }
.callout .ref-home { display: block; margin-top: 12px; font-size: 14px; color: var(--mist); }
.callout-link { display: inline-block; margin-top: 14px; color: var(--white); font-weight: 700; text-underline-offset: 3px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.about-text p { margin: 0 0 16px; max-width: 36em; font-size: 18px; }
.about-text .big { font-size: 23px; line-height: 1.35; color: var(--charcoal); font-weight: 700; }
.sig { font-weight: 700; color: var(--red-dark); }
.quals { background: var(--white); border-radius: 8px; padding: 26px 28px; border-top: 5px solid var(--red); }
.quals h3 { font-size: 20px; margin-bottom: 10px; }
.quals ul { margin: 0; padding: 0; list-style: none; }
.quals li { padding: 11px 0; border-top: 1px solid var(--rule); font-size: 16px; }
.quals li:first-child { border-top: 0; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; gap: 32px; } }

/* Contact */
.contact { position: relative; background: var(--night); color: var(--white); overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, rgba(200,32,28,.35), rgba(200,32,28,0)); z-index: -1; }
.contact .sec-head h2 { color: var(--white); }
.contact .sec-head p { color: var(--mist); }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.c-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 8px; padding: 22px 24px; min-width: 0; }
.c-card h3 { font-size: 15px; font-weight: 400; color: var(--mist); margin-bottom: 6px; }
.c-card .val { display: block; font-size: 26px; font-weight: 700; color: var(--white); text-decoration: none; overflow-wrap: anywhere; }
.c-card p { margin: 6px 0 0; color: var(--mist); font-size: 15px; }
.c-card.c-wide { grid-column: 1 / -1; }
.c-card.c-wide .val { font-size: clamp(14px, 3.9vw, 30px); white-space: nowrap; }
@media (max-width: 340px) { .c-card.c-wide .val { white-space: normal; } }
.c-card p.why { color: #E4E7E9; font-size: 17px; margin: 0; }
.c-why { border-left: 4px solid var(--red); }
.copy { margin-top: 14px; font: inherit; font-size: 15px; font-weight: 700; background: var(--red-dark); color: var(--white); border: 0; border-radius: 4px; padding: 0 18px; min-height: 44px; cursor: pointer; }
.copy:hover { background: var(--red); }
@media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }



/* Does the law apply */
.applies { background: var(--white); }
.ap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ap { border-radius: 8px; padding: 22px 24px; min-width: 0; background: var(--panel); border-top: 5px solid var(--charcoal); }
.ap-out { border-top-color: var(--mist); }
.ap-back { border-top-color: var(--red); }
.ap-tag { display: block; font-size: 20px; font-weight: 700; }
.ap-ref { display: block; font-size: 14px; font-weight: 700; color: var(--red-dark); margin: 2px 0 12px; }
.ap ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ap li { padding-left: 24px; position: relative; }
.ap li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.ap-in li::before { content: "\2713"; color: var(--charcoal); }
.ap-out li::before { content: "\2715"; color: var(--grey); }
.ap-back li::before { content: "\2713"; color: var(--red-dark); }
.ap-out li { color: var(--grey); }
.ap-sum { background: var(--red-dark); font-size: 20px; margin-top: 28px; }
@media (max-width: 900px) { .ap-grid { grid-template-columns: 1fr; } }

/* Legislation page */
.lhero { background: var(--night); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.lhero::before { content: ""; position: absolute; inset: auto -10% -70% 30%; height: 120%; background: radial-gradient(closest-side, rgba(200,32,28,.45), rgba(200,32,28,0)); z-index: -1; }
.lhero .wrap { padding-block: 48px 56px; }
.crumb { margin: 0 0 18px; color: var(--mist); font-size: 15px; }
.crumb a { color: var(--white); }
.lhero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; letter-spacing: -.01em; }
.lhero .lede { font-size: 19px; color: #E4E7E9; max-width: 40em; margin: 18px 0 30px; }
.lawlinks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 900px; }
.law { display: flex; flex-direction: column; gap: 6px; background: var(--white); color: var(--charcoal); text-decoration: none; border-radius: 8px; padding: 20px 22px; border-left: 6px solid var(--red); min-width: 0; }
.law:hover { box-shadow: 0 0 0 3px var(--red); }
.law-tag { font-size: 14px; color: var(--grey); }
.law b { font-size: 21px; line-height: 1.2; }
.law-go { color: var(--red-dark); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .lawlinks { grid-template-columns: 1fr; } }
.jump { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 70px); z-index: 8; background: var(--white); border-bottom: 1px solid var(--rule); }
.jump .wrap { display: flex; gap: 22px; overflow-x: auto; padding-block: 12px; }
.jump a { flex: none; color: var(--charcoal); font-weight: 700; font-size: 15px; text-decoration: none; }
.jump a:hover { color: var(--red-dark); }
@media (max-width: 820px) { .jump { top: calc(env(safe-area-inset-top, 0px) + 110px); } }
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.who-item { border-top: 4px solid var(--red); background: var(--panel); border-radius: 6px; padding: 20px 22px; min-width: 0; }
.who-item b { display: block; font-size: 20px; margin: 4px 0 6px; }
.who-item p { margin: 0; }
@media (max-width: 820px) { .who { grid-template-columns: 1fr; } }
.ref { display: inline-block; font-size: 14px; font-weight: 700; color: var(--red-dark); }
a.ref { text-decoration: underline; text-underline-offset: 3px; }
.lgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lgrid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lgrid + .callout, .otable-wrap + .note + .lgrid { margin-top: 28px; }
.lcard { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 22px 24px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
section.alt .lcard { border-color: transparent; }
.lcard.main { border-top: 5px solid var(--red); }
.lcard.wide { grid-column: 1 / -1; }
.lcard h3 { font-size: 20px; line-height: 1.2; }
.lcard p { margin: 0; }
.lcard ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.lcard li { padding-left: 16px; position: relative; }
.lcard li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; background: var(--red); border-radius: 1px; }
.lcard ul.tight { gap: 3px; font-size: 16px; }
@media (max-width: 960px) { .lgrid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .lgrid, .lgrid.three { grid-template-columns: 1fr; } }
.staff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 640px) { .staff { grid-template-columns: 1fr; } }
.otable-wrap { overflow-x: auto; border-radius: 8px; border: 1px solid var(--rule); }
.otable { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 16px; }
.otable th { background: var(--charcoal); color: var(--white); text-align: left; padding: 12px 16px; font-size: 15px; }
.otable td { padding: 14px 16px; border-top: 1px solid var(--rule); vertical-align: top; }
.otable td:nth-child(2) { color: var(--red-dark); font-weight: 700; white-space: nowrap; }
.otable td:nth-child(3) { width: 34%; }
.otable tbody tr:nth-child(-n+3) td:first-child { box-shadow: inset 4px 0 0 var(--red); }
.note { color: var(--grey); font-size: 15px; margin: 12px 0 0; }
.callout.soft { background: var(--panel); color: var(--grey); font-style: italic; font-size: 16px; }
.cta-row { margin-top: 28px; text-align: center; }

footer { background: var(--white); border-top: 4px solid var(--red); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 26px; }
footer img { height: 56px; width: auto; }
footer p { margin: 0; color: var(--grey); font-size: 14px; text-align: right; }
@media (max-width: 600px) { footer p { text-align: left; } }

/* v2.3: stronger cards and section rhythm */
:root { --shadow: 0 1px 2px rgba(22,28,32,.06), 0 10px 28px rgba(22,28,32,.10); --shadow-lg: 0 2px 4px rgba(22,28,32,.08), 0 18px 40px rgba(22,28,32,.16); --ink-2: #1D2529; }
section.block { position: relative; }
#applies, #process, #leg-who, #leg-regs { background: var(--panel); }
#about, #leg-act, #leg-offences { background: var(--white); }
section.block:not(.contact):not(#sectors):not(#leg-read)::before { content: ""; position: absolute; top: 0; right: 0; width: 38%; height: 260px; background: radial-gradient(closest-side at 80% 0%, rgba(255,49,49,.07), rgba(255,49,49,0)); pointer-events: none; }
section.block > .wrap { position: relative; }

/* Applies */
.ap { background: var(--white); box-shadow: var(--shadow); border-top-width: 6px; }
.ap-tag { font-size: 21px; }

/* Services as cards */
#services .svc:not(.lead):not(.ask) { background: var(--white); border: 1px solid var(--rule); border-radius: 10px; padding: 24px; box-shadow: var(--shadow); }
#services .services { gap: 22px; }
.svc.lead { box-shadow: var(--shadow-lg); }
.svc.ask { box-shadow: var(--shadow-lg); background: linear-gradient(135deg, var(--red-dark), var(--red-deep)); }

/* Sectors on dark */
#sectors { background: var(--night); color: var(--white); }
#sectors .sec-head h2 { color: var(--white); }
#sectors .sec-head h2::after { display: none; }
#sectors .sec-head p, #sectors .key { color: var(--mist); }
.sectors li { background: var(--ink-2); border: 1px solid rgba(255,255,255,.08); border-top: 4px solid #6B7278; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.sectors li.sleep { border-top-color: var(--red); }
.sectors b { color: var(--white); }
.sectors span { color: var(--mist); }

/* Steps as cards */
.steps li { background: var(--white); border-radius: 10px; padding: 0 22px 24px; box-shadow: var(--shadow); margin-top: 24px; }
.steps li::before { margin: -24px 0 14px; background: var(--red-dark); border-color: var(--white); color: var(--white); border-width: 4px; box-shadow: 0 4px 12px rgba(200,32,28,.35); }
.steps::before { top: 47px; }

/* About */
.quals { box-shadow: var(--shadow-lg); }
.about-text .big { border-left: 5px solid var(--red); padding-left: 18px; }

/* Legislation cards */
.who-item { background: var(--white); box-shadow: var(--shadow); border-top-width: 6px; }
.lcard { border-color: var(--rule); box-shadow: var(--shadow); border-radius: 10px; }
section.alt .lcard { border-color: var(--rule); }
.lcard.main { border-top: 6px solid var(--red); }
#leg-act .lcard { border-left: 1px solid var(--rule); }
.otable-wrap { box-shadow: var(--shadow); background: var(--white); }
.law { box-shadow: 0 12px 30px rgba(0,0,0,.35); }
#leg-staff { background: var(--panel); }
#leg-staff .lcard { border-top: 6px solid var(--red); }
.callout { box-shadow: var(--shadow-lg); }
.callout.soft { box-shadow: none; border: 1px dashed var(--rule); background: var(--white); }
#leg-who .callout.soft, #leg-offences .callout.soft { background: var(--panel); }

/* v2.9 polish */
.sec-head h2::after { display: none; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); list-style: none; padding-left: 0; }
.trust li { display: flex; align-items: center; gap: 9px; font-size: 15px; color: #E4E7E9; }
.trust svg { width: 20px; height: 20px; flex: none; stroke: var(--red); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.proof b { font-size: 56px; letter-spacing: -.02em; }
.proof div.item { padding-block: 30px; }
.law-band { background: linear-gradient(100deg, var(--red-deep), var(--red) 55%, var(--red-dark)); color: var(--white); text-align: center; }
.law-band .wrap { padding-block: 34px; }
.law-band p { margin: 0 auto; max-width: 46em; font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; line-height: 1.35; text-wrap: balance; }
.law-band a { display: inline-block; margin-top: 10px; color: var(--white); font-size: 16px; font-weight: 700; text-underline-offset: 3px; }
#services .svc:not(.lead):not(.ask) { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
#services .svc:not(.lead):not(.ask):hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--red); }
@media (prefers-reduced-motion: reduce) { #services .svc:not(.lead):not(.ask) { transition: none; } #services .svc:not(.lead):not(.ask):hover { transform: none; } }
.quote-row { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; margin-bottom: 22px; }
.quote-row img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 20%; box-shadow: 0 0 0 4px var(--white), 0 0 0 7px var(--red), var(--shadow); }
.quote-row .big { margin: 0; }
@media (max-width: 520px) { .quote-row { grid-template-columns: 1fr; } }

#leg-read { background: var(--night); color: var(--white); }
#leg-read .sec-head h2 { color: var(--white); }
#leg-read .sec-head p { color: var(--mist); }
#leg-read .lawlinks { max-width: none; }
.lhero .lede { margin-bottom: 0; }

/* v3.4 spacing */
section.block { padding-block: 64px; }
.sec-head { margin-bottom: 30px; }
.sec-head p { margin-top: 12px; }
.callout { margin-top: 36px; }
@media (max-width: 700px) {
  section.block { padding-block: 44px; }
  .sec-head { margin-bottom: 24px; }
  .lhero .wrap { padding-block: 36px 40px; }
  .hero .wrap { padding-top: 32px; }
}

/* v3.6 back to top */
.to-top { position: fixed; z-index: 12; right: calc(max(16px, env(safe-area-inset-right, 0px)) + 4px); bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 16px 0 12px; border: 0; border-radius: 999px; background: var(--red-dark); color: var(--white); font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.to-top:hover { background: var(--red); }
.to-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.lgrid + .callout.disclaimer { margin-top: 28px; }
.callout.disclaimer { background: var(--white); color: var(--charcoal); border: 2px solid var(--red); box-shadow: none; margin-top: 18px; font-size: 17px; }
.callout.disclaimer b { color: var(--red-dark); }

.side-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.quals.affil { border-top-color: var(--charcoal); }

.quals .ifsm { display: block; width: 150px; max-width: 100%; height: auto; margin-top: 14px; }

/* v4.7 privacy and legal footer */
.privacy { background: var(--white); }
.privacy .callout { margin: 0 0 36px; }
.doc { max-width: 46em; }
.doc h2 { font-size: 24px; margin: 34px 0 10px; color: var(--charcoal); }
.doc h2:first-child { margin-top: 0; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.doc li { padding-left: 18px; position: relative; }
.doc li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--red); border-radius: 1px; }
footer p a { color: var(--red-dark); }
footer .legal { padding-block: 0 22px; }
footer .legal p { text-align: left; font-size: 13px; color: var(--grey); border-top: 1px solid var(--rule); padding-top: 14px; width: 100%; }
.contact .sec-head p a { color: var(--white); }

/* v4.8 enquiry form */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.contact-side .c-card .val { font-size: 22px; }
.contact-side .c-email .val { font-size: 18px; white-space: normal; overflow-wrap: anywhere; }
.enquiry { background: var(--white); color: var(--charcoal); border-radius: 10px; padding: 28px; border-top: 6px solid var(--red); box-shadow: 0 18px 40px rgba(0,0,0,.35); min-width: 0; display: grid; gap: 18px; }
.form-title { font-size: 24px; margin: 0; }
.f-row.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-weight: 700; font-size: 16px; }
.field legend { padding: 0; margin-bottom: 8px; }
.opt { font-weight: 400; color: var(--grey); }
.enquiry input[type="text"], .enquiry input[type="email"], .enquiry select, .enquiry textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--charcoal); background: var(--white);
  border: 2px solid #8A9197; border-radius: 6px; padding: 10px 12px; min-height: 48px; }
.enquiry textarea { resize: vertical; min-height: 130px; }
.enquiry input:focus, .enquiry select:focus, .enquiry textarea:focus { outline: 3px solid rgba(255,49,49,.45); outline-offset: 1px; border-color: var(--red-dark); }
.enquiry [aria-invalid="true"] { border-color: var(--red-dark); background: #FFF6F5; }
.f-err { color: var(--red-dark); font-size: 15px; font-weight: 700; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.checks legend { grid-column: 1 / -1; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 400 !important; min-height: 40px; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--red-dark); flex: none; margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.f-note { margin: 0; font-size: 15px; color: var(--grey); }
.f-note a { color: var(--red-dark); }
.f-actions .btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 17px; }
.f-actions .btn[disabled] { opacity: .65; cursor: progress; }
.f-status { margin: 0; padding: 14px 16px; border-radius: 6px; font-weight: 700; }
.f-status.ok { background: #EAF6EA; color: #1E5E22; border: 2px solid #8CC98F; }
.f-status.bad { background: #FFF1F0; color: var(--red-dark); border: 2px solid var(--pink-line, #F4A6A0); }
.enquiry.sent .field, .enquiry.sent .f-row, .enquiry.sent .f-note, .enquiry.sent .f-actions { display: none; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .f-row.two, .checks { grid-template-columns: 1fr; } .enquiry { padding: 22px 18px; } }
.nf-btns { margin-top: 26px; }
