/* ============================================================
   Purpose People — site stylesheet
   Brand palette and typography from the May 2022 PP Brand Style Guide.
   ============================================================ */

:root {
  /* Brand palette (PP Style Guide) */
  --forest: #27443D;
  --forest-deep: #1A2F29;
  --teal: #32998E;
  --teal-deep: #1C6E64;   /* AA on all site grounds (was #207D72) */
  --teal-soft: #BFE0DA;
  --aqua: #BDDFCF;
  --aqua-soft: #E1EFE8;
  --aqua-paper: #F0F7F2;
  --coral: #E7AE9D;
  --coral-soft: #F4D6CC;
  --coral-tx: #A8452F;    /* AA for 11-13px labels on plaster (was #B5503F) */
  --plaster: #EAE3DE;
  --plaster-soft: #F5F0EB;
  --yellow: #F4E47B;

  --ink: #24302D;
  --ink-soft: #5A6864;
  --gray-mid: #9A9690;
  --line: rgba(39, 68, 61, 0.12);

  --shadow-sm: 0 1px 3px rgba(39,68,61,0.08), 0 1px 2px rgba(39,68,61,0.06);
  --shadow-md: 0 4px 16px rgba(39,68,61,0.10), 0 2px 6px rgba(39,68,61,0.06);
  --shadow-lg: 0 10px 40px rgba(39,68,61,0.14), 0 4px 12px rgba(39,68,61,0.08);

  --serif: 'Lora', Georgia, serif;
  --sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--plaster-soft);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal-deep); }
img { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.wide       { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

/* Eyebrow = a solid filled chip. A coloured shape (not just coloured
   text) gives the label real figure-ground separation from the page,
   so the red/pink section markers read instantly and never get lost. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11.5px;
  line-height: 1;
  color: #FBF4EF;
  background: var(--coral-tx);
  padding: 8px 15px 8px 13px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(181, 80, 63, 0.18);
}
/* Small light dot inside the chip */
.eyebrow::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}
.eyebrow.on-dark { background: var(--coral); color: var(--forest-deep); box-shadow: none; }
.eyebrow.muted   { background: var(--teal-deep); color: #EFF7F3; box-shadow: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--forest);
  margin: 0;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.1; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; }
h4 { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.3; font-weight: 600; }

.italic { font-style: italic; }
.serif  { font-family: var(--serif); }
.coral  { color: var(--coral-tx); }
.accent-italic { color: var(--coral-tx); font-style: italic; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
small { font-size: 13px; color: var(--ink-soft); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform .18s ease, box-shadow .18s ease, background .18s, color .18s;
  cursor: pointer;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--teal-deep); color: white; }
.btn-primary:hover { background: var(--forest); color: white; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: white; }
.btn-coral { background: var(--coral); color: var(--forest); }
.btn-coral:hover { background: #d99683; color: var(--forest); }
.btn-on-dark { background: white; color: var(--forest); }
.btn-on-dark:hover { background: var(--aqua); color: var(--forest); }
.btn-small { padding: 9px 18px; font-size: 12px; }

/* ============================================================
   Top utility bar
   ============================================================ */
.utility {
  background: var(--forest);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.utility .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
}
.utility a { display: inline-flex; align-items: center; gap: 6px; }
.utility a:hover { color: var(--coral); }
.utility-left { display: flex; gap: 28px; }
.utility .pill-cta {
  background: var(--coral); color: var(--forest); font-weight: 700;
  padding: 4px 14px; border-radius: 999px;
  text-transform: uppercase; font-size: 11px; letter-spacing: 0.1em;
}
.utility .pill-cta:hover { background: white; color: var(--forest); }

/* ============================================================
   Header / Navigation
   ============================================================ */
.site-header {
  background: var(--plaster-soft);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 52px; width: auto; }
.brand .wm { display: none; }

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

/* Skip link for keyboard users */
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--forest); color: white; padding: 10px 16px; border-radius: 6px; font-family: var(--sans); font-weight: 700; }
.skip-link:focus { top: 12px; color: white; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--forest);
  position: relative;
  white-space: nowrap;
}
.nav a:hover { color: var(--teal-deep); }
.nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--coral-tx); border-radius: 2px;
}
.nav .nav-cta {
  background: var(--teal-deep); color: white;
  padding: 10px 22px; border-radius: 999px;
  font-weight: 700; letter-spacing: 0.06em; font-size: 12px;
  text-transform: uppercase;
}
.nav .nav-cta:hover { background: var(--forest); color: white; }
.nav .nav-cta::after { display: none; }

.menu-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  padding: 8px;
}
.menu-toggle svg { width: 28px; height: 28px; fill: var(--forest); }

