/* Purple Heart — Speech & Hearing Centre */

:root {
  --ink: oklch(0.22 0.02 290);
  --ink-soft: oklch(0.42 0.025 290);
  --muted: oklch(0.55 0.02 290);
  --hairline: oklch(0.91 0.012 290);
  --bg: oklch(0.975 0.008 80);
  --paper: oklch(0.985 0.006 80);
  --sand: oklch(0.93 0.022 75);
  --sand-2: oklch(0.88 0.028 70);

  --violet: oklch(0.42 0.16 295);
  --violet-deep: oklch(0.32 0.14 295);
  --violet-ink: oklch(0.22 0.10 295);
  --lavender: oklch(0.92 0.045 300);
  --lavender-2: oklch(0.86 0.07 300);
  --blush: oklch(0.91 0.04 35);

  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px oklch(0.22 0.02 290 / 0.04), 0 4px 14px oklch(0.22 0.02 290 / 0.04);
  --shadow-md: 0 1px 2px oklch(0.22 0.02 290 / 0.05), 0 12px 32px oklch(0.22 0.02 290 / 0.07);

  --serif: "Newsreader", "Cormorant Garamond", Georgia, serif;
  --sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --mono: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --code: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-deep); }
button { font-family: inherit; cursor: pointer; }

/* ========== Layout ========== */
.app {
  width: 100%;
  overflow-x: clip;
}
.shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ========== Type ========== */
/* Label voice: sans, uppercase, tracked, weight 500. Replaces the old mono labels. */
.eyebrow, .tile-tag, .tile-meta, .hero-meta .lbl, .step-num, .step-meta,
.testi-quote .role, .footer h5, .footer-bottom, .blog-card .meta, .career-row .meta,
.contact-info .row .lbl, .field label, .divider-mono, .testi-mini figcaption,
.team-creds, .team-meta dt, .pulse-mock-tabs span, .pulse-mock-sub,
.pulse-chart-head .delta, .pulse-feed-day, .pulse-feed-tag, .goal-pct,
.note .who, .article-section-num, .role-meta, .placeholder-label, .ribbon-text,
.process-step::before, .avatar-label { font-weight: 500; font-feature-settings: "cv05", "ss03"; }
.serif { font-family: var(--serif); font-optical-sizing: auto; font-weight: 500; }
/* Covers inline fontFamily: "var(--serif)" set from JSX, on any page. */
[style*="--serif"] { font-weight: 500; }
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
/* Serif display voice — weight defined ONCE here, not per tag.
   Any serif element authored as a div belongs in this list. */
.tile-title, .hero-meta .num, .step-title, .faq-row .q, .career-row .role,
.contact-info .row .val, .testi-quote .who, .process-step h4, .svc-item h3,
.team-name, .pulse-mock-title, .article-lead {
  font-family: var(--serif); font-optical-sizing: auto; font-weight: 500;
}
/* Deliberate exception: body-scale italic pull quote, not display. */
.testi-mini blockquote { font-weight: 400; }
h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 0.98; letter-spacing: -0.035em; }
h2 { font-size: clamp(34px, 3.6vw, 56px); line-height: 1.02; letter-spacing: -0.028em; }
h3 { font-size: clamp(22px, 1.6vw, 28px); line-height: 1.15; }
h4 { font-size: 18px; line-height: 1.25; }
p  { margin: 0; color: var(--ink-soft); }
.lede { font-size: 18px; line-height: 1.55; color: var(--ink-soft); max-width: 56ch; text-wrap: pretty; }

/* ========== Pills / chips ========== */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  color: var(--ink);
  white-space: nowrap;
}
.chip-on-violet {
  background: oklch(1 0 0 / 0.16);
  border-color: oklch(1 0 0 / 0.22);
  color: white;
  backdrop-filter: blur(6px);
}
.chip .dot { width: 6px; height: 6px; border-radius: 99px; background: var(--violet); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: transform 0.12s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--violet); }
.btn-violet { background: var(--violet); color: white; }
.btn-violet:hover { background: var(--violet-deep); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { background: white; border-color: var(--ink); }
.btn-light { background: white; color: var(--ink); }
.btn-link { padding: 0; background: transparent; color: var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; }
.btn .arrow {
  width: 26px; height: 26px;
  border-radius: 99px;
  background: oklch(1 0 0 / 0.16);
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-primary .arrow, .btn-violet .arrow { background: oklch(1 0 0 / 0.16); }
.btn-ghost .arrow, .btn-light .arrow { background: var(--lavender); }

/* ========== Navigation ========== */
.nav {
  position: sticky; top: 16px; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  margin: 16px auto 0;
  max-width: 1280px;
  padding: 10px 14px 10px 22px;
  background: oklch(0.99 0.005 80 / 0.85);
  backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.brand img { display: block; height: 34px; width: auto; }
.brand-full img { height: 46px; }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-weight: 500; font-size: 14.5px;
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px;
  background: var(--violet);
  color: white;
}
.brand-mark svg { width: 16px; height: 16px; }
.brand small { color: var(--muted); font-weight: 400; font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 2px; white-space: nowrap; }
@media (max-width: 1180px) { .brand small { display: none; } }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  background: oklch(0.94 0.012 290);
  border-radius: var(--radius-pill);
  padding: 4px;
}
.nav-link {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  color: var(--ink-soft);
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-link:hover { color: var(--ink); }
.nav-link.is-active {
  background: white;
  color: var(--ink);
  border-color: var(--hairline);
  box-shadow: var(--shadow-sm);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 99px;
  background: var(--paper); border: 1px solid var(--hairline); color: var(--ink);
  align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor; }
.nav-drawer {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: white; border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  box-shadow: 0 28px 60px -30px oklch(0 0 0 / 0.28);
  padding: 12px; display: grid; gap: 2px;
}
.nav-drawer button {
  text-align: left; padding: 13px 16px; border-radius: 14px; background: transparent;
  border: none; font-size: 15px; color: var(--ink); font-family: var(--sans);
}
.nav-drawer button.is-active { background: var(--lavender); color: var(--violet-ink); }
.nav-drawer .drawer-cta { margin-top: 6px; justify-content: center; }
@media (max-width: 1180px) { .nav-link { padding: 9px 12px; font-size: 13px; } }
@media (max-width: 1080px) { .nav-actions .btn-ghost { display: none; } }
@media (max-width: 900px) { .nav-toggle { display: inline-flex; } }

/* ========== Hero ========== */
.hero {
  margin-top: 24px;
  padding: 0 0 40px;
}
.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--lavender);
  padding: 56px 56px 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  min-height: 520px;
}
.hero-card .copy { position: relative; z-index: 2; align-self: center; }
.hero-card h1 { color: var(--violet-ink); }
.hero-card .lede { color: var(--violet-ink); opacity: 0.8; max-width: 44ch; margin-top: 18px; }
.hero-card .ctas { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--sand);
  background-image: repeating-linear-gradient(135deg, oklch(0 0 0 / 0.025) 0 2px, transparent 2px 18px);
  overflow: hidden;
  min-height: 420px;
}
.placeholder-label {
  position: absolute; left: 16px; bottom: 16px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  color: var(--ink-soft);
  background: var(--paper);
  padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--hairline);
}

/* Ribbon */
.ribbon-wrap {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 3;
}
.ribbon-wrap svg { width: 100%; height: 100%; overflow: visible; }
.ribbon-band {
  fill: var(--violet);
}
.ribbon-text {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  fill: white;
  text-transform: uppercase;
}

/* hero stats row */
.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid oklch(0.42 0.16 295 / 0.18);
}
.hero-meta .stat { padding-right: 14px; }
.hero-meta .num { font-family: var(--serif); font-size: 30px; color: var(--violet-ink); letter-spacing: -0.02em; }
.hero-meta .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet-ink); opacity: 0.65; margin-top: 4px;}

/* ========== Service tiles ========== */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.tile {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--sand);
  background-image: repeating-linear-gradient(135deg, oklch(0 0 0 / 0.02) 0 2px, transparent 2px 18px);
  overflow: hidden;
  aspect-ratio: 4/5;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.tile:hover { transform: translateY(-4px); }
.tile.tone-lavender { background: var(--lavender); background-image: none; }
.tile.tone-blush    { background: var(--blush);    background-image: none; }
.tile.tone-ink      { background: var(--ink); color: white; background-image: none; }
.tile.tone-mist     { background: oklch(0.91 0.02 220); background-image: none; }
.tile.tone-sand-2   { background: var(--sand-2); }

