/* ============================================================
   ARC IMPERIAL VALLEY — DESIGN TOKENS
   Palette derived from the existing arciv.org site:
   nav/footer navy #004264, heading/CTA orange #F47B20,
   logo spark yellow #FFFD00 (refined to a gold for AA text use).
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root{
  --color-primary:#004264;
  --color-primary-dark:#00304a;
  --color-primary-light:#0f6c96;
  --color-accent:#F47B20;
  --color-accent-dark:#c15a0e;
  --color-accent-soft:#fdeadb;
  --color-gold:#c8891a;
  --color-dark:#0b2430;
  --color-light:#faf7f2;
  --color-surface:#ffffff;
  --color-text:#1c2b33;
  --color-muted:#5b6b73;
  --color-border:#e5e0d5;
  --focus-ring:#0f6c96;

  --font-display:'Manrope','Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif;
  --font-body:'Source Sans 3','Segoe UI',-apple-system,BlinkMacSystemFont,sans-serif;

  --container:1200px;
  --radius-sm:6px;
  --radius-md:12px;
  --radius-lg:20px;
  --shadow-sm:0 1px 2px rgba(11,36,48,.06), 0 1px 1px rgba(11,36,48,.04);
  --shadow-md:0 8px 24px rgba(11,36,48,.10);
  --shadow-lg:0 20px 48px rgba(11,36,48,.16);
  color-scheme: light;
}

@media (prefers-color-scheme: dark){
  :root{
    --color-primary:#7fc4e8;
    --color-primary-dark:#5fb0da;
    --color-primary-light:#9fd4f0;
    --color-accent:#ff9847;
    --color-accent-dark:#ffb46f;
    --color-accent-soft:#2a2013;
    --color-gold:#e0ac3f;
    --color-dark:#eef2f4;
    --color-light:#0d1b22;
    --color-surface:#122630;
    --color-text:#eef2f4;
    --color-muted:#a9bac2;
    --color-border:#233a44;
    --focus-ring:#9fd4f0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"]{
  --color-primary:#7fc4e8;
  --color-primary-dark:#5fb0da;
  --color-primary-light:#9fd4f0;
  --color-accent:#ff9847;
  --color-accent-dark:#ffb46f;
  --color-accent-soft:#2a2013;
  --color-gold:#e0ac3f;
  --color-dark:#eef2f4;
  --color-light:#0d1b22;
  --color-surface:#122630;
  --color-text:#eef2f4;
  --color-muted:#a9bac2;
  --color-border:#233a44;
  --focus-ring:#9fd4f0;
  color-scheme: dark;
}
:root[data-theme="light"]{
  --color-primary:#004264;
  --color-primary-dark:#00304a;
  --color-primary-light:#0f6c96;
  --color-accent:#F47B20;
  --color-accent-dark:#c15a0e;
  --color-accent-soft:#fdeadb;
  --color-gold:#c8891a;
  --color-dark:#0b2430;
  --color-light:#faf7f2;
  --color-surface:#ffffff;
  --color-text:#1c2b33;
  --color-muted:#5b6b73;
  --color-border:#e5e0d5;
  --focus-ring:#0f6c96;
  color-scheme: light;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0;}
ul[class],ol[class]{list-style:none;margin:0;padding:0;}
img,svg{display:block;max-width:100%;}
button,input,textarea,select{font:inherit;color:inherit;}
a{color:inherit;}
:target{scroll-margin-top:110px;}

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

body{
  background:var(--color-light);
  color:var(--color-text);
  font-family:var(--font-body);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--color-dark);
  line-height:1.15;
  text-wrap:balance;
  font-weight:800;
}
h1{font-size:clamp(2.1rem,4.4vw,3.4rem);}
h2{font-size:clamp(1.6rem,3vw,2.35rem);}
h3{font-size:1.28rem;font-weight:700;}
h4{font-size:1.05rem;font-weight:700;}
p{max-width:65ch;}
p.lead{font-size:1.15rem;color:var(--color-muted);}

a{text-decoration:none;}
a.text-link{color:var(--color-primary);font-weight:600;text-underline-offset:3px;text-decoration:underline;text-decoration-color:transparent;transition:text-decoration-color .15s ease;}
a.text-link:hover{text-decoration-color:currentColor;}

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

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

.skip-link{
  position:absolute;left:12px;top:-60px;background:var(--color-primary);color:#fff;
  padding:.75rem 1.25rem;border-radius:var(--radius-sm);z-index:1000;font-weight:700;
  transition:top .15s ease;
}
.skip-link:focus{top:12px;}

/* ---------- Layout helpers ---------- */
.container{max-width:var(--container);margin-inline:auto;padding-inline:1.5rem;}
@media (min-width:768px){.container{padding-inline:2.5rem;}}

