/* ==========================================================================
   YOUR CARE COORDINATORS — site stylesheet
   Built to YCC Brand Guide v1.0 (August 2026) and homepage direction 1a.

   · Lora (headings, pull quotes) + Nunito Sans (body, UI)
   · Heart Purple #643AA7 · Care Teal #05A29E · Deep Navy #0B2A5F
   · Teal owns interaction. Navy carries text and structure. Purple is the
     warm spot colour, used sparingly. White space is the fourth colour.
   · Text-bearing teal is stepped down to #04837F / #036B68 so every
     foreground/background pair clears WCAG AA.
   ========================================================================== */

:root{
  /* Brand */
  --purple:      #643AA7;
  --teal:        #05A29E;
  --navy:        #0B2A5F;

  /* Accessible steps of the brand colours (used wherever text is involved) */
  --purple-deep: #46297A;
  --teal-btn:    #04837F;   /* 4.6:1 with white */
  --teal-deep:   #036B68;   /* 6.4:1 with white */

  /* Supporting tints, straight from the guide */
  --purple-10:   #EFEAF7;
  --purple-30:   #D4C7EA;
  --teal-10:     #E3F5F4;
  --teal-35:     #A8DEDC;
  --navy-08:     #E7EBF2;
  --slate:       #5A6B85;

  --ink:         #0B2A5F;
  --body-text:   #4A5A75;
  --line:        #E7EBF2;
  --line-strong: #C9D3E4;
  --white:       #FFFFFF;

  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --sans:  'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(11,42,95,.06);
  --shadow:    0 4px 18px rgba(11,42,95,.08);
  --shadow-lg: 0 18px 44px -22px rgba(11,42,95,.34);

  --wrap: 1180px;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:var(--sans);
  font-size:16px;
  line-height:1.7;
  color:var(--body-text);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{color:var(--ink);margin:0 0 .5em;text-wrap:pretty}
h1,h2{font-family:var(--serif);font-weight:600;line-height:1.14;letter-spacing:-.01em}
h1{font-size:clamp(2.1rem,4.6vw,3.125rem)}
h2{font-size:clamp(1.65rem,3.2vw,2rem)}
h3{font-family:var(--serif);font-weight:600;font-size:1.25rem;line-height:1.35}
h4{font-size:1rem;font-weight:800}
p{margin:0 0 1.1em;max-width:68ch}
p:last-child{margin-bottom:0}
img{max-width:100%;display:block}

a{color:var(--teal-deep);text-underline-offset:3px}
a:hover{color:var(--purple-deep)}

:focus-visible{outline:3px solid var(--purple);outline-offset:3px;border-radius:6px}

.wrap{width:min(var(--wrap),calc(100% - 3rem));margin-inline:auto}
.section{padding:clamp(3rem,6vw,4.75rem) 0}
.section--tight{padding:clamp(2.25rem,4vw,3.25rem) 0}
.center{text-align:center}
.lede{font-size:1.0625rem;line-height:1.75}
.measure{max-width:44rem}
.mt-0{margin-top:0}

.skip{position:absolute;left:-9999px;top:0;z-index:400;background:var(--navy);color:#fff;
  padding:.85rem 1.35rem;font-weight:800;border-radius:0 0 var(--r-sm) 0;text-decoration:none}
.skip:focus{left:0}

.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}

/* ------------------------------- Eyebrow --------------------------------- */
.eyebrow{
  font-weight:800;font-size:.78125rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--teal-deep);margin:0 0 .625rem;
}
.eyebrow--purple{color:var(--purple)}

