/* ---------- Self-hosted variable fonts ---------- */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/fraunces-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/mulish-normal.woff2") format("woff2");
}

/* =============================================================
   CPD Integrated Healthcare — Design System
   Brand derived from the CPD "tree of life" logo:
   red CPD wordmark · green foliage · brown trunk.
   Motif: growth, roots, branching care.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Greens — foliage */
  --forest:    #1B4D2E;  /* primary deep green */
  --evergreen: #2E6B41;  /* interactive green  */
  --leaf:      #6BA644;  /* bright foliage accent */
  --sage:      #AFC7A4;  /* muted soft green   */
  --sage-tint: #E4EDDD;  /* pale green fill     */

  /* Brand accents */
  --crimson:   #B23A2E;  /* CPD red — sparing   */
  --crimson-dk:#8E2C22;
  --bark:      #5C4433;  /* trunk brown         */

  /* Neutrals — warm */
  --ink:       #16261B;  /* near-black text     */
  --ink-soft:  #3F5245;  /* secondary text      */
  --cream:     #F6F2E9;  /* page background     */
  --paper:     #FCFAF4;  /* card background     */
  --line:      rgba(22,38,27,.13);
  --line-soft: rgba(22,38,27,.07);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Scale (fluid) */
  --step--1: clamp(.82rem, .8rem + .12vw, .9rem);
  --step-0:  clamp(1rem, .97rem + .18vw, 1.12rem);
  --step-1:  clamp(1.2rem, 1.12rem + .35vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.35rem + .7vw, 2rem);
  --step-3:  clamp(2rem, 1.7rem + 1.4vw, 3rem);
  --step-4:  clamp(2.6rem, 2rem + 2.8vw, 4.4rem);
  --step-5:  clamp(3.2rem, 2.3rem + 4.2vw, 6rem);

  /* Space & shape */
  --container: 1180px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 1px 2px rgba(22,38,27,.05), 0 14px 40px -20px rgba(22,38,27,.28);
  --shadow-lg: 0 30px 70px -30px rgba(22,38,27,.4);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--evergreen);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -.015em;
  color: var(--forest);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: clamp(3rem, 5vw, 5.25rem); }
