/* =============================================================
   TGDC Therapist Listing Page — Styles
   Prefix: tl- (therapist listing)
   BEM naming consistent with service page design system
   
   Add to your theme's stylesheet or enqueue separately.
   ============================================================= */


/* ------------------------------------------------------------- */
/* RESET / PAGE WRAPPER                                          */
/* ------------------------------------------------------------- */
.tl-page {
  background: #fff;
  overflow-x: hidden;
}

/* Override any inherited .landing-c or .container constraints */
.tl-page .container,
.tl-page .row {
  max-width: none;
  padding: 0;
  margin: 0;
  display: block;
}


/* ------------------------------------------------------------- */
/* SHARED: Rainbow Divider                                       */
/* ------------------------------------------------------------- */
.tl-rainbow {
  height: 3px;
  background: linear-gradient(90deg, #fb9000 0%, #e8724a 20%, #d94f6e 40%, #9b59b6 60%, #6cc8d7 80%, #4aae8c 100%);
}


/* ------------------------------------------------------------- */
/* SHARED: Buttons                                               */
/* ------------------------------------------------------------- */
.tl-btn {
  display: inline-block;
  padding: 15px 34px;
  font-family:var(--font-ui);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.4;
  text-align: center;
}

.tl-btn--primary {
  background: linear-gradient(135deg, #fb9000 0%, #e8833a 100%);
  color: #fff;
}
.tl-btn--primary:hover {
  background: linear-gradient(135deg, #e07d00 0%, #d0722e 100%);
  color: #fff;
  text-decoration: none;
}

.tl-btn--secondary {
  background: rgba(255,255,255,0.65);
  color: #555;
  font-weight: 600;
  border: 1px solid #e6e6e6;
}
.tl-btn--secondary:hover {
  background: rgba(255,255,255,0.9);
  color: #333;
  text-decoration: none;
}

.tl-btn--white {
  background: #fff;
  color: #fb9000;
}
.tl-btn--white:hover {
  background: #f5f5f5;
  color: #e07d00;
  text-decoration: none;
}


/* ------------------------------------------------------------- */
/* HERO                                                          */
/* ------------------------------------------------------------- */
.tl-hero {
  background: linear-gradient(135deg, #f5f0eb 0%, #e8e0d8 100%);
  padding: 65px 0 55px;
}

.tl-hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}

/* Rainbow accent line — centered above label */
.tl-hero__accent {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, #fb9000, #e8724a, #d94f6e, #9b59b6, #6cc8d7, #4aae8c);
  border-radius: 2px;
  margin: 0 auto 24px;
}

.tl-hero__location {
  font-family:var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fb9000;
  margin-bottom: 14px;
}

.tl-hero__title {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: var(--display-weight);
  font-size: 38px;
  color: #333;
  margin: 0 0 16px;
  line-height: 1.2;
}

.tl-hero__title-accent {
  color: #fb9000;
}

.tl-hero__subtitle {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 18px;
  color: #6e787c;
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.tl-hero__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Third-temperature link — below CTAs */
.tl-hero__alt-link {
  margin-top: 20px;
}

.tl-hero__alt-link a {
  font-family:var(--font-ui);
  font-size: 13px;
  color: #8e979b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.tl-hero__alt-link a:hover {
  color: #fb9000;
  text-decoration: none;
}


/* ------------------------------------------------------------- */
/* GRID SECTIONS (DC Team / Also Available)                      */
/* ------------------------------------------------------------- */
.tl-section {
  padding: 55px 0 20px;
}

.tl-section--also {
  padding: 40px 0 55px;
}

.tl-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
}

.tl-section__title {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: var(--display-weight);
  font-size: 26px;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.3;
}

.tl-section__subtitle {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 16px;
  color: #6e787c;
  margin: 0 0 8px;
  line-height: 1.6;
  max-width: 700px;
}

/* WT nudge pill */
.tl-section__nudge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: #faf8f5;
  border-radius: 6px;
  margin-bottom: 28px;
  margin-top: 4px;
}

.tl-section__nudge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fb9000;
  flex-shrink: 0;
}

.tl-section__nudge-text {
  font-family:var(--font-ui);
  font-size: 12px;
  color: #8e979b;
}

.tl-section__nudge-link {
  color: #fb9000;
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family:var(--font-ui);
  font-size: 12px;
  transition: color 0.2s ease;
}
.tl-section__nudge-link:hover {
  color: #e07d00;
}


/* ------------------------------------------------------------- */
/* CARD GRID                                                     */
/* ------------------------------------------------------------- */
.tl-grid {
  display: grid;
  gap: 28px;
}

.tl-grid--4col {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {
  .tl-grid--4col {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .tl-grid--4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}


/* ------------------------------------------------------------- */
/* MID-GRID BREATHING POINT                                      */
/* ------------------------------------------------------------- */
.tl-grid__breather {
  grid-column: 1 / -1;
  background: #faf8f5;
  border-left: 3px solid #fb9000;
  border-radius: 0 8px 8px 0;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0;
}

.tl-grid__breather-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fb9000;
  flex-shrink: 0;
}

.tl-grid__breather-text {
  font-family:var(--font-ui);
  font-size: 13px;
  color: #6e787c;
  line-height: 1.5;
}

.tl-grid__breather-link {
  color: #fb9000;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family:var(--font-ui);
  font-size: 13px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.tl-grid__breather-link:hover {
  color: #e07d00;
}


/* ------------------------------------------------------------- */
/* THERAPIST CARD                                                */
/* ------------------------------------------------------------- */
.tl-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0d8cf;
  transition: all 0.25s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
}

.tl-card:hover {
  border-color: #fb9000;
  box-shadow: 0 4px 20px rgba(251,144,0,0.08);
}

/* Card link wrapping the photo */
.tl-card__link {
  display: block;
  text-decoration: none;
}

/* Photo */
.tl-card__photo-wrap {
  aspect-ratio: 3 / 3.6;
  overflow: hidden;
  background: linear-gradient(170deg, #f5f0eb 0%, #ebe5de 100%);
  position: relative;
}

.tl-card__photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(180, 130, 70, 0.08), rgba(180, 130, 70, 0.08)),
    radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.08) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
  border-radius: 8px;
  z-index: 1;
}