/* ============================================================
   Hero pattern
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--forest-deep);
}
.hero .hero-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.95);
}
.hero .hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,47,41,0.78) 0%, rgba(26,47,41,0.42) 60%, rgba(26,47,41,0.10) 100%);
}
.hero .hero-content {
  position: relative;
  padding-top: 96px; padding-bottom: 96px;
  min-height: 540px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero h1 {
  color: white;
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 820px;
  margin-bottom: 22px;
}
.hero .lede {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.45; max-width: 620px;
  color: rgba(255,255,255,0.92);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero .badge-block {
  display: inline-block;
  background: rgba(189, 223, 207, 0.16);
  border-left: 3px solid var(--coral);
  padding: 8px 18px;
  margin-bottom: 24px;
  border-radius: 4px;
  color: var(--aqua);
  font-family: var(--sans); font-weight: 700; font-size: 12px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.hero .play-link {
  display: inline-flex; align-items: center; gap: 12px;
  color: white; font-family: var(--sans); font-weight: 700;
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
}
.hero .play-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.16); backdrop-filter: blur(4px);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.4);
  transition: background .2s;
}
.hero .play-link:hover .play-icon { background: var(--coral); border-color: var(--coral); }

/* Hero variants */
.hero-compact .hero-content { min-height: 380px; padding-top: 72px; padding-bottom: 72px; }
.hero-light { background: var(--plaster); color: var(--forest); }
.hero-light .hero-content { min-height: 320px; }
.hero-light h1 { color: var(--forest); }
.hero-light .lede { color: var(--ink-soft); }

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip {
  background: var(--plaster);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust-strip .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 28px;
  text-align: center;
}
.trust-item { display: inline-flex; align-items: center; gap: 12px; color: var(--forest); }
.trust-item .badge {
  width: 38px; height: 38px; border-radius: 50%;
  background: white;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--forest);
  font-family: var(--sans); font-weight: 900; font-size: 11px;
  color: var(--forest);
}
.trust-item-label { font-family: var(--sans); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-align: left; }
.trust-item-sub { font-size: 11px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--ink-soft); text-align: left; }
.trust-divider { width: 1px; height: 28px; background: var(--line); }

/* ============================================================
   Sections
   ============================================================ */
section { padding: 96px 0; }
.section-head { margin-bottom: 60px; }
.section-head .eyebrow { display: inline-flex; margin-bottom: 18px; }
.section-title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.15; max-width: 760px; margin-bottom: 16px; }
.section-lede {
  font-family: var(--serif); font-style: italic;
  font-size: 19px; line-height: 1.5;
  color: var(--ink-soft);
  max-width: 640px;
}

.bg-cream    { background: var(--plaster-soft); }
.bg-plaster  { background: var(--plaster); }
.bg-aqua     { background: var(--aqua-soft); }
.bg-forest   { background: var(--forest); color: white; }
.bg-forest h2, .bg-forest h3 { color: white; }
.bg-forest .section-lede { color: rgba(255,255,255,0.85); }
.bg-coral    { background: var(--coral-soft); }

/* ============================================================
   Audience switcher
   ============================================================ */
.audience {
  background: var(--aqua-soft);
  padding: 48px 0;
}
.audience .container { text-align: center; }
.audience-title {
  font-family: var(--sans); font-weight: 900;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--teal-deep); margin-bottom: 22px;
}
.audience-switch { display: inline-flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.audience-pill {
  background: white;
  border: 1.5px solid var(--line);
  padding: 14px 30px;
  border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  color: var(--forest);
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .18s;
  cursor: pointer;
}
.audience-pill:hover {
  border-color: var(--teal-deep); background: var(--teal-deep); color: white;
  transform: translateY(-1px); box-shadow: var(--shadow-md);
}
.audience-pill .arrow { transition: transform .18s; }
.audience-pill:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Card grids
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none; color: inherit;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.card .img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; }
.card .body { padding: 28px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.card .audience-tag {
  font-family: var(--sans); font-weight: 900; font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral-tx); margin-bottom: 10px;
}
.card h3 { font-size: 24px; font-weight: 500; margin-bottom: 12px; }
.card p { font-size: 15px; line-height: 1.55; color: var(--ink-soft); margin: 0 0 22px; flex: 1; }
.card .arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal-deep);
  font-family: var(--sans); font-weight: 700; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.card:hover .arrow-link { color: var(--forest); }

/* ============================================================
   Testimonials
   ============================================================ */
.testimonial {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-left: 3px solid var(--coral);
  padding: 28px 32px;
  border-radius: 4px;
}
.bg-cream .testimonial,
.bg-plaster .testimonial,
.bg-aqua .testimonial {
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--coral-tx);
}
.testimonial-quote {
  font-family: var(--serif); font-style: italic;
  font-size: 18px; line-height: 1.5;
  color: var(--forest);
  margin: 0 0 18px;
}
.bg-forest .testimonial-quote { color: rgba(255,255,255,0.92); }
.testimonial-name {
  font-family: var(--sans); font-weight: 700; font-size: 13px;
  color: var(--coral-tx);
  letter-spacing: 0.10em; text-transform: uppercase;
}
.bg-forest .testimonial-name { color: var(--coral); }
.testimonial-role {
  font-family: var(--sans); font-size: 12px;
  color: var(--ink-soft);
  margin-top: 3px;
}
.bg-forest .testimonial-role { color: rgba(255,255,255,0.65); }

/* ============================================================
   Two-column split (text + image, or text + card)
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split-r { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ============================================================
   Price card
   ============================================================ */
.price-card {
  background: white;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  padding: 36px 36px 32px;
  border-top: 4px solid var(--coral-tx);
}
.price-card .price {
  font-family: var(--serif); font-size: 60px; line-height: 1;
  color: var(--forest); font-weight: 500; margin-bottom: 4px;
}
.price-card .price-sub {
  font-family: var(--sans); font-weight: 500;
  font-size: 14px; color: var(--ink-soft); margin-bottom: 24px;
}
.price-list { list-style: none; margin: 0 0 28px; padding: 0; }
.price-list li {
  display: flex; gap: 12px; padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--forest);
}
.price-list li::before { content: '✓'; color: var(--teal); font-weight: 700; }
.price-list li:first-child { border-top: none; padding-top: 0; }

