/* Toolbox Clinic: site stylesheet
   Shared design system carried over from Toolbox Education (tokens +
   components), then diverged per the Clinic build brief:
   - --purple-50 is the dominant page background, not an occasional band
   - calmer register: lighter heading weights, generous line-height
   - signature device: .card--inset-frame (a bordered white card with a
     --purple-200 border, reading as an inset frame against the wash)
   - purple is the only connective colour; no yellow/mint/blush/blue/red
   - no highlight-chip (.hl) device — that belongs to Education

   The :root block below pins the production hex values (the same set
   proven on Education). Both colors_and_type.css and the Montserrat
   webfont are linked from each page's <head> — no CSS @import, which
   some hosts' CSS bundlers mishandle. */

:root{
  --font-family:'Montserrat',ui-sans-serif,system-ui,-apple-system,sans-serif;

  --purple-500:#867CAC;
  --purple-50:#f4f3f8;
  --purple-100:#e9e6f1;
  --purple-200:#d3cce3;
  --purple-300:#b7abd0;
  --purple-600:#6f6591;
  --purple-700:#5b5277;
  --purple-800:#463f5c;
  --purple-900:#332e42;
  --brand-soft:#e9e6f1;

  --neutral-0:#ffffff;
  --neutral-50:#faf9fb;
  --neutral-100:#f3f2f5;
  --neutral-200:#e5e3ea;
  --neutral-300:#cfccd8;
  --neutral-400:#9d99ab;
  --neutral-500:#77738a;
  --neutral-600:#5a5669;
  --neutral-700:#423f4f;
  --neutral-800:#2b2836;
  --neutral-900:#1a1822;

  --fg1:var(--neutral-900);
  --fg2:var(--neutral-600);
  --fg3:var(--neutral-400);
  --fg-inverse:var(--neutral-0);
  --bg1:var(--neutral-0);
  --bg-wash:var(--purple-50);
  --brand:var(--purple-500);
  --brand-strong:var(--purple-700);
  --border:var(--neutral-200);
  --border-strong:var(--neutral-300);

  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;
  --space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;
  --space-16:64px;--space-20:80px;--space-24:96px;

  --radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:24px;--radius-pill:999px;

  --shadow-sm:0 1px 2px rgba(70,63,92,0.08);
  --shadow-md:0 4px 12px rgba(70,63,92,0.10);
  --shadow-lg:0 12px 32px rgba(70,63,92,0.14);

  --ease-standard:cubic-bezier(.4,0,.2,1);
  --duration-base:200ms;
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-family);
  color:var(--fg1);
  background:var(--bg-wash);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:var(--brand-strong);text-decoration:underline;text-underline-offset:2px;}
a:hover{color:var(--purple-800);}
ul{margin:0;padding:0;}

/* ---- Type ----
   Clinic runs a calmer register than Education: headings sit at 600
   rather than 700-800, and body line-height stays generous. */
h1,h2,h3,h4,h5,p{margin:0;font-family:var(--font-family);color:var(--fg1);}
.display-1{font-size:60px;line-height:1.1;font-weight:700;letter-spacing:-0.01em;}
.display-2{font-size:48px;line-height:1.15;font-weight:700;letter-spacing:-0.005em;}
h1{font-size:40px;line-height:1.2;font-weight:600;letter-spacing:-0.005em;}
h2{font-size:33px;line-height:1.25;font-weight:600;}
h3{font-size:26px;line-height:1.3;font-weight:600;}
h4{font-size:21px;line-height:1.35;font-weight:600;}
h5{font-size:18px;line-height:1.4;font-weight:600;}
.body-lg{font-size:19px;line-height:1.7;font-weight:400;color:var(--fg2);}
.body,p{font-size:17px;line-height:1.65;font-weight:400;color:var(--fg2);}
.body-sm{font-size:15px;line-height:1.55;font-weight:400;color:var(--fg2);}
.caption{font-size:13px;line-height:1.4;font-weight:500;color:var(--fg3);}
.eyebrow{font-size:14px;line-height:1.4;font-weight:600;color:var(--brand-strong);letter-spacing:0.04em;text-transform:uppercase;}
.eyebrow-icon{display:inline-flex;align-items:center;gap:8px;}
.eyebrow-icon svg{flex:none;stroke:currentColor;}
/* Quiet in-heading emphasis — a colour shift, never a background block. */
.accent{color:var(--brand-strong);font-weight:600;}