.section--tight { padding-block: clamp(2.5rem, 4vw, 4rem); }
.stack > * + * { margin-top: 1.1rem; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 800;
  font-size: var(--step--1);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--evergreen);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0;
}
.eyebrow::before {
  content: "";
  width: 1.7rem; height: 2px;
  background: var(--leaf);
}
.lead { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.5; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  white-space: nowrap;
  padding: .85rem 1.5rem;
  border-radius: 100px;
  font-weight: 800;
  font-size: var(--step--1);
  letter-spacing: .02em;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { background: var(--forest); color: var(--cream); }
.btn--primary:hover { background: var(--evergreen); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line); color: var(--forest); background: transparent; }
.btn--ghost:hover { border-color: var(--forest); background: var(--sage-tint); transform: translateY(-2px); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--lg { padding: 1rem 1.9rem; font-size: var(--step-0); }

.arrow-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 800; color: var(--evergreen);
  font-size: var(--step--1); letter-spacing: .02em;
}
.arrow-link svg { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

/* =============================================================
   Header
   ============================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 44px; height: 44px; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b {
  font-family: var(--serif); font-weight: 600; font-size: 1.16rem;
  color: var(--crimson); letter-spacing: .04em;
}
.brand-name span {
  font-size: .62rem; font-weight: 800; letter-spacing: .22em;
  text-transform: uppercase; color: var(--evergreen); margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: .5rem .72rem; border-radius: 100px;
  font-weight: 700; font-size: .92rem; color: var(--ink); white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--sage-tint); color: var(--forest); }
.nav-cta { display: flex; align-items: center; gap: .9rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--forest); font-size: .92rem; white-space: nowrap; }
.nav-phone svg { width: 1.05em; height: 1.05em; color: var(--crimson); }

.nav-toggle { display: none; background: none; border: 0; padding: .4rem; color: var(--forest); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1080px) {
  .nav-phone span { display: none; }
}
@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--cream); padding: 1rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .25s, transform .25s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav-cta .btn { display: none; }
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% -10%, var(--sage-tint) 0%, transparent 55%),
    var(--cream);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 6rem);
}
.hero h1 {
  font-size: var(--step-5);
  font-weight: 400;
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: italic;
  font-variation-settings: "SOFT" 60, "WONK" 1;
  color: var(--crimson);
}
.hero .lead { max-width: 44ch; margin-top: 1.6rem; }
/* Type-forward hero: headline spans full width, supporting copy beneath */
.hero-single { padding-block: clamp(3rem, 6vw, 6rem); }
.hero-single h1 { font-size: clamp(2.6rem, 7.7vw, 7rem); }
.hero-single .lead { max-width: none; margin-top: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-trust {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero-trust div { padding: .1rem 2.2rem; border-left: 1px solid var(--line); }
.hero-trust div:first-child { padding-left: 0; border-left: 0; }
.hero-trust b { font-family: var(--serif); font-weight: 500; font-size: var(--step-2); color: var(--forest); display: block; line-height: 1.1; }
.hero-trust span { font-size: var(--step--1); color: var(--ink-soft); font-weight: 700; }

@media (max-width: 600px) {
  .hero-trust { grid-template-columns: 1fr 1fr; gap: 1.3rem 0; }
  .hero-trust div { padding: 0 1.3rem; }
  .hero-trust div:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* =============================================================
   Marquee / trust strip
   ============================================================= */
.trust-strip { background: var(--forest); color: var(--sage); }
.trust-strip .wrap { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; align-items: center; gap: .9rem 3.5rem; padding-block: 1.15rem; }
@media (max-width: 560px) { .trust-strip .wrap { grid-template-columns: 1fr; justify-items: start; } }
.trust-strip span { font-weight: 800; font-size: var(--step--1); letter-spacing: .04em; color: color-mix(in srgb, var(--sage) 88%, white); display: inline-flex; align-items: center; gap: .55rem; }
.trust-strip svg { width: 1.15em; height: 1.15em; color: var(--leaf); }

/* =============================================================
   Section heading block
   ============================================================= */
.sec-head { max-width: 60ch; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head h2 { font-size: var(--step-3); margin-top: .8rem; }
.sec-head p { margin-top: 1rem; }

/* =============================================================
   Service cards
   ============================================================= */
.card-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.svc-card {
  background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem;
  position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line); }
.svc-card .ic {
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--sage-tint); color: var(--evergreen);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.svc-card .ic svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: var(--step-1); }
.svc-card p { margin-top: .5rem; color: var(--ink-soft); font-size: .98rem; }
.svc-card::after {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 0;
  background: var(--leaf); transition: height .3s var(--ease);
}
.svc-card:hover::after { height: 100%; }

/* =============================================================
   Care journey (numbered — a real sequence)
   ============================================================= */
.journey { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.journey-step {
  position: relative; padding: 1.7rem 1.4rem; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line-soft);
}
.journey-step .num {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
  color: var(--cream); background: var(--evergreen);
  width: 2.3rem; height: 2.3rem; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1rem;
}
.journey-step h3 { font-size: var(--step-1); }
.journey-step p { margin-top: .5rem; color: var(--ink-soft); font-size: .96rem; }

/* =============================================================
   Split feature (image slot + text)
   ============================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--flip .split-media { order: 2; }
.split-media {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--sage-tint); aspect-ratio: 5 / 4; position: relative;
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
}

/* Image placeholder (until real photos land) */
.img-slot {
  width: 100%; height: 100%; min-height: 220px;
  display: grid; place-items: center; text-align: center;
  color: var(--evergreen);
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(46,107,65,.05) 14px 28px),
    var(--sage-tint);
  font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 1rem;
}
.img-slot svg { width: 34px; height: 34px; margin-bottom: .5rem; opacity: .7; }

/* =============================================================
   Stats band
   ============================================================= */
.band { background: var(--forest); color: var(--cream); border-radius: var(--radius); }
.band-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; padding: clamp(2rem,4vw,3rem); }
.band-inner .stat b { font-family: var(--serif); font-size: var(--step-3); color: #fff; display: block; line-height: 1; }
.band-inner .stat span { color: var(--sage); font-weight: 700; font-size: var(--step--1); margin-top: .4rem; display: block; }

/* =============================================================
   Practitioner cards
   ============================================================= */
.people-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.person {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.person:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person-photo { aspect-ratio: 1 / 1; background: var(--sage-tint); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; }
.person-body { padding: 1.2rem 1.3rem 1.4rem; }
.person-body h3 { font-size: var(--step-1); }
.person-body .role { color: var(--evergreen); font-weight: 800; font-size: .85rem; letter-spacing: .04em; margin-top: .3rem; }
.person-body p { color: var(--ink-soft); font-size: .95rem; margin-top: .7rem; }

/* =============================================================
   Insurance / logos
   ============================================================= */
.pill-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.pill {
  background: var(--paper); border: 1px solid var(--line); border-radius: 100px;
  padding: .55rem 1.1rem; font-weight: 800; font-size: .92rem; color: var(--forest);
}

/* =============================================================
   CTA band
   ============================================================= */
.cta {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--crimson), var(--crimson-dk));
  color: #fff; border-radius: var(--radius); text-align: center;
  padding: clamp(2.5rem, 6vw, 5rem) var(--gutter);
}
.cta h2 { color: #fff; font-size: var(--step-4); }
.cta p { color: rgba(255,255,255,.9); max-width: 46ch; margin: 1rem auto 0; font-size: var(--step-1); }
.cta-actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.cta .leafmark { position: absolute; opacity: .12; pointer-events: none; }

/* =============================================================
   Contact / forms
   ============================================================= */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 800; font-size: .85rem; color: var(--forest); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  font: inherit; padding: .8rem .9rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); background: var(--paper); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--evergreen);
  box-shadow: 0 0 0 3px rgba(46,107,65,.15);
}
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