/* -------------------------------- Buttons -------------------------------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  font:inherit;font-weight:800;font-size:.96875rem;line-height:1.2;text-decoration:none;
  padding:.9375rem 1.75rem;border-radius:999px;border:2px solid transparent;cursor:pointer;
  min-height:52px;white-space:nowrap;
  transition:background-color .2s,color .2s,border-color .2s,transform .2s,box-shadow .2s;
}
.btn i{font-size:1.15em}
.btn--primary{background:var(--teal-btn);color:#fff;box-shadow:0 10px 22px -14px rgba(3,107,104,.9)}
.btn--primary:hover{background:var(--teal-deep);color:#fff;transform:translateY(-2px)}
.btn--ghost{background:transparent;color:var(--navy);border-color:var(--line-strong)}
.btn--ghost:hover{background:var(--navy-08);color:var(--navy);border-color:var(--teal);transform:translateY(-2px)}
.btn--onnavy{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}
.btn--onnavy:hover{background:rgba(255,255,255,.12);color:#fff;border-color:#fff}
.btn--sm{min-height:44px;padding:.6875rem 1.375rem;font-size:.90625rem}
.btn--block{width:100%}

.textlink{font-weight:800;font-size:.875rem;text-decoration:none;color:var(--teal-deep);white-space:nowrap}
.textlink:hover{text-decoration:underline}

/* -------------------------------- Header --------------------------------- */
.header{position:sticky;top:0;z-index:200;background:rgba(255,255,255,.94);
  backdrop-filter:saturate(160%) blur(12px);border-bottom:1px solid transparent;transition:box-shadow .25s,border-color .25s}
.header.is-stuck{border-bottom-color:var(--line);box-shadow:0 10px 26px -22px rgba(11,42,95,.7)}
.header__inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding:.75rem 0}
.header__logo{flex:none;display:block}
.header__logo img{height:48px;width:auto}

.nav{display:flex;align-items:center;gap:1.625rem;flex-wrap:nowrap}
.nav a{color:var(--navy);text-decoration:none;font-weight:600;font-size:.90625rem;position:relative;
  padding:.25rem 0;white-space:nowrap;flex:none}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;background:var(--teal);
  border-radius:2px;transform:scaleX(0);transform-origin:left;transition:transform .25s ease}
.nav a:hover{color:var(--teal-deep)}
.nav a:hover::after,.nav a[aria-current="page"]::after{transform:scaleX(1)}
.nav a[aria-current="page"]{color:var(--teal-deep)}
/* the button is also a .nav a, so restore what the nav-link rule above overrode */
.nav .btn{flex:none;padding:.6875rem 1.375rem;font-weight:800;color:#fff}
.nav .btn:hover{color:#fff}
.nav .btn::after{display:none}

.nav__login{display:inline-flex;align-items:center;gap:.4rem;font-weight:700}
.nav__login i{font-size:1.15rem;color:var(--teal-deep)}
.nav__login::after{display:none!important}

.nav__toggle{display:none;align-items:center;gap:.5rem;background:#fff;border:1.5px solid var(--line-strong);
  border-radius:999px;padding:.625rem 1rem;font:inherit;font-weight:800;font-size:.90625rem;color:var(--navy);cursor:pointer}
.nav__toggle i{font-size:1.25rem;color:var(--teal-deep)}

/* --------------------------------- Hero ---------------------------------- */
.hero{background:var(--white);overflow:hidden}
.hero__inner{display:grid;grid-template-columns:1.05fr 1fr;gap:clamp(2rem,5vw,3.5rem);align-items:center;
  padding:clamp(2.5rem,5vw,3.5rem) 0 clamp(3rem,6vw,4rem)}
.hero__lede{max-width:29rem;font-size:1.0625rem;line-height:1.7}
.hero__actions{display:flex;flex-wrap:wrap;gap:.875rem;margin:1.75rem 0 0}
.hero__note{display:flex;align-items:center;gap:.5rem;font-size:.8125rem;color:var(--slate);margin:1.5rem 0 0}
.hero__note i{font-size:1.1875rem;color:var(--teal-deep)}

.hero__art{position:relative}
.hero__art::before,.hero__art::after{content:"";position:absolute;border-radius:50%;z-index:0}
.hero__art::before{width:230px;height:230px;background:var(--purple-10);top:-34px;right:-24px}
.hero__art::after{width:130px;height:130px;background:var(--teal-10);bottom:-28px;left:-30px}
.hero__art img{position:relative;z-index:1;width:100%;height:min(400px,52vw);object-fit:cover;
  border-radius:var(--r-lg);background:linear-gradient(150deg,var(--teal-10),var(--purple-10))}

/* Photo frame used across the site (guide: soft rounded frames, no heavy borders) */
.photo{border-radius:var(--r-lg);overflow:hidden;background:var(--navy-08)}
.photo img{width:100%;height:100%;object-fit:cover}

/* ---------------------------- Tinted step cards --------------------------- */
.grid{display:grid;gap:1.25rem}
.grid--3{grid-template-columns:repeat(3,1fr)}
.grid--4{grid-template-columns:repeat(4,1fr);gap:1.125rem}
.grid--2{grid-template-columns:repeat(2,1fr);gap:1.5rem}

.steps{list-style:none;padding:0;margin:0}
.stepcard{border-radius:var(--r);padding:1.75rem;height:100%}
.stepcard i{font-size:2.375rem;line-height:1}
.stepcard h3{margin:.875rem 0 .5rem}
.stepcard p{font-size:.90625rem;line-height:1.65;margin:0}
.stepcard--purple{background:var(--purple-10)}
.stepcard--purple i{color:var(--purple)}
.stepcard--teal{background:var(--teal-10)}
.stepcard--teal i{color:var(--teal-deep)}
.stepcard--navy{background:var(--navy-08)}
.stepcard--navy i{color:var(--navy)}

/* ------------------------------ Service cards ----------------------------- */
.sectionhead{display:flex;justify-content:space-between;align-items:baseline;gap:1.5rem;margin-bottom:.375rem}
.cards{list-style:none;padding:0;margin:0}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.5rem;height:100%;
  display:flex;flex-direction:column;transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
a.card,.card--link{text-decoration:none;color:inherit}
.card:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--teal-35)}
.card i{font-size:2rem;line-height:1;color:var(--teal)}
.card:nth-child(2) i{color:var(--purple)}
.card:nth-child(4) i{color:var(--navy)}
.card h3{font-family:var(--sans);font-weight:800;font-size:1rem;line-height:1.35;margin:.875rem 0 .375rem}
.card p{font-size:.84375rem;line-height:1.6;margin:0}
.card .textlink{margin-top:auto;padding-top:1rem}