@media (max-width:720px){
  .display-1{font-size:38px;}
  .display-2{font-size:30px;}
  h1{font-size:29px;}
  h2{font-size:24px;}
  h3{font-size:21px;}
}

/* ---- Layout ---- */
.wrap{max-width:1280px;margin:0 auto;padding:0 var(--space-8);}
@media (max-width:720px){.wrap{padding:0 var(--space-5);}}
.section{padding:var(--space-20) 0;}
@media (max-width:720px){.section{padding:var(--space-12) 0;}}
.section--tight{padding:var(--space-12) 0;}
.bg-wash{background:var(--purple-50);}
.bg-white{background:var(--neutral-0);}
.center{text-align:center;}
.max-680{max-width:680px;}
.max-760{max-width:760px;}
.mx-auto{margin-left:auto;margin-right:auto;}
.mt-2{margin-top:var(--space-2);}
.mt-4{margin-top:var(--space-4);}
.mt-6{margin-top:var(--space-6);}
.mt-8{margin-top:var(--space-8);}
.mt-10{margin-top:var(--space-10);}
.mt-12{margin-top:var(--space-12);}
.mb-4{margin-bottom:var(--space-4);}
.mb-6{margin-bottom:var(--space-6);}
.mb-8{margin-bottom:var(--space-8);}
.mb-12{margin-bottom:var(--space-12);}

/* ---- Buttons ---- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:var(--font-family);font-size:16px;font-weight:600;line-height:1;white-space:nowrap;
  padding:14px 28px;border-radius:var(--radius-pill);border:1px solid transparent;
  text-decoration:none;cursor:pointer;
  transition:background var(--duration-base) var(--ease-standard),color var(--duration-base) var(--ease-standard),border-color var(--duration-base) var(--ease-standard);
}
.btn-primary{background:var(--brand);color:var(--fg-inverse);}
.btn-primary:hover{background:var(--purple-600);color:var(--fg-inverse);}
.btn-outline{background:transparent;border-color:var(--brand);color:var(--brand-strong);}
.btn-outline:hover{background:var(--purple-50);color:var(--purple-800);}
.btn-on-purple{background:var(--neutral-0);color:var(--brand-strong);}
.btn-on-purple:hover{background:var(--purple-50);}
.btn-outline-on-purple{background:transparent;border-color:var(--neutral-0);color:var(--neutral-0);}
.btn-outline-on-purple:hover{background:rgba(255,255,255,0.14);}
.btn-sm{padding:10px 20px;font-size:14px;}

/* ---- Nav ---- */
.nav{position:sticky;top:0;z-index:40;background:var(--neutral-0);border-bottom:1px solid var(--border);}
.nav-row{display:flex;align-items:center;justify-content:space-between;padding:var(--space-4) var(--space-6);gap:18px;}
.nav-logo{flex-shrink:0;display:inline-flex;align-items:center;text-decoration:none;}
.nav-logo img{height:26px;width:auto;display:block;}
@media (max-width:560px){.nav-logo img{height:22px;}}
.nav-links{display:flex;align-items:center;gap:20px;list-style:none;}
.nav-links a{color:var(--fg1);text-decoration:none;font-size:15px;font-weight:500;white-space:nowrap;}
.nav-links a:hover{color:var(--brand-strong);}
.nav-links a.active{color:var(--brand-strong);font-weight:600;}
.nav-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.hub-switcher{display:flex;align-items:center;gap:6px;padding:5px 12px;border-radius:var(--radius-pill);background:var(--purple-50);border:1px solid var(--border);font-size:12px;font-weight:600;color:var(--fg3);white-space:nowrap;}
.hub-switcher .current{color:var(--brand-strong);}
.hub-switcher a{color:var(--fg3);text-decoration:none;}
.hub-switcher a:hover{color:var(--brand-strong);}
/* Slim hub-switcher strip at the very top — mobile only (the nav one is
   hidden at phone widths). */