/* ============================================================
   Service detail page blocks
   ============================================================ */
.at-a-glance {
  background: white;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  padding: 28px 32px;
  border-left: 4px solid var(--teal);
}
.at-a-glance dl { display: grid; grid-template-columns: max-content 1fr; gap: 12px 28px; margin: 0; }
.at-a-glance dt { font-family: var(--sans); font-weight: 900; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-deep); align-self: start; padding-top: 3px; }
.at-a-glance dd { margin: 0; font-size: 14.5px; color: var(--forest); line-height: 1.5; }

.steps-list {
  list-style: none;
  counter-reset: step;
  padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.steps-list li {
  counter-increment: step;
  background: white;
  border-radius: 4px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.steps-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-size: 32px;
  color: var(--coral-tx);
  position: absolute; top: 18px; right: 28px;
}
.steps-list h3 { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.3; font-weight: 600; color: var(--forest); margin-bottom: 8px; padding-right: 40px; }
.steps-list p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex; gap: 12px; padding: 10px 0;
  font-size: 15px; line-height: 1.5;
  color: var(--forest);
  border-top: 1px solid var(--line);
}
.check-list li::before { content: '✓'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
.check-list li:first-child { border-top: none; padding-top: 0; }

.x-list { list-style: none; padding: 0; margin: 0; }
.x-list li {
  display: flex; gap: 12px; padding: 10px 0;
  font-size: 15px; line-height: 1.5;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.x-list li::before { content: '✕'; color: var(--gray-mid); font-weight: 700; flex-shrink: 0; }
.x-list li:first-child { border-top: none; padding-top: 0; }

/* ============================================================
   Team grid
   ============================================================ */
.team-leader-grid { display: grid; grid-template-columns: 200px 1fr; gap: 32px; margin-bottom: 48px; }
.team-leader-grid .photo {
  width: 200px; height: 240px;
  background: var(--plaster); border-radius: 4px;
  background-size: cover; background-position: center;
}
.team-leader-grid .body { padding-top: 4px; }
.team-leader-grid h3 { margin-bottom: 4px; }
.team-leader-grid .role {
  font-family: var(--sans); font-weight: 700;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--coral-tx); margin-bottom: 16px;
}
.team-leader-grid .creds {
  margin-top: 16px;
  font-size: 13px; color: var(--ink-soft);
  border-top: 1px solid var(--line); padding-top: 12px;
}

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.team-grid .tile {
  background: white; border-radius: 4px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.team-grid .tile .photo {
  aspect-ratio: 1 / 1; background: var(--plaster);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 36px; color: var(--teal-deep);
}
.team-grid .tile .body { padding: 14px 16px; }
.team-grid .tile .name { font-family: var(--sans); font-weight: 700; font-size: 14px; color: var(--forest); margin: 0 0 2px; }
.team-grid .tile .role { font-size: 11.5px; color: var(--ink-soft); line-height: 1.3; }

/* ============================================================
   Article / blog
   ============================================================ */
.article-hero {
  background: var(--plaster);
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--line);
}
.article-hero .meta {
  font-family: var(--sans); font-weight: 900;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral-tx); margin-bottom: 18px;
}
.article-hero h1 { max-width: 820px; margin-bottom: 18px; }
.article-hero .standfirst {
  font-family: var(--serif); font-style: italic;
  font-size: 22px; line-height: 1.45;
  color: var(--ink-soft); max-width: 760px;
  margin-bottom: 28px;
}
.article-hero .byline {
  font-size: 14px; color: var(--ink-soft);
}

.article-body { padding: 80px 0; }
.article-body .container { max-width: 760px; }
.article-body h2 {
  margin-top: 56px; margin-bottom: 18px;
  font-size: 28px; line-height: 1.2;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p { font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 1.3em; }
.article-body blockquote {
  margin: 36px 0;
  padding: 24px 32px;
  background: var(--aqua-paper);
  border-left: 3px solid var(--teal-deep);
  font-family: var(--serif); font-style: italic;
  font-size: 19px; line-height: 1.5; color: var(--forest);
}
.article-body blockquote p:last-child { margin: 0; }

/* ============================================================
   Insights cards
   ============================================================ */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.insight-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  padding-bottom: 28px;
}
.insight-card .img { aspect-ratio: 4 / 3; background-size: cover; background-position: center; margin-bottom: 22px; border-radius: 0; }
/* Text sits in from the card edge so the hover shadow never hugs the copy */
.insight-card .cat,
.insight-card h3,
.insight-card p,
.insight-card .meta { padding-left: 26px; padding-right: 26px; }
.insight-card .cat {
  font-family: var(--sans); font-weight: 900;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral-tx); margin-bottom: 8px;
}
.insight-card h3 { font-size: 22px; line-height: 1.25; margin-bottom: 10px; }
.insight-card:hover h3 { color: var(--teal-deep); }
/* Non-clickable "coming soon" resource cards */
.insight-card.coming-soon { cursor: default; }
.insight-card.coming-soon .cat { color: var(--coral-tx); font-weight: 700; }
.insight-card.coming-soon:hover h3 { color: inherit; }
.insight-card.coming-soon:hover .img { transform: none; }
.insight-card p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; margin: 0 0 12px; }
.insight-card .meta { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); }

