/*
Theme Name: ACCM Support
Theme URI: https://accminternational.org.uk
Author: ACCM International
Author URI: https://accminternational.org.uk
Description: Website for SAFE, Sheffield Action for Equality, ACCM International's community-led support and reporting project. Shows how SAFE can complement existing services and contribute to Sheffield's race equality priorities through partnership, support, awareness and carefully governed community evidence.
Version: 4.10.3
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: accm-support
Tags: charity, non-profit, accessibility-ready, custom-colors, custom-menu, translation-ready
*/

/* ==========================================================================
   1. Design tokens
   Colours are printed into :root by inc/customizer.php so they stay editable
   in Appearance > Customize > Colours. The values below are the fallbacks.
   ========================================================================== */
:root{
  --ink:#14333B;         /* deep petrol - steel city, steady */
  --teal:#2A6B6E;        /* mid teal - calm, trustworthy */
  --marigold:#EFA735;    /* warm accent - hope, action */
  --paper:#F4F7F6;       /* cool off-white */
  --card:#FFFFFF;
  --text:#2E3E42;
  --muted:#5C6E72;
  --danger:#B4432E;
  --radius:14px;
  --font-head:'Bitter', Georgia, serif;
  --font-body:'Karla', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
}
body{font-family:var(--font-body);color:var(--text);background:var(--paper);line-height:1.6;font-size:17px}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--ink);line-height:1.15}
a{color:var(--teal)}
img{max-width:100%;height:auto}
.wrap{max-width:1080px;margin:0 auto;padding:0 20px}

/* Accessibility helpers ---------------------------------------------------- */
.screen-reader-text{
  border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;overflow:hidden;
  padding:0;position:absolute!important;width:1px;word-wrap:normal!important;
}
.skip-link{
  position:absolute;left:-9999px;top:0;z-index:200;background:var(--marigold);color:var(--ink);
  padding:12px 20px;font-weight:700;border-radius:0 0 var(--radius) 0;text-decoration:none;
}
.skip-link:focus{left:0}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible{outline:3px solid var(--marigold);outline-offset:3px}