/* --------------------------------- Vanessa -------------------------------- */
.coordinator{display:grid;grid-template-columns:300px 1fr;gap:3rem;align-items:center}
.coordinator__photo{position:relative}
.coordinator__photo::before{content:"";position:absolute;width:110px;height:110px;background:var(--teal-10);
  border-radius:50%;top:-20px;left:-22px}
.coordinator__photo .photo{position:relative;z-index:1;height:340px;border-radius:22px}
.coordinator__photo img{object-position:56% 22%}
.role{font-size:.875rem;font-weight:800;color:var(--purple);letter-spacing:.03em;margin:0 0 1rem}

.pills{list-style:none;display:flex;flex-wrap:wrap;gap:.625rem;padding:0;margin:1.375rem 0 0}
.pills li{font-size:.78125rem;font-weight:800;border-radius:999px;padding:.5rem 1rem;
  background:var(--teal-10);color:var(--teal-deep)}
.pills li:nth-child(2n){background:var(--purple-10);color:var(--purple-deep)}
.pills li:nth-child(3n){background:var(--navy-08);color:var(--navy)}

/* ------------------------------- Pull quote ------------------------------- */
.quoteband{background:var(--purple-10)}
.quoteband .wrap{display:grid;grid-template-columns:90px 1fr;gap:1.625rem;align-items:start;
  padding-block:clamp(2.5rem,5vw,3.5rem)}
.quoteband img{width:90px;height:90px;border-radius:50%;object-fit:cover;background:var(--purple-30)}
.quoteband blockquote{margin:0}
.quoteband blockquote p{font-family:var(--serif);font-style:italic;font-size:clamp(1.15rem,2.4vw,1.5rem);
  line-height:1.5;color:var(--purple-deep);margin:0 0 .875rem;max-width:48rem}
.quoteband cite{font-style:normal;font-size:.84375rem;font-weight:600;color:var(--slate)}

/* ------------------------------- Referral band ---------------------------- */
.referral{display:flex;justify-content:space-between;align-items:center;gap:2.5rem}
.referral p.lead{font-family:var(--serif);font-weight:600;font-size:clamp(1.25rem,2.4vw,1.625rem);
  line-height:1.35;color:var(--ink);margin:0;max-width:39rem}

/* --------------------------------- Contact -------------------------------- */
.contactband{background:var(--teal-10)}
.contactband .wrap{display:grid;grid-template-columns:1fr 1.3fr;gap:3.5rem;align-items:start;
  padding-block:clamp(3rem,6vw,4rem)}
.contactlist{list-style:none;padding:0;margin:1.625rem 0 0;display:flex;flex-direction:column;gap:.875rem;
  font-size:.90625rem;font-weight:600;color:var(--navy)}
