/* ==========================================================================
   CCPS — BRAND STYLESHEET
   Ported from site/index.html so the WordPress build matches it pixel for
   pixel, then extended for Elementor containers, the mobile nav and the
   additional page types.

   ACCESSIBILITY RULE — docs/decisions.md D-001:
   the logo teal #488B90 is 3.91:1 on white and FAILS WCAG AA for body text.
   Slate Teal #49727F (5.25:1) is the button and link colour.
   Do not "correct" this back to the logo teal.
   ========================================================================== */

/* ---------------------------------------------------------------- 1. Fonts */
/* Self-hosted Poppins — no third-party font request (perf + privacy). */
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;
  src:url('../fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;
  src:url('../fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;
  src:url('../fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;
  src:url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;
  src:url('../fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* --------------------------------------------------------------- 2. Tokens */
:root{
  /* Brand — text-safe (>=4.5:1 on white) */
  --navy-deep:#1C3350; --navy-mosaic:#1F3953; --teal-slate:#49727F; --plum:#975A72;
  /* Brand — large text / UI only (3:1–4.5:1) */
  --teal:#41888E; --teal-accent:#488B90; --periwinkle:#7D8095;
  /* Brand — decorative only (<3:1) */
  --mauve-soft:#B594B2; --taupe-warm:#A99F90; --sage:#829C8A; --peach:#D19772;
  --gold-antique:#C3AE89;
  /* Surfaces */
  --paper:#F5F7F6; --white:#fff;
  /* Semantic */
  --text:var(--navy-deep); --muted:#3d5266; --hint:#5a6c7d; --error:#a3123a;
  --link:var(--teal-slate); --cta-bg:var(--teal-slate); --cta-bg-hover:#3c606b;
  --rule:var(--gold-antique); --bg:var(--white); --bg-alt:var(--paper);
  --border:#e4e9e8; --border-strong:#ccd6d4;
  /* Metrics — identical to site/index.html */
  --maxw:1180px; --gap:clamp(1rem,3vw,2rem); --radius:10px;
  --shadow:0 1px 2px rgba(28,51,80,.06),0 8px 24px rgba(28,51,80,.07);
  --shadow-lift:0 4px 10px rgba(28,51,80,.08),0 18px 40px rgba(28,51,80,.10);
  --font:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  --header-h:74px;
}

/* ----------------------------------------------------------------- 3. Base */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 12px)}
body{margin:0;font-family:var(--font);font-weight:400;
  font-size:clamp(1rem,.97rem + .15vw,1.0625rem);line-height:1.65;
  color:var(--text);background:var(--bg);-webkit-font-smoothing:antialiased}
img,svg,video{max-width:100%;height:auto;display:block}
h1,h2,h3,h4,h5{font-family:var(--font);font-weight:500;line-height:1.18;margin:0 0 .5em;letter-spacing:-.015em;color:var(--navy-deep)}
h1{font-size:clamp(2rem,1.35rem + 2.9vw,3.4rem)}
h2{font-size:clamp(1.6rem,1.25rem + 1.6vw,2.4rem)}
h3{font-size:clamp(1.125rem,1.05rem + .35vw,1.3rem)}
h4{font-size:1.05rem}
p{margin:0 0 1.1em}
a{color:var(--link);text-underline-offset:.18em}
strong,b{font-weight:600}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:3px solid var(--teal-slate);outline-offset:2px;border-radius:3px}
::selection{background:var(--gold-antique);color:var(--navy-deep)}
.ccps-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Skip link — matches the static build */
.skip-link,.ccps-skip{position:absolute;left:-9999px;top:0;background:var(--navy-deep);
  color:#fff;padding:.85rem 1.25rem;z-index:2000;border-radius:0 0 var(--radius) 0;
  text-decoration:none;font-weight:500}
.skip-link:focus,.ccps-skip:focus{left:0}

/* ------------------------------------------- 4. Elementor normalisations */
/* Hello Elementor + Elementor container defaults, aligned to the static build. */
.elementor-section.elementor-section-boxed>.elementor-container,
.e-con>.e-con-inner{max-width:var(--maxw)}
.e-con,.e-con-inner{--container-max-width:var(--maxw)}
.elementor-widget:not(:last-child){margin-block-end:0}
/* Each paragraph is its own text widget, so the paragraph's own bottom margin
   is what separates them. Only strip it where a card or list ends. */
.ccps-card .elementor-widget-text-editor p:last-child,
.ccps-pillar .elementor-widget-text-editor p:last-child,
.ccps-step .elementor-widget-text-editor p:last-child,
.elementor-widget-text-editor ul:last-child{margin-bottom:0}
.elementor-widget-heading .elementor-heading-title{color:inherit}
.elementor-element{min-width:0}

/* Section rhythm — .section / .section--alt / .section--navy equivalents */
.ccps-section{padding-block:clamp(3rem,8vw,5.5rem)}
.ccps-section--tight{padding-block:clamp(2rem,5vw,3.25rem)}
.ccps-bg-alt{background:var(--bg-alt)}
.ccps-bg-navy{background:var(--navy-deep);color:#fff}
.ccps-bg-navy :where(h1,h2,h3,h4){color:#fff}
.ccps-bg-navy p,.ccps-bg-navy li{color:#dbe3ec}
.ccps-bg-navy a:not(.elementor-button){color:#fff}
.ccps-bg-paper-fade{background:linear-gradient(168deg,var(--paper) 0%,#eef2f1 100%)}

/* ------------------------------------------------------- 5. Type utilities */
/* Elementor's kit CSS targets `.elementor-widget-heading .elementor-heading-title`
   and `.elementor-kit-N a`, both more specific than a single utility class.
   These rules are the brand's, so they are marked to win rather than being
   re-tuned every time the kit is regenerated. */
.ccps-eyebrow,.ccps-eyebrow .elementor-heading-title{font-size:.78rem!important;font-weight:600!important;
  letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--teal-slate)!important;
  margin:0 0 .75rem!important;line-height:1.4!important}
.ccps-bg-navy .ccps-eyebrow,.ccps-bg-navy .ccps-eyebrow .elementor-heading-title{color:var(--gold-antique)!important}
.ccps-lede,.ccps-lede p{font-size:clamp(1.06rem,1rem + .35vw,1.25rem)!important;color:var(--muted);
  max-width:62ch;line-height:1.6}
.ccps-bg-navy .ccps-lede,.ccps-bg-navy .ccps-lede p{color:#dbe3ec}
.ccps-center{text-align:center}
.ccps-center .ccps-lede,.ccps-center .ccps-lede p{margin-inline:auto}
.ccps-measure,.ccps-measure p{max-width:68ch}
.ccps-hint,.ccps-hint p{font-size:.85rem;color:var(--hint)}
.ccps-big-tel,.ccps-big-tel p{font-size:1.3rem;font-weight:600;margin-bottom:.2em}

/* Antique-gold divider with the Soft Mauve heart, echoing the logo rules */
.ccps-rule{display:flex;align-items:center;justify-content:center;gap:.9rem;margin:0 0 1.6rem}
.ccps-rule::before,.ccps-rule::after{content:"";height:1px;width:min(90px,14vw);background:var(--rule)}
.ccps-rule svg{width:20px;height:20px;flex:none;fill:var(--mauve-soft)}
.ccps-divider .elementor-divider-separator{border-top-color:var(--gold-antique)!important}

/* Pull quote */
/*
 * The rule belongs to the container only. Putting it on `p` as well drew a
 * second bar inside the first and doubled the indent on every paragraph.
 */
.ccps-pull{margin:1.8rem 0 1.9rem;border-left:4px solid var(--gold-antique);padding-left:1.4rem}
.ccps-pull,.ccps-pull p{font-size:clamp(1.06rem,1rem + .4vw,1.28rem);line-height:1.55;color:var(--navy-deep)}
.ccps-pull p{margin:0 0 .9rem;border-left:0;padding-left:0}
.ccps-pull p:last-child{margin-bottom:0}

/* -------------------------------------------------------------- 6. Buttons */
/* Elementor button widget, restyled to the static build's .btn — 48px tap target.
   `a.ccps-btn` and the body-scoped selectors below outrank `.elementor-kit-N a`,
   which otherwise paints the header CTA teal-on-teal. */
.elementor-button,.ccps-btn,a.ccps-btn,body.ccps a.ccps-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  min-height:48px;padding:.75rem 1.6rem;border-radius:var(--radius);
  font-family:var(--font);font-size:1rem;font-weight:500;line-height:1.2;text-decoration:none;
  border:2px solid transparent;cursor:pointer;background:var(--cta-bg);color:#fff;
  transition:background-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease}
body.ccps a.ccps-btn,body.ccps .elementor-button{color:#fff}
.elementor-button:hover,.elementor-button:focus,.ccps-btn:hover,
body.ccps a.ccps-btn:hover,body.ccps a.ccps-btn:focus{background:var(--cta-bg-hover);
  color:#fff;transform:translateY(-1px);box-shadow:0 6px 18px rgba(28,51,80,.16)}
.elementor-button .elementor-button-content-wrapper{gap:.5rem}
.elementor-button-icon svg{width:1em;height:1em;fill:currentColor}

body.ccps .ccps-btn--ghost .elementor-button,body.ccps a.ccps-btn--ghost.ccps-btn,
body.ccps .elementor-button.ccps-btn--ghost{background:transparent;color:var(--navy-deep);border-color:var(--navy-deep)}
body.ccps .ccps-btn--ghost .elementor-button:hover,body.ccps a.ccps-btn--ghost.ccps-btn:hover,
body.ccps .elementor-button.ccps-btn--ghost:hover{background:var(--navy-deep);color:#fff}

body.ccps .ccps-btn--onnavy .elementor-button,body.ccps .elementor-button.ccps-btn--onnavy,
body.ccps a.ccps-btn--onnavy.ccps-btn{background:var(--white);color:var(--navy-deep)}
body.ccps .ccps-btn--onnavy .elementor-button:hover,body.ccps .elementor-button.ccps-btn--onnavy:hover{
  background:var(--paper);color:var(--navy-deep)}

body.ccps .ccps-btn--outline-light .elementor-button,body.ccps .elementor-button.ccps-btn--outline-light,
body.ccps a.ccps-btn--outline-light.ccps-btn{
  background:transparent;color:#fff;border-color:rgba(255,255,255,.6)}
body.ccps .ccps-btn--outline-light .elementor-button:hover,body.ccps .elementor-button.ccps-btn--outline-light:hover{
  background:rgba(255,255,255,.12);border-color:#fff;color:#fff}

.ccps-btn--full .elementor-button{width:100%}
.ccps-btn-row{display:flex;flex-wrap:wrap;gap:.85rem}

/* Text link with arrow */
.ccps-arrow-link{font-weight:500;text-decoration:none;border-bottom:1px solid transparent}
.ccps-arrow-link:hover{border-bottom-color:currentColor}

/* --------------------------------------------------------------- 7. Header */
.ccps-hdr{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.96);
  -webkit-backdrop-filter:saturate(160%) blur(8px);backdrop-filter:saturate(160%) blur(8px);
  border-bottom:1px solid var(--border)}
.ccps-hdr__in{display:flex;align-items:center;gap:1.25rem;min-height:var(--header-h);
  max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1rem,4vw,2rem)}
.ccps-brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--navy-deep);flex:none}
.ccps-brand img{width:34px;height:42px}
.ccps-brand__txt{display:flex;flex-direction:column;line-height:1.08}
.ccps-brand__n1{font-weight:600;font-size:.94rem;letter-spacing:.01em}
.ccps-brand__n2{font-size:.68rem;letter-spacing:.07em;text-transform:uppercase;color:var(--teal-slate)}

.ccps-nav{margin-left:auto;display:flex;align-items:center;gap:1.5rem}
/* Top level only — the dropdown is a separate, column-aligned list below. */
.ccps-nav>ul{list-style:none;display:flex;align-items:center;gap:1.5rem;margin:0;padding:0}
.ccps-nav li{position:relative}
.ccps-nav>ul>li>a{color:var(--navy-deep);text-decoration:none;font-size:.94rem;font-weight:500;
  padding:.4rem 0;border-bottom:2px solid transparent;display:inline-block}
.ccps-nav>ul>li>a:hover{border-bottom-color:var(--gold-antique)}
.ccps-nav .current-menu-item>a,.ccps-nav .current-menu-ancestor>a,
.ccps-nav .current_page_item>a{border-bottom-color:var(--teal-slate)}

/* Dropdowns — CSS-only, keyboard accessible via :focus-within */
.ccps-nav .menu-item-has-children>a::after{content:"";display:inline-block;width:.42em;height:.42em;
  margin-left:.45em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-3px);opacity:.65;
  transition:transform .18s ease,opacity .18s ease}
.ccps-nav .menu-item-has-children:hover>a::after,
.ccps-nav .menu-item-has-children:focus-within>a::after{transform:rotate(-135deg) translate(-2px,-1px);opacity:1}

/*
 * The 10px gap between the header and the panel would drop the menu as the
 * pointer crosses it, so the panel carries the gap as transparent top padding
 * and an invisible bridge spans the same distance.
 */
.ccps-nav .menu-item-has-children::before{content:"";position:absolute;left:0;right:0;top:100%;
  height:14px}
.ccps-nav .sub-menu{position:absolute;top:calc(100% + 14px);left:-.85rem;
  list-style:none;margin:0;padding:.45rem;display:flex;flex-direction:column;align-items:stretch;
  gap:.1rem;min-width:16rem;max-width:20rem;
  background:#fff;border:1px solid var(--border);border-radius:12px;
  box-shadow:0 12px 32px rgba(28,51,80,.14),0 2px 6px rgba(28,51,80,.06);
  opacity:0;visibility:hidden;transform:translateY(-6px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s;z-index:20}
/* Gold hairline echoing the section dividers, so the panel reads as brand. */
.ccps-nav .sub-menu::before{content:"";position:absolute;top:-1px;left:12px;width:34px;height:3px;
  background:var(--gold-antique);border-radius:3px}
.ccps-nav li:hover>.sub-menu,.ccps-nav li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:translateY(0)}
.ccps-nav .sub-menu li{width:100%}
.ccps-nav .sub-menu a{display:block;width:100%;text-align:left;
  padding:.58rem 1rem .58rem .8rem;border:0;border-left:3px solid transparent;border-radius:8px;
  color:var(--navy-deep);text-decoration:none;font-size:.9rem;font-weight:400;line-height:1.35;
  transition:background .14s ease,color .14s ease,border-color .14s ease}
.ccps-nav .sub-menu a:hover,.ccps-nav .sub-menu a:focus-visible{background:var(--paper);
  color:var(--teal-slate);border-left-color:var(--teal-slate)}
.ccps-nav .sub-menu .current-menu-item>a{background:var(--paper);color:var(--teal-slate);
  border-left-color:var(--teal-slate);font-weight:500}
/* "All services" / "All …" overview link sits apart from the items it covers. */
.ccps-nav .sub-menu>li:first-child>a{font-weight:500}
.ccps-nav .sub-menu>li:first-child{padding-bottom:.35rem;margin-bottom:.35rem;
  border-bottom:1px solid var(--border)}

.ccps-hdr__cta{display:flex;align-items:center;gap:.85rem;flex:none;margin-left:auto}
.ccps-nav+.ccps-hdr__cta{margin-left:0}
.ccps-tel{display:inline-flex;flex-direction:column;text-decoration:none;color:var(--navy-deep);line-height:1.15}
.ccps-tel small{font-size:.66rem;letter-spacing:.1em;text-transform:uppercase;color:var(--teal-slate);font-weight:600}
.ccps-tel b{font-size:1rem;font-weight:600}

/* Mobile nav toggle + drawer */
.ccps-burger{display:none;align-items:center;justify-content:center;width:48px;height:48px;
  border:1px solid var(--border);border-radius:var(--radius);background:#fff;cursor:pointer;color:var(--navy-deep)}
.ccps-burger svg{width:22px;height:22px}
.ccps-burger[aria-expanded="true"] .ccps-burger__open,
.ccps-burger[aria-expanded="false"] .ccps-burger__close{display:none}
.ccps-drawer{position:fixed;inset:var(--header-h) 0 0 auto;width:min(360px,86vw);
  background:#fff;border-left:1px solid var(--border);box-shadow:-8px 0 30px rgba(28,51,80,.12);
  padding:1.25rem clamp(1rem,4vw,1.5rem) 6rem;overflow-y:auto;z-index:999;
  transform:translateX(100%);transition:transform .26s cubic-bezier(.4,0,.2,1);visibility:hidden}
.ccps-drawer.is-open{transform:translateX(0);visibility:visible}
.ccps-drawer ul{list-style:none;margin:0;padding:0}
.ccps-drawer li{border-bottom:1px solid var(--border)}
.ccps-drawer a{display:block;padding:.9rem .25rem;color:var(--navy-deep);text-decoration:none;font-weight:500}
.ccps-drawer .sub-menu{padding-left:.9rem}
.ccps-drawer .sub-menu a{font-weight:400;font-size:.94rem;color:var(--muted)}
.ccps-drawer__foot{margin-top:1.5rem;display:grid;gap:.7rem}
.ccps-scrim{position:fixed;inset:0;background:rgba(28,51,80,.38);opacity:0;visibility:hidden;
  transition:opacity .26s ease,visibility .26s;z-index:998}
.ccps-scrim.is-open{opacity:1;visibility:visible}
body.ccps-nav-open{overflow:hidden}

@media(max-width:1040px){
  .ccps-nav{display:none}
  .ccps-burger{display:inline-flex}
}
@media(max-width:640px){
  /* Matches the specificity of the button colour rules above, which would
     otherwise re-show the CTA and push the header wider than the viewport.
     The sticky bottom bar carries this CTA on small screens instead. */
  body.ccps .ccps-hdr__cta .elementor-button,
  body.ccps .ccps-hdr__cta a.ccps-btn{display:none}
  .ccps-tel b{font-size:.94rem}
  .ccps-tel small{font-size:.6rem}
}
@media(max-width:420px){
  .ccps-brand__txt{display:none}
}
@media(min-width:1041px){.ccps-drawer,.ccps-scrim{display:none}}

/* ----------------------------------------------------------------- 8. Hero */
.ccps-hero{background:linear-gradient(168deg,var(--paper) 0%,#eef2f1 100%);
  border-bottom:1px solid var(--border)}
.ccps-hero h1{margin-bottom:.45em}
.ccps-hero h1 em,.ccps-accent-word{font-style:normal;color:var(--teal-slate)}
.ccps-hero__note{display:flex;align-items:flex-start;gap:.5rem;margin-top:1.4rem;
  font-size:.9rem;color:var(--muted)}
.ccps-hero__note svg{flex:none;margin-top:.2rem;color:var(--teal-slate);width:18px;height:18px}
.ccps-hero-media img{border-radius:var(--radius);box-shadow:var(--shadow-lift);
  aspect-ratio:4/3;object-fit:cover;width:100%}

/* Inner page hero (all pages except Home) */
.ccps-phero{background:linear-gradient(168deg,var(--paper) 0%,#eef2f1 100%);
  border-bottom:1px solid var(--border);padding-block:clamp(2rem,5vw,3.25rem)}
.ccps-phero h1{margin-bottom:.3em}

/* Breadcrumbs */
.ccps-crumbs{font-size:.82rem;color:var(--hint);margin:0 0 .9rem}
.ccps-crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.45rem;margin:0;padding:0}
.ccps-crumbs li+li::before{content:"›";margin-right:.45rem;color:var(--gold-antique)}
.ccps-crumbs a{color:var(--teal-slate);text-decoration:none}
.ccps-crumbs a:hover{text-decoration:underline}

/* ----------------------------------------------------------- 9. Trust band */
.ccps-trust{background:var(--navy-deep);color:#fff;padding-block:1.5rem}
.ccps-trust__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem;text-align:center;
  max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1rem,4vw,2rem)}
.ccps-trust__i b{display:block;font-size:1.02rem;font-weight:600;color:#fff}
.ccps-trust__i span{font-size:.82rem;color:#b9c6d4}
@media(max-width:760px){.ccps-trust__grid{grid-template-columns:repeat(2,1fr);gap:1.5rem}}

/* ------------------------------------------------------------- 10. Cards */
/* Service cards — Elementor icon-box widget wearing the mosaic tile accents.
   docs/decisions.md D-003: every card gets its own tile colour; text stays navy. */
.ccps-card{position:relative;background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:1.6rem 1.4rem 1.5rem;overflow:hidden;height:100%;
  transition:box-shadow .2s ease,transform .2s ease;--accent:var(--teal-slate)}
.ccps-card::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:var(--accent)}
.ccps-card:hover{box-shadow:var(--shadow);transform:translateY(-3px)}
.ccps-card .elementor-icon-box-icon{margin-bottom:1rem}
.ccps-card .elementor-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent);font-size:21px}
.ccps-card .elementor-icon svg{width:21px;height:21px;fill:none;stroke:var(--accent);stroke-width:2}
.ccps-card .elementor-icon-box-title,.ccps-card h3{margin-bottom:.4rem;font-size:clamp(1.125rem,1.05rem + .35vw,1.3rem);
  font-weight:500;color:var(--navy-deep);line-height:1.18}
.ccps-card .elementor-icon-box-title a{color:inherit;text-decoration:none}
.ccps-card .elementor-icon-box-title a:hover{color:var(--teal-slate)}
.ccps-card .elementor-icon-box-description,.ccps-card p{margin:0;font-size:.94rem;color:var(--muted)}
.ccps-card--last{background:var(--paper);border-style:dashed}
.ccps-card--flat:hover{transform:none;box-shadow:none}

/* Mosaic accent modifiers */
.ccps-accent-teal{--accent:var(--teal)}
.ccps-accent-navy{--accent:var(--navy-mosaic)}
.ccps-accent-sage{--accent:var(--sage)}
.ccps-accent-plum{--accent:var(--plum)}
.ccps-accent-peri{--accent:var(--periwinkle)}
.ccps-accent-peach{--accent:var(--peach)}
.ccps-accent-slate{--accent:var(--teal-slate)}
.ccps-accent-gold{--accent:var(--gold-antique)}
.ccps-accent-mauve{--accent:var(--mauve-soft)}
.ccps-accent-taupe{--accent:var(--taupe-warm)}

/* ------------------------------------------------------- 11. Promise pillars */
.ccps-pillar{background:#fff;border-radius:var(--radius);padding:1.7rem 1.45rem;
  border:1px solid var(--border);height:100%}
.ccps-pillar__n{font-size:.72rem;font-weight:600;letter-spacing:.14em;color:var(--gold-antique);
  display:block;margin-bottom:.65rem}
.ccps-pillar h3,.ccps-pillar .elementor-icon-box-title{color:var(--teal-slate);margin-bottom:.35rem}
.ccps-pillar p,.ccps-pillar .elementor-icon-box-description{margin:0;font-size:.93rem;color:var(--muted)}

/* ------------------------------------------------------------- 12. Chips */
.ccps-chips ul{display:flex;flex-wrap:wrap;gap:.6rem;margin:0;padding:0;list-style:none}
.ccps-chips li{background:#fff;border:1px solid #dde4e3;border-radius:100px;
  padding:.55rem 1.1rem;font-size:.9rem;font-weight:500;color:var(--navy-deep)}
.ccps-chips .elementor-icon-list-item{background:#fff;border:1px solid #dde4e3;border-radius:100px;
  padding:.55rem 1.1rem;font-size:.9rem;font-weight:500}
.ccps-chips .elementor-icon-list-items{display:flex;flex-wrap:wrap;gap:.6rem}
.ccps-chips .elementor-icon-list-icon{display:none}

/* ------------------------------------------------- 13. Three-up / icon lists */
.ccps-threeup .elementor-icon{width:46px;height:46px;border-radius:var(--radius);display:grid;
  place-items:center;margin-bottom:1rem;background:var(--paper);color:var(--teal-slate)}
.ccps-threeup .elementor-icon svg{width:23px;height:23px;fill:none;stroke:var(--teal-slate);stroke-width:2}
.ccps-threeup .elementor-icon-box-title{color:var(--navy-deep)}
.ccps-threeup .elementor-icon-box-description{font-size:.94rem;color:var(--muted);margin:0}

/* Checklist (icon-list widget) */
.ccps-checklist .elementor-icon-list-items{display:grid;gap:.6rem;margin:0;padding:0;list-style:none}
.ccps-checklist .elementor-icon-list-item{display:flex;gap:.65rem;align-items:flex-start;
  font-size:.95rem;line-height:1.55}
.ccps-checklist .elementor-icon-list-icon{flex:none;margin-top:.28rem;color:var(--teal-slate)!important;
  width:auto;height:auto}
.ccps-checklist .elementor-icon-list-text{color:var(--text)}
/* Elementor fills inline SVG icons by default; these are stroke drawings. */
.ccps-checklist .elementor-icon-list-icon svg,
.ccps-checklist .elementor-icon-list-icon svg *{width:17px;height:17px;
  fill:none!important;stroke:currentColor!important;stroke-width:2.25}
.ccps-hero__note-list .elementor-icon-list-icon svg,
.ccps-hero__note-list .elementor-icon-list-icon svg *{width:18px;height:18px}
.ccps-hero__note-list .elementor-icon-list-item{color:var(--muted);font-size:.9rem}
.ccps-bg-navy .ccps-checklist .elementor-icon-list-icon{color:var(--gold-antique)}
.ccps-bg-navy .ccps-checklist .elementor-icon-list-text{color:#dbe3ec}

/* Numbered process steps */
.ccps-step{position:relative;background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:1.7rem 1.45rem 1.5rem;height:100%}
.ccps-step__n{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;
  background:var(--navy-deep);color:#fff;font-weight:600;font-size:.95rem;margin-bottom:1rem}
.ccps-step h3{margin-bottom:.35rem}
.ccps-step p{margin:0;font-size:.94rem;color:var(--muted)}

/* ------------------------------------------------------- 14. Partner band */
.ccps-partner-actions{display:grid;gap:.75rem}

/* ---------------------------------------------------------- 15. Photo slots */
/* Real photographs live here. The dashed placeholder style stays available for
   any slot still awaiting client-supplied photography (decisions.md D-004). */
.ccps-photo img{border-radius:var(--radius);box-shadow:var(--shadow);width:100%;object-fit:cover}
.ccps-photo--4x3 img{aspect-ratio:4/3}
.ccps-photo--3x2 img{aspect-ratio:3/2}
.ccps-photo--square img{aspect-ratio:1}
.ccps-ph{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.6rem;
  text-align:center;padding:1.5rem;min-height:220px;border-radius:var(--radius);
  background:repeating-linear-gradient(45deg,#fdf4e8,#fdf4e8 12px,#f8ead6 12px,#f8ead6 24px);
  border:3px dashed #c26b2e;color:#8a4a1d;font-size:.8rem;font-weight:600;line-height:1.45}
.ccps-ph b{display:block;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:#c26b2e}

/* Caption under photos */
.ccps-caption,.ccps-caption p{font-size:.78rem;color:var(--hint);margin:.5rem 0 0}

/* ---------------------------------------------------- 16. Forms (CF7) */
.ccps-form{background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:clamp(1.4rem,3vw,2rem);box-shadow:var(--shadow)}
.ccps-bg-navy .ccps-form{color:var(--text)}
.ccps-bg-navy .ccps-form :where(h1,h2,h3,h4){color:var(--navy-deep)}
.ccps-bg-navy .ccps-form p{color:var(--text)}
.ccps-form .ccps-f2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.ccps-form .ccps-field{margin-bottom:1rem}
.ccps-form label{display:block;font-size:.86rem;font-weight:500;margin-bottom:.35rem;color:var(--navy-deep)}
.ccps-form .ccps-req{color:var(--plum)}
.ccps-form input[type=text],.ccps-form input[type=tel],.ccps-form input[type=email],
.ccps-form input[type=date],.ccps-form input[type=number],.ccps-form select,.ccps-form textarea{
  width:100%;font:inherit;font-size:.95rem;padding:.72rem .85rem;border:1.5px solid var(--border-strong);
  border-radius:8px;background:#fff;color:var(--text);min-height:48px;
  transition:border-color .16s ease,box-shadow .16s ease}
.ccps-form textarea{min-height:110px;resize:vertical}
.ccps-form :where(input,select,textarea):hover{border-color:var(--teal-slate)}
.ccps-form :where(input,select,textarea):focus{border-color:var(--teal-slate);
  box-shadow:0 0 0 3px rgba(73,114,127,.18);outline:none}
.ccps-form .ccps-hint-txt{font-size:.8rem;color:var(--hint);margin:.35rem 0 0}
.ccps-form .ccps-consent{font-size:.82rem;color:var(--hint);margin:1rem 0 1.25rem}
.ccps-form .wpcf7-spinner{margin-inline:auto;display:block}
.ccps-form input[type=submit],.ccps-form button[type=submit]{
  display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:48px;
  padding:.75rem 1.6rem;border-radius:var(--radius);font:inherit;font-weight:500;font-size:1rem;
  background:var(--cta-bg);color:#fff;border:2px solid transparent;cursor:pointer;
  transition:background-color .18s ease,transform .18s ease}
.ccps-form input[type=submit]:hover,.ccps-form button[type=submit]:hover{
  background:var(--cta-bg-hover);transform:translateY(-1px)}
/* Honeypot — must never be visible or reachable (ccps-core adds the field) */
.ccps-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}

/* CF7 messages — text, never colour alone (WCAG + docs/site-plan.md) */
.wpcf7 form .wpcf7-response-output{margin:1.25rem 0 0;padding:.9rem 1rem;border-radius:8px;
  border:1.5px solid var(--border-strong);font-size:.9rem;line-height:1.5}
.wpcf7 form.sent .wpcf7-response-output{background:#eef5f2;border-color:var(--teal-slate);color:var(--navy-deep)}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output{background:#fdf2f5;border-color:var(--error);color:#7d0e2d}
.wpcf7 form.failed .wpcf7-response-output,.wpcf7 form.aborted .wpcf7-response-output{
  background:#fdf2f5;border-color:var(--error);color:#7d0e2d}
.wpcf7-not-valid-tip{display:block;font-size:.82rem;color:var(--error);margin:.35rem 0 0;font-weight:500}
.wpcf7-not-valid-tip::before{content:"⚠ ";font-weight:600}
.ccps-form :where(input,select,textarea).wpcf7-not-valid{border-color:var(--error)}
.wpcf7-list-item{margin:0 0 .35rem;display:block}
.wpcf7-list-item label{display:flex;gap:.55rem;align-items:flex-start;font-weight:400;font-size:.9rem}
.wpcf7-list-item input[type=checkbox],.wpcf7-list-item input[type=radio]{
  width:20px;height:20px;min-height:20px;margin-top:.15rem;accent-color:var(--teal-slate);flex:none}

@media(max-width:520px){.ccps-form .ccps-f2{grid-template-columns:1fr}}

/* ------------------------------------------------------------- 17. FAQ */
.ccps-faq .elementor-accordion-item,.ccps-faq .e-n-accordion-item{
  border:1px solid var(--border);border-radius:var(--radius);background:#fff;margin-bottom:.75rem;overflow:hidden}
.ccps-faq .elementor-tab-title,.ccps-faq summary{font-weight:500;font-size:1.02rem;
  color:var(--navy-deep);padding:1.05rem 1.25rem;cursor:pointer}
.ccps-faq .elementor-tab-content,.ccps-faq .e-n-accordion-item-content{
  padding:0 1.25rem 1.15rem;color:var(--muted);font-size:.95rem}
.ccps-faq details{border:1px solid var(--border);border-radius:var(--radius);background:#fff;margin-bottom:.75rem}
.ccps-faq details[open] summary{color:var(--teal-slate)}
.ccps-faq details>div{padding:0 1.25rem 1.15rem;color:var(--muted);font-size:.95rem}

/* ----------------------------------------------------------- 18. Footer */
.ccps-ft{background:var(--navy-deep);color:#c3cfdb;padding-block:3rem 0;font-size:.92rem}
.ccps-ft__in{max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1rem,4vw,2rem)}
.ccps-ft__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.1fr;gap:2rem}
.ccps-ft h4{color:#fff;font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;margin:0 0 1rem}
.ccps-ft ul{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.ccps-ft a{color:#c3cfdb;text-decoration:none}
.ccps-ft a:hover{color:#fff;text-decoration:underline}
/* The full-colour mosaic mark; a touch larger than the reversed one it replaced
   so the individual tiles still read against the navy. */
.ccps-ft__brand img{width:46px;height:57px;margin-bottom:1rem}
.ccps-ft__brand p{color:#fff;font-weight:500;margin-bottom:.3rem}
.ccps-ft__brand .ccps-ft__tag{font-size:.86rem;color:#c3cfdb;font-weight:400}
.ccps-ft__legal{border-top:1px solid rgba(255,255,255,.14);margin-top:2.5rem;padding-block:1.4rem;
  display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;font-size:.83rem;color:#93a4b6}
.ccps-ft__legal a{color:#93a4b6}
@media(max-width:880px){.ccps-ft__grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.ccps-ft__grid{grid-template-columns:1fr}}

/* ------------------------------------------------- 19. Sticky mobile bar */
.ccps-mbar{display:none}
@media(max-width:640px){
  .ccps-mbar{display:grid;grid-template-columns:1fr 1fr;gap:.6rem;position:fixed;left:0;right:0;bottom:0;
    z-index:900;padding:.65rem;background:rgba(255,255,255,.97);border-top:1px solid var(--border);
    box-shadow:0 -4px 16px rgba(28,51,80,.09)}
  .ccps-mbar .ccps-btn{width:100%;padding-inline:.75rem;font-size:.95rem}
  body{padding-bottom:76px}
}

/* --------------------------------------------------------- 20. Animation */
/* Scroll reveal — additive to Elementor's own entrance animations.
   Gated on html.ccps-js so that a blocked or failed script leaves the content
   visible rather than blank, and disabled under prefers-reduced-motion. */
.ccps-js .ccps-reveal{opacity:0;transform:translateY(18px);
  transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1)}
.ccps-js .ccps-reveal.is-in{opacity:1;transform:none}
.ccps-js .ccps-reveal--left{transform:translateX(-24px)}
.ccps-js .ccps-reveal--right{transform:translateX(24px)}
.ccps-js .ccps-reveal--zoom{transform:scale(.96)}
.ccps-js .ccps-stagger>*{opacity:0;transform:translateY(18px);
  transition:opacity .6s cubic-bezier(.16,1,.3,1),transform .6s cubic-bezier(.16,1,.3,1)}
.ccps-js .ccps-stagger.is-in>*{opacity:1;transform:none}
.ccps-js .ccps-stagger.is-in>*:nth-child(1){transition-delay:.00s}
.ccps-js .ccps-stagger.is-in>*:nth-child(2){transition-delay:.07s}
.ccps-js .ccps-stagger.is-in>*:nth-child(3){transition-delay:.14s}
.ccps-js .ccps-stagger.is-in>*:nth-child(4){transition-delay:.21s}
.ccps-js .ccps-stagger.is-in>*:nth-child(5){transition-delay:.28s}
.ccps-js .ccps-stagger.is-in>*:nth-child(6){transition-delay:.35s}
.ccps-js .ccps-stagger.is-in>*:nth-child(7){transition-delay:.42s}
.ccps-js .ccps-stagger.is-in>*:nth-child(8){transition-delay:.49s}
/* Underline sweep on the hero accent word */
.ccps-sweep{position:relative}
.ccps-sweep::after{content:"";position:absolute;left:0;right:0;bottom:.06em;height:.09em;
  background:var(--gold-antique);transform:scaleX(0);transform-origin:left;
  transition:transform .9s cubic-bezier(.16,1,.3,1) .35s}
.ccps-sweep.is-in::after,.is-in .ccps-sweep::after{transform:scaleX(1)}
/* Gentle float on the hero photo */
@keyframes ccps-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.ccps-float img{animation:ccps-float 7s ease-in-out infinite}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important}
  .ccps-reveal,.ccps-js .ccps-stagger>*{opacity:1!important;transform:none!important}
  .ccps-sweep::after{transform:scaleX(1)!important}
}

/* --------------------------------------------------------- 21. Utilities */
.ccps-notice{background:#fdf4e8;border:1px solid var(--gold-antique);border-left-width:4px;
  border-radius:var(--radius);padding:1rem 1.15rem;font-size:.9rem;color:#6b4a1d}
.ccps-notice p:last-child{margin-bottom:0}
.ccps-reviewed{font-size:.82rem;color:var(--hint);border-top:1px solid var(--border);
  margin-top:2.5rem;padding-top:1rem}
.ccps-tbc{background:#fdf4e8;color:#8a4a1d;border:1px dashed #c26b2e;border-radius:4px;
  padding:0 .35em;font-size:.92em;font-weight:600;white-space:nowrap}
.ccps-emergency{font-size:.85rem;color:var(--hint)}
.ccps-nowrap{white-space:nowrap}

/* Print — families and case managers do print these pages */
@media print{
  .ccps-hdr,.ccps-mbar,.ccps-drawer,.ccps-scrim,.ccps-form,.ccps-btn-row{display:none!important}
  body{padding:0;font-size:11pt;color:#000}
  .ccps-bg-navy,.ccps-trust{background:#fff!important;color:#000!important}
  .ccps-bg-navy :where(h1,h2,h3,h4,p,li){color:#000!important}
  a[href^="http"]::after{content:" (" attr(href) ")";font-size:9pt;color:#444}
}

/* Above-the-fold content never waits on JavaScript: a hero inside a
   reveal wrapper delays Largest Contentful Paint until the observer runs. */
.ccps-js .ccps-hero .ccps-reveal,
.ccps-js .ccps-phero .ccps-reveal,
.ccps-js .ccps-hero .ccps-stagger>*,
.ccps-js .ccps-phero .ccps-stagger>*{opacity:1!important;transform:none!important}

/* Footer column titles are h2, not h4: a page whose last heading is an h1
   or h2 would otherwise skip a level, which fails the heading-order rule. */
.ccps-ft__h{color:#fff;font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;margin:0 0 1rem;font-weight:500}

/* Links inside body copy carry an underline — colour alone is not enough
   (WCAG 1.4.1, and Lighthouse flags it). Buttons and arrow links are exempt. */
.elementor-widget-text-editor a:not(.elementor-button):not(.ccps-arrow-link),
.ccps-notice a,.ccps-faq a{text-decoration:underline}

/* On the navy bands, Elementor's own widget rules are more specific than
   the section class, so the reversed text colours are stated explicitly. */
.ccps-bg-navy .elementor-widget-heading .elementor-heading-title,
.ccps-trust .elementor-widget-heading .elementor-heading-title{color:#fff}
.ccps-bg-navy .elementor-widget-text-editor,
.ccps-bg-navy .elementor-widget-text-editor p,
.ccps-bg-navy .elementor-icon-list-text{color:#dbe3ec}
.ccps-bg-navy .ccps-detail,.ccps-bg-navy .ccps-detail a{color:#fff}