.tile-top {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.tile-tag {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase;
  background: oklch(1 0 0 / 0.7);
  border: 1px solid oklch(0 0 0 / 0.06);
  padding: 6px 10px; border-radius: 99px;
  color: var(--ink);
}
.tile.tone-ink .tile-tag { background: oklch(1 0 0 / 0.12); border-color: oklch(1 0 0 / 0.18); color: white; }
.tile-arrow {
  width: 36px; height: 36px;
  border-radius: 99px;
  background: white;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid oklch(0 0 0 / 0.06);
}
.tile.tone-ink .tile-arrow { background: white; color: var(--ink); }
.tile-title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.tile-meta {
  display: flex; flex-direction: column; align-items: flex-start; gap: 7px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tile-meta > span { max-width: 100%; line-height: 1.45; }
.tile-meta > span:first-child { white-space: normal; overflow-wrap: anywhere; }
.tile-meta > span:last-child { white-space: nowrap; }

/* ========== Section ========== */
.section { padding: 96px 0; }
.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; margin-bottom: 36px;
}
.section-head h2 { max-width: 18ch; }
.section-head .right { max-width: 36ch; text-align: right; }
.section-head .right .lede { font-size: 15.5px; }

/* ========== Cards row ========== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* ========== Journey ========== */
.journey-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: white;
  padding: 48px;
  overflow: hidden;
}
.journey-card.alt {
  background: var(--lavender);
  color: var(--violet-ink);
}
.journey-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.journey-card h2 { color: inherit; }
.journey-steps { display: grid; gap: 12px; margin-top: 24px; }
.journey-step {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: oklch(1 0 0 / 0.06);
  border: 1px solid oklch(1 0 0 / 0.1);
}
.journey-card.alt .journey-step {
  background: oklch(1 0 0 / 0.4);
  border-color: oklch(0.42 0.16 295 / 0.14);
}
.step-num { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; opacity: 0.7; }
.step-title { font-family: var(--serif); font-size: 19px; letter-spacing: -0.01em; }
.step-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.journey-image {
  border-radius: var(--radius-lg);
  background: var(--sand);
  background-image: repeating-linear-gradient(135deg, oklch(0 0 0 / 0.025) 0 2px, transparent 2px 18px);
  min-height: 480px;
  position: relative;
}
.journey-card.dark .journey-image { background: var(--sand-2); }

/* ========== Testimonials curve ========== */
.testimonials {
  position: relative;
  background: white;
  border-radius: var(--radius-xl);
  padding: 96px 32px;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.testimonials-center { text-align: center; max-width: 540px; margin: 0 auto; position: relative; z-index: 2; }
.testimonials .chip { background: var(--lavender); border-color: transparent; color: var(--violet-ink); }
.testi-quote {
  position: absolute;
  background: var(--ink);
  color: white;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  max-width: 280px;
  font-size: 14px;
  line-height: 1.5;
  z-index: 3;
  box-shadow: var(--shadow-md);
}
.testi-quote .who { font-family: var(--serif); font-size: 16px; margin-top: 10px; display: block; }
.testi-quote .role { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; }
.avatar {
  position: absolute;
  width: 64px; height: 64px;
  border-radius: 99px;
  background: var(--sand);
  background-image: repeating-linear-gradient(135deg, oklch(0 0 0 / 0.04) 0 2px, transparent 2px 8px);
  border: 3px solid white;
  box-shadow: var(--shadow-md);
  display: inline-flex; align-items: end; justify-content: center;
}
.avatar.lg { width: 88px; height: 88px; }
.avatar.xl { width: 112px; height: 112px; }
.avatar.lavender { background: var(--lavender); background-image: none; }
.avatar.blush { background: var(--blush); background-image: none; }
.avatar.sand-2 { background: var(--sand-2); background-image: none; }
.avatar .tag {
  position: absolute; bottom: -11px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.08em;
  background: white; box-shadow: var(--shadow-sm);
  padding: 3px 7px;
  border-radius: 4px; color: var(--ink);
}
@media (max-width: 1099px) { .testi-quote { display: none; } }

/* ========== FAQ ========== */
.faq-card {
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  background: var(--paper);
  padding: 0;
  overflow: hidden;
}
.faq-row {
  border-bottom: 1px solid var(--hairline);
  padding: 22px 24px;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}
.faq-row:last-child { border-bottom: none; }
.faq-row .q { font-family: var(--serif); font-size: 19px; letter-spacing: -0.01em; color: var(--ink); }
.faq-row .a { grid-column: 1 / -1; margin-top: 14px; color: var(--ink-soft); display: none; max-width: 64ch; }
.faq-row.open .a { display: block; }
.faq-row .toggle {
  width: 32px; height: 32px;
  border-radius: 99px;
  border: 1px solid var(--hairline);
  background: white;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: transform 0.2s ease;
}
.faq-row.open .toggle { background: var(--violet); color: white; border-color: transparent; transform: rotate(45deg); }

/* ========== CTA banner ========== */
.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 64px 56px;
  overflow: hidden;
}

/* ========== Footer ========== */
.footer {
  margin-top: 64px;
  padding: 64px 0 32px;
  border-top: 1px solid var(--hairline);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--ink); font-size: 14px; }
.footer ul a:hover { color: var(--violet); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.05em; color: var(--muted);
}

/* ========== Page-specific ========== */

/* Service grid (services page) */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.svc-item {
  grid-column: span 4;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 220px;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}
.svc-item .btn { margin-top: auto; }
.svc-item:hover { transform: translateY(-3px); background: white; }
.svc-item.featured { grid-column: span 8; min-height: 320px; background: var(--lavender); border-color: transparent; }
.svc-item.dark { background: var(--ink); color: white; border-color: transparent; }
.svc-item h3 { font-size: 26px; }
.svc-item.dark h3 { color: white; }

/* Process / steps row */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: step; }
.process-step {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 200px;
}
.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--violet);
}
.process-step h4 { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; }

/* Blog cards */
.blog-feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-bottom: 24px;
}
.blog-feature .img {
  border-radius: var(--radius-lg);
  background: var(--sand);
  background-image: repeating-linear-gradient(135deg, oklch(0 0 0 / 0.02) 0 2px, transparent 2px 18px);
  min-height: 380px;
  position: relative;
}
.blog-feature .body { padding: 24px; align-self: center; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer;
}
.blog-card .img {
  border-radius: var(--radius-md);
  background: var(--sand);
  background-image: repeating-linear-gradient(135deg, oklch(0 0 0 / 0.02) 0 2px, transparent 2px 18px);
  aspect-ratio: 5/4;
  position: relative;
}
.blog-card .meta {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
  display: flex; gap: 12px;
}
.blog-card h3 { font-size: 22px; }
.blog-card:hover h3 { color: var(--violet); }

/* Career */
.career-row {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  transition: background 0.15s ease;
}
.career-row:hover { background: var(--paper); }
.career-row .role { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; }
.career-row .meta { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--ink-soft); text-transform: uppercase; }

/* Contact form */
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: white;
}
.contact-info {
  background: var(--ink); color: white;
  padding: 56px 48px;
  display: flex; flex-direction: column; gap: 24px;
}
.contact-info h2 { color: white; }
.contact-info .row { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; border-top: 1px solid oklch(1 0 0 / 0.1); }
.contact-info .row .lbl { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: oklch(1 0 0 / 0.5); }
.contact-info .row .val { font-family: var(--serif); font-size: 22px; letter-spacing: -0.01em; }

.form { padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.contact-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.contact-switch button { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 20px 24px; border-radius: var(--radius-lg); border: 1.5px solid var(--hairline); background: var(--paper); color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s; }
.contact-switch button:hover { border-color: oklch(0.42 0.16 295 / 0.4); }
.contact-switch button b { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; }
.contact-switch button span { font-size: 14px; color: var(--muted); }
.contact-switch button.is-on { border-color: var(--violet); background: var(--lavender); }
.contact-switch button.is-on span { color: var(--violet-ink); }
.contact-switch button:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.screening-card { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: start; }
.screening-card .contact-info { align-self: stretch; }
.screening-frame { padding: 40px 44px; min-width: 0; }
.screening-frame iframe { display: block; width: 100%; border: 0; transition: height .2s; }
@media (max-width: 900px) { .contact-switch { grid-template-columns: 1fr; } .screening-card { grid-template-columns: 1fr; } .screening-frame { padding: 28px 20px; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  appearance: none;
  font-family: var(--sans);
  font-size: 15px;
  border: 1px solid var(--hairline);
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--violet); background: white;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Online therapy globe */
.globe-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, var(--violet) 0%, var(--violet-deep) 100%);
  color: white;
  padding: 64px 56px;
  overflow: hidden;
  min-height: 520px;
}
.globe-rings {
  position: absolute; right: -200px; top: 50%; transform: translateY(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  border: 1px solid oklch(1 0 0 / 0.15);
}
.globe-rings::before, .globe-rings::after {
  content: ''; position: absolute; inset: 80px;
  border-radius: 50%;
  border: 1px solid oklch(1 0 0 / 0.12);
}
.globe-rings::after { inset: 160px; border-color: oklch(1 0 0 / 0.08); }
.globe-pin {
  position: absolute;
  width: 10px; height: 10px;
  background: white;
  border-radius: 99px;
  box-shadow: 0 0 0 4px oklch(1 0 0 / 0.2);
}

.bloom-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: oklch(0.6 0.2 0);
  color: white;
  padding: 64px 56px;
  overflow: hidden;
  min-height: 520px;
}
.hero-card, .globe-card, .bloom-card { min-height: 720px; padding: 56px; box-sizing: border-box; }
.globe-card, .bloom-card { display: flex; align-items: center; }
@media (max-width: 900px) { .hero-card, .globe-card, .bloom-card { min-height: 0; padding: 40px 28px; } }
/* Supporting-page header box: half the service-hero height, soft tone */
.page-head, .page-head-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.page-head { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 72px 56px 56px; min-height: 360px; box-sizing: border-box; margin-bottom: 48px; align-content: end; }
.page-head > *, .page-head-grid > * { position: relative; z-index: 1; }
.page-head h1 { color: var(--violet-ink); }
.page-head .lede { color: var(--violet-ink); opacity: 0.82; }
.page-head .eyebrow { color: var(--violet-ink); opacity: 0.7; }
.page-head h1 { font-size: clamp(44px, 5vw, 68px); }
.ph-lav .page-head-grid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.page-head::after { content: ""; position: absolute; right: -160px; top: -220px; width: 560px; height: 560px; border-radius: 50%; border: 1px solid oklch(0.3 0.08 295 / 0.1); box-shadow: 0 0 0 80px transparent, inset 0 0 0 80px transparent; }
.page-head::before { content: ""; position: absolute; right: -80px; top: -140px; width: 400px; height: 400px; border-radius: 50%; border: 1px solid oklch(0.3 0.08 295 / 0.08); }
.ph-sand { background: var(--sand); }
.ph-lav { background: oklch(0.955 0.014 285); }
.ph-sky { background: oklch(0.94 0.035 235); }
.ph-blush { background: var(--blush); }
@media (max-width: 900px) { .page-head, .page-head-grid { grid-template-columns: 1fr; gap: 20px; } .page-head { padding: 40px 28px; min-height: 0; } }
.bloom-pin-lg { width: 16px; height: 16px; }
.bloom-pin-sm { width: 6px; height: 6px; box-shadow: 0 0 0 3px oklch(1 0 0 / 0.18); }
.tabs { display: flex; gap: 6px; padding: 4px; background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-pill); width: fit-content; }
.tab { padding: 9px 16px; font-size: 13.5px; border-radius: var(--radius-pill); background: transparent; border: none; color: var(--ink-soft); }
.tab.is-active { background: white; color: var(--ink); box-shadow: var(--shadow-sm); }