.contactlist li{display:flex;align-items:center;gap:.625rem}
.contactlist i{font-size:1.25rem;color:var(--teal-deep);flex:none}
.contactlist a{color:var(--navy);text-decoration:none}
.contactlist a:hover{color:var(--teal-deep);text-decoration:underline}

.formcard{background:#fff;border-radius:18px;padding:clamp(1.5rem,3vw,2rem);box-shadow:var(--shadow)}
.form{display:flex;flex-direction:column;gap:1rem}
.form__row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.field{display:flex;flex-direction:column;gap:.375rem}
.field > span,.field > label,.fieldset__legend{font-size:.8125rem;font-weight:800;color:var(--navy)}
.field input,.field textarea,.field select{
  font-family:var(--sans);font-size:.90625rem;padding:.75rem .875rem;border:1.5px solid var(--line-strong);
  border-radius:var(--r-sm);color:#22314e;background:#fff;width:100%;min-height:48px;
  transition:border-color .2s,box-shadow .2s}
.field textarea{resize:vertical;min-height:112px}
.field input::placeholder,.field textarea::placeholder{color:#94A3B8}
.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--teal);
  box-shadow:0 0 0 4px rgba(5,162,158,.18);outline:none}

.fieldset{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}
.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chip input{position:absolute;opacity:0;width:1px;height:1px}
.chip span{display:inline-block;border:1.5px solid var(--line-strong);color:var(--body-text);
  padding:.5rem 1rem;border-radius:999px;font-weight:700;font-size:.8125rem;cursor:pointer;
  transition:background-color .2s,border-color .2s,color .2s}
.chip:hover span{border-color:var(--teal)}
.chip input:checked + span{background:var(--teal-10);border-color:var(--teal);color:var(--teal-deep)}
.chip input:focus-visible + span{outline:3px solid var(--purple);outline-offset:3px}

.form__foot{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}
.form__note{font-size:.75rem;color:var(--slate);margin:0;max-width:20rem}
.formstatus{margin:0;font-size:.875rem;font-weight:700;color:var(--teal-deep)}
.formstatus:empty{display:none}

/* ---------------------------------- FAQ ----------------------------------- */
.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;padding:1.125rem 2.5rem 1.125rem 0;position:relative;
  font-weight:800;font-size:1rem;color:var(--navy)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"\002B";position:absolute;right:.5rem;top:50%;transform:translateY(-50%);
  font-size:1.375rem;font-weight:400;color:var(--teal-deep);line-height:1}
.faq details[open] summary::after{content:"\2212"}
.faq summary:hover{color:var(--teal-deep)}
.faq .faq__body{padding:0 2.5rem 1.25rem 0}
.faq .faq__body p{font-size:.9375rem}