/* ============================================================
   Three-paths blocks (referrers / contact)
   ============================================================ */
.path-card {
  background: white;
  border-radius: 4px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--teal);
}
.path-card h3 { font-size: 22px; margin-bottom: 8px; }
.path-card .for { font-size: 14px; color: var(--coral-tx); font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.path-card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 18px; }

/* ============================================================
   FAQ / accordion style
   ============================================================ */
.accordion details {
  background: white;
  border-radius: 4px;
  padding: 18px 24px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--teal);
}
.accordion details[open] { background: var(--aqua-paper); }
.accordion summary {
  font-family: var(--serif); font-size: 18px;
  color: var(--forest); cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative; padding-right: 40px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: '+'; position: absolute; right: 0; top: -2px;
  font-size: 24px; color: var(--teal-deep);
  transition: transform .2s;
}
.accordion details[open] summary::after { content: '−'; }
.accordion .answer { padding-top: 12px; color: var(--ink-soft); line-height: 1.6; }

/* ============================================================
   Forms
   ============================================================ */
.form-card {
  background: white; border-radius: 6px;
  padding: 32px; box-shadow: var(--shadow-md);
}
/* Embedded third-party form (Dubsado) — slim frame, let the form supply its own padding */
.form-card--embed { padding: 12px; overflow: hidden; }
.form-card--embed iframe { display: block; width: 1px; min-width: 100%; border: 0; }
/* ============================================================
   Legal pages (privacy, terms) — long-form prose
   ============================================================ */
.legal { max-width: 760px; }
.legal h2 {
  font-size: 27px; margin: 0 0 20px;
}
.legal section + section { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.legal h3 {
  font-family: var(--sans); font-weight: 800; font-size: 12.5px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--coral-tx); margin: 32px 0 12px;
}
.legal p { font-size: 16.5px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 16px; }
.legal ul { margin: 0 0 20px; padding: 0; list-style: none; }
.legal li {
  position: relative; padding-left: 22px; margin-bottom: 12px;
  font-size: 16.5px; line-height: 1.7; color: var(--ink-soft);
}
.legal li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
}
.legal a { color: var(--teal-deep); }
.legal strong { color: var(--forest); font-weight: 700; }

/* Confirmation of which enquiry the visitor arrived from (set in js/main.js) */
.source-note {
  margin: 4px 4px 14px; padding: 10px 16px;
  background: var(--plaster-soft); border-radius: 999px;
  font-family: var(--sans); font-weight: 700; font-size: 13px;
  color: var(--forest);
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block; font-family: var(--sans); font-weight: 700;
  font-size: 13px; color: var(--forest); margin-bottom: 6px;
}
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: 14.5px;
  background: var(--plaster-soft); color: var(--ink);
}
.form-row textarea {
  border-radius: 12px; min-height: 100px; resize: vertical;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--teal);
}
.form-row .helper { font-size: 12px; color: var(--ink-soft); margin-top: 5px; }

/* ============================================================
   Newsletter band
   ============================================================ */
.newsletter {
  background: var(--plaster);
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.newsletter .container {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
}
.newsletter h3 { font-size: 28px; margin-bottom: 8px; }
.newsletter p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input {
  flex: 1; padding: 14px 18px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: 14px; background: white;
}
.newsletter input:focus { outline: none; border-color: var(--teal); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-grid h4, .footer-grid .footer-h {
  color: white;
  font-family: var(--sans); font-weight: 900;
  font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { font-size: 14px; padding: 6px 0; }
.footer-grid a:hover { color: var(--coral); }
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
/* align-self stops the column flex container stretching the logo to full width,
   which would override width:auto and distort the roundel. */
.footer-brand > img { height: 96px; width: auto; align-self: flex-start; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand .footer-mark img { filter: none; opacity: 1; height: 28px; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.7); margin: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12.5px; color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--coral); }

/* ============================================================
   Article (blog) callout box
   ============================================================ */
.callout {
  background: var(--coral-soft);
  border-left: 3px solid var(--coral-tx);
  border-radius: 4px;
  padding: 24px 28px;
  margin: 32px 0;
  font-family: var(--serif); font-style: italic;
  font-size: 18px; line-height: 1.5;
  color: var(--forest);
}

/* ============================================================
   Tags / chips
   ============================================================ */
.chip {
  display: inline-block;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--sans); font-size: 12px;
  color: var(--forest);
  margin: 3px;
}
.chip.active { background: var(--forest); color: white; border-color: var(--forest); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .grid-3, .grid-4, .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .split, .split-r, .newsletter .container { grid-template-columns: 1fr; gap: 36px; }
  .steps-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-leader-grid { grid-template-columns: 1fr; }
  .team-leader-grid .photo { width: 100%; height: 280px; }
}
@media (max-width: 720px) {
  section { padding: 56px 0; }
  .container, .wide { padding: 0 22px; }
  .grid-3, .grid-4, .insights-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .utility-left { display: none; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--plaster-soft); flex-direction: column; padding: 20px; gap: 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .nav a { width: 100%; padding: 8px 0; }
  .hero h1 { font-size: 36px; }
  .insights-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .at-a-glance { padding: 22px 22px; }
  .at-a-glance dl { grid-template-columns: 1fr; gap: 4px; }
  .at-a-glance dt {
    padding-top: 14px;
    font-size: 13px;
    letter-spacing: 0.14em;
  }
  .at-a-glance dd {
    font-size: 16px;
    line-height: 1.55;
  }
}

/* ============================================================
   FIXES (QA pass 1)
   ============================================================ */

/* Stronger hero overlay for legibility */
.hero .hero-overlay {
  background: linear-gradient(135deg, rgba(26,47,41,0.88) 0%, rgba(26,47,41,0.62) 55%, rgba(26,47,41,0.30) 100%);
}

/* Hero-light: split layout with a visual on the right at desktop */
.hero-light .hero-content { display: block; }
.hero-light .hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  min-height: 320px;
}
.hero-light .hero-row > div:first-child { padding-right: 12px; }
.hero-light .hero-visual {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}
@media (max-width: 960px) {
  .hero-light .hero-row { grid-template-columns: 1fr; gap: 32px; }
  .hero-light .hero-visual { aspect-ratio: 16 / 9; }
}