.info-card { background: var(--forest); color: var(--cream); border-radius: var(--radius); padding: clamp(1.6rem,3vw,2.2rem); }
.info-card h3 { color: #fff; }
.info-row { display: flex; gap: .9rem; align-items: flex-start; padding-block: .9rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: var(--leaf); flex: none; }
.info-row .ic svg { width: 20px; height: 20px; }
.info-row .t { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--sage); font-weight: 800; }
.info-row a, .info-row p { color: #fff; font-weight: 700; }

/* =============================================================
   Page hero (interior pages)
   ============================================================= */
.page-hero {
  background:
    radial-gradient(90% 120% at 100% 0%, var(--sage-tint) 0%, transparent 50%),
    var(--cream);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line-soft);
}
.breadcrumbs { font-size: var(--step--1); font-weight: 700; color: var(--ink-soft); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--evergreen); }
.page-hero h1 { font-size: var(--step-4); max-width: 24ch; text-wrap: balance; }
.page-hero .lead { margin-top: 1.1rem; max-width: 58ch; }

/* =============================================================
   Accordion (service categories)
   ============================================================= */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; cursor: pointer; padding: 1.4rem .2rem;
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--serif); font-size: var(--step-2); color: var(--forest);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .plus { margin-left: auto; width: 30px; height: 30px; flex: none; position: relative; transition: transform .3s var(--ease); color: var(--evergreen); }
.acc details[open] summary .plus { transform: rotate(45deg); }
.acc .acc-body { padding: 0 .2rem 1.6rem; }

.def-list { display: grid; gap: .1rem; }
.def-item { padding: 1rem .2rem; border-top: 1px dashed var(--line); display: grid; grid-template-columns: minmax(170px, 240px) 1fr; gap: 1rem; align-items: baseline; }
.def-item:first-child { border-top: 0; }
.def-item dt { font-weight: 800; color: var(--forest); }
.def-item dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 620px) { .def-item { grid-template-columns: 1fr; gap: .25rem; } }

/* =============================================================
   Footer
   ============================================================= */