.tl-card__photo {
  /* Per-therapist crop normalisation — see "CARD PHOTO FRAMING" below.
     Defaults are a no-op: zoom 1 + no shift + centred == the pre-2026-08 render. */
  --tp-zoom: 1;      /* crop-in factor (>= 1; we can never zoom out of the frame) */
  --tp-y: 0%;        /* vertical framing shift, % of the photo box height */
  --tp-x: 50%;       /* horizontal focal point, fed to object-position */
  --tp-hover: 1;     /* hover zoom, composed with --tp-zoom rather than replacing it */

  width: 100%;
  height: 100%;
  object-fit: cover;
  /* The vertical keyword is inert here and always has been: every headshot is
     landscape (~1.2513) inside a portrait box (0.8333), so cover scales to fit
     the HEIGHT and only ever overflows horizontally. Vertical framing therefore
     has to come from the transform below, not from object-position. */
  object-position: var(--tp-x) top;
  transform: translateY(var(--tp-y)) scale(calc(var(--tp-zoom) * var(--tp-hover)));
  display: block;
  transition: transform 0.4s ease;
  filter: saturate(0.92) brightness(1.02);
}

.tl-card:hover .tl-card__photo {
  --tp-hover: 1.03;
}

/* -------------------------------------------------------------------------
   CARD PHOTO FRAMING — per-therapist crop normalisation   (2026-08-20)

   The headshots were not all shot to one spec. Measured across the 14 DC
   photos the raw framing varies a lot:
       eye line      0.308 – 0.428 of frame height   (spread 0.120)
       head height   0.464 – 0.645                   (spread 0.181)
       face midline  0.447 – 0.556 of frame width    (spread 0.109)
   Tiled four-up that reads as ragged: heads sit at different heights and
   different sizes, and faces drift left and right of centre.

   Because every source is landscape (~1.2513) inside a portrait 3/3.6 box,
   `object-fit: cover` fits the HEIGHT and only overflows sideways — so the
   vertical half of `object-position` does nothing at all here. Horizontal
   framing comes from --tp-x (object-position), vertical framing has to come
   from --tp-zoom/--tp-y (transform).

   Values below are solved per photo, not eyeballed, against:
       eye line  -> 0.38 of card height   (the dominant cue when tiled)
       head      -> 0.60 of card height
       face midline centred
       hard floor: >= 4% headroom, and the head is never clipped sideways
   Result: eye SD 0.120 -> 0.009, face-centre SD 0.109 -> ~0.001,
   head-size SD 0.053 -> 0.030. Max zoom 1.27, so no visible softening.

   Zoom can only ever crop IN — there are no pixels outside the frame — so
   Brad (head 0.645, eyes at 0.428) cannot reach the group eye line without
   cutting the top of his head off; he solves to 0.412 and is the one
   deliberate outlier. Same for head size: Regan and Keith cannot be made
   smaller, only everyone else larger.

   Keyed on the photo FILENAME so no PHP changes and no plugin mirroring are
   involved. If a photo is ever re-uploaded under a new name the rule stops
   matching and that card simply reverts to the old centred render — it
   degrades safely, but re-measure and add the new stem here.
   Working set + solver: manifests/therapist-card-framing/.

   Phone (<= 580px) is deliberately untouched: the box flips to 5/4 landscape,
   which is the source ratio, so the whole photo shows and there is nothing to
   normalise.
   ------------------------------------------------------------------------- */