/* Team grid placeholder tiles should look like an intentional design choice */
.team-grid .tile .photo {
  background: linear-gradient(135deg, var(--aqua-paper) 0%, var(--aqua-soft) 100%);
  position: relative;
}
.team-grid .tile .photo::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.4), transparent 50%);
}

/* Force consistent card heights in grids */
.grid-2 .path-card, .grid-3 .path-card, .grid-4 .path-card { height: 100%; }
.grid-2, .grid-3, .grid-4 { align-items: stretch; }

/* Founder bio for Nicky — make the gradient placeholder more interesting */
.team-leader-grid .photo[style*="NG"],
.team-leader-grid .photo:not([style*="background-image"]) {
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal) 50%, var(--coral-tx) 100%) !important;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 64px; color: white;
}


/* ============================================================
   FIXES (QA pass 2 — round-2 feedback)
   ============================================================ */

/* Cookie consent placeholder */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 100;
  background: var(--forest);
  color: white;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: block;
}
.cookie-banner.hidden { display: none; }
.cookie-banner .cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  flex: 1 1 480px;
  color: rgba(255,255,255,0.92);
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner .btn-ghost {
  border-color: rgba(255,255,255,0.4);
  color: white;
  background: transparent;
}
.cookie-banner .btn-ghost:hover {
  background: rgba(255,255,255,0.08);
  color: white;
}
@media (max-width: 720px) {
  .cookie-banner { bottom: 0; left: 0; right: 0; border-radius: 0; padding: 16px 18px; }
  .cookie-banner .cookie-inner { gap: 14px; }
}

/* Accreditation strip — text-based marks for HCPC / RCOT / NAS */
.accreditation-strip {
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.accreditation-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.accred-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.accred-mark .mark {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--forest);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 14px;
  letter-spacing: 0.5px;
}
.accred-mark.rcot .mark { background: var(--teal-deep); }
.accred-mark.nas .mark { background: var(--coral-tx); font-size: 12px; }
.accred-mark .label-strong { font-size: 13px; font-weight: 700; color: var(--forest); }
.accred-mark .label-sub { font-size: 11px; color: var(--ink-soft); letter-spacing: 0.6px; text-transform: uppercase; }
@media (max-width: 720px) {
  .accreditation-strip .container { gap: 20px; }
  .accred-mark .mark { width: 44px; height: 44px; font-size: 12px; }
}

/* Two-button booking row */
.booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 28px 0;
}
.booking-row .booking-tile {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.booking-row .booking-tile h4 { margin: 0; font-family: var(--serif); font-size: 19px; color: var(--forest); }
.booking-row .booking-tile p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.booking-row .booking-tile .price { font-family: var(--serif); font-size: 22px; color: var(--forest); margin-top: 4px; }
.booking-row .booking-tile a { margin-top: auto; }
@media (max-width: 720px) {
  .booking-row { grid-template-columns: 1fr; }
}

/* Concise homepage hero — clean two-action layout */
.hero-actions-clean { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }

/* AI-testimonial flag */
.testimonial.unverified {
  border-left: 4px solid var(--coral-tx);
  padding-left: 18px;
}
.testimonial .unverified-flag {
  display: inline-block;
  background: var(--coral-tx);
  color: white;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Footer accreditation marks — real logo images on a white plate */
.footer-marks {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 6px 14px;
  background: white;
  border-radius: 6px;
  transition: transform 220ms ease-out, box-shadow 220ms ease-out;
}
.footer-mark img {
  height: 28px;
  width: auto;
  display: block;
}
.footer-mark:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  background: white;
}

/* ============================================================
   FIXES (QA pass 3 — round-3 feedback: hierarchy)
   ============================================================ */

/* Eyebrows: larger, more legible */
.eyebrow {
  font-size: 13.5px;
  letter-spacing: 0.18em;
  font-weight: 800;
}

/* H1/H2 toned down so the eye doesn't get pulled to the huge type */
h1 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; }
h2 { font-size: clamp(24px, 2.8vw, 34px); line-height: 1.18; }
.section-title { font-size: clamp(26px, 2.8vw, 34px); }

/* Forest hero block — also dial down the huge accent line */
.bg-forest h2,
.bg-forest h2 .accent-italic { font-size: clamp(26px, 3.0vw, 38px) !important; line-height: 1.18 !important; }

/* Centred ADOS-2 / sensory testimonial helper */
.testimonial-centered {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-centered .testimonial-quote { font-size: 19px; }

/* Header brand block — drop the white square; show name beside the mark */
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}
.site-header .brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: transparent;
}
.site-header .brand .name {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--forest);
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.site-header .brand .name .small {
  display: block;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-top: 2px;
}