/* Misc helpers */
.divider-mono {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.divider-mono::before, .divider-mono::after {
  content: ''; flex: 1; height: 1px; background: var(--hairline);
}
.kbd {
  font-family: var(--code); font-size: 11px; padding: 2px 6px;
  border: 1px solid var(--hairline); border-radius: 6px; background: white; color: var(--ink-soft);
}

/* Badges row */
.trust-row {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 48px;
  padding: 36px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
}

/* Hearing test interactive */
.hearing-test {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: white;
  border: 1px solid var(--hairline);
}
.hearing-test .panel {
  padding: 48px;
  display: flex; flex-direction: column; gap: 24px;
}
.hearing-test .panel.right {
  background: var(--ink); color: white;
}
.tone-pad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tone-btn {
  appearance: none; border: 1px solid oklch(1 0 0 / 0.18);
  background: oklch(1 0 0 / 0.04);
  color: white;
  padding: 16px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--mono); font-size: 12.5px;
  cursor: pointer;
  transition: background 0.12s ease;
}
.tone-btn:hover { background: oklch(1 0 0 / 0.12); }
.tone-btn.heard { background: var(--violet); border-color: var(--violet); }

/* Animations */
@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float { animation: float-y 6s ease-in-out infinite; }

/* Tweaks panel positioning hint */
.has-tweaks { /* reserved */ }

/* responsive guard (designed for desktop preview) */
@media (max-width: 900px) {
  .hero-card, .journey-grid, .blog-feature, .contact-card { grid-template-columns: 1fr; }
  .tiles, .cards-3, .cards-4, .blog-grid, .process { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .tiles, .cards-3, .cards-4, .blog-grid, .process, .cards-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .hero-meta { flex-wrap: wrap; gap: 20px 28px; }
  .svc-item, .svc-item.featured { grid-column: span 12; min-height: 0; }
  .footer-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}


/* ============================================================
   New components — Team, Pulse, Testimonial strip, Article view
   ============================================================ */

/* ----- Horizontal scrolling testimonials (replaces "as featured in") ----- */
.testi-strip {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, black 80px, black calc(100% - 80px), transparent 100%);
}
.testi-strip-inner {
  display: flex;
  gap: 24px;
  animation: testi-marquee 80s linear infinite;
  width: max-content;
  padding: 0 24px;
}
.testi-strip:hover .testi-strip-inner { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .testi-strip-inner { animation: none; } }
@keyframes testi-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.testi-mini {
  flex: 0 0 360px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.testi-mini blockquote {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.testi-mini figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ----- Team grid + therapist cards ----- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 8px;
}
@media (min-width: 1300px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
.team-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 60px -32px oklch(0 0 0 / 0.18);
}
.team-card.tone-lavender { background: oklch(0.97 0.02 295); }
.team-card.tone-sand-2 { background: var(--sand-2); }
.team-card.tone-blush { background: oklch(0.96 0.025 25); }
.team-card.tone-mist { background: oklch(0.96 0.018 220); }

.team-portrait .placeholder-label { top: 14px; left: 14px; bottom: auto; }
.team-portrait {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: var(--lavender);
}
.team-play {
  position: absolute;
  left: 14px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: white;
  color: var(--violet);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 24px -12px oklch(0 0 0 / 0.35);
  transition: transform 160ms ease, background 160ms ease;
  z-index: 3;
}
.team-play:hover { transform: scale(1.06); }
.team-play.is-playing { background: var(--violet); color: white; }

.team-audio {
  position: absolute;
  left: 70px;
  right: 14px;
  bottom: 16px;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 99px;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  z-index: 3;
}
.team-audio-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  height: 22px;
}
.team-audio-bars span {
  display: block;
  width: 3px;
  border-radius: 2px;
  transition: background 100ms ease;
}
.team-audio-time {
  font-family: var(--code);
  flex: 0 0 auto;
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.team-body {
  padding: 26px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.team-body header h3 {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
}
.team-role {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.team-creds {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.team-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  border-left: 2px solid var(--violet);
  padding-left: 14px;
  margin: 0;
}
.team-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  margin: 0;
}
.team-meta div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.team-meta dt {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.team-meta dd { margin: 0; color: var(--ink-soft); line-height: 1.5; }

.team-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.btn-sm { padding: 10px 16px; font-size: 13px; }

.team-promise {
  margin-top: 64px;
  background: var(--lavender);
  border-radius: var(--radius-xl);
  padding: 56px 56px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.team-promise-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: var(--violet-ink);
}
.team-promise-list li {
  padding: 16px 18px;
  background: white;
  border-radius: var(--radius-md);
  line-height: 1.5;
}
.team-promise-list strong { font-weight: 600; color: var(--violet-ink); }

/* ----- Pulse — clinical intelligence platform ----- */
.pulse-section {
  margin-top: 0;
  background: var(--ink);
  color: white;
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
}
.pulse-section .Eyebrow,
.pulse-section h2,
.pulse-section h3,
.pulse-section p { color: white; }

.pulse-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}
.pulse-copy h2 em { color: oklch(0.85 0.06 295); font-style: italic; }
.pulse-copy .lede { color: oklch(1 0 0 / 0.72); margin-top: 16px; max-width: 44ch; }
.pulse-bullets {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.pulse-bullets li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  font-size: 14.5px;
  line-height: 1.55;
  color: oklch(1 0 0 / 0.78);
}
.pulse-bullets li::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 99px;
  margin-top: 3px;
  background: var(--violet);
  box-shadow: 0 0 0 4px oklch(1 0 0 / 0.06);
}
.pulse-bullets strong { color: white; font-weight: 500; font-family: var(--serif); font-style: italic; }

/* Pulse mock device */
.pulse-mock {
  position: relative;
  background: oklch(1 0 0 / 0.05);
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(8px);
}
.pulse-mock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
  margin-bottom: 18px;
}
.pulse-mock-tabs { display: flex; gap: 6px; }
.pulse-mock-tabs > span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 99px;
  color: oklch(1 0 0 / 0.5);
  border: 1px solid oklch(1 0 0 / 0.1);
}
.pulse-mock-tabs > span * { color: inherit; }
.pulse-mock-tabs > span { cursor: pointer; transition: background .15s, color .15s; }
.pulse-mock-tabs > span:not(.is-active):hover { color: white; border-color: oklch(1 0 0 / 0.3); }
.pulse-mock-tabs > span:focus-visible { outline: 2px solid var(--lavender); outline-offset: 2px; }
.pulse-notes, .pulse-home { display: flex; flex-direction: column; gap: 10px; }
.pulse-note, .pulse-home-card { background: oklch(1 0 0 / 0.05); border: 1px solid oklch(1 0 0 / 0.1); border-radius: 16px; padding: 16px 18px; }
.pulse-note-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.pulse-note-head strong { font-family: var(--serif); font-weight: 500; font-size: 16px; color: white; }
.pulse-note-head span { font-size: 11px; color: oklch(1 0 0 / 0.6); letter-spacing: .04em; }
.pulse-note p, .pulse-home-card p { font-size: 13.5px; line-height: 1.55; color: oklch(1 0 0 / 0.82); margin: 0; }
.pulse-note-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pulse-note-tags span { font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; background: oklch(1 0 0 / 0.08); color: oklch(1 0 0 / 0.75); }
.pulse-home-card p { margin: 6px 0 14px; }
.pulse-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.pulse-week span { aspect-ratio: 1; border-radius: 10px; border: 1px solid oklch(1 0 0 / 0.14); display: flex; align-items: center; justify-content: center; }
.pulse-week span em { font-style: normal; font-size: 11px; color: oklch(1 0 0 / 0.6); }
.pulse-week span.is-done { background: var(--lavender); border-color: var(--lavender); }
.pulse-week span.is-done em { color: var(--violet-ink); font-weight: 600; }
.pulse-mock-tabs > span.is-active {
  background: white;
  color: var(--violet-ink);
  border-color: white;
}
.pulse-mock-title {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}
.pulse-mock-sub {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(1 0 0 / 0.45);
}

