/* ============================================================
   GCX Health — site-wide styles
   Brand Standards v1.0: Deep Navy #0B2545 · Steel Blue #1B3A57
   Clinical Teal #2E7D8B · Warm Ivory #F8F6F1 · Charcoal #1A1A1A
   Muted Gold #B8923A (sparing) · Source Serif 4 + Source Sans 3
   ============================================================ */

:root{
  --navy:#0B2545;
  --steel:#1B3A57;
  --teal:#2E7D8B;
  --ivory:#F8F6F1;
  --charcoal:#1A1A1A;
  --gold:#B8923A;
  --mist:#B8C7D4;
  --teal-light:#7FB6C0;
  --line:#e3e0d8;
  --body-muted:#3c4956;
  --serif:'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:'Source Sans 3', Arial, Helvetica, sans-serif;
  --maxw:1140px;
  --navy-grad:radial-gradient(120% 160% at 50% -30%, #16385c 0%, var(--navy) 60%, #081d38 100%);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--sans);
  font-size:1.0625rem;
  line-height:1.65;
  color:var(--charcoal);
  background:var(--ivory);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,svg{max-width:100%;height:auto;}
a{color:var(--teal);}

.container{max-width:var(--maxw);margin:0 auto;padding-left:clamp(1.25rem,4vw,2.5rem);padding-right:clamp(1.25rem,4vw,2.5rem);}

/* ---------- Skip link ---------- */
.skip{
  position:absolute;left:-9999px;top:0;background:var(--navy);color:#fff;
  padding:.6rem 1rem;z-index:100;border-radius:0 0 6px 0;
}
.skip:focus{left:0;}

/* ---------- Header / nav ---------- */
.site-header{
  background:var(--navy);
  background:var(--navy-grad);
  position:sticky;top:0;z-index:50;
  box-shadow:0 1px 0 rgba(184,199,212,.18), 0 4px 18px rgba(8,29,56,.35);
}
.nav-inner{
  max-width:var(--maxw);margin:0 auto;
  padding:.7rem clamp(1.25rem,4vw,2.5rem);
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
}
.brand{display:inline-flex;align-items:center;text-decoration:none;}
.brand svg{height:46px;width:auto;display:block;}

.nav-toggle{
  display:none;background:none;border:1px solid rgba(184,199,212,.4);border-radius:6px;
  padding:.45rem .6rem;cursor:pointer;
}
.nav-toggle svg{display:block;stroke:var(--ivory);}

.site-nav{display:flex;align-items:center;gap:clamp(.6rem,1.8vw,1.5rem);}
.site-nav a{
  font-size:.92rem;font-weight:600;letter-spacing:.02em;
  color:var(--mist);text-decoration:none;padding:.4rem .15rem;
  border-bottom:2px solid transparent;
  transition:color .15s ease,border-color .15s ease;
}
.site-nav a:hover{color:#fff;}
.site-nav a[aria-current="page"]:not(.nav-cta){color:#fff;border-bottom-color:var(--teal);}
.site-nav .nav-cta{
  color:var(--navy);background:var(--ivory);border-radius:6px;
  padding:.55rem 1.05rem;border-bottom:none;font-weight:600;
  transition:background .15s ease,transform .15s ease;
  white-space:nowrap;
}
.site-nav .nav-cta:hover{background:#fff;transform:translateY(-1px);color:var(--navy);}

@media (max-width:920px){
  .nav-toggle{display:block;}
  .site-nav{
    display:none;position:absolute;left:0;right:0;top:100%;
    flex-direction:column;align-items:stretch;gap:0;
    background:#081d38;border-top:1px solid rgba(184,199,212,.15);
    padding:.5rem 1.25rem 1rem;
    box-shadow:0 14px 30px rgba(0,0,0,.4);
  }
  .site-nav.open{display:flex;}
  .site-nav a{padding:.8rem .25rem;border-bottom:1px solid rgba(184,199,212,.12);}
  .site-nav a[aria-current="page"]{border-bottom-color:var(--teal);}
  .site-nav .nav-cta{margin-top:.9rem;text-align:center;}
}

/* ---------- Hero (home) & page heroes ---------- */
.hero,.page-hero{
  background:var(--navy);
  background:var(--navy-grad);
  color:var(--ivory);
  text-align:center;
}
.hero{padding:clamp(3.5rem,9vw,6.5rem) 0 clamp(3rem,7vw,5rem);}
.page-hero{padding:clamp(2.6rem,6vw,4.2rem) 0 clamp(2.4rem,5vw,3.6rem);}

.eyebrow{
  font-weight:600;font-size:.78rem;letter-spacing:.28em;text-transform:uppercase;
  color:var(--teal-light);margin:0 0 1rem;
}
.hero h1,.page-hero h1{
  font-family:var(--serif);font-weight:700;
  letter-spacing:-.01em;color:var(--ivory);margin:0 auto 1.2rem;
}
.hero h1{font-size:clamp(2rem,5.6vw,3.4rem);line-height:1.1;max-width:21ch;}
.page-hero h1{font-size:clamp(1.8rem,4.6vw,2.7rem);line-height:1.14;max-width:26ch;}
.hero .clause{white-space:nowrap;}

.lede{
  font-size:clamp(1.05rem,2.2vw,1.25rem);line-height:1.55;color:var(--mist);
  max-width:58ch;margin:0 auto 1.6rem;
}
.lede a{color:#9FCBD3;}

/* pulse-line divider (logo motif) */
.pulse{width:160px;height:24px;margin:.2rem auto 1.4rem;display:block;overflow:visible;}
.pulse path,.pulse line{stroke:var(--teal);stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.pulse .trace{stroke-dasharray:240;stroke-dashoffset:240;animation:trace 2.4s ease-out .25s forwards;}
@keyframes trace{to{stroke-dashoffset:0;}}
@media (prefers-reduced-motion:reduce){.pulse .trace{animation:none;stroke-dashoffset:0;}}

/* ---------- Buttons ---------- */
.btn-row{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;margin-top:.4rem;}
.btn{
  display:inline-block;font-family:var(--sans);font-weight:600;font-size:.98rem;
  letter-spacing:.01em;text-decoration:none;border-radius:7px;
  padding:.85rem 1.6rem;cursor:pointer;border:1px solid transparent;
  transition:background .15s ease,color .15s ease,transform .15s ease,box-shadow .15s ease;
}
.btn:active{transform:translateY(1px);}
.btn:focus-visible{outline:2px solid var(--teal);outline-offset:2px;}
/* on dark surfaces */
.btn-light{background:var(--ivory);color:var(--navy);}
.btn-light:hover{background:#fff;box-shadow:0 6px 18px rgba(0,0,0,.28);}
.btn-ghost{background:transparent;color:var(--ivory);border-color:rgba(184,199,212,.55);}
.btn-ghost:hover{border-color:#fff;color:#fff;}
/* on light surfaces */
.btn-navy{background:var(--navy);color:var(--ivory);}
.btn-navy:hover{background:var(--steel);}
.btn-outline{background:transparent;color:var(--navy);border-color:#b9c2cc;}
.btn-outline:hover{border-color:var(--navy);}

/* ---------- Sections ---------- */
.section{padding:clamp(3rem,7vw,4.8rem) 0;}
.section.alt{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);}
.section-head{max-width:760px;margin:0 0 2.2rem;}
.section-head.center{margin-left:auto;margin-right:auto;text-align:center;}
.section-head .eyebrow{color:var(--teal);}
.section-head h2{
  font-family:var(--serif);font-weight:700;color:var(--navy);
  font-size:clamp(1.6rem,3.8vw,2.3rem);line-height:1.16;margin:0 0 .8rem;
}
.section-head p{color:var(--body-muted);margin:0;font-size:1.05rem;}
.rule{height:3px;width:54px;background:var(--teal);border:none;margin:1.1rem 0 0;border-radius:2px;}
.section-head.center .rule{margin-left:auto;margin-right:auto;}

/* ---------- Cards ---------- */
.grid{display:grid;gap:1.4rem;}
.grid.cols-2{grid-template-columns:repeat(2,1fr);}
.grid.cols-3{grid-template-columns:repeat(3,1fr);}
.grid.cols-4{grid-template-columns:repeat(4,1fr);}
@media (max-width:980px){.grid.cols-4{grid-template-columns:repeat(2,1fr);}.grid.cols-3{grid-template-columns:repeat(2,1fr);}}
@media (max-width:620px){.grid.cols-2,.grid.cols-3,.grid.cols-4{grid-template-columns:1fr;}}

.card{
  background:#fff;border:1px solid var(--line);border-radius:10px;
  padding:1.6rem 1.5rem 1.5rem;
  display:flex;flex-direction:column;
}
.section.alt .card{background:var(--ivory);}
.card .cap{height:3px;width:34px;background:var(--teal);border-radius:2px;margin-bottom:1rem;}
.card h3{
  font-family:var(--serif);font-weight:600;color:var(--navy);
  font-size:1.18rem;line-height:1.25;margin:0 0 .6rem;
}
.card p{font-size:.95rem;line-height:1.6;color:var(--body-muted);margin:0 0 .9rem;}
.card ul{list-style:none;margin:0 0 .4rem;padding:0;}
.card li{
  font-size:.9rem;line-height:1.8;color:var(--steel);position:relative;padding-left:.95rem;
}
.card li::before{content:"·";position:absolute;left:0;color:var(--teal);font-weight:700;}
.card .more{margin-top:auto;font-size:.92rem;font-weight:600;text-decoration:none;}
.card .more:hover{text-decoration:underline;}

/* big practice cards */
.practice-card{padding:2rem 1.9rem;}
.practice-card h3{font-size:1.45rem;}
.practice-card .kicker{
  font-size:.74rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;
  color:var(--teal);margin:0 0 .8rem;
}

/* ---------- Trust band ---------- */
.trust{background:var(--navy);background:var(--navy-grad);color:var(--ivory);padding:clamp(2.2rem,5vw,3.2rem) 0;}
.trust .grid{gap:1.2rem;}
.trust-item{display:flex;gap:.85rem;align-items:flex-start;}
.trust-item svg{flex:0 0 auto;margin-top:.2rem;stroke:var(--teal-light);}
.trust-item p{margin:0;font-size:.95rem;line-height:1.55;color:var(--mist);}
.trust-item strong{color:var(--ivory);display:block;font-size:1rem;margin-bottom:.15rem;}

/* ---------- Icon ---------- */
.icon{
  width:44px;height:44px;border-radius:9px;display:flex;align-items:center;justify-content:center;
  background:rgba(46,125,139,.1);border:1px solid rgba(46,125,139,.35);margin-bottom:1rem;
}
.icon svg{stroke:var(--teal);}

/* ---------- Serve list ---------- */
.serve-item{padding:1.3rem 0;border-bottom:1px solid var(--line);}
.serve-item:last-child{border-bottom:none;}
.serve-item h3{font-family:var(--serif);font-weight:600;color:var(--navy);font-size:1.2rem;margin:0 0 .35rem;}
.serve-item p{margin:0;color:var(--body-muted);font-size:.98rem;}
.serve-item .more{font-weight:600;font-size:.92rem;text-decoration:none;white-space:nowrap;}
.serve-item .more:hover{text-decoration:underline;}

/* ---------- Principles ---------- */
.principle{margin-bottom:1.1rem;font-size:1rem;line-height:1.6;color:var(--body-muted);}
.principle .lead-in{font-family:var(--serif);font-style:italic;font-weight:600;color:var(--teal);}

/* ---------- Steps / engagement model ---------- */
.steps{counter-reset:step;display:grid;gap:1.4rem;grid-template-columns:repeat(4,1fr);}
@media (max-width:980px){.steps{grid-template-columns:repeat(2,1fr);}}
@media (max-width:620px){.steps{grid-template-columns:1fr;}}
.step{counter-increment:step;background:#fff;border:1px solid var(--line);border-radius:10px;padding:1.5rem 1.4rem;}
.section.alt .step{background:var(--ivory);}
.step::before{
  content:"0" counter(step);
  font-family:var(--serif);font-weight:700;font-size:1.5rem;color:var(--teal);
  display:block;margin-bottom:.6rem;
}
.step h3{font-family:var(--serif);font-weight:600;color:var(--navy);font-size:1.1rem;margin:0 0 .4rem;}
.step p{margin:0;font-size:.92rem;color:var(--body-muted);line-height:1.55;}

/* ---------- Prose (interior content / articles) ---------- */
.prose{max-width:760px;}
.prose p{margin:0 0 1.05rem;color:#2c3742;}
.prose h2{
  font-family:var(--serif);font-weight:700;color:var(--navy);
  font-size:clamp(1.35rem,3vw,1.7rem);line-height:1.2;margin:2.2rem 0 .7rem;
}
.prose h3{font-family:var(--serif);font-weight:600;color:var(--steel);font-size:1.15rem;margin:1.7rem 0 .5rem;}
.prose ul,.prose ol{margin:.4rem 0 1.1rem;padding-left:1.35rem;color:#2c3742;}
.prose li{margin:.35rem 0;}
.prose blockquote{
  margin:1.6rem 0;padding:1rem 1.4rem;border-left:3px solid var(--teal);
  background:#fff;border-radius:0 8px 8px 0;
  font-family:var(--serif);font-style:italic;font-size:1.12rem;color:var(--steel);
}
.note{
  background:#fff;border-left:3px solid var(--teal);border-radius:0 8px 8px 0;
  padding:.9rem 1.15rem;margin:1.3rem 0;font-size:.95rem;color:#333;
}
.section.alt .note,.section.alt .prose blockquote{background:var(--ivory);}

/* ---------- Leadership ---------- */
.people{display:grid;gap:1.4rem;grid-template-columns:repeat(3,1fr);}
@media (max-width:860px){.people{grid-template-columns:1fr;max-width:560px;}}
.person{
  background:#fff;border:1px solid var(--line);border-radius:10px;
  overflow:hidden;text-align:left;display:flex;flex-direction:column;
}
.person .photo{
  width:100%;aspect-ratio:1/1;object-fit:cover;object-position:50% 25%;display:block;
}
.person .photo-placeholder{
  width:100%;aspect-ratio:1/1;display:flex;flex-direction:column;
  align-items:center;justify-content:center;gap:.6rem;
  background:var(--navy);background:var(--navy-grad);color:var(--ivory);
  font-family:var(--serif);font-weight:700;font-size:3rem;letter-spacing:.04em;
}
.person .photo-placeholder svg{width:120px;height:18px;overflow:visible;}
.person .photo-placeholder svg path,.person .photo-placeholder svg line{
  stroke:var(--teal);stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round;
}
.person .info{padding:1.4rem 1.5rem 1.6rem;}
.person h3{font-family:var(--serif);font-weight:600;color:var(--navy);font-size:1.25rem;margin:0 0 .25rem;}
.person .role{
  font-size:.74rem;font-weight:600;letter-spacing:.16em;text-transform:uppercase;
  color:var(--teal);margin:0 0 .85rem;
}
.person .bio{margin:0;font-size:.92rem;line-height:1.62;color:var(--body-muted);}

/* ---------- Insights cards ---------- */
.post-card{
  background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;
  display:flex;flex-direction:column;text-decoration:none;
  transition:transform .15s ease,box-shadow .15s ease;
}
.post-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(11,37,69,.1);}
.post-card .thumb{
  background:var(--navy);background:var(--navy-grad);
  padding:1.6rem 1.4rem;min-height:92px;display:flex;align-items:flex-end;
}
.post-card .thumb svg{width:120px;height:18px;overflow:visible;}
.post-card .thumb path,.post-card .thumb line{stroke:var(--teal);stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round;}
.post-card .body{padding:1.3rem 1.4rem 1.4rem;display:flex;flex-direction:column;flex:1;}
.post-card .tag{
  font-size:.72rem;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--teal);margin:0 0 .5rem;
}
.post-card h3{font-family:var(--serif);font-weight:600;color:var(--navy);font-size:1.13rem;line-height:1.3;margin:0 0 .5rem;}
.post-card p{font-size:.92rem;color:var(--body-muted);line-height:1.55;margin:0 0 1rem;}
.post-card .meta{margin-top:auto;font-size:.8rem;color:#6a7682;}

/* article page */
.article-head{max-width:760px;}
.article-head h1{
  font-family:var(--serif);font-weight:700;color:var(--ivory);
  font-size:clamp(1.7rem,4.4vw,2.5rem);line-height:1.16;margin:0 0 1rem;max-width:24ch;
}
.article-meta{font-size:.85rem;color:var(--mist);}
.article-foot{
  border-top:1px solid var(--line);margin-top:2.4rem;padding-top:1.2rem;
  font-size:.84rem;color:#5b6b7a;max-width:760px;
}

/* ---------- Forms ---------- */
.form-card{
  background:#fff;border:1px solid var(--line);border-radius:12px;
  padding:clamp(1.5rem,4vw,2.25rem);max-width:640px;
  box-shadow:0 14px 40px rgba(11,37,69,.08);
}
.field{margin-bottom:1rem;}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:.85rem;}
@media (max-width:480px){.row2{grid-template-columns:1fr;}}
label{
  display:block;font-size:.8rem;font-weight:600;letter-spacing:.02em;
  color:var(--steel);margin-bottom:.3rem;
}
label .req{color:#a3402f;}
label .opt{font-weight:400;color:#8a8a8a;}
input[type=text],input[type=email],select,textarea{
  width:100%;font-family:var(--sans);font-size:1rem;color:var(--charcoal);
  background:#fff;border:1px solid #c9cdd2;border-radius:7px;padding:.7rem .8rem;
  transition:border-color .15s ease,box-shadow .15s ease;
}
textarea{min-height:130px;resize:vertical;}
input:focus,select:focus,textarea:focus{
  outline:none;border-color:var(--teal);box-shadow:0 0 0 3px rgba(46,125,139,.18);
}
select{
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231B3A57' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .85rem center;padding-right:2.2rem;
}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.consent{display:flex;align-items:flex-start;gap:.6rem;margin:1rem 0 .4rem;}
.consent input[type=checkbox]{margin-top:.18rem;width:1.05rem;height:1.05rem;accent-color:var(--teal);flex:0 0 auto;}
.consent label{font-size:.82rem;font-weight:400;color:#3a3a3a;line-height:1.5;letter-spacing:0;margin:0;text-transform:none;}
.disclaimer{font-size:.74rem;line-height:1.5;color:#6a6a6a;margin:.75rem 0 1.1rem;}
#ts-slot{margin:.4rem 0 1rem;min-height:0;display:flex;justify-content:center;}
#ts-slot:empty{margin:0;}
.submit{
  width:100%;font-family:var(--sans);font-weight:600;font-size:1rem;letter-spacing:.01em;
  color:var(--ivory);background:var(--navy);border:none;border-radius:7px;
  padding:.95rem 1.5rem;cursor:pointer;transition:background .15s ease,transform .15s ease;
}
.submit:hover{background:var(--steel);}
.submit:active{transform:translateY(1px);}
.submit:focus-visible{outline:2px solid var(--teal);outline-offset:2px;}
.formnote{font-size:.78rem;color:#6a6a6a;text-align:center;margin:.8rem 0 0;}
.errbar{
  display:none;background:#fbeae7;border:1px solid #e6b3a8;color:#8a2c1a;
  font-size:.88rem;border-radius:7px;padding:.7rem .85rem;margin-bottom:1.1rem;
}
body[data-error] .errbar{display:block;}

/* ---------- CTA band ---------- */
.cta-band{
  background:var(--navy);background:var(--navy-grad);color:var(--ivory);
  text-align:center;padding:clamp(3rem,7vw,4.6rem) 0;
}
.cta-band h2{
  font-family:var(--serif);font-weight:700;font-size:clamp(1.6rem,4vw,2.4rem);
  line-height:1.15;margin:0 auto 1rem;max-width:24ch;color:var(--ivory);
}
.cta-band .quote{
  font-family:var(--serif);font-style:italic;font-size:1.05rem;color:var(--teal-light);margin:0 0 .8rem;
}
.cta-band p.sub{color:var(--mist);max-width:54ch;margin:0 auto 1.6rem;}

/* ---------- Footer ---------- */
.site-footer{background:#081d38;color:rgba(184,199,212,.85);font-size:.88rem;}
.footer-main{
  max-width:var(--maxw);margin:0 auto;
  padding:clamp(2.4rem,5vw,3.4rem) clamp(1.25rem,4vw,2.5rem) 1.6rem;
  display:grid;gap:2.2rem;grid-template-columns:2fr 1fr 1fr 1.3fr;
}
@media (max-width:920px){.footer-main{grid-template-columns:1fr 1fr;}}
@media (max-width:560px){.footer-main{grid-template-columns:1fr;}}
.footer-brand svg{height:44px;width:auto;display:block;margin-bottom:.9rem;}
.footer-brand p{margin:.2rem 0 0;line-height:1.6;font-size:.84rem;max-width:34ch;}
.site-footer h4{
  color:var(--ivory);font-size:.78rem;font-weight:600;letter-spacing:.2em;
  text-transform:uppercase;margin:0 0 .8rem;
}
.site-footer ul{list-style:none;margin:0;padding:0;}
.site-footer li{margin:.4rem 0;}
.site-footer a{color:rgba(184,199,212,.85);text-decoration:none;}
.site-footer a:hover{color:#fff;}
.footer-contact p{margin:.3rem 0;line-height:1.6;}
.footer-legal{
  border-top:1px solid rgba(184,199,212,.16);
  max-width:var(--maxw);margin:0 auto;
  padding:1.2rem clamp(1.25rem,4vw,2.5rem) 1.6rem;
  font-size:.76rem;color:rgba(184,199,212,.6);line-height:1.8;
}
.footer-legal .sep{opacity:.5;padding:0 .4rem;}

/* ---------- Breadcrumb ---------- */
.crumbs{font-size:.8rem;color:var(--mist);margin:0 0 1rem;}
.crumbs a{color:var(--teal-light);text-decoration:none;}
.crumbs a:hover{text-decoration:underline;}
.crumbs .sep{opacity:.5;padding:0 .35rem;}

/* ---------- Two-column split ---------- */
.split{display:grid;gap:clamp(1.8rem,5vw,3.5rem);grid-template-columns:1fr 1fr;align-items:start;}
.split.split-wide{grid-template-columns:1.3fr 1fr;}
@media (max-width:860px){.split,.split.split-wide{grid-template-columns:1fr;}}

/* ---------- Definition table ---------- */
.def-table{width:100%;border-collapse:collapse;font-size:.95rem;background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;}
.def-table th{
  background:var(--navy);color:var(--ivory);text-align:left;
  font-weight:600;font-size:.82rem;letter-spacing:.06em;text-transform:uppercase;
  padding:.75rem 1rem;
}
.def-table td{padding:.8rem 1rem;border-top:1px solid var(--line);vertical-align:top;color:var(--body-muted);}
.def-table td:first-child{font-weight:600;color:var(--navy);white-space:nowrap;}