/* Values strip — Compassion / Collaboration / Integrity */
.values-strip {
  background: var(--plaster);
  padding: 28px 0;
  text-align: center;
}
.values-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.values-strip .value {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 12px;
}
.values-strip .value::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral-tx);
}
.values-strip .label {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 8px;
}

/* ============================================================
   MOTION (round 4 — Tier 1)
   Calm, considered motion for a mental-health audience.
   All effects honour prefers-reduced-motion at the bottom.
   ============================================================ */

/* Smooth scrolling for in-page anchors */
html { scroll-behavior: smooth; }

/* ----- Scroll-reveal -----
   Elements with .reveal start hidden, blurred and offset.
   When .reveal.in-view is added by IntersectionObserver, they
   transition in. Add inline style="--stagger:N" for grids. */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  filter: blur(6px);
  transition:
    opacity 720ms cubic-bezier(0.2, 0, 0, 1),
    transform 720ms cubic-bezier(0.2, 0, 0, 1),
    filter 720ms cubic-bezier(0.2, 0, 0, 1);
  transition-delay: calc(var(--stagger, 0) * 80ms);
  will-change: opacity, transform, filter;
}
.reveal.in-view {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ----- Hero Ken Burns -----
   Very slow zoom on hero background image — adds breath. */
@keyframes pp-kenburns {
  0%   { transform: scale(1.00) translate3d(0, 0, 0); }
  100% { transform: scale(1.05) translate3d(0, -0.6%, 0); }
}
.hero .hero-img {
  animation: pp-kenburns 28s ease-in-out infinite alternate;
  transform-origin: 50% 55%;
  will-change: transform;
}

/* ----- Card hover (gentler) ----- */
.card,
.path-card,
.booking-tile,
.insight-card {
  transition: transform 280ms cubic-bezier(0.2, 0, 0, 1),
              box-shadow 280ms cubic-bezier(0.2, 0, 0, 1);
}
.card:hover,
.path-card:hover,
.booking-tile:hover,
.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(39, 68, 61, 0.10), 0 4px 12px rgba(39, 68, 61, 0.06);
}

/* Buttons get a tiny hover lift too */
.btn { transition: transform 200ms ease-out, box-shadow 200ms ease-out, background-color 200ms ease-out; }
.btn:hover { transform: translateY(-1px); }

/* Accreditation marks brighten on hover */
.footer-mark { transition: color 220ms ease-out, border-color 220ms ease-out, background 220ms ease-out; }
.footer-mark:hover { background: rgba(255,255,255,0.08); }

/* ----- Smooth accordion -----
   The MH OT "Read more" section uses native <details>.
   We let JS measure and set max-height to the real scrollHeight. */
.accordion details .answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 360ms cubic-bezier(0.2, 0, 0, 1),
              opacity 240ms ease-out 60ms,
              padding 360ms cubic-bezier(0.2, 0, 0, 1);
  padding-top: 0;
  padding-bottom: 0;
}
.accordion details[open] .answer {
  max-height: 800px; /* fallback; JS overrides with real height */
  opacity: 1;
  padding-top: 6px;
  padding-bottom: 18px;
}
.accordion details summary { cursor: pointer; transition: color 180ms ease-out; }
.accordion details summary::after { transition: transform 280ms cubic-bezier(0.2, 0, 0, 1); display: inline-block; }
.accordion details[open] summary::after { transform: rotate(45deg); }

/* Cookie banner slide-up on first paint */
.cookie-banner {
  animation: pp-cookie-rise 520ms cubic-bezier(0.2, 0, 0, 1) both;
}
@keyframes pp-cookie-rise {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: none; }
}
.cookie-banner.hidden { display: none; animation: none; }

/* ----- Respect user preference -----
   Non-negotiable for a mental-health audience. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero .hero-img { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   MOBILE polish (round 5)
   Targeted fixes from the 375px audit.
   ============================================================ */