.pulse-chart {
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  margin-top: 14px;
}
.pulse-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.pulse-chart-head h4 {
  font-family: var(--serif);
  color: white;
  font-size: 15px;
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pulse-chart-head .delta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: oklch(0.85 0.13 145);
  text-transform: uppercase;
}
.pulse-chart svg { display: block; width: 100%; height: 80px; }

.pulse-feed {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pulse-feed-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  background: oklch(1 0 0 / 0.04);
  border: 1px solid oklch(1 0 0 / 0.06);
  border-radius: 12px;
  font-size: 12.5px;
}
.pulse-feed-day {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: oklch(1 0 0 / 0.5);
  text-transform: uppercase;
  text-align: center;
  border-right: 1px solid oklch(1 0 0 / 0.08);
  padding-right: 10px;
  line-height: 1.2;
}
.pulse-feed-text { color: oklch(1 0 0 / 0.84); line-height: 1.45; }
.pulse-feed-text strong { color: white; font-weight: 500; }
.pulse-feed-tag {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 99px;
  background: oklch(0.42 0.16 295);
  color: white;
}
.pulse-feed-tag.parent { background: oklch(0.7 0.13 145); }

/* Pulse — full deep-dive on Children page */
.pulse-deep {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xl);
  padding: 56px;
  margin-top: 8px;
}
.pulse-deep-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 32px;
}
.pulse-deep-card {
  background: white;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.pulse-deep-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 12px 0 8px;
  letter-spacing: -0.01em;
}
.pulse-deep-card p { color: var(--ink-soft); font-size: 14px; line-height: 1.55; margin: 0; }
.pulse-deep-card .preview {
  margin-top: 18px;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 16px 18px;
}

.goal-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 13px; }
.goal-row + .goal-row { border-top: 1px solid var(--hairline); }
.goal-bar { flex: 1; height: 6px; background: var(--hairline); border-radius: 99px; overflow: hidden; }
.goal-bar i { display: block; height: 100%; background: var(--violet); border-radius: 99px; }
.goal-pct { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }

.note-thread { display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.note { padding: 10px 14px; border-radius: 14px; max-width: 90%; line-height: 1.45; }
.note.from-therapist { background: var(--lavender); color: var(--violet-ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.note.from-parent { background: var(--ink); color: white; align-self: flex-end; border-bottom-right-radius: 4px; }
.note .who { display: block; font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.6; margin-bottom: 4px; }

/* ----- Article body (Learning deep-dive) ----- */
.article-body { display: flex; flex-direction: column; gap: 40px; max-width: 880px; margin: 0 auto; }
.article-section { display: grid; grid-template-columns: 80px 1fr; gap: 32px; align-items: start; }
.article-section-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--violet);
  text-transform: uppercase;
  padding-top: 12px;
  border-top: 1px solid var(--violet);
}
.article-section h2 { font-family: var(--serif); font-size: 32px; letter-spacing: -0.02em; margin: 0 0 12px; }
.article-section p { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 60ch; margin: 0; text-wrap: pretty; }

.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

/* ----- Careers role list ----- */
.role-list { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.role-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px 0; border-bottom: 1px solid var(--hairline);
}
.role-row h3 { font-family: var(--serif); font-size: 22px; margin: 0; letter-spacing: -0.01em; }
.role-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-top: 6px; }
.why-card { background: var(--paper); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: 28px; }

/* ----- Hosa Road (single clinic) section on home — replaces hearing co-section sometimes ----- */
.hosa-card {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  border-radius: var(--radius-xl); overflow: hidden;
  border: 1px solid var(--hairline); background: var(--paper);
}

/* ----- Responsive cleanup for new components ----- */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: 1fr; }
  .pulse-grid { grid-template-columns: 1fr; }
  .pulse-deep-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .article-hero { grid-template-columns: 1fr; }
  .team-promise { grid-template-columns: 1fr; padding: 36px; }
}
@media (max-width: 720px) {
  .team-card { grid-template-columns: 1fr; }
  .team-portrait { min-height: 220px; }
  .article-section { grid-template-columns: 1fr; gap: 8px; }
  .testi-mini { flex: 0 0 280px; }
  .pulse-section, .pulse-deep { padding: 36px 24px; }
}

