/* HumanConnect Services
   Design is fixed here; the words come from the admin.
   Red is reserved for calls to action and rare emphasis - if you find yourself
   adding a fourth use of it on a page, use blue instead. */

:root{
  --ground:#FAF8F5;        /* warm off-white */
  --ground-2:#F3EFE9;      /* banded sections */
  --ink:#22282E;           /* deep slate, never pure black */
  --ink-soft:#4C555E;
  --ink-faint:#7A838C;
  --blue:#0077A8;
  --blue-dark:#005E86;
  --red:#C8202E;
  --red-dark:#A81826;
  --rule:#E2DCD3;
  --measure:34rem;         /* comfortable reading width */
  --serif:'Source Serif 4',Georgia,'Times New Roman',serif;
  --sans:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--ground);
  color:var(--ink);
  font-family:var(--sans);
  font-size:1.0625rem;
  line-height:1.65;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{font-family:var(--serif);font-weight:600;line-height:1.15;letter-spacing:-0.01em;margin:0}
h1{font-size:clamp(2.1rem,5vw,3.4rem)}
h2{font-size:clamp(1.55rem,3vw,2.1rem)}
h3{font-size:1.2rem;font-family:var(--sans);font-weight:600;letter-spacing:0}
p{margin:0 0 1.1em}
a{color:var(--blue);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{color:var(--blue-dark)}

.skip{position:absolute;left:-9999px}
.skip:focus{left:1rem;top:1rem;background:#fff;padding:.6rem 1rem;z-index:100;border-radius:3px}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px}

.wrap{max-width:64rem;margin:0 auto;padding:0 1.5rem}
.measure{max-width:var(--measure)}

/* Header ---------------------------------------------------------------- */
.site-head{padding:1.6rem 0;border-bottom:1px solid var(--rule);background:var(--ground)}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:2rem}
.brand{display:inline-flex;align-items:center}
.brand img{display:block;height:44px;width:auto}
.nav{display:flex;gap:1.6rem;align-items:center;flex-wrap:wrap}
.nav a{
  font-size:.95rem;color:var(--ink-soft);text-decoration:none;
  padding-bottom:2px;border-bottom:2px solid transparent;
}
.nav a:hover{color:var(--ink)}
.nav a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--blue)}

/* Sections -------------------------------------------------------------- */
main{display:block}
section{padding:4.5rem 0}
section+section{border-top:1px solid var(--rule)}
.band{background:var(--ground-2);border-top:1px solid var(--rule)}
.band+section{border-top:1px solid var(--rule)}

.hero{padding:6.5rem 0 5rem}
.hero h1{max-width:18ch}
.hero .lede{
  font-family:var(--serif);font-size:clamp(1.15rem,2.2vw,1.4rem);
  line-height:1.55;color:var(--ink-soft);max-width:44ch;margin-top:1.6rem;
}
.hero .lede p:last-child{margin-bottom:0}
.hero .lede p:last-child:not(:only-child){color:var(--ink);font-weight:600}

.eyebrow{
  font-family:var(--sans);font-size:.78rem;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--blue);
  margin:0 0 1rem;
}
.standfirst{font-family:var(--serif);font-size:1.3rem;line-height:1.5;color:var(--ink-soft);max-width:46ch}

/* Evidence blocks ------------------------------------------------------- */
.proofs{display:grid;gap:2.5rem;margin-top:2.8rem}
@media(min-width:52rem){.proofs{grid-template-columns:repeat(3,1fr);gap:2.6rem}}
.proof{border-top:3px solid var(--blue);padding-top:1.1rem}
.proof:nth-child(2){border-top-color:var(--red)}
.proof h3{margin-bottom:.5rem}
.proof p{color:var(--ink-soft);margin-bottom:0;font-size:1rem}

/* Areas ----------------------------------------------------------------- */
.areas{margin-top:2.5rem;display:grid;gap:3rem}
.area{display:grid;gap:.5rem}
@media(min-width:52rem){
  .area{grid-template-columns:14rem 1fr;gap:2.5rem;align-items:start}
}
.area h2{font-size:1.45rem}
.area .body{max-width:var(--measure)}
.area .body p:last-child{margin-bottom:0}