@media (max-width: 720px) {
  /* --- Utility bar: centre the enquiry pill since phone/email are hidden --- */
  .utility .container { justify-content: center; }
  .utility .pill-cta { margin: 0 auto; }

  /* --- Hero badge: smaller, tighter --- */
  .badge-block {
    font-size: 10.5px !important;
    padding: 8px 12px !important;
    letter-spacing: 0.10em !important;
    line-height: 1.4 !important;
  }
  .hero h1 { font-size: 32px; line-height: 1.12; }
  .hero .lede { font-size: 16px; line-height: 1.55; }

  /* --- Hero actions: stack and stretch to full width for easy tapping --- */
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-actions .play-link { justify-content: center; }

  /* --- Section padding: slightly tighter on small screens --- */
  section { padding: 48px 0; }
  .container { padding: 0 20px; }

  /* --- Brand mark: keep the name but drop the small subtitle on very narrow phones --- */
  .site-header .brand .name .small { display: none; }
  .site-header .brand img { width: 38px; height: 38px; }
  .site-header .brand .name { font-size: 17px; }

  /* --- Buttons: ensure adequate touch target --- */
  .btn { min-height: 44px; display: inline-flex; align-items: center; }
  .btn-small { min-height: 38px; }
  .btn { padding: 12px 22px; }

  /* --- Form inputs: 16px font prevents iOS zoom-on-focus --- */
  .form-row input,
  .form-row textarea,
  .form-row select,
  .newsletter input {
    font-size: 16px;
    min-height: 48px;
  }
  .form-row textarea { min-height: 120px; }
  /* Stack newsletter button under the input */
  .newsletter form { flex-direction: column; }
  .newsletter form .btn { width: 100%; }

  /* --- Values strip: tidy stacking --- */
  .values-strip .container { gap: 14px 24px; row-gap: 14px; }
  .values-strip .label { width: 100%; margin-right: 0; text-align: center; }
  .values-strip .value { font-size: 16px; }

  /* --- Accreditation strip (if it appears anywhere): allow wrap --- */
  .accreditation-strip .container { gap: 18px; }

  /* --- Booking row: full width single column --- */
  .booking-row { gap: 16px; }

  /* --- Path cards & cards: a touch more breathing room --- */
  .path-card, .card .body, .booking-tile { padding: 22px; }

  /* --- Steps list: more compact gap when stacked --- */
  .steps-list { gap: 18px; }

  /* --- Cookie banner: full-width buttons --- */
  .cookie-banner .cookie-actions { width: 100%; }
  .cookie-banner .btn { flex: 1; justify-content: center; }

  /* --- Footer marks: centre on mobile --- */
  .footer-marks { justify-content: flex-start; }

  /* --- Nav menu when open: bigger tap targets --- */
  .nav.open a { padding: 14px 0; font-size: 17px; }
  .nav.open .nav-cta { justify-content: center; text-align: center; }

  /* Team grid: single column on mobile so horizontal tiles don't cramp */
  .team-grid { grid-template-columns: 1fr !important; }
  details.tile[open] { grid-column: auto !important; }
}

/* Tablet sweet spot — 2 cols for the team grid */
@media (max-width: 960px) and (min-width: 721px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Very small phones (e.g. iPhone SE 1st gen at 320px) */
@media (max-width: 380px) {
  .hero h1 { font-size: 28px; }
  .container { padding: 0 16px; }
  .site-header .brand .name { font-size: 16px; }
  .site-header .brand img { width: 34px; height: 34px; }
  .badge-block { font-size: 9.5px !important; padding: 6px 10px !important; }
}

/* Touch-device hover suppression — only apply the lift on devices with a fine pointer */
@media (hover: none) {
  .card:hover, .path-card:hover, .booking-tile:hover, .insight-card:hover,
  .btn:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
}

/* ============================================================
   EXPANDABLE TEAM TILES (round 6)
   Each tile is a <details> element that expands to show the bio.
   ============================================================ */

details.tile {
  background: white;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 240ms ease-out;
}
details.tile[open] {
  box-shadow: var(--shadow-md);
  grid-column: 1 / -1; /* expand to full row when open */
}
details.tile summary.tile-summary {
  display: flex;
  flex-direction: column;
  padding: 0;
  cursor: pointer;
  list-style: none;
  position: relative;
  background: white;
  transition: background-color 200ms ease-out;
}
details.tile summary.tile-summary::-webkit-details-marker { display: none; }
details.tile summary.tile-summary:hover { background: var(--plaster-soft); }
details.tile summary.tile-summary .photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--aqua-paper) 0%, var(--aqua-soft) 100%);
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 56px;
  color: var(--teal-deep);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
details.tile summary.tile-summary .body { padding: 16px 18px 14px; min-width: 0; }
details.tile summary.tile-summary .name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--forest);
  margin: 0 0 4px;
  line-height: 1.25;
}
details.tile summary.tile-summary .role {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.4;
}
details.tile summary.tile-summary .tile-toggle {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--forest);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  background: white;
  transition: transform 280ms cubic-bezier(0.2, 0, 0, 1),
              border-color 200ms ease-out,
              background 200ms ease-out,
              box-shadow 200ms ease-out;
  flex-shrink: 0;
  position: absolute;
  top: 12px;
  right: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
details.tile[open] summary.tile-summary .tile-toggle {
  transform: rotate(45deg);
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}
details.tile summary.tile-summary:hover .tile-toggle {
  border-color: var(--teal);
}

/* The bio content area uses the same smooth height transition as the accordion */
details.tile .tile-bio {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 22px;
  transition: max-height 360ms cubic-bezier(0.2, 0, 0, 1),
              opacity 240ms ease-out 60ms,
              padding 360ms cubic-bezier(0.2, 0, 0, 1);
  border-top: 1px solid transparent;
}
details.tile[open] .tile-bio {
  max-height: 2400px;
  opacity: 1;
  padding: 18px 28px 28px;
  border-top-color: var(--line);
}

/* ----- OPEN STATE -----
   Span the full row and lay out as a grid:
   - left column: photo (grows to fill the row height)
   - right column: name+role at top, bio below
   This eliminates the empty space we had with flex-row + indented bio. */
@media (min-width: 721px) {
  details.tile[open] {
    display: grid !important;
    grid-template-columns: 320px 1fr;
    grid-template-rows: auto 1fr;
    position: relative;
    align-items: stretch;
  }
  details.tile[open] summary.tile-summary {
    display: contents;
  }
  details.tile[open] summary.tile-summary .photo {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    min-height: 320px;
    background-size: cover;
    background-position: center top;
  }
  details.tile[open] summary.tile-summary .body {
    grid-column: 2;
    grid-row: 1;
    padding: 28px 32px 14px;
  }
  details.tile[open] summary.tile-summary .name { font-size: 24px; margin-bottom: 6px; }
  details.tile[open] summary.tile-summary .role { font-size: 14px; }
  details.tile[open] summary.tile-summary .tile-toggle {
    position: absolute;
    top: 18px;
    right: 18px;
  }
  details.tile[open] .tile-bio {
    grid-column: 2;
    grid-row: 2;
    padding: 0 32px 32px;
    max-height: none; /* grid handles size */
    margin-top: 0;
  }
  details.tile[open] .tile-bio p:first-of-type { margin-top: 0; }
}