/* Full-bleed hero photo that dissolves into the card colour */
.hero-image.bleed{position:absolute;top:0;right:0;bottom:0;width:52%;min-height:0;border-radius:0;background:none;z-index:1;-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.55) 16%,#000 34%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.55) 16%,#000 34%)}
.ribbon-wrap.ribbon-card{inset:auto 0 0 0;height:200px;z-index:3}
@media (max-width: 900px){
.hero-image.bleed{position:relative;width:auto;height:340px;margin:8px -28px -40px;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 32%);mask-image:linear-gradient(180deg,transparent 0,#000 32%)}
.ribbon-wrap.ribbon-card{height:120px}
}

/* Sash: a calm, full-bleed marquee under the home hero. Flat, edge-faded, brand type. */
.hero-sash{position:relative;margin:28px calc(50% - 50vw) 0;padding:22px 0;border-top:1px solid var(--hairline);border-bottom:1px solid var(--hairline);overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent)}
.hero-sash-track{display:flex;width:max-content;animation:sash-run 80s linear infinite}
.hero-sash-run{display:flex;align-items:center;gap:36px;padding-right:36px}
.hero-sash-run span{font-family:"Bricolage Grotesque",var(--sans);font-weight:800;font-size:44px;line-height:1;letter-spacing:-.045em;color:var(--violet);text-transform:lowercase;white-space:nowrap}
.hero-sash-heart{width:22px;height:20px;flex:none;fill:#E2457F;stroke:#E2457F;transform:rotate(-12deg) translateY(6px)}
@keyframes sash-run{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){.hero-sash-track{animation:none}}
@media (max-width: 900px){.hero-sash{padding:16px 0}.hero-sash-run{gap:22px;padding-right:22px}.hero-sash-run span{font-size:30px}}

/* Home hearing card: photo dissolves into the paper card, no hard seam */
.hear-card{grid-template-columns:1.2fr 1fr}
.hear-card-img{position:relative;min-height:440px;margin-left:-22%;-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.5) 18%,#000 40%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.5) 18%,#000 40%)}
@media (max-width:900px){.hear-card{grid-template-columns:1fr}.hear-card-img{min-height:300px;margin-left:0;margin-top:-40px;-webkit-mask-image:linear-gradient(180deg,transparent 0,#000 35%);mask-image:linear-gradient(180deg,transparent 0,#000 35%)}}

/* Service tiles with photo: image fills the upper tile and dissolves into the tile colour behind the text */
.tile-photo{position:absolute;inset:0 0 auto 0;width:100%;height:72%;object-fit:cover;z-index:0;-webkit-mask-image:linear-gradient(180deg,#000 0,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 0,#000 55%,transparent 100%);transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.tile:hover .tile-photo{transform:scale(1.04)}
.tile>*:not(.tile-photo){position:relative;z-index:1}
.tile:has(.tile-photo){background-image:none}
.tile:has(.tile-photo) .tile-tag{background:oklch(1 0 0/.7);border-color:oklch(0 0 0/.06);color:var(--ink)}
.tile-arrow{color:var(--ink)}

/* Journey cards: photo runs to the card edge and dissolves toward the copy */
.journey-image.bleed-left,.journey-image.bleed-right{align-self:stretch;margin:-48px 0;background:none;border-radius:0;min-height:560px}
.journey-image.bleed-left{margin-left:-48px;-webkit-mask-image:linear-gradient(90deg,#000 55%,transparent 100%);mask-image:linear-gradient(90deg,#000 55%,transparent 100%)}
.journey-image.bleed-right{margin-right:-48px;-webkit-mask-image:linear-gradient(270deg,#000 55%,transparent 100%);mask-image:linear-gradient(270deg,#000 55%,transparent 100%)}
.journey-image.bleed-left .placeholder,.journey-image.bleed-right .placeholder{border-radius:0!important;background:none}
@media (max-width:900px){.journey-image.bleed-left,.journey-image.bleed-right{margin:-48px -48px 0;min-height:340px;-webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 55%,transparent 100%)}.journey-image.bleed-right{order:-1}}


/* Family avatar photos (source images arrive pre-circled with a white rim, so zoom past it) */
.avatar:has(.avatar-photo){background:white}
.avatar-photo{position:absolute;inset:0;border-radius:99px;overflow:hidden}
.avatar-photo img{position:absolute;width:122%;height:122%;left:-11%;top:-11%;object-fit:cover;max-width:none}

/* Family voices: each bubble opens its own review, auto-rotating */
.fv button.avatar{padding:0;cursor:pointer;font:inherit;transition:transform .25s ease,box-shadow .25s ease}
.fv button.avatar:hover,.fv.is-active button.avatar,.fv button.avatar:focus-visible{outline:none;transform:scale(1.06);box-shadow:0 0 0 3px var(--violet),var(--shadow-md)}
.fv-pop{position:absolute;margin:0;width:min(280px,62vw);background:var(--ink);color:white;padding:16px 18px;border-radius:var(--radius-md);box-shadow:0 18px 40px -12px oklch(0.2 0.03 290/.45);animation:fvIn .4s cubic-bezier(.2,.7,.2,1) both;pointer-events:none}
.fv-pop blockquote{margin:0;font-size:13.5px;line-height:1.55;text-wrap:pretty}
.fv-pop .who{display:block;font-family:var(--serif);font-size:16px;margin-top:10px}
.fv-pop .role{display:block;font-size:10px;letter-spacing:.1em;text-transform:uppercase;opacity:.6;margin-top:2px}
.fv-pop::before{content:"";position:absolute;width:12px;height:12px;background:var(--ink);transform:rotate(45deg)}
.fv-right{left:calc(100% + 16px);top:50%;--fy:-50%}.fv-right::before{left:-5px;top:calc(50% - 6px)}
.fv-left{right:calc(100% + 16px);top:50%;--fy:-50%}.fv-left::before{right:-5px;top:calc(50% - 6px)}
.fv-up{bottom:calc(100% + 18px);left:50%;--fx:-50%}.fv-up::before{bottom:-5px;left:calc(50% - 6px)}
.fv-pop{transform:translate(var(--fx,0),var(--fy,0))}
@keyframes fvIn{from{opacity:0;transform:translate(var(--fx,0),calc(var(--fy,0px) + 6px))}to{opacity:1;transform:translate(var(--fx,0),var(--fy,0))}}
.testi-stars{color:#F4D04E;font-size:12px;letter-spacing:.14em;margin-bottom:8px}
.fv-down-l{top:calc(100% + 22px);left:0}.fv-down-l::before{top:-5px;left:40px}
.fv-down-r{top:calc(100% + 22px);right:0}.fv-down-r::before{top:-5px;right:40px}
.fv-up-l{bottom:calc(100% + 14px);left:0}.fv-up-l::before{bottom:-5px;left:40px}

/* Softer tones: Pulse in deep Heart Violet, Speech journey in warm sand, review pop as frosted glass */
.pulse-section{background:radial-gradient(120% 90% at 85% 0%,oklch(0.44 0.15 300) 0%,transparent 60%),oklch(0.34 0.13 295)}
.journey-card.warm{background:#F1E6D8;color:var(--ink)}
.journey-card.warm h2{color:var(--violet-ink)}
.journey-card.warm .lede{color:var(--ink-soft)}
.journey-card.warm .journey-step{background:oklch(1 0 0/.55);border-color:oklch(0.42 0.05 60/.14)}
.journey-card.warm .step-num{color:var(--violet)}
.journey-card.warm .journey-image.bleed-right{-webkit-mask-image:linear-gradient(270deg,#000 50%,transparent 100%);mask-image:linear-gradient(270deg,#000 50%,transparent 100%)}
.fv-pop{background:oklch(1 0 0/.66);-webkit-backdrop-filter:blur(18px) saturate(1.4);backdrop-filter:blur(18px) saturate(1.4);color:var(--ink);border:1px solid oklch(1 0 0/.8);box-shadow:0 18px 44px -14px oklch(0.35 0.08 295/.35),inset 0 1px 0 oklch(1 0 0/.9)}
.fv-pop::before{background:oklch(1 0 0/.9);border:1px solid oklch(1 0 0/.8)}
.fv-pop .role{color:var(--ink-soft);opacity:1}
.fv-pop .who{color:var(--violet-ink)}
.fv-pop .testi-stars{color:#E0A400}
.pulse-bullets li::before{background:oklch(0.86 0.07 300);box-shadow:0 0 0 4px oklch(1 0 0/.1)}
.pulse-mock-tabs > span.is-active{color:oklch(0.34 0.13 295)}
.fv-up-r{bottom:calc(100% + 14px);right:0}.fv-up-r::before{bottom:-5px;right:48px}

/* Floating bubbles */
.fv{animation:fvFloat var(--fd,6s) ease-in-out var(--fdl,0s) infinite alternate}
@keyframes fvFloat{0%{translate:0 calc(var(--fa,8px) * -1)}50%{translate:calc(var(--fa,8px) * .35) 0}100%{translate:0 var(--fa,8px)}}
@media (prefers-reduced-motion:reduce){.fv{animation:none}}

/* Speech journey: match the hearing card — wider photo that slides under the copy and dissolves in a long, eased fade */
.journey-card.warm .journey-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}
.journey-card.warm .journey-step{grid-template-columns:44px minmax(0,1fr)}
.journey-card.warm .journey-step>:last-child{grid-column:2;margin-top:-6px}
.journey-card.warm .journey-grid>div:first-child{position:relative;z-index:2}
.journey-card.warm .journey-image.bleed-right{margin-left:-34%;min-height:620px;-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.25) 12%,rgba(0,0,0,.6) 24%,#000 42%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.25) 12%,rgba(0,0,0,.6) 24%,#000 42%)}
@media (max-width:900px){.journey-card.warm .journey-grid{grid-template-columns:1fr}.journey-card.warm .journey-image.bleed-right{margin:-48px -48px 0;min-height:340px;-webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%);mask-image:linear-gradient(180deg,#000 55%,transparent 100%)}}

/* Founder card leads the team grid */
@media (min-width:1101px){.team-grid>.team-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}.team-grid>.team-card:first-child .team-portrait{height:auto;min-height:100%}.team-grid>.team-card:first-child .team-quote{font-size:22px;line-height:1.45}}

/* Hearing preview: real tones */
.tone-btn:disabled{opacity:.45;cursor:default}
.tone-btn.missed{background:oklch(1 0 0/.02);border-style:dashed;opacity:.7}
.tone-btn.playing{background:oklch(1 0 0/.16);border-color:white;animation:tonePulse 1s ease-in-out infinite}
@keyframes tonePulse{0%,100%{box-shadow:0 0 0 0 oklch(1 0 0/.35)}50%{box-shadow:0 0 0 6px oklch(1 0 0/0)}}
.tone-ask{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-height:40px;margin-top:14px;font-size:13.5px;color:white}
.tone-ask>span{margin-right:4px}
.tone-ans{appearance:none;border:1px solid oklch(1 0 0/.3);background:white;color:var(--ink);font:500 12.5px var(--sans);padding:8px 14px;border-radius:99px;cursor:pointer}
.tone-ans.ghost{background:transparent;color:white}
.tone-ans:hover{filter:brightness(.94)}

/* Hearing preview flow */
.hp .panel.right{background:radial-gradient(110% 80% at 100% 0%,oklch(0.5 0.17 272) 0%,transparent 60%),oklch(0.38 0.15 272)}
.hp .panel{min-height:560px}
.hp-h{font-size:32px;margin:0;text-wrap:pretty}
.hp-check{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.hp-check li{position:relative;padding-left:28px;font-size:15px;color:var(--ink-soft)}
.hp-check li::before{content:"";position:absolute;left:0;top:4px;width:14px;height:14px;border-radius:99px;border:1.5px solid var(--violet)}
.hp-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.hp-actions .btn:disabled{opacity:.45;cursor:default}
.hp-score{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hp-score>div{background:var(--paper);border:1px solid var(--hairline);border-radius:var(--radius-sm);padding:14px 16px;display:grid;gap:2px}
.hp-score span{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.hp-score strong{font-family:var(--serif);font-weight:400;font-size:24px;color:var(--violet-ink)}
.hp-note{font-size:13px;color:var(--muted);margin:0}
.hp-foot{margin-top:auto;padding-top:20px;border-top:1px solid var(--hairline);display:grid;gap:12px}
.hp-bar{height:4px;border-radius:99px;background:var(--hairline);overflow:hidden}
.hp-bar span{display:block;height:100%;background:var(--violet);transition:width .4s ease}
.hp-foot-row{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.hp-map{display:grid;gap:8px}
.hp-row{display:grid;grid-template-columns:28px repeat(8,minmax(0,1fr));gap:6px;align-items:center}
.hp-head span{font-size:11px;letter-spacing:.04em;color:oklch(1 0 0/.7);text-align:center}
.hp-ear{font-family:var(--serif);font-size:18px;color:white}
.hp-cell{aspect-ratio:1;border-radius:10px;border:1px solid oklch(1 0 0/.22);background:oklch(1 0 0/.05);transition:background .25s ease,border-color .25s ease}
.hp-cell.heard{background:white;border-color:white}
.hp-cell.missed{border-style:dashed;border-color:oklch(1 0 0/.55);background:transparent}
.hp-cell.current{border-color:white;background:oklch(1 0 0/.18)}
.hp-cell.playing{animation:tonePulse 1s ease-in-out infinite}
.hp-legend{display:flex;gap:16px;flex-wrap:wrap;font-size:12.5px;color:oklch(1 0 0/.8)}
.hp-legend span{display:flex;align-items:center;gap:6px}
.hp-legend i{width:12px;height:12px;border-radius:4px;border:1px solid oklch(1 0 0/.3);background:oklch(1 0 0/.05)}
.hp-legend i.heard{background:white;border-color:white}
.hp-legend i.missed{border-style:dashed;border-color:oklch(1 0 0/.6);background:transparent}
@media (max-width:900px){.hearing-test.hp{grid-template-columns:1fr}.hp .panel{min-height:0;padding:28px}}

/* Milestone cards: equal structure, each opens its guide */
.age-card{appearance:none;border:0;text-align:left;font:inherit;color:var(--ink);border-radius:var(--radius-lg);padding:24px;min-height:260px;display:flex;flex-direction:column;gap:14px;cursor:pointer;transition:transform .25s ease,box-shadow .25s ease}
.age-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-md)}
.age-card:focus-visible{outline:2px solid var(--violet);outline-offset:3px}
.age-card-age{font-size:34px;letter-spacing:-.02em;line-height:1}
.age-card-copy{font-size:14.5px;line-height:1.55;text-wrap:pretty}
.age-card-link{margin-top:auto;display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:500;color:var(--violet-ink)}

/* Pulse mini screens (animated product UI) */
.pm-fit{position:relative;width:100%;overflow:hidden;border-radius:18px;box-shadow:0 24px 50px -24px oklch(0.25 0.08 295/.45)}
.pm-win{position:absolute;left:0;top:0;width:640px;height:420px;transform-origin:0 0;background:#FAF6F1;font-family:var(--sans);color:#1A1923;border-radius:18px;overflow:hidden;border:1px solid oklch(0 0 0/.06)}
.pm-side{background:#200A41;padding:16px 12px;display:flex;flex-direction:column;gap:6px}
.pm-brand{font-family:var(--serif);color:white;font-size:17px;margin-bottom:10px}
.pm-nav{font-size:10.5px;color:oklch(1 0 0/.6);padding:7px 8px;border-radius:8px}
.pm-nav.on{background:oklch(0.42 0.16 295);color:white}
.pm-main{position:relative;padding:18px 20px;display:flex;flex-direction:column;gap:10px;overflow:hidden}
.pm-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.pm-h{font-family:var(--serif);font-weight:400;font-size:22px;margin:0;letter-spacing:-.01em;color:#1A1923}
.pm-h.big{font-size:24px;line-height:1.15}.pm-h em{font-style:italic;color:#563199}
.pm-sub{font-size:10.5px;color:#6b6676;margin:3px 0 0}
.pm-btns{display:flex;gap:6px;flex-shrink:0}
.pm-btn{font-size:10.5px;padding:6px 11px;border-radius:99px;border:1px solid oklch(0 0 0/.12);background:white;white-space:nowrap}
.pm-btn.solid{background:#563199;border-color:#563199;color:white;transition:transform .15s ease}
.pm-btn.solid.press{transform:scale(.92);box-shadow:0 0 0 5px oklch(0.48 0.17 295/.2)}
.pm-card{background:white;border:1px solid oklch(0 0 0/.07);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:7px}
.pm-lbl{font-size:8.5px;letter-spacing:.12em;text-transform:uppercase;color:#6b6676}
.pm-chips{display:flex;flex-wrap:wrap;gap:5px}
.pm-chip{display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:3px 8px 3px 3px;border-radius:99px;border:1px solid oklch(0 0 0/.1);transition:all .3s ease}
.pm-chip i{font-style:normal;font-size:7.5px;width:17px;height:17px;border-radius:99px;display:grid;place-items:center;background:#E9DEFF;color:#563199}
.pm-chip.on{border-color:#563199;background:#F3EEFF;box-shadow:0 0 0 2px oklch(0.48 0.17 295/.15)}
.pm-chip.on i{background:#563199;color:white}
.pm-modes{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.pm-mode{border:1px solid oklch(0 0 0/.1);border-radius:10px;padding:8px 10px;display:grid;gap:1px;transition:all .3s ease}
.pm-mode b{font-size:11px;font-weight:500}.pm-mode em{font-style:normal;font-size:9px;color:#6b6676}
.pm-mode.on{border-color:#563199;border-width:1.5px;background:#F3EEFF}
.pm-goal{transition:border-color .3s ease}.pm-goal.on{border-color:#563199}
.pm-goal-row{display:grid;grid-template-columns:16px 1fr auto;gap:8px;align-items:start}
.pm-goal-row b{display:block;font-size:10.5px;font-weight:500;line-height:1.3}.pm-goal-row em{font-style:normal;font-size:9px;color:#6b6676}
.pm-tick{width:15px;height:15px;border-radius:5px;border:1.5px solid oklch(0 0 0/.25);font-size:9px;display:grid;place-items:center;color:white;transition:all .25s ease}
.pm-tick.on{background:#563199;border-color:#563199}
.pm-last{font-size:9px;color:#6b6676;font-variant-numeric:tabular-nums}
.pm-pcts{display:flex;gap:5px;padding-left:24px;max-height:0;overflow:hidden;opacity:0;transition:all .35s ease}
.pm-goal.on .pm-pcts{max-height:30px;opacity:1}
.pm-pct{font-size:9.5px;padding:3px 8px;border-radius:7px;border:1px solid oklch(0 0 0/.1);font-variant-numeric:tabular-nums;transition:all .25s ease}
.pm-pct.on{background:#563199;color:white;border-color:#563199}
.pm-comp{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;font-size:9.5px;color:#6b6676;margin-top:auto}
.pm-meter{height:4px;border-radius:99px;background:oklch(0 0 0/.08);overflow:hidden}
.pm-meter i{display:block;height:100%;background:#563199;transition:width .6s ease}
.pm-num{font-variant-numeric:tabular-nums;color:#1A1923}
.pm-toast{position:absolute;left:50%;bottom:14px;transform:translate(-50%,16px);opacity:0;background:#1A1923;color:white;font-size:10.5px;padding:8px 14px;border-radius:99px;white-space:nowrap;transition:all .4s cubic-bezier(.2,.7,.2,1)}
.pm-toast.show{opacity:1;transform:translate(-50%,0)}
.pm-hero{background:#EFE7FF;border-radius:14px;padding:14px 16px;display:flex;flex-direction:column;gap:6px}
.pm-pill{align-self:flex-start;font-size:9px;background:white;border:1px solid oklch(0 0 0/.08);padding:3px 9px;border-radius:99px;color:#563199}
.pm-hero-sub{font-size:10px;color:#563199;margin:0}
.pm-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;border-top:1px solid oklch(0.48 0.17 295/.15);padding-top:8px;margin-top:2px}
.pm-stats div{display:grid;gap:1px;opacity:0;transform:translateY(6px);transition:all .45s ease}
.pm-stats.show div{opacity:1;transform:none}
.pm-stats.show div:nth-child(2){transition-delay:.08s}.pm-stats.show div:nth-child(3){transition-delay:.16s}.pm-stats.show div:nth-child(4){transition-delay:.24s}
.pm-stats b{font-family:var(--serif);font-weight:400;font-size:20px;color:#1A1923;font-variant-numeric:tabular-nums}
.pm-stats span{font-size:7.5px;letter-spacing:.1em;text-transform:uppercase;color:#6b6676}
.pm-after-head{display:flex;justify-content:space-between;align-items:baseline}
.pm-after-head b{font-family:var(--serif);font-weight:400;font-size:14px}.pm-after-head span{font-size:9px;color:#6b6676}
.pm-after p{margin:0;font-size:10.5px;line-height:1.5;min-height:48px;color:#1A1923}
.pm-caret{display:inline-block;width:1.5px;height:11px;background:#563199;margin-left:2px;vertical-align:-1px;animation:pmBlink .8s steps(2) infinite}
@keyframes pmBlink{50%{opacity:0}}
.pm-act{flex-direction:row;justify-content:space-between;align-items:center;opacity:0;transform:translateY(8px);transition:all .45s ease}
.pm-act.show{opacity:1;transform:none}
.pm-act b{display:block;font-size:11px;font-weight:500}.pm-act em{font-style:normal;font-size:9px;color:#6b6676}
.pm-log{font-size:10px;padding:5px 11px;border-radius:99px;background:#F3EEFF;color:#563199;transition:all .3s ease}
.pm-log.done{background:#E3F3E8;color:#2F6B45}

/* Two-way notes — animated thread */
.nt{display:flex;flex-direction:column;gap:12px;height:100%}
.nt-head{display:flex;align-items:center;gap:10px;padding-bottom:12px;border-bottom:1px solid var(--hairline)}
.nt-av{width:32px;height:32px;border-radius:99px;background:var(--lavender);color:var(--violet-ink);display:grid;place-items:center;font-family:var(--serif);font-size:16px}
.nt-head b{display:block;font-size:14px;font-weight:500}.nt-head em{font-style:normal;font-size:12px;color:var(--muted)}
.nt-body{display:flex;flex-direction:column;gap:10px;min-height:250px;justify-content:flex-end}
.nt .note{max-width:86%}
.nt .note.from-parent{align-self:flex-end;background:var(--violet);color:white}
.nt .note.from-parent .who{color:oklch(1 0 0/.75)}
.nt .note.from-therapist{align-self:flex-start}
.nt-status{display:block;margin-top:6px;font-size:10.5px;letter-spacing:.06em;text-transform:uppercase;color:oklch(1 0 0/.7);text-align:right}
.nt-day{display:flex;align-items:center;gap:10px;font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.nt-day::before,.nt-day::after{content:"";flex:1;height:1px;background:var(--hairline)}
.nt-typing{align-self:flex-start;display:flex;gap:4px;background:var(--lavender);padding:12px 14px;border-radius:16px}
.nt-typing i{width:6px;height:6px;border-radius:99px;background:var(--violet);opacity:.4;animation:ntDot 1s ease-in-out infinite}
.nt-typing i:nth-child(2){animation-delay:.15s}.nt-typing i:nth-child(3){animation-delay:.3s}
@keyframes ntDot{0%,100%{opacity:.3;transform:none}50%{opacity:1;transform:translateY(-3px)}}
.nt-in{animation:ntIn .45s cubic-bezier(.2,.7,.2,1) both}
@keyframes ntIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.nt-compose{display:flex;gap:8px;align-items:center;padding-top:12px;border-top:1px solid var(--hairline)}
.nt-field{flex:1;min-height:40px;display:flex;align-items:center;padding:8px 14px;border-radius:99px;background:white;border:1px solid var(--hairline);font-size:13.5px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.nt-field.on{color:var(--ink);border-color:var(--violet)}
.nt-send{width:40px;height:40px;border-radius:99px;background:var(--violet);color:white;display:grid;place-items:center;font-size:16px;transition:transform .15s ease}
.nt-send.press{transform:scale(.88);box-shadow:0 0 0 6px oklch(0.48 0.17 295/.2)}

/* Family dashboard video: progress → practice → messages */
.pm-nav{transition:background .3s ease,color .3s ease}
.pm-scene{display:flex;flex-direction:column;gap:10px;height:100%;animation:pmScene .5s cubic-bezier(.2,.7,.2,1) both}
@keyframes pmScene{from{opacity:0;transform:translateX(14px)}to{opacity:1;transform:none}}
.pm-in{animation:ntIn .4s cubic-bezier(.2,.7,.2,1) both}
.pm-goals{gap:11px}
.pm-gl{display:grid;gap:5px}
.pm-gl-top{display:flex;justify-content:space-between;align-items:flex-end;gap:10px}
.pm-gl-top b{display:block;font-size:10.5px;font-weight:500}.pm-gl-top em{font-style:normal;font-size:8.5px;color:#6b6676}
.pm-gl-n{font-family:var(--serif);font-size:15px;font-variant-numeric:tabular-nums}.pm-gl-n em{font-family:var(--sans);font-size:8.5px;color:#6b6676}
.pm-track{position:relative;height:6px;border-radius:99px;background:#EFE7FF}
.pm-track i{position:absolute;left:0;top:0;bottom:0;border-radius:99px;background:#563199;transition:width 1.1s cubic-bezier(.2,.7,.2,1)}
.pm-track i.ok{background:#2F8A57}
.pm-th{position:absolute;top:-3px;width:1.5px;height:12px;background:#1A1923;opacity:.35}
.pm-tag{font-size:9px;padding:3px 8px;border-radius:99px;background:#F1ECE4;color:#6b6676;white-space:nowrap}
.pm-tag.ok{background:#E3F3E8;color:#2F6B45}.pm-tag.warn{background:#FDF0D5;color:#8A5A00}
.pm-act-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.pm-act-top b{display:block;font-size:12px;font-weight:500}.pm-act-top em{font-style:normal;font-size:9px;color:#6b6676}
.pm-act-txt{margin:0;font-size:10px;line-height:1.5;color:#3a3644}
.pm-logger{display:grid;gap:7px;border-top:1px solid oklch(0 0 0/.07);padding-top:9px}
.pm-chip.sq{padding:4px 9px;border-radius:8px}
.pm-logsplit{display:grid;grid-template-columns:1fr 1fr;gap:10px}.pm-logsplit>div{display:grid;gap:5px}
.pm-save{justify-self:start}
.pm-week{display:flex;gap:4px;align-items:center;border-top:1px solid oklch(0 0 0/.07);padding-top:9px}
.pm-day{font-size:8.5px;padding:4px 6px;border-radius:6px;background:#F1ECE4;color:#6b6676}
.pm-day.ok{background:#E3F3E8;color:#2F6B45}
.pm-week em{font-style:normal;font-size:9px;color:#6b6676;margin-left:auto}
.pm-thread{flex:1;display:flex;flex-direction:column;justify-content:flex-end;gap:8px}
.pm-bub{max-width:78%;font-size:10.5px;line-height:1.45;padding:9px 12px;border-radius:14px}
.pm-bub span{display:block;font-size:8px;letter-spacing:.08em;text-transform:uppercase;margin-bottom:3px;opacity:.7}
.pm-bub.me{align-self:flex-end;background:#563199;color:white;border-bottom-right-radius:4px}
.pm-bub.them{align-self:flex-start;background:#EFE7FF;color:#200A41;border-bottom-left-radius:4px}
.pm-dots{align-self:flex-start;display:flex;gap:3px;background:#EFE7FF;padding:9px 11px;border-radius:12px}
.pm-dots i{width:5px;height:5px;border-radius:99px;background:#563199;animation:ntDot 1s ease-in-out infinite}
.pm-dots i:nth-child(2){animation-delay:.15s}.pm-dots i:nth-child(3){animation-delay:.3s}
.pm-compose{display:flex;gap:6px;align-items:center}
.pm-field{flex:1;font-size:10.5px;color:#6b6676;background:white;border:1px solid oklch(0 0 0/.1);border-radius:99px;padding:8px 12px;white-space:nowrap;overflow:hidden}
.pm-field.on{color:#1A1923;border-color:#563199}
.pm-sendb{width:28px;height:28px;border-radius:99px;background:#563199;color:white;display:grid;place-items:center;font-size:12px;transition:transform .15s ease}
.pm-sendb.press{transform:scale(.85);box-shadow:0 0 0 5px oklch(0.48 0.17 295/.2)}

/* Camera: eased zoom toward the element being used, plus a guiding cursor */
.pm-cam{position:absolute;inset:0;display:grid;grid-template-columns:120px 1fr;transform-origin:0 0;transition:transform 1s cubic-bezier(.65,0,.25,1);will-change:transform}
.pm-cursor{position:absolute;width:16px;height:16px;margin:-8px 0 0 -8px;border-radius:99px;background:oklch(0.48 0.17 295/.35);border:2px solid white;box-shadow:0 2px 8px oklch(0.2 0.05 295/.35);opacity:0;pointer-events:none;transition:opacity .3s ease;z-index:20}
.pm-cursor.show{opacity:1}
.pm-cursor.click::after{content:"";position:absolute;inset:-2px;border-radius:99px;border:2px solid #563199;animation:pmRipple .8s ease-out .75s both}
@keyframes pmRipple{from{transform:scale(.6);opacity:1}to{transform:scale(2.6);opacity:0}}
@media (prefers-reduced-motion:reduce){.pm-cam{transition:none}}

.contact-info .val a{color:inherit;text-decoration:none;border-bottom:1px solid oklch(1 0 0/.3)}.contact-info .val a:hover{border-bottom-color:currentColor}
@media (max-width:900px){.contact-switch{grid-template-columns:1fr}}
/* Forms */
.pf{display:grid;gap:16px;padding:8px 0 28px}
.pf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}
.pf-field{display:grid;gap:6px;min-width:0}
.pf-label{font-size:12px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft)}
.pf-label em{font-style:normal;text-transform:none;letter-spacing:0;color:var(--muted);font-weight:400;margin-left:6px}
.pf-field input,.pf-field select,.pf-field textarea{font:inherit;font-size:15px;padding:12px 14px;border-radius:var(--radius-sm);border:1px solid var(--hairline);background:white;color:var(--ink);width:100%;min-height:46px}
.pf-field textarea{resize:vertical}
.pf-field input:focus,.pf-field select:focus,.pf-field textarea:focus{outline:none;border-color:var(--violet);box-shadow:0 0 0 3px oklch(0.48 0.17 295/.14)}
.has-error input,.has-error select,.has-error .pf-file{border-color:oklch(0.55 0.19 25)}
.pf-error{font-size:12.5px;color:oklch(0.5 0.18 25)}
.pf-file{position:relative;display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:var(--radius-sm);border:1px dashed oklch(0.48 0.17 295/.45);background:var(--paper);font-size:14px;color:var(--muted);overflow:hidden}
.pf-file.on{border-style:solid;color:var(--ink)}
.pf-file input{position:absolute;inset:0;opacity:0;cursor:pointer}
.pf-file span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pf-choices{display:flex;flex-wrap:wrap;gap:8px}
.pf-choice{font:inherit;font-size:14px;padding:10px 14px;min-height:44px;border-radius:99px;border:1px solid var(--hairline);background:var(--paper);color:var(--ink);cursor:pointer;transition:all .15s ease}
.pf-choice:hover{border-color:oklch(0.48 0.17 295/.4)}
.pf-choice.on{border-color:var(--violet);background:var(--lavender);color:var(--violet-ink)}
.pf-check{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--ink-soft)}
.pf-check input{margin-top:3px;accent-color:var(--violet);width:16px;height:16px}
.pf-check.has-error span{color:oklch(0.5 0.18 25)}
.pf-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.pf-actions .btn:disabled,.form .btn:disabled{opacity:.6;cursor:default}
.pf-fail{font-size:14px;color:oklch(0.45 0.16 25);background:oklch(0.96 0.03 25);padding:12px 14px;border-radius:var(--radius-sm);margin:0}
.pf-fail a{color:inherit}
.pf-done{display:flex;flex-direction:column;gap:12px;align-items:flex-start;padding:16px 0 28px}
.pf-done h3{font-size:30px;margin:0}.pf-done p{margin:0;max-width:52ch}
.role-item.open .role-row{border-bottom-color:transparent}
.role-form{border-bottom:1px solid var(--hairline);animation:ntIn .35s ease both}
.hc .form{display:flex;flex-direction:column;gap:16px}
.hc-val{font-size:16px!important;line-height:1.45;font-family:var(--sans)!important}
.field .pf-error{display:block;margin-top:4px}
.field.has-error input{border-color:oklch(0.55 0.19 25)}

/* Service tiles: photo runs taller; a colour scrim rises only as high as each card's text needs */
.tile{--tbg:var(--sand)}
.tile.tone-lavender{--tbg:var(--lavender)}.tile.tone-blush{--tbg:var(--blush)}.tile.tone-ink{--tbg:var(--ink)}.tile.tone-mist{--tbg:oklch(0.91 0.02 220)}.tile.tone-sand-2{--tbg:var(--sand-2)}
.tile[style*="var(--violet)"]{--tbg:var(--violet)}
.tile .tile-photo{height:100%;-webkit-mask-image:none;mask-image:none}
.tile:has(.tile-photo)>div:last-child{position:relative;z-index:1}
.tile:has(.tile-photo)>div:last-child::before{content:"";position:absolute;left:-18px;right:-18px;top:-36px;bottom:-18px;z-index:-1;background:linear-gradient(180deg,transparent 0,color-mix(in oklch,var(--tbg) 35%,transparent) 30px,color-mix(in oklch,var(--tbg) 78%,transparent) 62px,var(--tbg) 92px)}

/* Supporting-page banners: bold colour field, rings, pins and the sticker heart */
.page-head.ph-bold{min-height:440px;padding:88px 56px 56px}
.page-head.ph-bold::before,.page-head.ph-bold::after{display:none}
.ph-art{position:absolute;inset:0;z-index:0!important;pointer-events:none}
.ph-rings{position:absolute;right:-200px;top:50%;width:660px;height:660px;transform:translateY(-50%);border-radius:50%;border:1px solid var(--ph-line)}
.ph-rings::before,.ph-rings::after{content:"";position:absolute;inset:72px;border-radius:50%;border:1px solid var(--ph-line);opacity:.75}
.ph-rings::after{inset:156px;opacity:.5}
.ph-pin{position:absolute;border-radius:99px;background:var(--ph-pin);box-shadow:0 0 0 5px var(--ph-pin-halo)}
.ph-pin.lg{width:14px;height:14px}.ph-pin.md{width:9px;height:9px}.ph-pin.sm{width:6px;height:6px;box-shadow:0 0 0 3px var(--ph-pin-halo)}
.ph-heart{position:absolute;right:120px;top:64px;width:136px;transform:rotate(-12deg);filter:drop-shadow(0 18px 30px oklch(0.2 0.08 295/.3));animation:phBeat 1.2s cubic-bezier(.2,.7,.2,1) .4s 1 both}
@keyframes phBeat{0%{transform:rotate(-12deg) scale(.6);opacity:0}55%{transform:rotate(-12deg) scale(1.08);opacity:1}100%{transform:rotate(-12deg) scale(1)}}
@media (prefers-reduced-motion:reduce){.ph-heart{animation:none}}
.page-head.ph-bold h1,.page-head.ph-bold .lede,.page-head.ph-bold .eyebrow{color:var(--ph-fg)}
.page-head.ph-bold .lede{opacity:.9}.page-head.ph-bold .eyebrow{opacity:.85}
.page-head.ph-bold .lede strong{color:inherit}
.ph-b-violet{background:radial-gradient(110% 90% at 92% 0%,oklch(0.48 0.17 300) 0%,transparent 60%),oklch(0.36 0.14 295);--ph-fg:white;--ph-line:oklch(1 0 0/.2);--ph-pin:white;--ph-pin-halo:oklch(1 0 0/.2)}
.ph-b-lilac{background:radial-gradient(110% 90% at 92% 0%,oklch(0.84 0.09 310) 0%,transparent 60%),#C59BE2;--ph-fg:var(--violet-ink);--ph-line:oklch(1 0 0/.45);--ph-pin:white;--ph-pin-halo:oklch(1 0 0/.3)}
.ph-b-butter{background:radial-gradient(110% 90% at 92% 0%,oklch(0.92 0.14 98) 0%,transparent 60%),#F4D04E;--ph-fg:var(--ink);--ph-line:oklch(0.3 0.06 80/.16);--ph-pin:var(--violet);--ph-pin-halo:oklch(0.42 0.16 295/.18)}
.ph-b-rose{background:radial-gradient(110% 90% at 92% 0%,oklch(0.64 0.19 5) 0%,transparent 60%),oklch(0.55 0.19 5);--ph-fg:white;--ph-line:oklch(1 0 0/.22);--ph-pin:white;--ph-pin-halo:oklch(1 0 0/.22)}
@media (max-width:900px){.page-head.ph-bold{min-height:0;padding:120px 28px 40px}.ph-heart{width:84px;right:28px;top:28px}.ph-rings{width:420px;height:420px;right:-180px;top:30%}}

/* Keep the heart clear of the lede: smaller, tucked into the top-right corner, and reserve space above the copy */
.ph-heart{right:44px;top:32px;width:104px}
.page-head.ph-bold{padding-top:160px}
@media (min-width:1300px){.ph-heart{width:120px;right:64px;top:40px}}
@media (max-width:900px){.page-head.ph-bold{padding-top:120px}.ph-heart{width:76px;right:24px;top:24px}}

/* Mobile: Pulse minis drop the sidebar and render at 520 wide so text stays legible */
.pm-fit.compact .pm-win{width:520px}
.pm-fit.compact .pm-cam{grid-template-columns:0 1fr}
.pm-fit.compact .pm-side{display:none}
@media (max-width:600px){
  .cards-2>div:has(.pm-fit){padding:16px!important}
  /* Family voices: tidy, non-overlapping bubble layout */
  .fv.fv-n1{left:4%!important;top:4%!important}
  .fv.fv-n2{left:62%!important;top:10%!important}
  .fv.fv-n3{left:30%!important;top:24%!important}
  .fv.fv-n4{left:6%!important;top:70%!important}
  .fv.fv-n5{left:40%!important;top:80%!important}
  .fv.fv-n6{left:66%!important;top:66%!important;right:auto!important}
  .fv-pop{width:min(260px,72vw)}
  .fv-pop.fv-left,.fv-pop.fv-right,.fv-pop.fv-down-r,.fv-pop.fv-up-l{left:50%;right:auto;--fx:-50%}
  .fv-pop.fv-left,.fv-pop.fv-right{top:calc(100% + 14px);--fy:0}
  .fv-pop::before{display:none}
  .contact-switch button{min-height:56px}
}

/* Review pop: anchored to bubble on desktop, one centred card on phones */
.fv-mpop{display:none}
@media (max-width:600px){
  .fv-desk{display:none}
  .fv-mpop{display:block;position:absolute;left:50%;top:38%;--fx:-50%;--fy:0;width:min(300px,86vw);z-index:7}
  .fv-mpop::before{display:none}
}

/* Banner pins are now small rose hearts */
.ph-pin.ph-hrt{background:none;box-shadow:none;border-radius:0;height:auto;transform:rotate(-12deg);filter:drop-shadow(0 3px 6px oklch(0.3 0.1 0/.22));animation:phPin 1s cubic-bezier(.2,.7,.2,1) both}
.ph-pin.ph-hrt{object-fit:contain}.ph-pin.ph-hrt.lg{width:26px;height:26px}.ph-pin.ph-hrt.md{width:18px;height:18px}.ph-pin.ph-hrt.sm{width:13px;height:13px}
.ph-pin.ph-hrt:nth-of-type(2){animation-delay:.1s}.ph-pin.ph-hrt:nth-of-type(3){animation-delay:.2s}.ph-pin.ph-hrt:nth-of-type(4){animation-delay:.3s}
@keyframes phPin{0%{opacity:0;transform:rotate(-12deg) scale(.4)}60%{opacity:1;transform:rotate(-12deg) scale(1.12)}100%{transform:rotate(-12deg) scale(1)}}
@media (prefers-reduced-motion:reduce){.ph-pin.ph-hrt{animation:none}}
.page-head.ph-bold{padding-top:88px}
@media (max-width:900px){.page-head.ph-bold{padding-top:48px}}

/* Banner hearts: no halo box, gentle heartbeat + drift */
.ph-pin.ph-hrt.lg,.ph-pin.ph-hrt.md,.ph-pin.ph-hrt.sm{box-shadow:none;background:none;border-radius:0}
.ph-pin.ph-hrt{transform:rotate(-12deg);animation:phPin 1s cubic-bezier(.2,.7,.2,1) both,phBeatLoop 2.4s ease-in-out 1.2s infinite,phDrift 7s ease-in-out 1s infinite alternate}
.ph-pin.ph-hrt:nth-of-type(2){animation-delay:.1s,1.8s,0s}
.ph-pin.ph-hrt:nth-of-type(3){animation-delay:.2s,2.3s,-2.5s}
.ph-pin.ph-hrt:nth-of-type(4){animation-delay:.3s,1.5s,-4.5s}
@keyframes phBeatLoop{0%,100%{scale:1}12%{scale:1.22}24%{scale:.96}36%{scale:1.12}50%{scale:1}}
@keyframes phDrift{0%{translate:0 0}50%{translate:6px -8px}100%{translate:-4px 5px}}
@media (prefers-reduced-motion:reduce){.ph-pin.ph-hrt{animation:none}}

/* Heart colour follows the banner */
.ph-pin.ph-hrt{display:block;background:var(--ph-heart,#E2457F)!important;-webkit-mask:url("../logo/svg/heart-mask.svg") center/contain no-repeat;mask:url("../logo/svg/heart-mask.svg") center/contain no-repeat;filter:drop-shadow(0 3px 6px oklch(0.2 0.05 295/.2))}
.ph-b-violet{--ph-heart:#F4D04E}
.ph-b-lilac{--ph-heart:#FFFFFF}
.ph-b-butter{--ph-heart:#563199}
.ph-b-rose{--ph-heart:#FAF6F1}