/* Prose ----------------------------------------------------------------- */
.prose{max-width:var(--measure);margin-top:2rem}
.prose p{margin-bottom:1.35em}
.prose p:last-child{margin-bottom:0}

/* Buttons and links ----------------------------------------------------- */
.actions{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2rem}
.btn{
  display:inline-block;padding:.8rem 1.5rem;border-radius:2px;
  font-family:var(--sans);font-size:.98rem;font-weight:600;
  text-decoration:none;border:1.5px solid transparent;cursor:pointer;
}
.btn-primary{background:var(--red);color:#fff;border-color:var(--red)}
.btn-primary:hover{background:var(--red-dark);border-color:var(--red-dark);color:#fff}
.btn-quiet{background:transparent;color:var(--blue);border-color:var(--rule)}
.btn-quiet:hover{border-color:var(--blue);color:var(--blue-dark)}

.arrow-link{font-weight:500;text-decoration:none;border-bottom:1px solid var(--rule)}
.arrow-link:hover{border-bottom-color:var(--blue)}
.arrow-link::after{content:" \2192"}

/* Businesses (About) ---------------------------------------------------- */
.businesses{margin-top:2.5rem;display:grid;gap:2rem}
@media(min-width:52rem){.businesses{grid-template-columns:1fr 1fr;gap:2.5rem 3rem}}
.business{border-left:3px solid var(--rule);padding-left:1.25rem}
.business h3{margin-bottom:.35rem}
.business p{color:var(--ink-soft);margin-bottom:0;font-size:1rem}

/* Form ------------------------------------------------------------------ */
.form{max-width:36rem;margin-top:2.2rem}
.field{margin-bottom:1.5rem}
.field label{display:block;font-weight:600;font-size:.95rem;margin-bottom:.4rem}
.field .hint{display:block;font-weight:400;color:var(--ink-faint);font-size:.88rem;margin-top:.15rem}
.field input,.field textarea{
  width:100%;padding:.75rem .85rem;font:inherit;font-size:1rem;
  color:var(--ink);background:#fff;border:1.5px solid var(--rule);border-radius:2px;
}
.field input:focus,.field textarea:focus{border-color:var(--blue);outline:none;box-shadow:0 0 0 3px rgba(0,119,168,.12)}
.field textarea{min-height:9rem;resize:vertical}
.field .err{color:var(--red);font-size:.9rem;margin-top:.35rem}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{border-color:var(--red)}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.notice{
  border-left:3px solid var(--blue);background:#fff;
  padding:1.2rem 1.4rem;margin-top:1.5rem;max-width:36rem;
}
.notice h2{font-size:1.25rem;margin-bottom:.4rem}
.notice p:last-child{margin-bottom:0}

.contact-details{margin-top:2.5rem;padding-top:1.5rem;border-top:1px solid var(--rule);max-width:36rem}
.contact-details dt{font-size:.8rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-faint);font-weight:600}
.contact-details dd{margin:.2rem 0 1rem;font-size:1.05rem}

/* Footer ---------------------------------------------------------------- */
.site-foot{border-top:1px solid var(--rule);padding:3rem 0 3.5rem;margin-top:0;background:var(--ground-2)}
.site-foot .cols{display:grid;gap:2rem}
@media(min-width:46rem){.site-foot .cols{grid-template-columns:2fr 1fr 1fr}}
.site-foot h2{font-family:var(--sans);font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-faint);font-weight:600;margin-bottom:.8rem}
.site-foot ul{list-style:none;margin:0;padding:0}
.site-foot li{margin-bottom:.45rem}
.site-foot a{color:var(--ink-soft);text-decoration:none;font-size:.95rem}
.site-foot a:hover{color:var(--blue)}
.site-foot .tagline{font-family:var(--serif);font-size:1.05rem;color:var(--ink-soft);max-width:26ch;margin:.9rem 0 0}
.site-foot img{height:38px;width:auto;display:block}
.colophon{margin-top:2.5rem;padding-top:1.3rem;border-top:1px solid var(--rule);font-size:.85rem;color:var(--ink-faint);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.colophon a{font-size:.85rem}

@media print{.site-head,.site-foot,.actions{display:none}body{background:#fff}}