.hub-bar{display:none;}
.hub-bar .hub-switcher{display:flex;background:none;border:none;padding:0;}
@media (max-width:560px){
  .hub-bar{display:flex;justify-content:center;background:var(--purple-50);border-bottom:1px solid var(--border);padding:8px var(--space-5);}
}
.nav-burger{display:none;background:none;border:none;cursor:pointer;padding:8px;}
.nav-burger span{display:block;width:22px;height:2px;background:var(--fg1);margin:5px 0;}
.mobile-menu{display:none;}
@media (max-width:1080px){
  .nav-links{display:none;}
  .nav-burger{display:block;}
  .nav-actions .btn{display:none;}
  .mobile-menu.open{display:block;padding:var(--space-5) var(--space-6) var(--space-6);border-top:1px solid var(--border);background:var(--purple-50);}
  .mobile-menu ul{list-style:none;display:flex;flex-direction:column;gap:10px;}
  .mobile-menu li a{display:flex;align-items:center;gap:12px;color:var(--fg1);text-decoration:none;font-size:16px;font-weight:600;padding:14px 16px;border-radius:var(--radius-md);background:var(--neutral-0);box-shadow:var(--shadow-sm);}
  .mobile-menu li a:hover{background:var(--purple-100);}
  .mobile-menu .btn{margin-top:var(--space-4);width:100%;}
}
@media (max-width:560px){
  .hub-switcher{display:none;}
}

/* ---- Hero ---- */
.hero{padding:var(--space-20) 0;}
.hero-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:var(--space-6) var(--space-16);align-items:stretch;
  grid-template-areas:"copy visual" "cta visual";
}
.hero-copy{grid-area:copy;align-self:end;}
.hero-cta{grid-area:cta;align-self:start;margin-top:var(--space-8);}
.hero-visual{grid-area:visual;align-self:stretch;}
.hero-actions{display:flex;gap:var(--space-4);flex-wrap:wrap;}
.hero-meta{display:flex;flex-wrap:wrap;gap:var(--space-3) var(--space-6);margin-top:var(--space-8);}
.hero-meta-item{display:inline-flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:var(--fg2);}
.hero-meta-item svg{flex:none;stroke:var(--brand-strong);}
@media (max-width:900px){
  /* Mobile order: heading + subhead, then picture, then buttons. */
  .hero-grid{grid-template-columns:1fr;gap:var(--space-6);grid-template-areas:"copy" "visual" "cta";}
  .hero-copy,.hero-cta{align-self:auto;}
  .hero-cta{margin-top:0;}
}
@media (max-width:720px){
  .hero{padding:var(--space-12) 0 var(--space-8);}
}

/* Hero visual: a calm illustration of the consulting room. */
.hero-visual{border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow-md);min-height:100%;}
.hero-visual img{display:block;width:100%;height:100%;min-height:360px;object-fit:cover;}
@media (max-width:900px){
  .hero-visual{aspect-ratio:16/9;min-height:0;}
  .hero-visual img{min-height:0;}
}

/* ---- Page hero (interior pages) ---- */
.page-hero{padding:var(--space-16) 0 var(--space-8);}
.page-hero p.body-lg{max-width:680px;}
/* Keep the first content section close to the hero copy. */
.hero + .section,.page-hero + .section{padding-top:var(--space-10);}
@media (max-width:720px){
  .page-hero{padding:var(--space-10) 0 var(--space-6);}
  .hero + .section,.page-hero + .section{padding-top:var(--space-6);}
}

/* ---- Cards ---- */
.card{background:var(--neutral-0);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:var(--space-6);}
.card--purple-wash{background:var(--purple-50);border-color:transparent;}

/* Signature device: an inset frame. Same shape as a content card, but
   the border is --purple-200 so it reads as a deliberate frame sitting
   on the --purple-50 page wash rather than just "a card". */
.card--inset-frame{
  background:var(--neutral-0);
  border:1px solid var(--purple-200);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);
  padding:var(--space-6);
}
.card--inset-frame.card--lg{padding:var(--space-8);}

/* Filled feature card — used for the homepage service tiles. */
.feature-card{background:var(--brand-soft);border-radius:var(--radius-lg);padding:var(--space-6);}
.feature-card .icon-badge{background:var(--neutral-0);width:36px;height:36px;}
.feature-card .icon-badge svg{width:18px;height:18px;}
.feature-card-head{display:flex;align-items:center;gap:10px;margin-bottom:var(--space-2);}
.feature-card-head h4{margin:0;font-size:18px;}