/* Buttons ------------------------------------------------------------------ */
.btn{
  display:inline-block;padding:14px 26px;border-radius:999px;font-weight:700;text-decoration:none;
  font-size:1rem;border:none;cursor:pointer;font-family:var(--font-body);text-align:center;
}
.btn-primary{background:var(--marigold);color:var(--ink)}
.btn-primary:hover{background:#f5b654}
.btn-ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.6)}
.btn-ghost:hover{border-color:#fff}
.btn-wide{display:block;width:100%;max-width:44em;margin:0 auto;padding:20px 26px;font-size:1.1rem}
.section.mission .wrap{text-align:center}

/* ==========================================================================
   2. Safety bar (signature element)
   ========================================================================== */
.safety-bar{
  position:sticky;top:0;z-index:100;background:var(--ink);color:#fff;font-size:.92rem;
  display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 20px;
}
.safety-bar p{margin:0}
.safety-bar strong{color:var(--marigold)}
.quick-exit{
  background:var(--danger);color:#fff;border:none;border-radius:999px;padding:8px 18px;
  font-weight:700;cursor:pointer;font-family:var(--font-body);white-space:nowrap;
  /* The most important control on the site, pressed by someone who wants to be
     gone. It measured 39px on a phone, under the 44px comfortable-tap floor -
     a missed tap here is the one failure this button exists to prevent. */
  min-height:44px;
}
.quick-exit:hover{background:#cf5138}
/* Keeps the sticky bar from hiding anchor targets when jumping to a section. */
[id]{scroll-margin-top:96px}

/* ==========================================================================
   3. Header / navigation
   ========================================================================== */
.site-header{background:var(--ink);color:#fff}

/* Utility row: phone number and language, above everything else. ------------ */
.header-utility{background:rgba(0,0,0,.22);font-size:.88rem}
.header-utility-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:12px 20px;flex-wrap:wrap;padding-top:7px;padding-bottom:7px;
}
.header-contact{margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.header-contact a{color:#fff;text-decoration:none;font-weight:700}
.header-contact a:hover{color:var(--marigold)}
.header-hours{color:rgba(255,255,255,.7);font-size:.82rem}

/* Main row ------------------------------------------------------------------ */
.nav{
  display:flex;align-items:center;justify-content:space-between;
  gap:16px 24px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px;
}
.brand{display:flex;align-items:center;gap:14px;min-width:0}
/* The wordmark ---------------------------------------------------------------
   Two registers, one rule between them: the name reads at a glance, the
   descriptor is there for anyone who needs to know what the initials stand for.
   The full stop is the only place the accent colour appears in the header. */
.logo{display:block;text-decoration:none;color:#fff;line-height:1}
.logo-line{
  display:block;font-family:var(--font-head);white-space:nowrap;
  font-size:clamp(1.15rem,2.4vw,1.4rem);
}
.logo-name{font-weight:800;letter-spacing:-.01em}
.logo-dot{color:var(--marigold);font-weight:800}
.logo-intl{
  font-weight:500;letter-spacing:.1em;margin-left:.42em;
  font-size:.74em;color:rgba(255,255,255,.82);
}
.logo-desc{
  display:block;margin-top:7px;padding-top:7px;
  border-top:1px solid rgba(255,255,255,.22);
  font-family:var(--font-body);font-weight:500;font-size:.63rem;
  letter-spacing:.17em;text-transform:uppercase;color:rgba(255,255,255,.62);
  max-width:32ch;line-height:1.4;
}
.logo:hover .logo-dot{color:#fff}
.logo:hover .logo-desc{color:rgba(255,255,255,.8)}

/* Footer version: same lockup, quieter. */
.logo--footer .logo-line{font-size:1.15rem}
.logo--footer .logo-desc{font-size:.6rem;color:rgba(255,255,255,.5)}
.custom-logo-link{display:block;flex:none}
.custom-logo-link img{max-height:56px;width:auto;display:block}
.brand-sub{
  font-size:.72rem;letter-spacing:.06em;opacity:.75;max-width:28ch;line-height:1.35;
  border-left:1px solid rgba(255,255,255,.25);padding-left:14px;
}

/* Navigation ---------------------------------------------------------------- */
.main-navigation{margin-left:auto}
.main-navigation ul{display:flex;gap:22px;list-style:none;flex-wrap:wrap;margin:0}
.main-navigation a{
  color:#fff;text-decoration:none;font-weight:500;font-size:.95rem;
  display:inline-block;padding:4px 0;border-bottom:2px solid transparent;
}
.main-navigation a:hover{color:var(--marigold)}
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a{color:var(--marigold);border-bottom-color:var(--marigold)}

/* Actions cluster: holds the menu toggle, and keeps it opposite the wordmark
   at every width. The header CTA that used to sit here was removed in 3.1.2 -
   on a phone it could not share a line with the toggle and the logo. */
.nav-actions{display:flex;align-items:center;gap:10px;order:3}
.menu-toggle{
  display:none;align-items:center;gap:9px;background:transparent;
  border:2px solid rgba(255,255,255,.5);color:#fff;border-radius:999px;
  padding:8px 16px;font-family:var(--font-body);font-weight:700;cursor:pointer;
  /* The only route to the menu on a phone, and the padding alone left it 35px. */
  min-height:44px;
}
.menu-toggle:hover{border-color:#fff}
.menu-toggle-bars{
  width:16px;height:2px;background:#fff;position:relative;display:inline-block;
}
.menu-toggle-bars::before,.menu-toggle-bars::after{
  content:"";position:absolute;left:0;width:16px;height:2px;background:#fff;
}
.menu-toggle-bars::before{top:-5px}
.menu-toggle-bars::after{top:5px}
/* Safety-relevant, so it gets a real target rather than the 17px a bare line of
   text gives it. */
.safety-link{
  color:#fff;font-weight:700;margin-left:6px;white-space:nowrap;
  display:inline-block;padding:4px 0;min-height:26px;
}
/* Sub-menus: simple, keyboard friendly */
.main-navigation li{position:relative}
.main-navigation .sub-menu{
  display:none;position:absolute;left:0;top:100%;background:var(--ink);padding:10px 14px;
  border-radius:0 0 var(--radius) var(--radius);min-width:200px;flex-direction:column;gap:10px;z-index:90;
}
.main-navigation li:hover > .sub-menu,
.main-navigation li:focus-within > .sub-menu{display:flex}

/* ==========================================================================
   4. Hero
   ========================================================================== */
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(160deg,var(--ink) 0%,var(--hero-mid,#1C4A50) 60%,var(--teal) 100%);
  color:#fff;padding:72px 0 84px;
}
/* Geometric texture instead of photography: fine diagonal rule, barely there. */
.hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;
  background-image:repeating-linear-gradient(
    115deg,
    rgba(255,255,255,.05) 0 1px,
    transparent 1px 14px
  );
}
.hero .wrap{position:relative;z-index:1;display:grid;grid-template-columns:1.2fr .8fr;gap:48px;align-items:center}
.greeting{
  font-family:var(--font-head);font-weight:700;font-size:1.15rem;color:var(--marigold);
  min-height:1.6em;letter-spacing:.02em;
}
.hero h1{color:#fff;font-size:clamp(1.9rem,3.8vw,2.75rem);font-weight:800;margin:10px 0 18px}
.hero p.lead{font-size:1.15rem;max-width:34em;color:#E5EEEC}
.hero-ctas{margin-top:30px;display:flex;gap:14px;flex-wrap:wrap}
.lang-card{
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);
  border-radius:var(--radius);padding:26px;
}
.lang-card h2{color:#fff;font-size:1.05rem;margin-bottom:12px}
.lang-card ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.lang-card li{background:rgba(255,255,255,.12);border-radius:999px;padding:5px 14px;font-size:.9rem}
.lang-card p{font-size:.85rem;margin-top:14px;color:#CFE0DE}

/* ==========================================================================
   5. Sections
   ========================================================================== */
.section{padding:64px 0}
.section--white{background:#fff}
.section--evidence-band{background:#EAF2F1;border-top:1px solid #D3E3E0;border-bottom:1px solid #D3E3E0}
.section--evidence-band.mission{padding:36px 0}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:700;color:var(--teal)}
.monitor-mission a{color:var(--teal);text-decoration:none;border-bottom:1px solid transparent}
.monitor-mission a:hover{border-bottom-color:var(--teal)}
.section h2{font-size:clamp(1.6rem,3vw,2.2rem);margin:8px 0 18px}
.section-intro{max-width:44em;color:var(--muted);margin-bottom:36px}

/* Promises band -------------------------------------------------------------
   Deliberately not cards. Four plain statements on a tinted strip, tight to the
   hero, so the answers arrive before the questions are consciously asked. */
.promises{background:#EAF2F1;border-bottom:1px solid #DBE6E4;padding:26px 0}
.promise-list{
  list-style:none;margin:0;display:grid;gap:20px 34px;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
}
.promise-list li{display:flex;flex-direction:column;gap:3px;padding-left:16px;position:relative}
.promise-list li::before{
  content:"";position:absolute;left:0;top:5px;bottom:5px;width:3px;
  background:var(--marigold);border-radius:2px;
}
.promise-list strong{
  font-family:var(--font-head);color:var(--ink);font-size:1rem;line-height:1.25;
}
.promise-list span{font-size:.88rem;color:var(--muted);line-height:1.45}

/* Common questions ---------------------------------------------------------- */
.faq{max-width:46em;border-top:1px solid #E2E9E8}
.faq-item{border-bottom:1px solid #E2E9E8}
.faq-item summary{
  cursor:pointer;list-style:none;padding:18px 40px 18px 0;position:relative;
  font-family:var(--font-head);font-weight:700;color:var(--ink);font-size:1.02rem;
}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{
  content:"";position:absolute;right:8px;top:50%;width:10px;height:10px;
  border-right:2.5px solid var(--teal);border-bottom:2.5px solid var(--teal);
  transform:translateY(-70%) rotate(45deg);transition:transform .15s ease;
}
.faq-item[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq-item summary:hover{color:var(--teal)}
.faq-answer{padding:0 0 20px;color:var(--muted);font-size:.96rem;max-width:44em}
.faq-footer{margin-top:28px;color:var(--muted)}

/* Who we help -------------------------------------------------------------- */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.card{background:var(--card);border-radius:var(--radius);padding:26px;border:1px solid #E2E9E8}
.card h3{font-size:1.08rem;margin-bottom:8px}
.card p{font-size:.95rem;color:var(--muted)}
.card .tag{
  display:inline-block;background:#EAF2F1;color:var(--teal);border-radius:6px;font-size:.75rem;
  font-weight:700;padding:3px 9px;margin-bottom:12px;letter-spacing:.04em;
}
.card .card-link{margin-top:12px}

/* How we help - steps ------------------------------------------------------ */
.steps{counter-reset:step;display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}
.step{background:var(--card);border-radius:var(--radius);padding:26px;border-top:5px solid var(--marigold)}
.step h3{font-size:1.05rem;margin-bottom:8px}
.step h3::before{
  counter-increment:step;content:counter(step);display:inline-flex;align-items:center;
  justify-content:center;width:28px;height:28px;border-radius:50%;background:var(--ink);
  color:var(--marigold);font-size:.9rem;margin-right:10px;
}
.step p{font-size:.95rem;color:var(--muted)}

/* ==========================================================================
   Sections added in 4.0.0, when this became a campaign site

   The palette is unchanged - same seven colours, same fonts. What changed is
   what the page has to do: argue a case and ask for backing, rather than take a
   support request. These rules reuse the existing card, step and form patterns
   wherever possible rather than inventing parallel ones.
   ========================================================================== */

/* The problem: copy on the left, who it is happening to on the right. */
.problem-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:44px;align-items:start}
.problem-copy p{margin-bottom:16px}
.problem-copy p:last-child{margin-bottom:0}
.problem-sources{font-size:.9rem;color:var(--muted)}
/* Citation links sit in a sentence, so WCAG's inline exemption would cover them -
   but they measured 17px and cost nothing to make comfortably tappable. */
.problem-sources a{font-weight:700;display:inline-block;padding:4px 0;min-height:26px}
.problem-panel{
  background:var(--paper);border:1px solid #E2E9E8;border-radius:var(--radius);padding:26px;
}
.problem-panel h3{font-size:1rem;margin-bottom:14px}
.problem-panel ul{list-style:none;display:grid;gap:11px}
.problem-panel li{
  font-size:.93rem;color:var(--text);padding-left:18px;position:relative;line-height:1.45;
}
.problem-panel li::before{
  content:"";position:absolute;left:0;top:.55em;width:7px;height:7px;
  background:var(--danger);border-radius:2px;
}

/* Status labels. The whole editorial discipline of this site is visible here:
   "Running now" and "Planned" must never look alike at a glance, because someone
   skimming the cards and coming away believing the helpline exists has been
   misled by this page. So one is filled and outlined in green with a leading
   marker, the other is a bare outline in grey - different in fill, border and
   shape, not only in hue. The words differ too, which is what carries it for
   anyone who cannot see the colours at all. */
/* Border colours chosen to clear 3:1 against the white card - #5C9B74 is 3.28:1
   and #7E9291 is 3.28:1 - so the pill outlines are visible as outlines to a
   low-vision reader rather than being decorative hairlines only a sighted skim
   picks up. */
.tag--running{
  background:#D9EDE1;color:#14512F;box-shadow:inset 0 0 0 1.5px #5C9B74;
  display:inline-flex;align-items:center;gap:6px;
}
.tag--running::before{
  content:"";width:7px;height:7px;border-radius:50%;background:#1D7A47;flex:none;
}
.tag--planned{
  background:transparent;color:var(--muted);box-shadow:inset 0 0 0 1.5px #7E9291;
  font-weight:500;
}
.tag--progress{background:#FBEFE0;color:#8A5A12}

/* What SAFE will provide - flow, not a grid.
   Two lanes on one continuous line: solid, filled and (gently) alive for what
   is running now; dashed, hollow and still for what is waiting on funding. The
   join between them is labelled rather than left to imply itself - the honest
   claim this whole page makes is "this much is real today", and the line
   is where that claim ends. */
.plan-flow{max-width:38em;margin-top:8px}

.plan-lane-label{
  display:flex;align-items:center;gap:10px;font-family:var(--font-head);font-weight:700;
  font-size:1.05rem;color:var(--ink);margin-bottom:18px;
}
.plan-lane-marker{width:13px;height:13px;border-radius:50%;flex:none}
.plan-lane--running .plan-lane-marker{
  background:#1D7A47;box-shadow:0 0 0 4px #D9EDE1;
  animation:plan-pulse 2.4s ease-in-out infinite;
}
.plan-lane--progress .plan-lane-marker{
  background:#B8790A;box-shadow:0 0 0 4px #F5E3C3;
  animation:plan-pulse-amber 2.4s ease-in-out infinite;
}
.plan-lane--planned .plan-lane-label{color:var(--muted);font-weight:600}
.plan-lane--planned .plan-lane-marker{background:transparent;box-shadow:inset 0 0 0 2px #7E9291}

@keyframes plan-pulse{
  0%,100%{box-shadow:0 0 0 4px #D9EDE1}
  50%{box-shadow:0 0 0 7px #C3E4CE}
}

@keyframes plan-pulse-amber{
  0%,100%{box-shadow:0 0 0 4px #F5E3C3}
  50%{box-shadow:0 0 0 7px #EFD3A0}
}

.plan-flow-list{list-style:none;position:relative;margin:0 0 0 6px;padding-left:26px}
.plan-flow-list::before{
  content:"";position:absolute;left:0;top:6px;bottom:6px;width:2px;
}
.plan-lane--running .plan-flow-list::before{background:#5C9B74}
.plan-lane--progress .plan-flow-list::before{background:#D69A2D}
.plan-lane--planned .plan-flow-list::before{
  background:repeating-linear-gradient(to bottom,#B7C4C3 0 6px,transparent 6px 12px);
}

.plan-flow-item{position:relative;padding:0 0 28px 20px}
.plan-flow-item:last-child{padding-bottom:2px}
.plan-flow-item::before{
  content:"";position:absolute;left:-31px;top:6px;width:11px;height:11px;border-radius:50%;
}
.plan-lane--running .plan-flow-item::before{background:#1D7A47;box-shadow:0 0 0 3px var(--paper)}
.plan-lane--progress .plan-flow-item::before{background:#B8790A;box-shadow:0 0 0 3px var(--paper)}
.plan-lane--planned .plan-flow-item::before{
  background:var(--paper);box-shadow:0 0 0 2px #9EACAB inset,0 0 0 3px var(--paper);
}

.plan-flow-item h3{font-size:1.02rem;margin-bottom:5px}
.plan-flow-item p{font-size:.94rem;color:var(--muted);max-width:36em}
.plan-flow-item .tag{margin-bottom:8px}

.plan-lane--running,
.plan-lane--progress{margin-bottom:34px}

/* Consultation. Reuses .steps, but as a real <ol> - the order carries meaning
   here, which is the only reason numbering is justified. */
.consult-steps{list-style:none;margin:0}
/* The last step is the outstanding one - the thing this site is asking for.
   Carried by the border colour and the tinted ground, both of which survive
   printing; the copy itself says "we need funding", so nothing here is the only
   signal. */
.step--outstanding{border-top-color:var(--danger);background:#FDF6F4}
.consult-note{
  margin-top:28px;font-size:1.02rem;color:var(--ink);font-weight:700;max-width:44em;
  border-left:5px solid var(--marigold);padding-left:16px;
}
.consult-library{
  display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:34px;
  padding:24px 26px;background:#EAF3F1;border:1px solid #C8DEDA;border-left:5px solid var(--teal);
  border-radius:10px;
}
.consult-library .eyebrow{margin-bottom:5px}
.consult-library h3{font-size:1.32rem;margin-bottom:7px}
.consult-library p:not(.eyebrow){max-width:42em;color:var(--muted);margin:0}
.consult-library .btn{flex:none;min-height:44px}

/* Back SAFE: the campaign form, on the dark ground the support form used to own. */
.back{background:var(--ink);color:#fff}
.back h2,.back h3{color:#fff}
.back .eyebrow{color:var(--marigold)}
.back .section-intro{color:#C9D9D7}
.way--count{text-align:center}
.back-count{
  display:block;font-family:var(--font-head);font-size:2.6rem;color:var(--marigold);line-height:1.1;
}
.way--count span{display:block;margin-top:6px;font-size:.92rem;color:#C9D9D7}

/* Community reporting is visually distinct from the confidential support form. */
.monitor{background:var(--ink);color:#fff}
.monitor h2{color:#fff}
.monitor .eyebrow{color:var(--marigold)}
.monitor-panel{max-width:900px;background:var(--paper);color:var(--text);padding:clamp(24px,4vw,44px);border:1px solid rgba(255,255,255,.24);border-radius:8px;box-shadow:0 14px 30px rgba(0,0,0,.14)}
.monitor-panel h2{color:var(--ink)}
.monitor-panel .eyebrow{color:var(--teal)}
.monitor-panel .section-intro,.monitor-panel p{color:var(--muted)}
.monitor-note{font-size:.9rem;color:var(--muted);max-width:44em}
.monitor-cta{margin-top:26px}

/* Partners: names, set as a plain wrapping list. No logos - we do not have
   permission for anyone's mark, and a wall of mismatched logos looks worse than
   type anyway. */
.partner-list{
  list-style:none;margin:0;display:flex;flex-wrap:wrap;gap:10px 12px;
}
.partner-list li{
  background:var(--paper);border:1px solid #E2E9E8;border-radius:999px;
  padding:9px 18px;font-size:.93rem;font-weight:500;color:var(--ink);
}
.partner-list a{color:var(--ink);text-decoration:none}
.partner-list a:hover{text-decoration:underline}

/* Support form and urgent actions. */
.help{background:var(--ink);color:#fff}
.help h2{color:#fff}
.help .eyebrow{color:var(--marigold)}
.help .section-intro{color:#D7E6E4}
.support-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:clamp(24px,4vw,54px);align-items:start}
.support-actions{background:#0D3439;color:#fff;padding:28px;border:1px solid rgba(214,232,228,.35);border-top:5px solid var(--marigold);border-radius:8px;order:2}
.support-actions>h3{color:#fff;font-size:1.3rem;margin-bottom:10px}
.support-actions>p{color:#D7E6E4;font-size:.94rem;margin-bottom:20px}
.services{
  list-style:none;margin:0;display:grid;gap:12px;grid-template-columns:1fr;
}
.service{
  background:var(--paper);border:1px solid #E2E9E8;border-left:5px solid var(--teal);
  border-radius:var(--radius);padding:16px;
}
/* The emergency route is the one card that should not blend in. */
.service:first-child{border-left-color:var(--danger);background:#FDF6F4}
.service h3{font-size:1rem;margin-bottom:6px}
.support-actions .service h3{color:var(--ink)}
.service p{font-size:.93rem;color:var(--muted)}
.service-link{margin-top:10px}
.service-link a{font-weight:700;display:inline-flex;align-items:center;min-height:44px;padding:6px 0}
.help-form-wrap{max-width:none}

/* Get support (the confidential form, now inside the help section) ---------- */
.support{background:var(--ink);color:#fff}
.support h2,.support h3{color:#fff}
.support .eyebrow{color:var(--marigold)}
.support .section-intro{color:#C9D9D7}
.support-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start}

.accm-form{background:#fff;border-radius:var(--radius);padding:30px;color:var(--text)}
.accm-form h3{color:var(--ink);margin-bottom:6px}
.accm-form p.small{font-size:.85rem;color:var(--muted);margin-bottom:18px}
.accm-form label.accm-field-label{display:block;font-weight:700;font-size:.9rem;margin:26px 0 4px;color:var(--ink)}
.accm-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),.accm-form select,.accm-form textarea{
  width:100%;padding:14px 16px;border:1.5px solid #DCD6C8;border-radius:12px;
  font-family:var(--font-body);font-size:1rem;background:#F7F3EA;color:var(--text);
}
.accm-form input:focus,.accm-form select:focus,.accm-form textarea:focus{
  outline:3px solid var(--marigold);border-color:var(--teal);
}
.accm-form .check{display:flex;gap:10px;align-items:flex-start;margin-top:14px;font-size:.9rem}
.accm-form .check input{width:auto;margin-top:4px}
.accm-form .check label{margin:0;font-weight:500}
.accm-form .btn{margin-top:20px;width:100%}
.accm-form fieldset{border:0;margin:20px 0 0;padding:0}
.accm-form legend{font-family:var(--font-head);font-weight:700;color:var(--ink);font-size:1.05rem;margin-bottom:10px;padding:0}
/* Honeypot - hidden from people, visible to bots */
.accm-hp{position:absolute!important;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

.form-notice{border-radius:10px;padding:14px 16px;margin-bottom:18px;font-size:.95rem}
.form-notice--ok{background:#E7F3EC;border-left:5px solid #2F7D4F;color:#1D4A31}
.form-notice--error{background:#FBE9E5;border-left:5px solid var(--danger);color:#7A2A1B}
.field-error{color:var(--danger);font-size:.85rem;font-weight:700;margin-top:6px}
.accm-form input[aria-invalid="true"],.accm-form textarea[aria-invalid="true"]{border-color:var(--danger)}

/* ==========================================================================
   Contact Form 7 bridge - CF7 ships its own markup/classes (wpcf7-*), not
   the .accm-form/.report-form ones above. Base text/select/textarea styling
   already applies for free (they're real <input>/<select>/<textarea>
   elements inside .accm-form/.report-form) - this section covers what
   doesn't: the submit button, the checkbox-grid cards, acceptance rows, and
   CF7's own validation/response markup.
   ========================================================================== */
.wpcf7-submit{
  display:block;width:100%;margin-top:20px;padding:14px 26px;border-radius:999px;
  font-weight:700;font-size:1rem;border:none;cursor:pointer;font-family:var(--font-body);
  text-align:center;background:var(--marigold);color:var(--ink);
}
.wpcf7-submit:hover{background:#f5b654}
.wpcf7-submit:disabled{opacity:.55;cursor:not-allowed}
.wpcf7-spinner{margin-left:10px}

/* Cloudflare Turnstile widget, injected by the simple-cloudflare-turnstile
   plugin's [cf7-simple-turnstile] shortcode into every CF7 form on the site
   (report an incident, get support, back this project). Two plugin quirks
   fight centring here, both worked around rather than edited in the plugin
   (plugin files do not survive an update):
     1. The wrapper carries an inline style (margin-top:0; margin-bottom:-15px),
        which beats a plain stylesheet rule -- needs !important.
     2. The widget div itself gets a *per-instance* <style id="cf-turnstile-...">
        with margin-left:-15px, written by the plugin's own
        cfturnstile_admin_styles() (inc/turnstile.php). That is an ID selector,
        which normally beats a class selector on specificity alone -- but
        !important overrides specificity regardless of selector weight, so
        cancelling it here still works from this class rule. */
.cf7-cf-turnstile{
  display:flex !important;justify-content:center;
  margin:20px auto !important;padding:6px 0;
}
.cf-turnstile{margin-left:0 !important}

/* Checkbox-grid cards - same look as the front page's own .choice-grid
   (see style.css's "Report form" section), rebuilt against CF7's actual
   output: use_label_element wraps each option in .wpcf7-list-item, itself
   containing the real <input> plus a .wpcf7-list-item-label span. */
.choice-grid-cf7 .wpcf7-form-control.wpcf7-checkbox{display:grid;grid-template-columns:1fr;row-gap:14px;margin-top:16px}
.choice-grid-cf7 .wpcf7-list-item{
  position:relative;margin:0;
  background:#F7F3EA;border:1.5px solid #DCD6C8;border-radius:12px;
  padding:8px 14px 8px 16px;transition:background-color .15s ease,border-color .15s ease;
}
.choice-grid-cf7 .wpcf7-list-item label{display:flex;gap:12px;align-items:center;cursor:pointer}
.choice-grid-cf7 .wpcf7-list-item::before{
  content:"";position:absolute;inset:0;border-radius:inherit;
  box-shadow:inset 3px 0 0 var(--teal);opacity:0;transition:opacity .15s ease;pointer-events:none;
}
.choice-grid-cf7 .wpcf7-list-item:hover{background:#EEF5F4;border-color:#CFDEDC}
.choice-grid-cf7 .wpcf7-list-item:has(input:checked){background:#E7F3EC;border-color:#BFE0D2}
.choice-grid-cf7 .wpcf7-list-item:has(input:checked)::before{opacity:1}
.choice-grid-cf7 .wpcf7-list-item:has(input:focus-visible){outline:3px solid var(--marigold);outline-offset:2px}
.choice-grid-cf7 .wpcf7-list-item-label{margin:0;font-weight:500;font-size:.93rem;line-height:1.35;cursor:pointer}
.choice-grid-cf7 input[type="checkbox"]{
  appearance:none;-webkit-appearance:none;
  width:22px;height:22px;min-width:22px;margin:1px 0 0;flex:none;
  border:2px solid #AFC4C1;border-radius:6px;background-color:#fff;
  background-repeat:no-repeat;background-position:center;background-size:13px;
  cursor:pointer;transition:background-color .15s ease,border-color .15s ease,transform .1s ease;
}
.choice-grid-cf7 input[type="checkbox"]:hover{border-color:var(--teal)}
.choice-grid-cf7 input[type="checkbox"]:checked{
  background-color:var(--teal);border-color:var(--teal);transform:scale(1.04);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E");
}
.choice-grid-cf7 input[type="checkbox"]:focus-visible{outline:none}

/* Acceptance checkboxes (safe-to-contact, quote consent, etc.) - same row
   layout as the legacy .check rows. */
.wpcf7-acceptance{display:flex;gap:10px;align-items:flex-start;margin-top:14px;font-size:.9rem}
.wpcf7-acceptance input{width:auto;margin-top:4px}
.wpcf7-acceptance .wpcf7-list-item-label{margin:0;font-weight:500;cursor:pointer}

/* CF7's own inline error + top-level response banner. */
.wpcf7-not-valid-tip{display:block;color:var(--danger);font-size:.85rem;font-weight:700;margin-top:6px}
.wpcf7-response-output{border-radius:10px;padding:14px 16px;margin:0 0 18px;font-size:.95rem;border:0}
.wpcf7-form.sent .wpcf7-response-output{background:#E7F3EC;border-left:5px solid #2F7D4F;color:#1D4A31}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output{background:#FBE9E5;border-left:5px solid var(--danger);color:#7A2A1B}
.wpcf7-form:not(.sent):not(.invalid):not(.unaccepted):not(.spam):not(.aborted):not(.failed) .wpcf7-response-output:empty{display:none}

.other-ways{display:grid;gap:18px}
.way{
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);
  border-radius:var(--radius);padding:20px;
}
.way h3{font-size:1.02rem;margin-bottom:6px}
.way p{font-size:.93rem;color:#C9D9D7}
.way a{color:var(--marigold);font-weight:700}

/* Emergency strip ---------------------------------------------------------- */
.emergency{
  background:#FBEFE0;border-left:6px solid var(--marigold);border-radius:10px;
  padding:18px 22px;margin-top:36px;font-size:.95rem;color:var(--text);
}
.emergency strong{color:var(--ink)}

/* About -------------------------------------------------------------------- */
.about-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:start}
.about-copy p{margin-bottom:16px}
.about-copy p:last-child{margin-bottom:0}
.fact-list{list-style:none;display:grid;gap:14px}
.fact-list li{
  background:var(--card);border-radius:10px;padding:16px 18px;border:1px solid #E2E9E8;font-size:.95rem;
}
.fact-list strong{color:var(--ink)}

/* Get involved ------------------------------------------------------------- */
.involve{background:#EAF2F1}
.involve .cards .card{background:#fff}

/* ==========================================================================
   6. Interior pages, posts, comments
   ========================================================================== */
.page-hero{background:var(--ink);color:#fff;padding:52px 0}
.page-hero h1{color:#fff;font-size:clamp(1.6rem,3vw,2.2rem)}
.page-hero p{color:#C9D9D7;margin-top:10px;max-width:44em}
.content-area{padding:56px 0}
.entry{
  background:var(--card);border:1px solid #E2E9E8;border-radius:var(--radius);
  padding:34px;max-width:44em;margin:0 auto;
}
.entry + .entry{margin-top:24px}
.entry h2{margin:28px 0 10px}
.entry h3{margin:22px 0 8px}
.entry p,.entry ul,.entry ol,.entry table,.entry figure{margin-bottom:16px}
.entry ul,.entry ol{padding-left:22px}
.entry blockquote{
  border-left:5px solid var(--marigold);padding:8px 0 8px 18px;color:var(--muted);font-style:italic;
}
.report-purpose{margin-bottom:24px}
.report-purpose h2{margin-top:0}
.entry-meta{font-size:.85rem;color:var(--muted);margin-bottom:14px}
.entry img{border-radius:10px}
.pagination{display:flex;gap:10px;justify-content:center;margin-top:30px;flex-wrap:wrap}
.pagination .page-numbers{
  background:#fff;border:1px solid #E2E9E8;border-radius:8px;padding:8px 14px;text-decoration:none;
}
.pagination .current{background:var(--ink);color:#fff;border-color:var(--ink)}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.site-footer{background:var(--ink);color:#B9CBC9;padding:52px 0 26px;font-size:.9rem}
.footer-grid{
  display:grid;grid-template-columns:1.6fr 1.1fr 1fr;gap:40px;
  padding-bottom:34px;
}
/* A bare 1fr track has an implicit min-width:auto, so a column will not
   shrink below its widest unbreakable content - one long link or word in
   the optional footer-extra widget area is enough to push the whole grid
   wider than the viewport on mobile. min-width:0 lets the column (and the
   text inside it) actually wrap instead. Found by testing at 375px, not
   assumed. */
.footer-grid > *{min-width:0}
/* The footer-extra widget area (footer.php) is a fourth, optional column -
   the fixed 3-column track above only fits it once someone adds a widget. */
.footer-grid:has(> :nth-child(4)){grid-template-columns:1.5fr 1fr 1fr 1fr}
@supports not selector(:has(*)){
  .footer-grid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}
}
.site-footer h4{
  color:#fff;font-family:var(--font-body);font-weight:700;margin-bottom:12px;
  font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;
}
.site-footer a{color:var(--marigold);text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.site-footer ul{list-style:none;display:grid;gap:8px;margin:0}
.site-footer .white{color:#fff}
.site-footer p{margin-bottom:12px}
.site-footer p:last-child{margin-bottom:0}

.footer-brand .logo{margin-bottom:18px}
.footer-blurb{max-width:34em;color:#A9BDBB}
.footer-address{color:#A9BDBB}
.footer-phone a{font-weight:700;font-size:1.05rem}
.footer-hours{display:block;color:#8FA5A3;font-size:.82rem;margin-top:2px}

/* The emergency block is the one part of the footer that must never be missed. */
.footer-urgent{
  background:rgba(180,67,46,.16);border:1px solid rgba(180,67,46,.45);
  border-radius:var(--radius);padding:20px 22px;
}
.footer-urgent h4{color:#fff}
.footer-999{font-family:var(--font-head);font-size:1.05rem;color:#fff}
.footer-999 strong{font-size:1.9rem;display:inline-block;vertical-align:-2px;margin-left:4px}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);padding-top:18px;font-size:.8rem;
  display:flex;justify-content:space-between;align-items:center;gap:10px 24px;flex-wrap:wrap;
}
.footer-bottom p{margin:0}
.footer-legal{display:flex;gap:18px;flex-wrap:wrap;list-style:none;margin:0}

/* ==========================================================================
   8. Language switcher & right-to-left support
   ========================================================================== */
/* Back-to-parent link, styled as the same pill as the language switcher next to it. */
.parent-link{
  display:inline-flex;align-items:center;gap:6px;color:#fff;text-decoration:none;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.2);
  border-radius:999px;padding:4px 12px;font-size:.88rem;
}
.parent-link:hover{background:rgba(255,255,255,.2)}

.lang-switch{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.88rem}
.lang-switch .lang-switch-label{color:rgba(255,255,255,.7);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
.lang-switch a{
  color:#fff;text-decoration:none;background:rgba(255,255,255,.1);
  border:1px solid rgba(255,255,255,.2);border-radius:999px;padding:4px 12px;
}
.lang-switch a:hover{background:rgba(255,255,255,.2)}
.lang-switch a[aria-current="true"]{background:var(--marigold);color:var(--ink);border-color:var(--marigold);font-weight:700}

/* Applied when a page is marked as a right-to-left language. */
.dir-rtl .entry,
.dir-rtl .page-hero,
.dir-rtl .translated-block{direction:rtl;text-align:right}
.dir-rtl .entry ul,.dir-rtl .entry ol{padding-left:0;padding-right:22px}
.dir-rtl .entry blockquote{border-left:0;border-right:5px solid var(--marigold);padding:8px 18px 8px 0}
.dir-rtl .step{border-top-color:var(--marigold)}
/* Numerals, phone numbers and Latin names inside RTL text stay left-to-right. */
.ltr-inline{direction:ltr;unicode-bidi:isolate;display:inline-block}

/* ==========================================================================
   9. Anonymous incident report
   ========================================================================== */
.report-form{background:var(--card);border:1px solid #E2E9E8;border-radius:var(--radius);padding:32px;max-width:44em;margin:0 auto}
.report-form fieldset{border:0;margin:0 0 22px}
.report-form legend{font-family:var(--font-head);font-weight:700;color:var(--ink);font-size:1.05rem;margin-bottom:10px}
.report-form label.accm-field-label{display:block;font-weight:700;font-size:.9rem;margin:26px 0 4px;color:var(--ink)}
.report-form input[type="text"],.report-form select,.report-form textarea{
  width:100%;padding:14px 16px;border:1.5px solid #DCD6C8;border-radius:12px;
  font-family:var(--font-body);font-size:1rem;background:#F7F3EA;color:var(--text);
}
.choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}

/* The whole card is the <label> - on a form filled out on a phone, often in a
   hurry or mid-crisis, the tappable area needs to be the card, not the 16px
   box inside it. */
.choice{
  position:relative;display:flex;gap:12px;align-items:flex-start;
  background:#F5F9F8;border:1px solid #E2E9E8;border-radius:10px;
  padding:13px 14px 13px 16px;cursor:pointer;-webkit-tap-highlight-color:transparent;
  transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.choice::before{
  /* Selected-state accent bar. Sits under the border-radius, so it only
     ever shows once the card is actually ticked. */
  content:"";position:absolute;inset:0;border-radius:inherit;
  box-shadow:inset 3px 0 0 var(--teal);opacity:0;transition:opacity .15s ease;
  pointer-events:none;
}
.choice:hover{background:#EEF5F4;border-color:#CFDEDC}
.choice:has(input:checked){background:#E7F3EC;border-color:#BFE0D2}
.choice:has(input:checked)::before{opacity:1}
.choice:has(input:focus-visible){outline:3px solid var(--marigold);outline-offset:2px}

.choice input[type="checkbox"]{
  appearance:none;-webkit-appearance:none;
  width:22px;height:22px;min-width:22px;margin:1px 0 0;flex:none;
  border:2px solid #AFC4C1;border-radius:6px;background-color:#fff;
  background-repeat:no-repeat;background-position:center;background-size:13px;
  cursor:pointer;transition:background-color .15s ease,border-color .15s ease,transform .1s ease;
}
.choice input[type="checkbox"]:hover{border-color:var(--teal)}
.choice input[type="checkbox"]:checked{
  background-color:var(--teal);border-color:var(--teal);transform:scale(1.04);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8'/%3E%3C/svg%3E");
}
.choice input[type="checkbox"]:focus-visible{outline:none}

.choice span{margin:0;font-weight:500;font-size:.93rem;line-height:1.35;color:var(--ink)}
.report-form .btn{width:100%;margin-top:8px}
.privacy-note{background:#EAF2F1;border-left:5px solid var(--teal);border-radius:10px;padding:16px 18px;font-size:.92rem;margin-bottom:24px}

/* Incident counter */
.counter{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px;margin:30px 0}
.counter div{background:var(--card);border:1px solid #E2E9E8;border-radius:var(--radius);padding:22px;text-align:center}
.counter strong{display:block;font-family:var(--font-head);font-size:2.2rem;color:var(--ink);line-height:1.1}
.counter span{font-size:.9rem;color:var(--muted)}

/* ==========================================================================
   10. Safety guide (cover your tracks)
   ========================================================================== */
.safety-guide h2{margin:30px 0 10px}
.safety-guide ol{padding-left:22px}
.safety-guide li{margin-bottom:8px}
.safety-guide .warn{
  background:#FBEDEA;border-left:6px solid var(--danger);border-radius:10px;
  padding:18px 22px;margin:24px 0;
}
.device-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 10px}
.device-tabs button{
  background:#fff;border:1.5px solid #C8D4D3;border-radius:999px;padding:8px 18px;
  font-family:var(--font-body);font-weight:700;cursor:pointer;color:var(--ink);
}
.device-tabs button[aria-selected="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.device-panel[hidden]{display:none}

/* ==========================================================================
   11. Responsive
   ========================================================================== */
/* Tablet: the menu collapses before the layout does. */
@media (max-width:980px){
  .menu-toggle{display:inline-flex}
  .main-navigation{display:none;width:100%;order:4;margin-left:0}
  .main-navigation.is-open{display:block}
  .main-navigation ul{flex-direction:column;gap:0;padding-top:10px}
  .main-navigation a{
    display:block;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.12);
    border-top:0;font-size:1rem;
  }
  .main-navigation .current-menu-item > a,
  .main-navigation .current_page_item > a{border-bottom-color:rgba(255,255,255,.12)}
  .main-navigation .sub-menu{display:flex;position:static;padding:0 0 0 16px;border-radius:0;background:transparent}
  .brand{flex:1;min-width:0}
  .brand-sub{display:none}
}

@media (max-width:820px){
  .hero .wrap,.support-grid,.about-grid,.problem-grid{grid-template-columns:1fr}
  .safety-bar p span.hide-sm{display:none}
  .section,.content-area{padding:48px 0}
  .entry{padding:24px}
  .header-utility-inner{justify-content:center;gap:8px 14px}
  .header-hours{display:none}
  .footer-grid{grid-template-columns:1fr;gap:32px}
  /* Emergency details move above the site map on small screens. */
  .footer-urgent{order:-1}
	.consult-library{align-items:flex-start;flex-direction:column}
}

/* Phones: drop the logo strapline so the wordmark and the toggle share one line. */
@media (max-width:560px){
  .logo-desc{display:none}
  .logo-line{font-size:1.25rem}
  .safety-bar{flex-direction:column;align-items:stretch;gap:8px;text-align:center}
  .safety-bar .quick-exit{width:100%;padding:12px 18px}
  .lang-switch{justify-content:center}
}

/* Print: never print the quick-exit chrome */
@media print{
  .safety-bar,.menu-toggle,.hero-ctas{display:none}
  body{background:#fff}
}

/* ==========================================================================
   9. Horizontal bars
   One device, used twice. On the evidence page a bar is a quantity; on the
   front page a bar is a category. Same rhythm, same left-edge accent, so the
   two read as the same site talking in the same way.
   ========================================================================== */

/* Who SAFE is for - categories as a list, not a card wall ------------------
   Cards buried the category label inside a box of prose. As rows, the label
   sits in its own column and can be scanned down the left edge, which is how
   someone works out whether this service is for them. */
.who-bars{border-top:2px solid var(--ink)}
.who-bar{
  display:grid;grid-template-columns:150px 1fr;gap:4px 26px;align-items:baseline;
  background:var(--card);border-bottom:1px solid #E2E9E8;
  padding:20px 22px 20px 20px;position:relative;
}
/* The accent is the bar. It stays at hairline weight until the row is engaged,
   so a dozen rows do not read as a dozen competing stripes. */
.who-bar::before{
  content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--marigold);
  transition:width .15s ease;
}
.who-bar:hover::before,.who-bar:focus-within::before{width:8px}
.who-bar:hover,.who-bar:focus-within{background:#F7FAF9}
.who-cat{
  grid-row:1 / span 2;align-self:start;text-transform:uppercase;letter-spacing:.1em;
  font-size:.7rem;font-weight:700;color:var(--teal);padding-top:6px;
}
.who-bar h3{font-size:1.05rem;margin:0}
.who-bar p{font-size:.95rem;color:var(--muted);margin:0;max-width:52em}

/* Evidence page ------------------------------------------------------------ */
.page-hero--data .eyebrow--light{color:var(--marigold)}
.stats-page{max-width:860px}
.stats-intro{max-width:none;margin-bottom:26px}
.stats-h2{font-size:clamp(1.35rem,2.6vw,1.75rem);margin:44px 0 16px}
.stats-h2:first-child{margin-top:0}

.keyline{
  background:var(--card);border:1px solid #E2E9E8;border-left:5px solid var(--ink);
  border-radius:var(--radius);padding:20px 24px;
}
.keyline p{margin:0}
.keyline strong{color:var(--ink)}
/* The summary is five separate claims, so it is set as five lines rather than one
   paragraph. A reader checking one number should not have to re-read the block to
   find it. The dash marker echoes the bars below rather than adding a new shape. */
.keyline-lead{
  font-weight:700;color:var(--ink);text-transform:uppercase;letter-spacing:.09em;
  font-size:.72rem;margin:0 0 12px;
}
.keyline-points{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.keyline-points li{position:relative;padding-left:20px;line-height:1.55;margin:0}
.keyline-points li::before{
  content:"";position:absolute;left:0;top:.62em;width:10px;height:2px;
  background:var(--marigold);
}

.stats-toc{display:flex;flex-wrap:wrap;gap:8px 18px;margin:22px 0 8px;font-size:.9rem}
.stats-toc a{color:var(--muted);text-decoration:none;border-bottom:1px dotted #B9C7C5}
.stats-toc a:hover{color:var(--ink);border-bottom-color:var(--teal)}

/* Key figures -------------------------------------------------------------- */
.figure-row{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:8px}
.figure{
  background:var(--card);border:1px solid #E2E9E8;border-radius:var(--radius);
  padding:18px 18px 20px;border-top:4px solid var(--teal);
}
.figure--alarm{border-top-color:var(--danger)}
.figure-value{font-family:var(--font-head);font-size:1.85rem;font-weight:700;color:var(--ink);line-height:1.05}
.figure--alarm .figure-value{color:var(--danger)}
.figure-label{font-size:.82rem;color:var(--ink);font-weight:700;margin-top:8px;line-height:1.35}
.figure-note{font-size:.76rem;color:var(--muted);margin-top:6px;line-height:1.45}
/* Sits under the four tiles: says plainly that none of them is a Sheffield-only
   measure, before a reader carries that assumption into the rest of the page. */
.figure-row-note{font-size:.82rem;color:var(--muted);margin:12px 0 0;max-width:56em}

/* Data cards --------------------------------------------------------------- */
.datacard{
  background:var(--card);border:1px solid #E2E9E8;border-radius:var(--radius);
  padding:26px 28px;margin:26px 0;
}
.datacard--safe{border-color:var(--danger)}
.datacard h2{font-size:1.25rem;margin:0 0 8px}
/* Sub-head inside a data card: for corroborating research under a chart. */
.datacard h3{font-size:1rem;margin:26px 0 6px;padding-top:18px;border-top:1px solid #EDF2F1}
.datacard-desc{font-size:.86rem;color:var(--muted);margin:0 0 20px;line-height:1.55;max-width:56em}
.datacard-read{font-size:.98rem;margin-top:18px;max-width:56em}
.datacard-fine{font-size:.83rem;color:var(--muted);margin-top:10px;max-width:56em}
.datacard-src{font-size:.76rem;color:var(--muted);margin-top:18px;padding-top:12px;border-top:1px solid #EDF2F1}

/* The bar itself ----------------------------------------------------------- */
.statbar{display:grid;grid-template-columns:200px 1fr 56px;align-items:center;gap:12px;margin-bottom:9px}
.statbar--pair{grid-template-columns:1fr 42px;margin-bottom:4px}
.statbar-label{font-size:.82rem;text-align:right;line-height:1.3;color:var(--text)}
.statbar-sub{display:block;font-size:.7rem;color:var(--muted)}
.statbar-track{height:20px;border-radius:4px;background:#EDF2F1}
.statbar--pair .statbar-track{height:15px}
.statbar-fill{height:100%;border-radius:4px;min-width:2px}
.statbar-fill--teal{background:var(--teal)}
.statbar-fill--marigold{background:var(--marigold)}
.statbar-fill--danger{background:var(--danger)}
.statbar-fill--ink{background:var(--ink)}
.statbar-fill--muted{background:#A9BAB8}
.statbar-fill--grey{background:#D3DFDD}
.statbar-value{font-size:.82rem;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.statbar-value--quiet{font-weight:500;color:var(--muted)}
.statbar-axis{
  display:flex;justify-content:space-between;font-size:.7rem;color:var(--muted);
  margin:2px 68px 0 212px;
}

.statlegend{display:flex;flex-wrap:wrap;gap:16px;font-size:.8rem;color:var(--muted);margin-bottom:16px}
.statlegend span{display:inline-flex;align-items:center;gap:7px}
.swatch{width:11px;height:11px;border-radius:2px;display:inline-block;flex:none}
.swatch--danger{background:var(--danger)}
.swatch--grey{background:#D3DFDD}

/* Paired bars: hate crime against all crime, one label above both. */
.pairbar{margin-bottom:16px}
.pairbar-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:5px}
.pairbar-label{font-size:.86rem;color:var(--ink);font-weight:700}
.pairbar-ratio{font-size:.76rem;color:var(--danger);font-weight:700;white-space:nowrap}
/* A ratio below 1 means hate crime victims reported this LESS often. Same
   weight, different colour, so it cannot be skimmed as another red gap. */
.pairbar-ratio--lower{color:var(--muted)}

/* Findings and quotes ------------------------------------------------------ */
.findings{list-style:none;margin:0;padding:0}
.findings li{
  position:relative;padding-left:20px;font-size:.95rem;color:var(--muted);
  line-height:1.6;margin-bottom:10px;
}
.findings li::before{
  content:"";position:absolute;left:0;top:.6em;width:9px;height:3px;
  border-radius:2px;background:var(--marigold);
}
.findings strong{color:var(--ink)}
.findings--safe li{margin-bottom:14px}

.pullquote{
  border-left:4px solid var(--danger);margin:18px 0;padding:6px 0 6px 18px;
  font-size:1.02rem;color:var(--ink);font-style:italic;line-height:1.6;
}
.pullquote cite{display:block;font-style:normal;font-size:.75rem;color:var(--muted);margin-top:8px}

.caveat-box{
  background:#FBF5EA;border:1px solid #EBD9B8;border-left:4px solid var(--marigold);
  border-radius:8px;padding:16px 18px;font-size:.86rem;color:var(--text);line-height:1.6;margin:26px 0;
}
.caveat-box strong{color:var(--ink)}

/* The one forward-looking claim on an evidence page: not a finding, an intent.
   Teal rather than the caveat box's amber, so it reads as "here is what we are
   doing about the gap above" rather than another warning. */
.stats-monitor-bar{
  background:var(--card);border:1px solid #D7E6E4;border-left:4px solid var(--teal);
  border-radius:8px;padding:22px 24px;margin:26px 0 40px;
}
.stats-monitor-bar p{margin:0 0 10px;line-height:1.6}
.stats-monitor-bar p:last-child{margin-bottom:0}
.stats-monitor-lede{font-weight:700;color:var(--ink);font-size:1.02rem}
.stats-monitor-cta{margin-top:14px}

.stats-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.btn-outline{background:transparent;color:var(--ink);border:2px solid var(--ink);padding:12px 24px}
.btn-outline:hover{background:var(--ink);color:#fff}

/* Sources ------------------------------------------------------------------ */
.stats-sources h3{font-size:.9rem;margin:22px 0 8px;color:var(--teal);text-transform:uppercase;letter-spacing:.08em}
.stats-sources ul{list-style:none;margin:0;padding:0}
.stats-sources li{font-size:.85rem;line-height:1.55;margin-bottom:7px}
.stats-sources a{color:var(--text);text-decoration:none;border-bottom:1px solid #C7D5D3}
.stats-sources a:hover{color:var(--teal);border-bottom-color:var(--teal)}
.stats-updated{font-size:.78rem;color:var(--muted);margin-top:22px}

@media (max-width:900px){
  .figure-row{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  .who-bar{grid-template-columns:1fr;padding:18px 16px 18px 18px}
  .who-cat{grid-row:auto;padding-top:0;margin-bottom:2px}
  .datacard{padding:20px 18px}
  /* Label above, track below, figure tucked to the right of its own label -
     a 200px name column plus a bar does not survive a 360px screen. */
  .statbar{grid-template-columns:1fr auto;gap:3px 10px;margin-bottom:14px}
  .statbar-label{text-align:left;grid-column:1}
  .statbar-value{grid-column:2;text-align:right}
  .statbar-track{grid-column:1 / -1}
  .statbar--pair{grid-template-columns:1fr 42px}
  .statbar--pair .statbar-track{grid-column:1}
  .statbar-axis{display:none}
}

@media print{
  .stats-toc,.stats-cta{display:none}
  .datacard,.figure,.keyline{break-inside:avoid;border-color:#999}
  .statbar-fill{print-color-adjust:exact;-webkit-print-color-adjust:exact}
}

/* Front-page pointer to the evidence page ---------------------------------- */
.figure-row--three{grid-template-columns:repeat(3,1fr)}
.stats-pointer{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:24px}
.stats-pointer span{font-size:.9rem;color:var(--muted)}

/* Race Equality Commission and About SAFE and ACCM page. */
.rec-home{background:#fff}
.rec-home-grid,.about-safe-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.rec-home-card,.about-safe-cards>div{border:1px solid #DCE8E6;border-top:4px solid var(--teal);padding:24px;background:var(--paper)}
.rec-home-card h3,.about-safe-cards h3{font-size:1.12rem;margin-bottom:9px}
.rec-home-card p,.about-safe-cards p{color:var(--muted);font-size:.95rem}
.rec-home-card--link a,.about-safe-link-list a{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;color:var(--ink);font-weight:700;text-decoration:none;min-height:44px}
.rec-home-card--link a:hover,.about-safe-link-list a:hover{color:var(--teal)}
.page-hero--about{padding:82px 0 70px;background:var(--ink);color:#fff}
.page-hero--about h1{color:#fff;font-size:clamp(2.3rem,5vw,4.3rem);max-width:14ch;margin:8px 0 18px}
.page-hero--about .eyebrow{color:var(--marigold)}
.page-hero--about p:not(.eyebrow){max-width:44em;color:#D7E6E4;font-size:1.1rem}
.about-safe-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.8fr);gap:clamp(24px,5vw,72px);align-items:start}
.about-safe-aside,.about-safe-impact{padding:28px;background:var(--ink);color:#fff;border-radius:8px;border-top:5px solid var(--marigold)}
.about-safe-aside h3,.about-safe-impact h3{color:#fff;margin-bottom:10px}
.about-safe-aside p,.about-safe-impact li{color:#D7E6E4}
.about-safe-aside .btn{margin-top:8px}
.about-safe-aside--light{background:var(--paper);border-color:var(--teal)}
.about-safe-aside--light h3{color:var(--ink)}
.about-safe-aside--light p{color:var(--muted)}
.about-safe-aside--light a{color:var(--teal);font-weight:700}
.about-safe-impact ul{padding-left:20px;display:grid;gap:10px}
.about-safe-link-list{border-top:1px solid #BDD4D0}
.about-safe-link-list a{padding:14px 0;border-bottom:1px solid #BDD4D0}

/* News and Media library --------------------------------------------------- */
.page-hero--news-media{background:linear-gradient(145deg,var(--ink) 0%,#1C4A50 62%,var(--teal) 100%)}
.page-hero--news-media .eyebrow{color:var(--marigold)}
.news-media-library{background:var(--paper)}
.media-filters{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 34px}
.media-filters a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;border:1px solid #B9D0CD;border-radius:999px;color:var(--ink);font-weight:700;text-decoration:none;background:#fff}
.media-filters a:hover,.media-filters a:focus-visible{border-color:var(--teal);color:var(--teal)}
.media-filters a[aria-current="page"]{background:var(--ink);border-color:var(--ink);color:#fff}
.media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.media-card{display:flex;flex-direction:column;background:#fff;border:1px solid #D8E5E3;border-radius:10px;overflow:hidden;box-shadow:0 9px 24px rgba(11,48,53,.07)}
.media-card-preview{position:relative;aspect-ratio:16 / 9;overflow:hidden;background:#DDE9E7}
.media-card-preview::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,rgba(10,43,47,.7) 100%)}
.media-card-preview img{display:block;width:100%;height:100%;object-fit:cover}
.media-card-preview span{position:absolute;right:13px;bottom:10px;z-index:1;color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.media-card-mark{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:8px;min-height:174px;padding:22px;background:linear-gradient(135deg,#1A5157,#0D3439);font-family:var(--font-head);font-size:1.65rem;font-weight:800;color:#fff;line-height:1.05}
.media-card-mark small{font-family:var(--font-body);font-size:.68rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--marigold)}
.media-card--video .media-card-mark{background:linear-gradient(135deg,#8F3928,#C94B35)}
.media-card-body{display:flex;flex:1;flex-direction:column;padding:24px}
.media-card-meta{display:flex;flex-wrap:wrap;gap:7px 10px;margin:0 0 12px;font-size:.77rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--teal)}
.media-card-meta span+span,.media-card-meta time{padding-left:10px;border-left:1px solid #B7CBC8;color:var(--muted)}
.media-card-meta time{font-style:normal;letter-spacing:0;text-transform:none}
.media-card h2{font-size:1.32rem;margin:0 0 12px}
.media-card-caption{color:var(--muted);font-size:.95rem;margin:0 0 22px}
.media-card-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:auto;color:var(--ink);font-weight:700;text-decoration:none}
.media-card-link:hover,.media-card-link:focus-visible{color:var(--teal)}
.media-embed{position:relative;width:100%;aspect-ratio:16 / 9;background:var(--ink)}
.media-embed iframe{position:absolute;width:100%;height:100%;border:0}
.media-empty{max-width:44em;padding:36px;background:#fff;border:1px dashed #B7CBC8;border-radius:10px}
.media-empty h2{margin:0 0 8px}
.media-empty p{color:var(--muted);margin:0}
@media (max-width:900px){
  .figure-row--three{grid-template-columns:1fr}
	.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:820px){
  .support-layout,.about-safe-grid{grid-template-columns:1fr}
  .support-actions{order:-1;position:static}
  .rec-home-grid,.about-safe-cards{grid-template-columns:1fr}
}
@media (max-width:620px){
	.media-grid{grid-template-columns:1fr}
	.media-card-body{padding:21px}
}