/* Mobile open state: keep vertical, photo on top */
@media (max-width: 720px) {
  details.tile[open] summary.tile-summary { flex-direction: column; }
  details.tile[open] summary.tile-summary .photo {
    width: 100%;
    max-width: none;
    aspect-ratio: 1 / 1;
  }
  details.tile[open] summary.tile-summary .body { padding: 16px 18px 14px; }
}
details.tile .tile-bio p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
details.tile .tile-bio p:last-child { margin-bottom: 0; }
details.tile .tile-bio .creds-inline {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--teal-deep);
  font-weight: 600;
}

/* Promotional "has bio" hint — slight colored edge on the toggle */
details.tile.has-bio summary.tile-summary .tile-toggle {
  background: var(--aqua-soft);
  border-color: var(--aqua);
  color: var(--teal-deep);
}
details.tile.has-bio[open] summary.tile-summary .tile-toggle {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}

/* Static tile (no bio): same vertical layout, no toggle */
.team-grid .tile.static {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.team-grid .tile.static .photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--aqua-paper) 0%, var(--aqua-soft) 100%);
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 56px; color: var(--teal-deep);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.team-grid .tile.static .body { padding: 16px 18px 14px; min-width: 0; }
.team-grid .tile.static .name {
  font-family: var(--serif); font-size: 17px; color: var(--forest);
  margin: 0 0 4px; line-height: 1.25;
}
.team-grid .tile.static .role {
  font-family: var(--sans); font-size: 12.5px; color: var(--ink-soft);
  margin: 0; line-height: 1.4;
}

/* When a tile has a real photo, hide any initials text and use the photo */
.team-grid .tile .photo.has-photo,
.team-grid .tile .photo[style*="background-image"] {
  color: transparent;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}
/* The decorative ::after highlight feels wrong over real photos — kill it */
.team-grid .tile .photo.has-photo::after,
.team-grid .tile .photo[style*="background-image"]::after {
  display: none;
}

/* Leader-grid photo: when there's a background-image inline, use cover/centre */
.team-leader-grid .photo[style*="background-image"] {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Operations cards (Debbie / Chatrin): small portrait left, body right */
.ops-person {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.ops-person .ops-photo {
  width: 84px;
  height: 84px;
  border-radius: 6px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  flex-shrink: 0;
  background-color: var(--plaster);
}
.ops-person .ops-body { flex: 1; min-width: 0; }
.ops-person .ops-body .for { margin-top: 0; }
@media (max-width: 720px) {
  .ops-person .ops-photo { width: 64px; height: 64px; }
}

/* ============================================================
   Motion & polish (round 6 — gentler life on scroll)
   One or two considered movements per view. Everything here is
   disabled by the prefers-reduced-motion block above, which is
   non-negotiable for a mental-health audience.
   ============================================================ */

/* Eyebrow chip eases up as its section scrolls into view */
.section-head.reveal:not(.in-view) .eyebrow { transform: translateY(6px); }
.section-head.reveal .eyebrow { transition: transform 700ms cubic-bezier(0.2, 0, 0, 1) 80ms; }

/* Card imagery: a slow, gentle zoom on hover (the cards clip overflow) */
.card .img,
.insight-card .img { transition: transform 700ms cubic-bezier(0.2, 0, 0, 1); will-change: transform; }
.card:hover .img,
.insight-card:hover .img { transform: scale(1.05); }

/* Arrow links ease outward on hover */
.arrow-link { transition: gap 220ms ease-out, color 200ms ease-out; }
.card:hover .arrow-link,
.arrow-link:hover { gap: 14px; }

/* A touch more travel on reveals so scrolling feels alive, not jumpy */
.reveal { transform: translateY(22px); }

/* Two-column sections meet in the middle: the left column rises in from
   the left, the right column from the right. Desktop only, so the small
   horizontal offset can never cause overflow on a stacked mobile layout. */
@media (min-width: 721px) {
  .split  > div.reveal:nth-child(1),
  .split-r > div.reveal:nth-child(1) { transform: translateX(-28px); }
  .split  > div.reveal:nth-child(2),
  .split-r > div.reveal:nth-child(2) { transform: translateX(28px); }
  .split  > div.reveal.in-view,
  .split-r > div.reveal.in-view { transform: none; }
}


/* ============================================================
   Accessibility additions (Aug 2026 QA)
   ============================================================ */
/* Inline links inside running text are underlined so they do not rely on colour alone */
main p > a:not(.btn), main li > a:not(.btn), main .answer a, main .tile-bio a {
  color: var(--teal-deep);
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}
main p > a:not(.btn):hover, main li > a:not(.btn):hover { color: var(--forest); }
/* Visible keyboard focus on every control */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px;
}
.bg-forest a:focus-visible, .site-footer a:focus-visible, .utility a:focus-visible { outline-color: var(--coral); }
/* 24px minimum target size for footer and utility links */
.footer-grid li a, .footer-bottom a, main ul li > a { display: inline-block; padding: 3px 0; }