.site-footer { background: #10301C; color: var(--sage); padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand .brand-name b { color: #fff; }
.footer-brand p { color: var(--sage); margin-top: 1rem; max-width: 34ch; font-size: .95rem; }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col a { color: var(--sage); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .85rem; color: var(--sage); text-align: center; font-style: italic; }
.footer-nhsc { font-size: .82rem; color: color-mix(in srgb, var(--sage) 85%, transparent); max-width: 60ch; margin-top: 1rem; line-height: 1.55; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* =============================================================
   Reveal on scroll
   ============================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =============================================================
   Utilities
   ============================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
@media (max-width: 780px) { .grid-2 { grid-template-columns: 1fr; } }
.skip-link { position: absolute; left: -999px; top: .5rem; background: var(--forest); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: .5rem; }

/* =============================================================
   Locations grid
   ============================================================= */
.loc-grid { display: grid; gap: 1.15rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.loc-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.loc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.loc-card .tag { align-self: flex-start; background: var(--sage-tint); color: var(--forest); font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 100px; margin-bottom: .9rem; }
.loc-card h3 { font-size: var(--step-1); }
.loc-card address { font-style: normal; color: var(--ink-soft); margin-top: .5rem; line-height: 1.5; }
.loc-card .loc-meta { margin-top: 1rem; display: grid; gap: .5rem; }
.loc-card .loc-meta a, .loc-card .loc-meta span { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; color: var(--forest); font-size: .95rem; }
.loc-card .loc-meta svg { width: 1.05em; height: 1.05em; color: var(--evergreen); flex: none; }
.loc-card .loc-meta .hrs { color: var(--ink-soft); font-weight: 600; }
.loc-card .dir { margin-top: 1.3rem; }

/* =============================================================
   Team roster (no photos — monogram avatars)
   ============================================================= */
.office-head { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; margin: clamp(2rem,4vw,3rem) 0 1.3rem; padding-bottom: .8rem; border-bottom: 1px solid var(--line); }
.office-head h2 { font-size: var(--step-2); }
.office-head span { color: var(--ink-soft); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: .4rem; }
.office-head span svg { width: 1em; height: 1em; color: var(--evergreen); }
.roster { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.roster-card { display: flex; gap: 1rem; align-items: center; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); padding: 1rem 1.15rem; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.roster-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.monogram { width: 52px; height: 52px; border-radius: 50%; background: var(--sage-tint); color: var(--forest); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; flex: none; letter-spacing: .01em; }
.roster-card.lead .monogram { background: var(--forest); color: var(--cream); }
.roster-card h3 { font-size: 1.05rem; line-height: 1.2; }
.roster-card .cred { color: var(--evergreen); font-weight: 800; font-size: .8rem; margin-top: .15rem; }
.roster-card .role { color: var(--ink-soft); font-weight: 700; font-size: .82rem; margin-top: .1rem; }

/* Footer sitemap + credit */
.footer-sitemap { display: flex; flex-wrap: wrap; gap: .35rem 1.15rem; }
.footer-sitemap a { color: var(--sage); font-size: .85rem; font-weight: 700; }
.footer-sitemap a:hover { color: #fff; }
.site-design { color: color-mix(in srgb, var(--sage) 82%, transparent); font-size: .85rem; font-weight: 700; display: inline-flex; align-items: center; gap: .25rem; }
.site-design:hover { color: #fff; }

/* All-white footer logo (silhouette of the tree mark) */
.footer-brand .brand img { filter: brightness(0) invert(1); }

/* Footer brand text white + compact bottom meta */
.footer-brand .brand-name span { color: #fff; }
.footer-meta { display: flex; align-items: center; gap: .7rem; }
.footer-meta a { color: var(--sage); font-size: .85rem; font-weight: 700; display: inline-flex; align-items: center; gap: .25rem; }
.footer-meta a:hover { color: #fff; }
.footer-meta .sep { color: rgba(255,255,255,.3); }

/* Sitemap page */
.sitemap-cols { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.sitemap-cols section h2 { font-size: var(--step-1); margin-bottom: .9rem; padding-bottom: .6rem; border-bottom: 1px solid var(--line); }
.sitemap-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.sitemap-cols a { color: var(--ink-soft); font-weight: 700; display: inline-flex; align-items: center; gap: .5rem; }
.sitemap-cols a:hover { color: var(--evergreen); }
.sitemap-cols a::before { content: "→"; color: var(--leaf); font-weight: 800; }

/* Contact form status message */
.form-status { margin-top: .9rem; font-weight: 800; font-size: .95rem; }
.form-status.ok { color: var(--evergreen); }
.form-status.err { color: var(--crimson); }

/* Choices.js — CPD theme */
.choices { margin-bottom: 0; font-family: var(--sans); }
.choices__inner { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: .55rem 2rem .55rem .9rem; min-height: 0; font-size: var(--step-0); }
.choices.is-focused .choices__inner, .choices.is-open .choices__inner { border-color: var(--evergreen); box-shadow: 0 0 0 3px rgba(46,107,65,.15); }
.choices.is-open .choices__inner { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.choices__list--single { padding: .3rem 0; }
.choices__list--single .choices__item { color: var(--ink); }
.choices[data-type*="select-one"]::after { border-color: var(--evergreen) transparent transparent transparent; right: 14px; }
.choices[data-type*="select-one"].is-open::after { border-color: transparent transparent var(--evergreen) transparent; }
.choices__list--dropdown, .choices__list[aria-expanded] { background: var(--paper); border: 1.5px solid var(--evergreen); border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow); }
.choices__list--dropdown .choices__item, .choices__list[aria-expanded] .choices__item { color: var(--ink); font-size: .98rem; }
.choices__list--dropdown .choices__item--selectable.is-highlighted, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted { background: var(--sage-tint); color: var(--forest); }
.choices__list--dropdown .choices__item--selectable::after { display: none; }
.choices__item, .choices__list--single .choices__item { word-break: normal; overflow-wrap: break-word; white-space: normal; }

/* Homepage: logo grows at top, shrinks once scrolled (fleet pattern) */
.site-header .brand img { transition: width .3s var(--ease), height .3s var(--ease); }
.home .site-header .brand img { width: 64px; height: 64px; }
.home .site-header.scrolled .brand img { width: 44px; height: 44px; }
@media (max-width: 1000px) { .home .site-header .brand img { width: 52px; height: 52px; } }