/* Filled wash card — used for the contact form and other content blocks. */
.card--wash{background:var(--brand-soft);border-color:transparent;}

/* Contact page: a narrow form column beside a wide column for the
   Calendly booker (Calendly's calendar + time-list needs the room). */
.contact-grid{display:grid;grid-template-columns:minmax(320px,400px) minmax(0,1fr);gap:var(--space-10);align-items:start;}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr;gap:var(--space-8);}}
.intro-call-card{padding:var(--space-5);}
.intro-call-card .calendly-inline-widget{min-width:0;width:100%;display:block;position:relative;overflow:hidden;background:var(--purple-50);border-radius:var(--radius-md);}
.calendly-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--fg3);font-size:14px;pointer-events:none;}
@media (max-width:600px){.intro-call-card{padding:var(--space-4);}}

/* Heading with an inline icon in a purple circle (e.g. "Session fees", "FAQ"). */
.head-icon{display:flex;align-items:center;gap:14px;}
.head-icon-circle{width:44px;height:44px;border-radius:50%;background:var(--brand);display:inline-flex;align-items:center;justify-content:center;flex:none;}
.head-icon-circle svg{stroke:var(--fg-inverse);}
.head-icon-circle--sm{width:36px;height:36px;}
.head-icon-circle--sm svg{width:18px;height:18px;}

.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--space-6);}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-6);}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--space-5);}
@media (max-width:900px){.grid-3,.grid-4{grid-template-columns:1fr 1fr;}}
@media (max-width:640px){.grid-2,.grid-3,.grid-4{grid-template-columns:1fr;}}

.icon-badge{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:var(--radius-md);background:var(--purple-100);flex:none;}
.icon-badge svg{stroke:var(--brand-strong);}
.icon-badge--round{border-radius:50%;}

/* ---- Service / content blocks ---- */
.service-block{display:grid;grid-template-columns:44px 1fr;gap:var(--space-5);align-items:start;}
.service-block + .service-block{margin-top:var(--space-5);}
.service-block .icon-badge{width:44px;height:44px;}
.service-list{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin-top:var(--space-4);}
.service-list li{font-size:13px;font-weight:500;color:var(--brand-strong);background:var(--purple-50);border:1px solid var(--purple-100);padding:5px 12px;border-radius:var(--radius-pill);}

/* ---- Areas of support ---- */
.support-group{margin-top:var(--space-12);}
.support-group:first-of-type{margin-top:var(--space-4);}
.support-group h3{margin-bottom:var(--space-5);display:flex;align-items:center;gap:10px;}
.support-group h3 svg{flex:none;stroke:var(--brand-strong);}
.support-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-4);}
@media (max-width:840px){.support-grid{grid-template-columns:1fr 1fr;}}
.support-item{
  display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);width:100%;
  background:var(--brand-soft);border:1px solid var(--purple-200);border-radius:var(--radius-md);
  padding:var(--space-4) var(--space-5);text-align:left;cursor:pointer;font-family:var(--font-family);
  transition:border-color var(--duration-base) var(--ease-standard),box-shadow var(--duration-base) var(--ease-standard);
}
.support-item:hover{border-color:var(--brand);box-shadow:var(--shadow-sm);}
.support-item span{font-size:15px;font-weight:500;color:var(--fg1);}
.support-item svg{flex:none;stroke:var(--brand-strong);}
@media (max-width:560px){
  .support-group{margin-top:var(--space-8);}
  .support-group h3{margin-bottom:var(--space-4);}
  .support-grid{grid-template-columns:1fr 1fr;gap:var(--space-2);}
  .support-item{padding:var(--space-3);gap:var(--space-2);}
  .support-item span{font-size:13px;line-height:1.3;}
  .support-item svg{display:none;}
}