@media (min-width: 581px) {
  .tl-card__photo[src*="Keith-Clemson-Profile2"]         { --tp-x: 38.9%; --tp-y: -2.72%; --tp-zoom: 1.054; }  /* Keith Clemson */
  .tl-card__photo[src*="Regan-Mayo-Profile"]             { --tp-x: 44.9%; --tp-y: 4.29%; --tp-zoom: 1.086; }  /* Regan Mayo */
  .tl-card__photo[src*="Dominique-Harrington-Edit"]      { --tp-x: 52.7%; --tp-y: 10.11%; --tp-zoom: 1.202; }  /* Dominique Harrington */
  .tl-card__photo[src*="Jessica-Hilbert-Profile"]        { --tp-x: 60.8%; --tp-y: 2.78%; --tp-zoom: 1.128; }  /* Jessica Hilbert */
  .tl-card__photo[src*="Kevin-Malley-Profile"]           { --tp-x: 46.7%; --tp-y: 6.71%; --tp-zoom: 1.141; }  /* Kevin Malley */
  .tl-card__photo[src*="Paul-Rizzo-Profile"]             { --tp-x: 36.3%; --tp-y: 5.42%; --tp-zoom: 1.138; }  /* Paul Rizzo */
  .tl-card__photo[src*="Ela-Perra-Profile-v2"]           { --tp-x: 41.3%; --tp-y: 5.88%; --tp-zoom: 1.2; }  /* Ela Perra */
  .tl-card__photo[src*="tgdc-michael-burrows-profile"]   { --tp-x: 34.1%; --tp-y: 8.19%; --tp-zoom: 1.199; }  /* Michael Burrows */
  .tl-card__photo[src*="Manon-Pesme-Profile"]            { --tp-x: 41.0%; --tp-y: 7.12%; --tp-zoom: 1.266; }  /* Manon Pesme */
  .tl-card__photo[src*="Kevin-Isserman-Profile"]         { --tp-x: 60.7%; --tp-y: 6.77%; --tp-zoom: 1.136; }  /* Kevin Isserman */
  /* Drinkwater practises in BOTH markets and his CLT photo reuses the same
     filename stem on a different image — scope this rule to the DC host so
     the DC-measured crop stops mis-framing the Charlotte photo, which then
     gets the safe centred default like its CLT siblings. Measure + add a
     CLT-host rule when the CLT normalisation pass runs (solver in
     manifests/therapist-card-framing/). */
  .tl-card__photo[src*="therapygroupdc.com"][src*="Rob-Drinkwater-Profile"] { --tp-x: 66.7%; --tp-y: 7.13%; --tp-zoom: 1.143; }  /* Robert Drinkwater (DC photo only) */
  .tl-card__photo[src*="Dana-Treistman-Profile"]         { --tp-x: 52.4%; --tp-y: -0.74%; --tp-zoom: 1.015; }  /* Dana Treistman */
  .tl-card__photo[src*="Rose-Medcalf-Profile"]           { --tp-x: 53.0%; --tp-y: 1.49%; --tp-zoom: 1.079; }  /* Rose Medcalf */
  .tl-card__photo[src*="Brad-Brenner-Profile"]           { --tp-x: 48.3%; --tp-y: -1.37%; --tp-zoom: 1.028; }  /* Brad Brenner */
}