.section{padding:clamp(3rem,6vw,5.5rem) 0;}
.section-tight{padding:clamp(2rem,4vw,3rem) 0;}
.section-alt{background:var(--color-surface);border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);}
.section-dark{background:var(--color-primary);color:#fff;}
.section-dark h2,.section-dark h3,.section-dark h4{color:#fff;}
.section-dark p{color:rgba(255,255,255,.85);}

.eyebrow{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--font-display);font-weight:700;font-size:.78rem;
  letter-spacing:.11em;text-transform:uppercase;color:var(--color-accent-dark);
  margin-bottom:.85rem;
}
.section-dark .eyebrow{color:var(--color-gold);}
.eyebrow::before{content:"";width:22px;height:2px;background:currentColor;border-radius:2px;}

.section-head{max-width:46rem;margin-bottom:2.75rem;}
.section-head.center{margin-inline:auto;text-align:center;}

.grid{display:grid;gap:2rem;}
.grid-2{grid-template-columns:1fr;}
.grid-3{grid-template-columns:1fr;}
.grid-4{grid-template-columns:1fr;}
@media (min-width:700px){
  .grid-2{grid-template-columns:1fr 1fr;}
  .grid-4{grid-template-columns:1fr 1fr;}
}
@media (min-width:960px){
  .grid-3{grid-template-columns:repeat(3,1fr);}
  .grid-4{grid-template-columns:repeat(4,1fr);}
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  font-family:var(--font-display);font-weight:700;font-size:.98rem;
  padding:.9rem 1.6rem;border-radius:999px;border:2px solid transparent;
  cursor:pointer;transition:transform .12s ease, box-shadow .12s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
  min-height:48px;
}
.btn:hover{transform:translateY(-1px);}
.btn:active{transform:translateY(0);}
.btn-primary{background:var(--color-primary);color:#fff;}
.btn-primary:hover{background:var(--color-primary-dark);}
.btn-accent{background:var(--color-accent);color:#1a1103;}
.btn-accent:hover{background:var(--color-accent-dark);color:#1a1103;}
.btn-outline{background:transparent;border-color:currentColor;color:var(--color-primary);}
.btn-outline:hover{background:var(--color-primary);color:#fff;}
.section-dark .btn-outline{color:#fff;}
.section-dark .btn-outline:hover{background:#fff;color:var(--color-primary);}
.btn-ghost{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.4);}
.btn-ghost:hover{background:rgba(255,255,255,.22);}
.btn-sm{padding:.6rem 1.15rem;font-size:.88rem;min-height:auto;}
.btn[disabled]{opacity:.6;cursor:not-allowed;transform:none;}

.icon{width:1.15em;height:1.15em;flex:none;}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:100;background:var(--color-primary);
  box-shadow:0 1px 0 rgba(255,255,255,.08);
}
.site-header.is-scrolled{box-shadow:var(--shadow-md);}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.85rem;}

.brand{display:flex;align-items:center;gap:.65rem;color:#fff;font-family:var(--font-display);}
.brand-mark{width:42px;height:42px;flex:none;}
.brand-text{display:flex;flex-direction:column;line-height:1.1;}
.brand-text strong{font-size:1.05rem;font-weight:800;letter-spacing:.01em;}
.brand-text span{font-size:.68rem;letter-spacing:.06em;color:var(--color-gold);text-transform:uppercase;font-weight:700;}

.nav-toggle{
  display:inline-flex;align-items:center;justify-content:center;
  width:46px;height:46px;border-radius:var(--radius-sm);border:1px solid rgba(255,255,255,.3);
  background:transparent;color:#fff;cursor:pointer;
}
.nav-toggle .icon{width:22px;height:22px;}
.nav-toggle .icon-close{display:none;}
.nav-toggle[aria-expanded="true"] .icon-menu{display:none;}
.nav-toggle[aria-expanded="true"] .icon-close{display:block;}

.primary-nav{display:flex;align-items:center;gap:.75rem;}
.nav-list{display:flex;align-items:center;gap:.15rem;}
.nav-list .menu-item{position:relative;}
.nav-list .menu-item > a{
  display:flex;align-items:center;gap:.3rem;color:#fff;font-family:var(--font-display);
  font-weight:600;font-size:.93rem;padding:.85rem .8rem;border-radius:var(--radius-sm);
}
.nav-list .menu-item:hover > a,.nav-list .current-menu-item > a,.nav-list .current-menu-ancestor > a{color:var(--color-gold);}
.nav-list .menu-item:hover > a{background:rgba(255,255,255,.08);}
.nav-list .menu-item-has-children > a::after{
  content:"";width:.4em;height:.4em;margin-left:.15em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);transition:transform .15s ease;flex:none;
}
.nav-list .menu-item:hover > a::after,.nav-list .menu-item.is-open > a::after{transform:rotate(-135deg) translateY(2px);}

.sub-menu{
  position:absolute;top:100%;left:0;min-width:240px;background:var(--color-surface);
  border-radius:var(--radius-md);box-shadow:var(--shadow-lg);border:1px solid var(--color-border);
  padding:.5rem;opacity:0;visibility:hidden;transform:translateY(6px);
  transition:opacity .15s ease, transform .15s ease, visibility .15s ease;
}
.menu-item:hover .sub-menu,.menu-item:focus-within .sub-menu{opacity:1;visibility:visible;transform:translateY(0);}
.sub-menu a{display:block;padding:.65rem .8rem;border-radius:var(--radius-sm);font-weight:600;font-size:.94rem;}
.sub-menu a:hover{background:var(--color-accent-soft);}
@media (min-width:960px){
  /* Higher specificity than ".nav-list .menu-item > a" (which sets white
     for the top-level bar) so the flyout's own dark-on-white text wins here. */
  .primary-nav .menu-item .sub-menu a{color:var(--color-text);}
  .primary-nav .menu-item .sub-menu a:hover{color:var(--color-accent-dark);}
}

.menu-item.btn-donate{margin-left:.4rem;}
.menu-item.btn-donate > a{
  background:var(--color-accent);color:#1a1103;padding:.6rem 1.15rem;border-radius:999px;font-weight:700;
}
.menu-item.btn-donate > a:hover{background:var(--color-accent-dark);}

@media (max-width:959px){
  .primary-nav{
    position:fixed;inset:0 0 0 auto;width:min(340px,86vw);height:100vh;
    background:var(--color-primary-dark);padding:5.5rem 1.5rem 2rem;
    transform:translateX(100%);transition:transform .22s ease;overflow-y:auto;
    box-shadow:-12px 0 40px rgba(0,0,0,.3);flex-direction:column;align-items:stretch;
  }
  .primary-nav.is-open{transform:translateX(0);}
  .nav-list{flex-direction:column;align-items:stretch;gap:.15rem;}
  .nav-list .menu-item > a{padding:.9rem .5rem;font-size:1.05rem;justify-content:space-between;}
  .sub-menu{
    position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;
    background:rgba(0,0,0,.15);display:none;border:none;margin-bottom:.35rem;
  }
  .menu-item.is-open > .sub-menu{display:block;}
  .sub-menu a{color:#fff;}
  .sub-menu a:hover{background:rgba(255,255,255,.12);color:var(--color-gold);}
  .menu-item.btn-donate{margin-left:0;margin-top:.5rem;}
  .menu-item.btn-donate > a{display:inline-flex;}
  .nav-backdrop{position:fixed;inset:0;background:rgba(6,20,27,.55);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility .2s ease;z-index:90;}
  .nav-backdrop.is-open{opacity:1;visibility:visible;}
}
@media (min-width:960px){
  .nav-toggle{display:none;}
  .nav-backdrop{display:none;}
}

/* WordPress admin bar offsets the sticky header while logged in */
body.admin-bar .site-header{top:32px;}
@media (max-width:782px){body.admin-bar .site-header{top:46px;}}

/* brand logo when set via Customizer -> Site Identity */
.brand-mark-wrap img{width:42px;height:42px;border-radius:10px;object-fit:cover;display:block;}
.footer-brand .brand-mark-wrap img{width:48px;height:48px;}

/* ---------- Hero ---------- */
.hero{padding:clamp(3rem,7vw,6rem) 0 clamp(2.5rem,5vw,4rem);background:var(--color-light);overflow:hidden;}
.hero-grid{display:grid;gap:2.75rem;align-items:center;}
@media (min-width:960px){.hero-grid{grid-template-columns:1.05fr .95fr;gap:3.5rem;}}
.hero h1{margin-bottom:1.1rem;}
.hero .lead{margin-bottom:1.75rem;font-size:1.18rem;}
.hero-actions{display:flex;flex-wrap:wrap;gap:.85rem;}
.hero-art{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);}
.hero-art svg{width:100%;height:auto;display:block;}

/* ---------- Trust strip ---------- */
.trust-strip{padding:2.5rem 0;background:var(--color-dark);}
.trust-grid{display:grid;gap:1.75rem;text-align:center;}
@media (min-width:700px){.trust-grid{grid-template-columns:repeat(3,1fr);text-align:left;}}
.trust-item{display:flex;flex-direction:column;gap:.15rem;align-items:center;}
@media (min-width:700px){.trust-item{align-items:flex-start;}}
.trust-num{font-family:var(--font-display);font-weight:800;font-size:clamp(2rem,4vw,2.6rem);color:var(--color-gold);}
.trust-label{color:rgba(255,255,255,.82);font-size:.98rem;max-width:22ch;}

/* ---------- Cards ---------- */
.card{
  background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);
  padding:1.9rem;display:flex;flex-direction:column;gap:.85rem;transition:box-shadow .18s ease, transform .18s ease;
}
.card:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);}
.card-icon{
  width:54px;height:54px;border-radius:14px;background:var(--color-accent-soft);
  display:flex;align-items:center;justify-content:center;color:var(--color-accent-dark);
}
.card-icon .icon{width:26px;height:26px;}
.card h3{margin-top:.15rem;}
.card p{font-size:.98rem;color:var(--color-muted);}
.card-link{margin-top:auto;display:inline-flex;align-items:center;gap:.4rem;font-weight:700;color:var(--color-primary);font-size:.94rem;}
.card-link .icon{width:1em;height:1em;}

/* service overview list (asymmetric, not identical boxes) */
.help-overview{display:grid;gap:1.5rem;}
@media (min-width:700px){.help-overview{grid-template-columns:repeat(2,1fr);}}
@media (min-width:960px){
  .help-overview{grid-template-columns:repeat(6,1fr);grid-auto-rows:1fr;}
  .help-overview .card:nth-child(1){grid-column:span 3;}
  .help-overview .card:nth-child(2){grid-column:span 3;}
  .help-overview .card:nth-child(3){grid-column:span 2;}
  .help-overview .card:nth-child(4){grid-column:span 2;}
  .help-overview .card:nth-child(5){grid-column:span 2;}
}

/* ---------- Feature split (impact / employment / day / transport / residential) ---------- */
.split{padding:clamp(2.75rem,5vw,4.5rem) 0;}
.split-grid{display:grid;gap:2.5rem;align-items:center;}
@media (min-width:960px){
  .split-grid{grid-template-columns:1fr 1fr;gap:4rem;}
  .split-grid.reverse .split-art{order:2;}
}
.split-art{border-radius:var(--radius-lg);overflow:hidden;}
.split-art svg{width:100%;height:auto;}
.split-body ul.check-list{display:flex;flex-direction:column;gap:.6rem;margin:1.25rem 0 1.5rem;}
.check-list li{display:flex;gap:.6rem;align-items:flex-start;font-size:.98rem;}
.check-list .icon{width:1.2em;height:1.2em;color:var(--color-accent-dark);flex:none;margin-top:.15rem;}
.pill-row{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1.5rem;}
.pill{
  display:inline-flex;align-items:center;gap:.4rem;background:var(--color-accent-soft);
  color:var(--color-accent-dark);font-weight:700;font-size:.82rem;padding:.4rem .8rem;border-radius:999px;
}

/* quote */
.pull-quote{
  border-left:4px solid var(--color-accent);padding:.25rem 0 .25rem 1.4rem;margin:1.75rem 0;
  font-family:var(--font-display);font-size:1.25rem;font-weight:700;color:var(--color-dark);font-style:normal;
}
.section-dark .pull-quote{border-left-color:var(--color-gold);color:#fff;}

/* ---------- Get involved ---------- */
.involve-grid{display:grid;gap:1.5rem;}
@media (min-width:700px){.involve-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1100px){.involve-grid{grid-template-columns:repeat(4,1fr);}}
.involve-card{
  border-radius:var(--radius-md);padding:2rem 1.6rem;display:flex;flex-direction:column;gap:.9rem;color:#fff;
  min-height:230px;justify-content:flex-end;position:relative;overflow:hidden;
}
.involve-card .icon{width:30px;height:30px;}
.involve-card h3{color:#fff;}
.involve-card p{color:rgba(255,255,255,.88);font-size:.95rem;}
.involve-card .card-link{color:#fff;}
.involve-card.c1{background:linear-gradient(155deg,var(--color-primary),var(--color-primary-dark));}
.involve-card.c2{background:linear-gradient(155deg,var(--color-accent),var(--color-accent-dark));color:#1a1103;}
.involve-card.c2 h3,.involve-card.c2 p,.involve-card.c2 .card-link{color:#1a1103;}
.involve-card.c3{background:linear-gradient(155deg,#0f6c96,var(--color-primary));}
.involve-card.c4{background:linear-gradient(155deg,#2c3f47,var(--color-dark));}

/* ---------- Timeline ---------- */
.timeline{display:flex;flex-direction:column;gap:0;border-left:2px solid var(--color-border);margin-left:.6rem;}
.timeline-item{position:relative;padding:0 0 2.1rem 1.75rem;}
.timeline-item::before{
  content:"";position:absolute;left:-7.5px;top:.35rem;width:14px;height:14px;border-radius:50%;
  background:var(--color-accent);border:3px solid var(--color-light);
}
.timeline-year{font-family:var(--font-display);font-weight:800;color:var(--color-primary);font-size:1.05rem;margin-bottom:.2rem;}
.timeline-item p{font-size:.97rem;color:var(--color-muted);}

/* ---------- Leadership ---------- */
.people-grid{display:grid;gap:1.1rem;}
@media (min-width:600px){.people-grid{grid-template-columns:repeat(2,1fr);}}
@media (min-width:900px){.people-grid{grid-template-columns:repeat(3,1fr);}}
.person{display:flex;align-items:center;gap:.9rem;padding:1rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);}
.avatar{
  width:52px;height:52px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:800;color:#fff;font-size:1rem;
}
.person h4{margin-bottom:.1rem;font-size:1rem;}
.person span{color:var(--color-muted);font-size:.88rem;}

/* ---------- Sub nav pills (in-page) ---------- */
.subnav{position:sticky;top:73px;z-index:40;background:var(--color-light);padding:1rem 0;border-bottom:1px solid var(--color-border);}
.subnav-list{display:flex;gap:.6rem;overflow-x:auto;padding-bottom:.15rem;scrollbar-width:thin;}
.subnav-list a{
  flex:none;font-family:var(--font-display);font-weight:700;font-size:.88rem;padding:.55rem 1.05rem;
  border-radius:999px;background:var(--color-surface);border:1px solid var(--color-border);color:var(--color-text);
}
.subnav-list a:hover{border-color:var(--color-primary);color:var(--color-primary);}
.subnav-list a.is-active{background:var(--color-primary);color:#fff;border-color:var(--color-primary);}

/* ---------- Service detail blocks (How We Help) ---------- */
.service-block{padding:clamp(2.5rem,5vw,4rem) 0;border-bottom:1px solid var(--color-border);}
.service-head{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.1rem;flex-wrap:wrap;}
.service-head .card-icon{width:60px;height:60px;}
.service-head .card-icon .icon{width:28px;height:28px;}
.who-for{
  display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;font-weight:700;color:var(--color-primary);
  background:#eaf4f9;padding:.35rem .75rem;border-radius:999px;margin-bottom:.9rem;
}
:root[data-theme="dark"] .who-for,@media (prefers-color-scheme:dark){.who-for{background:rgba(127,196,232,.14);}}
.service-cols{display:grid;gap:2rem;margin-top:1.5rem;}
@media (min-width:900px){.service-cols{grid-template-columns:1.3fr .9fr;}}
.benefit-box{background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-md);padding:1.5rem;}
.benefit-box h4{margin-bottom:.85rem;}

/* ---------- FAQ (native details) ---------- */
.faq{border-top:1px solid var(--color-border);}
.faq details{border-bottom:1px solid var(--color-border);padding:1.1rem 0;}
.faq summary{
  cursor:pointer;font-family:var(--font-display);font-weight:700;font-size:1.02rem;
  list-style:none;display:flex;justify-content:space-between;align-items:center;gap:1rem;color:var(--color-dark);
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary .icon{width:1.1em;height:1.1em;flex:none;transition:transform .18s ease;color:var(--color-accent-dark);}
.faq details[open] summary .icon{transform:rotate(45deg);}
.faq details p{margin-top:.85rem;color:var(--color-muted);}

/* ---------- Resources ---------- */
.filter-row{display:flex;flex-wrap:wrap;gap:.6rem;margin-bottom:2rem;}
.filter-btn{
  font-family:var(--font-display);font-weight:700;font-size:.88rem;padding:.55rem 1.1rem;border-radius:999px;
  border:1px solid var(--color-border);background:var(--color-surface);cursor:pointer;
}
.filter-btn[aria-pressed="true"]{background:var(--color-primary);color:#fff;border-color:var(--color-primary);}
.resource-grid{display:grid;gap:1.25rem;}
@media (min-width:700px){.resource-grid{grid-template-columns:repeat(2,1fr);}}
.resource-card{
  border:1px solid var(--color-border);border-radius:var(--radius-md);padding:1.4rem;background:var(--color-surface);
  display:flex;gap:1rem;align-items:flex-start;
}
.resource-card .icon{width:22px;height:22px;color:var(--color-primary);flex:none;margin-top:.2rem;}
.resource-card h4{margin-bottom:.3rem;}
.resource-card p{font-size:.92rem;color:var(--color-muted);margin-bottom:.5rem;}
.tag{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--color-muted);}

/* ---------- Forms ---------- */
.form-grid{display:grid;gap:1.2rem;}
@media (min-width:640px){.form-grid.two{grid-template-columns:1fr 1fr;}}
.field{display:flex;flex-direction:column;gap:.4rem;}
.field label{font-weight:700;font-size:.92rem;color:var(--color-dark);}
.field .hint{font-size:.82rem;color:var(--color-muted);font-weight:400;}
.field input,.field textarea,.field select{
  border:1.5px solid var(--color-border);border-radius:var(--radius-sm);padding:.8rem .9rem;
  background:var(--color-surface);color:var(--color-text);font-size:1rem;
}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--color-primary);}
.field.has-error input,.field.has-error textarea,.field.has-error select{border-color:#c62828;}
.error-msg{color:#c62828;font-size:.85rem;font-weight:600;display:none;}
.field.has-error .error-msg{display:block;}
.form-success{
  background:var(--color-accent-soft);border:1px solid var(--color-accent);border-radius:var(--radius-md);
  padding:1.5rem;display:none;
}
.form-success.is-visible{display:block;}
.contact-form.is-submitted .form-fields{display:none;}

/* ---------- Contact info cards ---------- */
.contact-info{display:flex;flex-direction:column;gap:1rem;}
.contact-row{display:flex;gap:.9rem;align-items:flex-start;padding:1.1rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);}
.contact-row .icon{width:22px;height:22px;color:var(--color-primary);flex:none;margin-top:.15rem;}
.contact-row h4{margin-bottom:.15rem;}
.contact-row a{color:var(--color-primary);font-weight:700;}

/* ---------- Final CTA ---------- */
.final-cta{
  background:linear-gradient(135deg,var(--color-primary),var(--color-primary-dark));
  border-radius:var(--radius-lg);padding:clamp(2.5rem,6vw,4rem);text-align:center;color:#fff;
  display:flex;flex-direction:column;align-items:center;gap:1.4rem;
}
.final-cta h2{color:#fff;max-width:28ch;}
.final-cta .actions{display:flex;flex-wrap:wrap;gap:.9rem;justify-content:center;}

/* ---------- Footer ---------- */
.site-footer{background:var(--color-dark);color:rgba(255,255,255,.82);padding:4rem 0 2rem;}
.footer-top{display:grid;gap:2.5rem;margin-bottom:3rem;}
@media (min-width:800px){.footer-top{grid-template-columns:1.3fr 1fr 1fr 1fr;}}
.footer-brand .brand{color:#fff;margin-bottom:.9rem;}
.footer-brand p{color:rgba(255,255,255,.68);font-size:.95rem;max-width:32ch;}
.footer-social{display:flex;gap:.6rem;margin-top:1.25rem;}
.footer-social a{
  width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;
}
.footer-social a:hover{background:var(--color-accent);}
.footer-social .icon{width:17px;height:17px;color:#fff;}
.footer-col h4{color:#fff;font-size:.85rem;letter-spacing:.06em;text-transform:uppercase;margin-bottom:1rem;}
.footer-col ul{display:flex;flex-direction:column;gap:.6rem;}
.footer-col a{color:rgba(255,255,255,.72);font-size:.94rem;}
.footer-col a:hover{color:var(--color-gold);}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.14);padding-top:1.75rem;display:flex;flex-wrap:wrap;gap:1rem;
  justify-content:space-between;font-size:.85rem;color:rgba(255,255,255,.6);
}
.footer-bottom a{color:rgba(255,255,255,.6);text-decoration:underline;text-underline-offset:3px;}

/* ---------- Content width (Gutenberg alignwide/alignfull + Elementor) ----------
   Unaligned blocks are constrained to a comfortable reading width; blocks
   marked "wide" or "full" in the block editor toolbar break out, and any
   Elementor section (which renders its own width) is left untouched. */
.entry-content > *{max-width:var(--container);margin-left:auto;margin-right:auto;padding-inline:1.5rem;}
@media (min-width:768px){.entry-content > *{padding-inline:2.5rem;}}
.entry-content > .alignwide{max-width:calc(var(--container) + 6rem);}
.entry-content > .alignfull{max-width:none;padding-inline:0;}
.entry-content > .elementor,
.entry-content > [data-elementor-type]{max-width:none;padding-inline:0;margin:0;}
.entry-content > .hero,
.entry-content > .trust-strip,
.entry-content > .section,
.entry-content > .section-alt,
.entry-content > .section-dark,
.entry-content > .page-hero,
.entry-content > .split,
.entry-content > .subnav{max-width:none;padding-inline:0;margin:0;}

/* The native-block pages nest content directly inside the full-bleed
   wrappers above (no separate .container div, unlike the static export).
   Re-apply the container treatment one level down so text doesn't run
   edge-to-edge on wide screens. */
.entry-content > .hero > *,
.entry-content > .trust-strip > *,
.entry-content > .section > *,
.entry-content > .section-alt > *,
.entry-content > .section-dark > *,
.entry-content > .page-hero > *,
.entry-content > .split > *{
  max-width:var(--container);
  margin-left:auto;
  margin-right:auto;
  padding-inline:1.5rem;
  box-sizing:border-box;
}
@media (min-width:768px){
  .entry-content > .hero > *,
  .entry-content > .trust-strip > *,
  .entry-content > .section > *,
  .entry-content > .section-alt > *,
  .entry-content > .section-dark > *,
  .entry-content > .page-hero > *,
  .entry-content > .split > *{
    padding-inline:2.5rem;
  }
}
/* .container elements that already carry their own class keep exactly
   one set of side padding, not two stacked sets. */
.entry-content > .hero > .container,
.entry-content > .trust-strip > .container,
.entry-content > .section > .container,
.entry-content > .section-alt > .container,
.entry-content > .section-dark > .container,
.entry-content > .page-hero > .container,
.entry-content > .split > .container{
  padding-inline:0;
}

/* Widget-area menus in the footer columns, and the footer bottom menu */
.footer-col ul.menu{display:flex;flex-direction:column;gap:.6rem;list-style:none;margin:0;padding:0;}
.footer-bottom-menu{display:flex;flex-wrap:wrap;gap:1rem;list-style:none;margin:0;padding:0;}
.footer-bottom-menu li{display:inline;}
.footer-bottom-menu a{color:rgba(255,255,255,.6);text-decoration:underline;text-underline-offset:3px;}
.footer-bottom-menu a:hover{color:var(--color-gold);}

/* ---------- Elementor container bridge ----------
   Elementor wraps every container's children in an extra .e-con-inner
   div. The grid-layout classes below were written assuming their
   grid-template-columns applies to direct children, so on Elementor
   pages that rule has to target one level deeper. Values match the
   original class definitions exactly, just retargeted. */
.e-con.hero-grid,
.e-con.trust-grid,
.e-con.split-grid,
.e-con.help-overview,
.e-con.involve-grid,
.e-con.two-col-text,
.e-con.service-cols,
.e-con.resource-grid,
.e-con.people-grid{display:block;}
.e-con.hero-grid > .e-con-inner{display:grid;gap:2.75rem;align-items:center;}
@media (min-width:960px){.e-con.hero-grid > .e-con-inner{grid-template-columns:1.05fr .95fr;gap:3.5rem;}}
.e-con.trust-grid > .e-con-inner{display:grid;gap:1.75rem;text-align:center;}
@media (min-width:700px){.e-con.trust-grid > .e-con-inner{grid-template-columns:repeat(3,1fr);text-align:left;}}
.e-con.split-grid > .e-con-inner{display:grid;gap:2.5rem;align-items:center;}
@media (min-width:960px){.e-con.split-grid > .e-con-inner{grid-template-columns:1fr 1fr;gap:4rem;}}
.e-con.split-grid.reverse > .e-con-inner > .e-con:first-child{order:2;}
.e-con.help-overview > .e-con-inner{display:grid;gap:1.5rem;}
@media (min-width:700px){.e-con.help-overview > .e-con-inner{grid-template-columns:repeat(2,1fr);}}
@media (min-width:960px){
  .e-con.help-overview > .e-con-inner{grid-template-columns:repeat(6,1fr);grid-auto-rows:1fr;}
  .e-con.help-overview > .e-con-inner > .card:nth-child(1){grid-column:span 3;}
  .e-con.help-overview > .e-con-inner > .card:nth-child(2){grid-column:span 3;}
  .e-con.help-overview > .e-con-inner > .card:nth-child(3){grid-column:span 2;}
  .e-con.help-overview > .e-con-inner > .card:nth-child(4){grid-column:span 2;}
  .e-con.help-overview > .e-con-inner > .card:nth-child(5){grid-column:span 2;}
}
.e-con.involve-grid > .e-con-inner{display:grid;gap:1.5rem;}
@media (min-width:700px){.e-con.involve-grid > .e-con-inner{grid-template-columns:repeat(2,1fr);}}
@media (min-width:1100px){.e-con.involve-grid > .e-con-inner{grid-template-columns:repeat(4,1fr);}}
.e-con.two-col-text > .e-con-inner{display:grid;gap:2rem;}
@media (min-width:860px){.e-con.two-col-text > .e-con-inner{grid-template-columns:1fr 1fr;}}
.e-con.service-cols > .e-con-inner{display:grid;gap:2rem;margin-top:1.5rem;}
@media (min-width:900px){.e-con.service-cols > .e-con-inner{grid-template-columns:1.3fr .9fr;}}
.e-con.resource-grid > .e-con-inner{display:grid;gap:1.25rem;}
@media (min-width:700px){.e-con.resource-grid > .e-con-inner{grid-template-columns:repeat(2,1fr);}}
.e-con.people-grid > .e-con-inner{display:grid;gap:1.1rem;}
@media (min-width:600px){.e-con.people-grid > .e-con-inner{grid-template-columns:repeat(2,1fr);}}
@media (min-width:900px){.e-con.people-grid > .e-con-inner{grid-template-columns:repeat(3,1fr);}}

/* Button widget: Elementor puts our _css_classes on the widget WRAPPER
   div, not the inner <a>, so style the real link through it. */
.elementor-widget-button.btn .elementor-button{
  display:inline-flex;align-items:center;justify-content:center;gap:.55rem;
  font-family:var(--font-display);font-weight:700;font-size:.98rem;
  padding:.9rem 1.6rem;border-radius:999px;border:2px solid transparent;
  min-height:48px;background:var(--color-primary);color:#fff;
  transition:transform .12s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.elementor-widget-button.btn .elementor-button:hover{transform:translateY(-1px);background:var(--color-primary-dark);}
.elementor-widget-button.btn-primary .elementor-button{background:var(--color-primary);color:#fff;}
.elementor-widget-button.btn-primary .elementor-button:hover{background:var(--color-primary-dark);}
.elementor-widget-button.btn-accent .elementor-button{background:var(--color-accent);color:#1a1103;}
.elementor-widget-button.btn-accent .elementor-button:hover{background:var(--color-accent-dark);color:#1a1103;}
.elementor-widget-button.btn-outline .elementor-button{background:transparent;border-color:currentColor;color:var(--color-primary);}
.elementor-widget-button.btn-outline .elementor-button:hover{background:var(--color-primary);color:#fff;}
.section-dark .elementor-widget-button.btn-outline .elementor-button{color:#fff;}
.section-dark .elementor-widget-button.btn-outline .elementor-button:hover{background:#fff;color:var(--color-primary);}
.elementor-widget-button.btn-ghost .elementor-button{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.4);}
.elementor-widget-button.btn-ghost .elementor-button:hover{background:rgba(255,255,255,.22);}
.elementor-widget-button.btn-sm .elementor-button{padding:.6rem 1.15rem;font-size:.88rem;min-height:auto;}

/* Heading/text widgets: our label classes (eyebrow, lead, who-for, etc.)
   land on the Elementor widget wrapper; make sure they still read right
   applied one level above the actual <h#>/<p>. */
.elementor-widget.eyebrow{
  display:inline-flex;align-items:center;gap:.5rem;
  font-family:var(--font-display);font-weight:700;font-size:.78rem;
  letter-spacing:.11em;text-transform:uppercase;color:var(--color-accent-dark);
  margin-bottom:.85rem;
}
.section-dark .elementor-widget.eyebrow{color:var(--color-gold);}
.elementor-widget.eyebrow::before{content:"";width:22px;height:2px;background:currentColor;border-radius:2px;flex:none;}
.elementor-widget.lead{font-size:1.15rem;color:var(--color-muted);}
.elementor-widget.who-for{
  display:inline-flex;align-items:center;gap:.4rem;font-size:.85rem;font-weight:700;color:var(--color-primary);
  background:#eaf4f9;padding:.35rem .75rem;border-radius:999px;margin-bottom:.9rem;
}
.elementor-widget.breadcrumb{font-size:.85rem;color:var(--color-gold);font-weight:700;margin-bottom:.9rem;letter-spacing:.03em;text-transform:uppercase;}
.elementor-widget.pull-quote{
  border-left:4px solid var(--color-accent);padding:.25rem 0 .25rem 1.4rem;margin:1.75rem 0;
  font-family:var(--font-display);font-size:1.25rem;font-weight:700;color:var(--color-dark);
}
.section-dark .elementor-widget.pull-quote{border-left-color:var(--color-gold);color:#fff;}
.elementor-widget.trust-num{font-family:var(--font-display);font-weight:800;font-size:clamp(2rem,4vw,2.6rem);color:var(--color-gold);}
.elementor-widget.trust-label{color:rgba(255,255,255,.82);font-size:.98rem;max-width:22ch;}
.elementor-widget.card-link{margin-top:auto;display:inline-flex;align-items:center;gap:.4rem;font-weight:700;color:var(--color-primary);font-size:.94rem;}
.elementor-widget.tag{font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--color-muted);}

/* Elementor accordion widget dressed in our FAQ look */
.faq-accordion .elementor-accordion-item{border-bottom:1px solid var(--color-border);}
.faq-accordion .elementor-tab-title{
  font-family:var(--font-display);font-weight:700;font-size:1.02rem;color:var(--color-dark);
  padding:1.1rem 0;cursor:pointer;
}
.faq-accordion .elementor-tab-content{padding-bottom:1.1rem;color:var(--color-muted);}
.faq-accordion .elementor-accordion-icon{color:var(--color-accent-dark);}

/* Elementor container acting as a plain content wrapper (people/person rows) */
.e-con.person{display:flex;align-items:center;gap:.9rem;padding:1rem;border:1px solid var(--color-border);border-radius:var(--radius-md);background:var(--color-surface);}
.e-con.person > .e-con-inner{display:flex;align-items:center;gap:.9rem;}

/* ---------- Reveal animation ---------- */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .5s ease, transform .5s ease;}
.reveal.is-visible{opacity:1;transform:translateY(0);}

/* ---------- Page hero (interior pages) ---------- */
.page-hero{background:var(--color-primary);color:#fff;padding:clamp(2.75rem,6vw,4rem) 0 clamp(2rem,4vw,2.75rem);}
.page-hero h1{color:#fff;margin-bottom:.75rem;}
.page-hero p{color:rgba(255,255,255,.85);max-width:56ch;}
.breadcrumb{font-size:.85rem;color:var(--color-gold);font-weight:700;margin-bottom:.9rem;letter-spacing:.03em;text-transform:uppercase;}

.two-col-text{display:grid;gap:2rem;}
@media (min-width:860px){.two-col-text{grid-template-columns:1fr 1fr;}}

.note-box{
  background:var(--color-accent-soft);border:1px solid var(--color-accent);border-radius:var(--radius-md);
  padding:1.2rem 1.4rem;font-size:.92rem;color:var(--color-text);
}
.note-box strong{color:var(--color-accent-dark);}