/* ---- Team ---- */
.team-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-6);grid-auto-rows:1fr;}
@media (max-width:640px){.team-grid{grid-template-columns:1fr;}}
.team-card{
  background:var(--brand-soft);border:1px solid var(--purple-200);border-radius:var(--radius-lg);
  box-shadow:var(--shadow-sm);padding:var(--space-8);text-align:left;width:100%;height:100%;cursor:pointer;
  font-family:var(--font-family);display:flex;flex-direction:column;gap:var(--space-4);
  transition:border-color var(--duration-base) var(--ease-standard),box-shadow var(--duration-base) var(--ease-standard);
}
.team-card:hover{border-color:var(--brand);box-shadow:var(--shadow-md);}
.team-card-head{display:flex;align-items:center;gap:var(--space-4);}
.team-card-head h4{margin:0;font-size:21px;line-height:1.3;}
.team-avatar{
  width:96px;height:96px;border-radius:50%;flex:none;
  object-fit:cover;object-position:top center;background:var(--neutral-0);
  border:1px solid var(--purple-200);
}
.team-avatar--initials{
  display:flex;align-items:center;justify-content:center;background:var(--neutral-0);
  color:var(--brand-strong);font-weight:600;font-size:30px;letter-spacing:0.02em;
}
.team-strip{display:flex;flex-wrap:wrap;gap:var(--space-8) var(--space-6);justify-content:center;}
.team-strip figure{margin:0;width:148px;display:flex;flex-direction:column;align-items:center;gap:14px;}
.team-strip-face{
  width:128px;height:128px;border-radius:50%;object-fit:cover;object-position:top center;
  border:1px solid var(--purple-200);box-shadow:var(--shadow-sm);background:var(--purple-100);
}
.team-strip-face--initials{
  display:flex;align-items:center;justify-content:center;background:var(--purple-100);
  color:var(--brand-strong);font-weight:600;font-size:34px;letter-spacing:0.02em;
}
.team-strip figcaption{font-size:14px;font-weight:600;color:var(--fg1);text-align:center;line-height:1.35;}
@media (max-width:520px){.team-strip figure{width:104px;}.team-strip-face{width:88px;height:88px;}.team-strip-face--initials{font-size:24px;}}
.team-card h4{margin:0;}
/* Badges stacked, one per line. */
.badge-row{display:flex;flex-direction:column;align-items:flex-start;gap:8px;}
.badge{font-size:12px;font-weight:600;padding:5px 14px;border-radius:var(--radius-pill);white-space:normal;}
.badge--credential{background:var(--brand);color:var(--fg-inverse);}
.badge--age{background:var(--purple-50);color:var(--brand-strong);border:1px solid var(--purple-200);}
.team-tags{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;}
.team-tags li{font-size:13px;font-weight:500;color:var(--brand-strong);background:var(--purple-50);border:1px solid var(--purple-100);padding:5px 12px;border-radius:var(--radius-pill);}
.team-card .team-more{margin-top:auto;font-size:14px;font-weight:600;color:var(--brand-strong);display:inline-flex;align-items:center;gap:6px;}

@media (max-width:480px){
  .team-card{padding:var(--space-6);}
  .team-avatar,.team-avatar--initials{width:72px;height:72px;font-size:24px;}
  .team-card-head h4{font-size:19px;}
}

/* ---- Process steps ---- */
.process-track{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-5);align-items:stretch;}
.process-step{
  background:var(--brand-soft);border:1px solid var(--purple-200);border-radius:var(--radius-lg);padding:var(--space-6);
  display:flex;flex-direction:column;
}
.process-step-head{display:flex;align-items:center;gap:var(--space-3);}
.process-step-head h4{margin:0;}
.process-num{width:40px;height:40px;border-radius:50%;background:var(--neutral-0);color:var(--brand-strong);display:flex;align-items:center;justify-content:center;flex:none;}
.process-num svg{stroke:var(--brand-strong);}
@media (max-width:760px){.process-track{grid-template-columns:1fr;}}

/* ---- Locations ---- */
.location-grid{display:grid;grid-template-columns:1fr 1fr;gap:var(--space-6);}
@media (max-width:720px){.location-grid{grid-template-columns:1fr;}}
.location-card{background:var(--brand-soft);border:1px solid var(--purple-200);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm);padding:var(--space-6);}
.location-card h4{display:flex;align-items:center;gap:10px;}
.location-card h4 svg{flex:none;stroke:var(--brand-strong);}
.location-meta{list-style:none;display:flex;flex-direction:column;gap:10px;margin-top:var(--space-4);}
.location-meta li{display:flex;gap:10px;font-size:14px;color:var(--fg2);line-height:1.5;}
.location-meta li svg{flex:none;stroke:var(--brand-strong);margin-top:2px;}
.map-link{display:flex;gap:10px;color:var(--brand-strong);text-decoration:none;font-weight:500;}
.map-link:hover{text-decoration:underline;}
.map-link svg{flex:none;stroke:var(--brand-strong);margin-top:2px;}