/* Card body */
.tl-card__body {
  padding: 16px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tl-card__name-link {
  text-decoration: none;
}
.tl-card__name-link:hover {
  text-decoration: none;
}

.tl-card__name {
  display: block;
  font-family:var(--font-ui);
  font-weight: 600;
  font-size: 14.5px;
  color: #333;
  margin: 0 0 2px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.tl-card:hover .tl-card__name {
  color: #fb9000;
}

.tl-card__creds {
  font-family:var(--font-ui);
  font-size: 11px;
  color: #8e979b;
  margin: 0 0 10px;
  line-height: 1.4;
}

.tl-card__tagline {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 13.5px;
  color: #555;
  line-height: 1.55;
  margin: 0 0 12px;
  flex: 1;
}


/* ------------------------------------------------------------- */
/* CHICLETS                                                      */
/* ------------------------------------------------------------- */
.tl-card__chiclets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tl-chiclet {
  font-family:var(--font-ui);
  font-size: 10.5px;
  font-weight: 500;
  color: var(--chiclet-color);
  background: color-mix(in srgb, var(--chiclet-color) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--chiclet-color) 13%, transparent);
  padding: 3px 9px;
  border-radius: 4px;
  line-height: 1.4;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;
}

.tl-chiclet--linked {
  cursor: pointer;
}
.tl-chiclet--linked:hover {
  color: #fb9000;
  background: rgba(251, 144, 0, 0.07);
  border-color: rgba(251, 144, 0, 0.19);
  text-decoration: none;
}

.tl-chiclet__arrow {
  font-size: 8px;
  margin-left: 3px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tl-chiclet--linked:hover .tl-chiclet__arrow {
  opacity: 0.7;
}

/* Fallback for browsers without color-mix */
@supports not (color: color-mix(in srgb, red 50%, blue)) {
  .tl-chiclet {
    background: rgba(128, 128, 128, 0.06);
    border-color: rgba(128, 128, 128, 0.15);
  }
}


/* ------------------------------------------------------------- */
/* LOCATION LINE (satellite therapists)                          */
/* ------------------------------------------------------------- */
.tl-card__location {
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tl-card__pin {
  flex-shrink: 0;
}

.tl-card__location span {
  font-family:var(--font-ui);
  font-size: 10.5px;
  color: #8e979b;
}


/* ------------------------------------------------------------- */
/* ACADEMIC CREDIBILITY STRIP                                    */
/* ------------------------------------------------------------- */
.tl-academic {
  background: #f8f9fa;
  padding: 60px 0;
}

.tl-academic__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
}

.tl-academic__label {
  font-family:var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #bbb;
  margin-bottom: 20px;
}

.tl-academic__logos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

.tl-academic__logo {
  height: 90px;
  padding: 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text placeholder — replace with <img> tags when logo assets ready */
.tl-academic__name {
  font-family:var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: #bbb;
  letter-spacing: 0.02em;
}

/* When using actual logo images: */
.tl-academic__logo img {
  height: 85px;
  width: auto;
  filter: grayscale(100%) opacity(0.5);
  transition: filter 0.3s ease;
}
.tl-academic__logo img:hover {
  filter: grayscale(0%) opacity(0.8);
}


/* ------------------------------------------------------------- */
/* WT MATCHING SECTION                                           */
/* ------------------------------------------------------------- */
.tl-matching {
  background: #2c2c2c;
  padding: 70px 0;
}

.tl-matching__inner {
  max-width: 940px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.tl-matching__label {
  font-family:var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fb9000;
  margin-bottom: 14px;
}

.tl-matching__title {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: var(--display-weight);
  font-size: 28px;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.3;
}

.tl-matching__text {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0 0 12px;
}

.tl-matching__subtext {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* Founder quote */
.tl-matching__quote {
  border-left: 2px solid rgba(251, 144, 0, 0.38);
  padding-left: 16px;
  margin-bottom: 28px;
}

.tl-matching__quote-text {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-style: italic;
  font-size: 14.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin: 0 0 6px;
}

.tl-matching__quote-attr {
  font-family:var(--font-ui);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

.tl-matching__cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tl-matching__note {
  font-family:var(--font-ui);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* Steps column */
.tl-matching__step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.tl-matching__step--last {
  border-bottom: none;
}

.tl-matching__step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family:var(--font-ui);
  font-weight: 600;
  font-size: 16px;
  border-width: 2px;
  border-style: solid;
}

.tl-matching__step-num--orange {
  border-color: #fb9000;
  color: #fb9000;
}
.tl-matching__step-num--purple {
  border-color: #9b59b6;
  color: #9b59b6;
}
.tl-matching__step-num--teal {
  border-color: #6cc8d7;
  color: #6cc8d7;
}

.tl-matching__step-title {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: var(--display-weight);
  font-size: 15px;
  color: #fff;
  margin: 0 0 4px;
}

.tl-matching__step-text {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 13.5px;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin: 0;
}


/* ------------------------------------------------------------- */
/* ESSENTIALS CARDS                                              */
/* ------------------------------------------------------------- */
.tl-essentials {
  padding: 50px 0 40px;
}

.tl-essentials__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 30px;
}

.tl-essentials__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.tl-essentials__card {
  background: linear-gradient(135deg, #faf8f5 0%, #f5f0eb 100%);
  border-radius: 8px;
  padding: 28px 26px;
  border-top: 3px solid transparent;
}

.tl-essentials__card--orange { border-top-color: #fb9000; }
.tl-essentials__card--teal   { border-top-color: #6cc8d7; }
.tl-essentials__card--purple { border-top-color: #9b59b6; }

.tl-essentials__label {
  font-family:var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8e979b;
  margin-bottom: 8px;
}

.tl-essentials__value {
  font-family:var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.4;
}

.tl-essentials__sub {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 13.5px;
  color: #8e979b;
  line-height: 1.5;
}


/* ------------------------------------------------------------- */
/* FINAL CTA BAND                                                */
/* ------------------------------------------------------------- */
.tl-cta-band {
  background: linear-gradient(135deg, #fb9000 0%, #e8833a 100%);
  padding: 50px 0;
  text-align: center;
  margin-bottom: 0;
}

.tl-cta-band__inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 30px;
}

.tl-cta-band__title {
  font-family:var(--font-display);font-size-adjust:var(--display-optical-size,none);
  font-weight: var(--display-weight);
  font-size: 26px;
  color: #fff;
  margin: 0 0 10px;
}

.tl-cta-band__text {
  font-family:var(--font-body);font-size-adjust:var(--body-optical-size,none);
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin: 0 0 24px;
  line-height: 1.6;
}


/* ------------------------------------------------------------- */
/* RESPONSIVE — Tablet                                           */
/* ------------------------------------------------------------- */
@media (max-width: 768px) {
  .tl-hero {
    padding: 50px 0 40px;
  }
  
  .tl-hero__title {
    font-size: 30px;
  }
  
  .tl-hero__subtitle {
    font-size: 16px;
  }

  .tl-section {
    padding: 40px 0 15px;
  }
  
  .tl-section--also {
    padding: 30px 0 40px;
  }

  .tl-matching__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tl-matching__title {
    font-size: 24px;
  }

  .tl-essentials__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .tl-academic__logos {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .tl-academic__logo img {
    height: 60px;
  }

  .tl-academic__logo {
    height: 65px;
  }
}


/* ------------------------------------------------------------- */
/* RESPONSIVE — Mobile general layout                            */
/* ------------------------------------------------------------- */
@media (max-width: 480px) {
  .tl-hero__inner {
    padding: 0 20px;
  }
  
  .tl-hero__title {
    font-size: 26px;
  }
  
  .tl-hero__subtitle {
    font-size: 15px;
    margin-bottom: 28px;
  }

  .tl-hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .tl-btn {
    width: 100%;
    max-width: 300px;
  }

  .tl-section__inner {
    padding: 0 20px;
  }

  .tl-section__title {
    font-size: 22px;
  }

  .tl-matching {
    padding: 50px 0;
  }

  .tl-matching__inner {
    padding: 0 20px;
  }

  .tl-matching__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .tl-cta-band {
    padding: 40px 0;
  }

  .tl-cta-band__title {
    font-size: 22px;
  }

  /* Mid-grid breather — tighter on mobile */
  .tl-grid__breather {
    padding: 14px 18px;
    flex-wrap: wrap;
  }
}


/* ------------------------------------------------------------- */
/* RESPONSIVE — Phone: Stacked compact cards                     */
/* Full-width landscape photo on top (5:4 ratio),                */
/* tight info block below. Preserves taglines + chiclets.        */
/* ------------------------------------------------------------- */
@media (max-width: 580px) {

  /* Single column, tight gap */
  .tl-grid--4col {
    grid-template-columns: 1fr;
    gap: 12px !important;
    max-width: none;
  }

  /* Card stays vertical — photo switches to landscape */
  .tl-card {
    flex-direction: column;
  }

  /* Photo: full width, landscape 5:4 */
  .tl-card__photo-wrap {
    aspect-ratio: 5 / 4;
    width: 100%;
  }

  /* Disable hover zoom on touch. Must zero the hover VARIABLE, not the whole
     transform — `transform: none` here would also throw away the per-therapist
     framing, which is what makes the photo visibly recede on hover instead of
     lifting. Harmless today (the framing rules are desktop-only, so the base
     transform is already identity at this width) but it would bite the moment
     any framing applied at phone size. */
  .tl-card:hover .tl-card__photo {
    --tp-hover: 1;
  }

  /* Body: tight padding */
  .tl-card__body {
    padding: 10px 14px 12px;
    flex: none;
  }

  /* Name: readable but compact */
  .tl-card__name {
    font-size: 15px;
    margin-bottom: 1px;
  }

  /* Credentials: single line with ellipsis */
  .tl-card__creds {
    font-size: 11px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Tagline: the key differentiator — 2 lines */
  .tl-card__tagline {
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 8px;
    flex: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Chiclets: show up to 3 */
  .tl-card__chiclets {
    gap: 4px;
  }

  .tl-chiclet {
    font-size: 10px;
    padding: 3px 8px;
  }

  .tl-chiclet:nth-child(n+4) {
    display: none;
  }

  /* Location line */
  .tl-card__location {
    font-size: 11px;
    margin-top: 6px;
  }

  .tl-card__location .tl-card__pin {
    width: 10px;
    height: 10px;
  }

  /* Breather spans full width in single column */
  .tl-grid__breather {
    grid-column: 1 / -1;
  }
}


/* ------------------------------------------------------------- */
/* RESPONSIVE — Extra small (iPhone SE, etc.)                    */
/* ------------------------------------------------------------- */
@media (max-width: 380px) {

  .tl-card__body {
    padding: 8px 12px 10px;
  }

  .tl-card__name {
    font-size: 14px;
  }

  .tl-card__tagline {
    font-size: 12.5px;
  }

  .tl-chiclet:nth-child(n+3) {
    display: none;
  }
}