/* -------------------------------- Utilities ------------------------------- */
.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--r);padding:clamp(1.5rem,3vw,2rem)}
.panel--tint{background:var(--purple-10);border-color:transparent}
.panel--teal{background:var(--teal-10);border-color:transparent}
.bg-wash{background:#FAFBFD}
.checklist{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.75rem}
.checklist li{display:flex;gap:.75rem;align-items:flex-start;font-size:.9375rem}
.checklist i{color:var(--teal-deep);font-size:1.25rem;flex:none;line-height:1.4}
.hr{border:0;border-top:1px solid var(--line);margin:clamp(2rem,4vw,3rem) 0}

/* Page banner used on inner pages */
.pagehead{background:var(--navy-08)}
.pagehead .wrap{padding-block:clamp(2.5rem,5vw,3.5rem)}
.pagehead h1{margin-bottom:.5rem}
.pagehead p{font-size:1.0625rem;max-width:40rem;margin:0}
.breadcrumb{font-size:.8125rem;color:var(--slate);margin:0 0 .75rem}
.breadcrumb a{color:var(--slate);text-decoration:none;font-weight:600}
.breadcrumb a:hover{color:var(--teal-deep);text-decoration:underline}

/* --------------------------------- Footer --------------------------------- */
.footer{background:var(--navy);color:#fff;padding:clamp(2.75rem,5vw,3.75rem) 0 0;margin-top:0}
.footer__cta{display:flex;justify-content:space-between;align-items:center;gap:2.5rem;
  padding-bottom:2.75rem;border-bottom:1px solid rgba(255,255,255,.15)}
.footer__cta h2{font-size:1.625rem;color:#fff;margin:0 0 .375rem}
.footer__cta p{color:var(--teal-35);font-size:.90625rem;margin:0}
.footer__ctabtns{display:flex;gap:.75rem;flex:none;flex-wrap:wrap}

.footer__cols{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:2.5rem;padding:2.75rem 0}
.footer__brand p.wordmark{font-family:var(--serif);font-size:1.25rem;font-weight:600;margin:0 0 .25rem;color:#fff}
.footer__brand p.wordmark span{color:#C9B8E8}
.footer__brand p.tagline{font-family:var(--serif);font-style:italic;font-size:.84375rem;color:var(--teal-35);margin:0 0 .875rem}
.footer__brand p.blurb{font-size:.8125rem;line-height:1.7;color:#C9D3E4;max-width:19rem;margin:0}
.footer__social{display:flex;gap:.875rem;margin-top:1.125rem;font-size:1.25rem}
.footer__social a{color:var(--teal-35);text-decoration:none}
.footer__social a:hover{color:#fff}

.footer h2.footer__title,.footer p.footer__title{font-weight:800;font-size:.71875rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--teal-35);margin:0 0 .875rem}
.footer ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.625rem;
  font-size:.84375rem;color:#C9D3E4}
.footer ul li{display:flex;align-items:center;gap:.5rem}
.footer ul i{color:var(--teal-35);flex:none}
.footer a{color:#C9D3E4;text-decoration:none}
.footer a:hover{color:#fff;text-decoration:underline}
.footer__ack{font-size:.75rem;line-height:1.7;color:#8FA0BC;margin:0;padding-bottom:1.625rem;max-width:54rem}
.footer__legal{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;
  padding:1.125rem 0;border-top:1px solid rgba(255,255,255,.15);font-size:.75rem;color:#8FA0BC}
.footer__legal ul{flex-direction:row;gap:1.125rem;font-size:.75rem}
.footer__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem 1rem}
.footer__credit a{color:#C6D0E6;font-weight:700;text-decoration:none}
.footer__credit a:hover{color:#fff;text-decoration:underline}
.footer__legal a{color:#8FA0BC}

/* ------------------------------- Responsive ------------------------------- */
@media (max-width:1040px){
  .grid--4{grid-template-columns:repeat(2,1fr)}
  .footer__cols{grid-template-columns:1fr 1fr;gap:2rem}
}

@media (max-width:1020px){
  .header__inner{padding:.625rem 0}
  .header__logo img{height:42px}
  .nav__toggle{display:inline-flex}
  .nav{position:absolute;top:100%;left:0;right:0;display:none;flex-direction:column;align-items:stretch;
    gap:.25rem;background:#fff;border-bottom:1px solid var(--line);box-shadow:var(--shadow-lg);
    padding:1rem 1.5rem 1.5rem}
  .nav[data-open="true"]{display:flex}
  .nav a{padding:.75rem 0;font-size:1rem}
  .nav a::after{display:none}
  .nav .btn{margin-top:.5rem;justify-content:center}
  .nav__login{padding:.75rem 0}

  .hero__inner,.coordinator,.contactband .wrap,.grid--2{grid-template-columns:1fr}
  .hero__art{max-width:520px;margin-inline:auto;margin-top:1rem}
  .coordinator__photo{max-width:300px}
  .grid--3{grid-template-columns:1fr}
  .referral{flex-direction:column;align-items:flex-start;gap:1.25rem}
  .footer__cta{flex-direction:column;align-items:flex-start;gap:1.5rem}
}

@media (max-width:600px){
  .wrap{width:calc(100% - 2.25rem)}
  .header__logo img{height:34px}
  .grid--4{grid-template-columns:1fr}
  .form__row{grid-template-columns:1fr}
  .quoteband .wrap{grid-template-columns:1fr;gap:1.25rem}
  .footer__cols{grid-template-columns:1fr;gap:1.75rem}
  .footer__legal{flex-direction:column;align-items:flex-start}
  .btn{width:100%}
  .btn--sm,.footer__ctabtns .btn{width:auto}
  .hero__actions .btn{width:100%}
}

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

@media print{
  .header,.footer__cta,.nav__toggle,.formcard{display:none}
  body{color:#000}
}