/* ---- Testimonials ---- */
.testimonial{background:var(--neutral-0);border:1px solid var(--purple-200);border-radius:var(--radius-lg);padding:var(--space-6);box-shadow:var(--shadow-sm);}
.testimonial p.quote{font-size:17px;color:var(--fg1);line-height:1.7;margin-bottom:var(--space-4);font-weight:400;}
.testimonial .attribution{font-size:14px;color:var(--fg2);font-weight:500;}

/* ---- FAQ accordion ---- */
.faq-list{display:flex;flex-direction:column;gap:var(--space-10);}
.faq-group{display:flex;flex-direction:column;gap:var(--space-4);}
.faq-item{background:var(--brand-soft);border:1px solid var(--purple-200);border-radius:var(--radius-lg);overflow:hidden;}
.faq-question{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);
  padding:var(--space-5) var(--space-6);background:none;border:none;cursor:pointer;text-align:left;
  font-family:var(--font-family);font-size:16px;font-weight:600;color:var(--fg1);
}
.faq-question:hover{color:var(--brand-strong);}
.faq-chevron{flex:none;color:var(--fg3);transition:transform var(--duration-base) var(--ease-standard);}
.faq-item.open .faq-chevron{transform:rotate(180deg);color:var(--brand-strong);}
.faq-answer{display:grid;grid-template-rows:0fr;transition:grid-template-rows var(--duration-base) var(--ease-standard);}
.faq-item.open .faq-answer{grid-template-rows:1fr;}
.faq-answer-inner{overflow:hidden;}
.faq-answer-inner .body-sm{padding:0 var(--space-6) var(--space-5);color:var(--fg2);}
@media (max-width:640px){
  .faq-question{padding:var(--space-4) var(--space-5);font-size:15px;}
  .faq-answer-inner .body-sm{padding:0 var(--space-5) var(--space-4);}
}

/* ---- Fees table ---- */
.fees-table{width:100%;border-collapse:collapse;background:var(--neutral-0);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);border:1px solid var(--purple-200);}
.fees-table th,.fees-table td{text-align:left;padding:var(--space-4) var(--space-5);border-bottom:1px solid var(--border);font-size:15px;}
.fees-table th{background:var(--purple-50);font-size:13px;color:var(--fg2);font-weight:600;text-transform:uppercase;letter-spacing:0.03em;}
.fees-table td{color:var(--fg2);}
.fees-table tr:last-child td{border-bottom:none;}
.fees-table .fee-amount{color:var(--fg1);font-weight:600;}
.fees-wrap{overflow-x:auto;}

/* On narrow screens, drop the wide 4-column table to stacked cards so
   there's nothing to scroll sideways for. */
@media (max-width:600px){
  .fees-wrap{overflow:visible;}
  .fees-table,.fees-table tbody,.fees-table tr,.fees-table td{display:block;width:100%;}
  .fees-table{border:none;box-shadow:none;background:none;border-radius:0;}
  .fees-table thead{display:none;}
  .fees-table tr{
    background:var(--neutral-0);border:1px solid var(--purple-200);border-radius:var(--radius-lg);
    box-shadow:var(--shadow-sm);margin-bottom:var(--space-4);padding:var(--space-4) var(--space-5);
  }
  .fees-table td{
    display:flex;justify-content:space-between;gap:var(--space-4);
    padding:var(--space-3) 0;border-bottom:1px solid var(--border);font-size:15px;text-align:right;
  }
  .fees-table td::before{content:attr(data-label);font-weight:600;color:var(--fg2);text-align:left;}
  .fees-table td:first-child{
    display:block;text-align:left;font-size:16px;font-weight:700;color:var(--fg1);
    border-bottom:2px solid var(--purple-200);padding:0 0 var(--space-3);margin-bottom:var(--space-2);
  }
  .fees-table td:first-child::before{content:none;}
  .fees-table td:last-child{border-bottom:none;}
}

/* ---- Modal (team bios + area-of-support detail) ---- */
.modal-overlay{position:fixed;inset:0;background:rgba(26,24,34,0.45);display:none;align-items:center;justify-content:center;padding:var(--space-6);z-index:100;}
.modal-overlay.open{display:flex;}
.modal-panel{background:var(--neutral-0);border-radius:var(--radius-xl);box-shadow:var(--shadow-lg);max-width:600px;width:100%;max-height:85vh;overflow-y:auto;padding:var(--space-8);position:relative;}
.modal-close{position:absolute;top:18px;right:18px;width:36px;height:36px;border-radius:50%;border:1px solid var(--border);background:var(--neutral-0);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--fg2);padding:0;}
.modal-close:hover{background:var(--neutral-100);}
.modal-head{display:flex;align-items:center;gap:var(--space-4);padding-right:44px;}
.modal-head-text{min-width:0;}
.modal-figure{flex:none;}
.modal-figure:empty{display:none;}
.modal-figure img,.modal-figure .modal-initials{width:64px;height:64px;border-radius:50%;display:block;}
.modal-figure img{object-fit:cover;object-position:top center;border:1px solid var(--purple-200);background:var(--purple-100);}
.modal-initials{display:flex;align-items:center;justify-content:center;background:var(--purple-100);color:var(--brand-strong);font-weight:600;font-size:20px;}
.modal-eyebrow{margin-bottom:var(--space-1);}
.modal-title{margin:0;}
.modal-badges{display:flex;flex-wrap:wrap;gap:8px;margin-top:var(--space-4);}
.modal-body{margin-top:var(--space-5);}
.modal-body p{margin-bottom:var(--space-4);}
.modal-body p:last-child{margin-bottom:0;}
.modal-footer{margin-top:var(--space-8);padding-top:var(--space-6);border-top:1px solid var(--border);display:flex;justify-content:flex-end;}
body.modal-lock{overflow:hidden;}
@media (max-width:560px){.modal-panel{padding:var(--space-6);max-height:90vh;}}

/* ---- Contact form ---- */
.field{margin-bottom:var(--space-5);}
.field label{display:block;font-size:14px;font-weight:600;color:var(--fg1);margin-bottom:6px;}
.field input,.field select,.field textarea{
  width:100%;border:1px solid var(--border-strong);border-radius:var(--radius-md);
  padding:12px 14px;font-family:var(--font-family);font-size:15px;color:var(--fg1);background:var(--neutral-0);
}
.field textarea{resize:vertical;min-height:120px;}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--brand);outline-offset:1px;}
.field-hint{font-size:13px;color:var(--fg3);margin-top:5px;}

/* ---- CTA banner ---- */
.cta-banner{background:var(--brand);border-radius:var(--radius-xl);padding:var(--space-16) var(--space-10);text-align:center;color:var(--fg-inverse);}
.cta-banner h2{color:var(--fg-inverse);margin-bottom:var(--space-4);font-weight:600;}
.cta-banner p{color:rgba(255,255,255,0.95);max-width:520px;margin:0 auto var(--space-8);}
.cta-actions{display:flex;gap:var(--space-4);justify-content:center;flex-wrap:wrap;}
@media (max-width:640px){.cta-banner{padding:var(--space-10) var(--space-5);}}

/* ---- Footer ---- */
footer{background:var(--brand);color:var(--neutral-0);padding:var(--space-16) 0 var(--space-8);}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:var(--space-8);}
@media (max-width:800px){.footer-grid{grid-template-columns:1fr 1fr;}}
@media (max-width:520px){.footer-grid{grid-template-columns:1fr;}}
footer .footer-logo{display:inline-block;margin-bottom:var(--space-4);}
footer .footer-logo img{height:26px;width:auto;display:block;}
footer h5{color:var(--neutral-0);margin-bottom:var(--space-4);font-size:13px;text-transform:uppercase;letter-spacing:0.04em;}
footer ul{list-style:none;display:flex;flex-direction:column;gap:10px;}
footer a{color:rgba(255,255,255,0.9);text-decoration:none;font-size:14px;}
footer a:hover{color:var(--neutral-0);}
footer p{color:rgba(255,255,255,0.88);font-size:14px;}
.footer-bottom{margin-top:var(--space-12);padding-top:var(--space-6);border-top:1px solid rgba(255,255,255,0.25);}
.footer-bottom p{font-size:13px;color:rgba(255,255,255,0.8);}
