/* ==============================================
   HUB TOP — match card + clinician rows — v1.0
   Theme-only. Loads after service-page.css (dependency) and is scoped
   under .sp-page so every rule outranks the sp-* typography/list rules
   (.sp-page p, .sp-page ul li::before, .sp-page a:not(…)) and the legacy
   style.css globals (header, ul clearfix) never see this markup.

   Layout = design round 2, comp 2a (desktop: 1c list rows), 2b (phone:
   1d strip), 2c (components), with the seven round-1 fixes applied.
   Values lifted from service-page.css (.sp-wt-card, .sp-card, .sp-strip)
   and the design-system tokens (fonts.css).
   ============================================== */


/* ─── HERO TRIM on rebuilt hubs (500px → 300px; stat tile → sidebar on desktop) ─── */

.hero.video.hero--hub-top {
  min-height: 280px;
  height: 280px;
}
.hero.video.hero--hub-top .hero-heading {
  margin: 10px 0 10px;
}
.hero.video.hero--hub-top .hero-subheading {
  margin: 0 0 16px;
}
.hero.video.hero--hub-top .hero-stat-row {
  margin: 0;
}
/* At 280px the cover-fit video showed its middle slice (hands, a notebook) under
   the scrim; favor the top of the frame, where the person is. */
.hero.video.hero--hub-top .sp-hero-video {
  object-position: 50% 22%;
}
@media (min-width: 625px) {
  .hero.video.hero--hub-top .hero-stat {
    display: none;
  }
}
@media (max-width: 900px) {
  .hero.video.hero--hub-top {
    min-height: 280px;
    height: 280px;
  }
}
@media (max-width: 624px) {
  .hero.video.hero--hub-top {
    min-height: auto;
    height: auto;
    padding: 40px 0 34px;
  }
  .hero.video.hero--hub-top .hero-stat {
    margin-bottom: 14px;
    padding: 12px 16px;
  }
  .hero.video.hero--hub-top .hero-stat__number {
    font-size: 22px;
  }
  .hero.video.hero--hub-top .hero-stat__text {
    font-size: 12px;
  }
  .sp-page .sp-card--hero-stat {
    display: none;
  }
}
.sp-page .sp-card--hero-stat .sp-card__number {
  font-size: 40px;
}


/* ─── SECTION ─── */

.sp-page .sp-hub-top {
  padding: 30px 30px 26px;
  background: linear-gradient(135deg, #faf8f5 0%, #f5f0eb 100%);
  border-bottom: 1px solid #ece7e0;
  scroll-margin-top: 90px;
}
.sp-page .sp-hub-top__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
/* "None accepting" state: the match card stands alone with its normal copy */
.sp-page .sp-hub-top--solo .sp-hub-top__inner {
  grid-template-columns: minmax(0, 1fr);
  max-width: 640px;
}
.sp-page .sp-hub-top__match {
  position: sticky;
  top: 100px;
}


/* ─── MATCH CARD (first, largest; the old sidebar card promoted) ─── */

.sp-page .sp-hub-match {
  background: linear-gradient(135deg, #2c2c2c 0%, #3a3a3a 100%);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--font-ui);
}
.sp-page .sp-hub-match__bar {
  height: 3px;
  background: linear-gradient(90deg,
    #fb9000 0%, #e8724a 20%, #d94f6e 40%,
    #9b59b6 60%, #6cc8d7 80%, #4aae8c 100%);
}
.sp-page .sp-hub-match__body {
  padding: 20px 20px 20px;
  display: flex;
  flex-direction: column;
}
.sp-page .sp-hub-match__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-ui);
}
.sp-page .sp-hub-match__label {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.sp-page .sp-hub-match__time {
  margin-left: auto;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
/* The box that listens */
.sp-page .sp-hub-ask {
  margin: 0 0 14px;
}
.sp-page .sp-hub-ask--2 {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.sp-page .sp-hub-ask[hidden] {
  display: none;
}
.sp-page .sp-hub-ask__q {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 8px;
}
/* The level-one reply, under its chips (never in the steps) */
.sp-page .sp-hub-ask__reply {
  margin-top: 10px;
}
.sp-page .sp-hub-ask__reply[hidden] {
  display: none;
}
.sp-page .sp-hub-ask__reply-title {
  display: block;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #fb9000;
}
.sp-page .sp-hub-top a.sp-hub-ask__reply-phone {
  display: none;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #fb9000;
  text-decoration: none;
}
.sp-page .sp-hub-ask__reply-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
}
.sp-page .sp-hub-ask__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sp-page .sp-hub-top button.sp-hub-chip {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 7px 11px;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.sp-page .sp-hub-top button.sp-hub-chip:hover {
  border-color: rgba(255, 255, 255, 0.7);
}
.sp-page .sp-hub-top button.sp-hub-chip[aria-pressed="true"] {
  background: #fb9000;
  border-color: #fb9000;
  color: #fff;
}
.sp-page .sp-hub-ask__noted {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}
.sp-page .sp-hub-ask__noted[hidden] {
  display: none;
}
/* Numbered steps */
.sp-page .sp-hub-top ol.sp-hub-match__steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sp-page .sp-hub-top ol.sp-hub-match__steps::before,
.sp-page .sp-hub-top ol.sp-hub-match__steps::after,
.sp-page .sp-hub-top .sp-hub-match__step::before,
.sp-page .sp-hub-top .sp-hub-match__step::after {
  content: none;
  display: none;
}
.sp-page .sp-hub-top .sp-hub-match__step {
  position: relative;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #fff;
}
.sp-page .sp-hub-top .sp-hub-match__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(127, 96, 69, 0.75);
  color: #fb9000;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sp-page .sp-hub-top .sp-hub-match__step-text {
  display: block;
  min-width: 0;
}
.sp-page .sp-hub-top .sp-hub-match__step-title {
  display: block;
  font-family: var(--font-ui);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  transition: color 0.22s;
}
.sp-page .sp-hub-top .sp-hub-match__step-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.65);
}
.sp-page .sp-hub-top .sp-hub-match__step.is-reply .sp-hub-match__step-title {
  color: #fb9000;
}
.sp-page .sp-hub-match__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.6);
}
.sp-page .sp-hub-match__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fb9000;
  box-shadow: 0 0 6px rgba(251, 144, 0, 0.5);
  flex-shrink: 0;
}
.sp-page .sp-hub-match__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 12px;
  text-wrap: pretty;
}
.sp-page .sp-hub-top p.sp-hub-match__text {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px;
  text-wrap: pretty;
}
.sp-page .sp-hub-top ol.sp-hub-match__beats {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sp-page .sp-hub-top ol.sp-hub-match__beats::before,
.sp-page .sp-hub-top ol.sp-hub-match__beats::after {
  content: none;
  display: none;
}
.sp-page .sp-hub-top .sp-hub-match__beat {
  position: relative;
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  text-wrap: pretty;
}
.sp-page .sp-hub-top .sp-hub-match__beat:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.sp-page .sp-hub-top .sp-hub-match__beat::before,
.sp-page .sp-hub-top .sp-hub-match__beat::after {
  content: none;
  display: none;
}
.sp-page .sp-hub-top a.sp-hub-match__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
  background: #fb9000;
  color: #fff;
  border-radius: 6px;
  padding: 14px 22px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.sp-page .sp-hub-top a.sp-hub-match__btn:hover {
  background: #e07d00;
  color: #fff;
  text-decoration: none;
}
/* "When could you begin?" — one quiet line under the button, to the availability page. */
.sp-page .sp-hub-top a.sp-hub-match__begin {
  align-self: flex-start;
  margin-top: 12px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}
.sp-page .sp-hub-top a.sp-hub-match__begin:hover {
  color: #fff;
  text-decoration-color: currentColor;
}
.sp-page .sp-hub-match__arrow {
  transition: transform 0.2s;
}
.sp-page .sp-hub-top a.sp-hub-match__btn:hover .sp-hub-match__arrow {
  transform: translateX(2px);
}
.sp-page .sp-hub-match__note {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
}


/* ─── PEOPLE: heading, sentence, list rows ─── */

.sp-page .sp-hub-top__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: #7f6045;
  margin: 0;
}
.sp-page .sp-hub-top p.sp-hub-top__line {
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  color: #4f4a44;
  margin: 4px 0 12px;
}
.sp-page .sp-hub-top ul.sp-hub-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* Legacy ul clearfix pseudo-elements become real flex items — neutralize */
.sp-page .sp-hub-top ul.sp-hub-rows::before,
.sp-page .sp-hub-top ul.sp-hub-rows::after,
.sp-page .sp-hub-top .sp-hub-row::before,
.sp-page .sp-hub-top .sp-hub-row::after {
  content: none;
  display: none;
}
.sp-page .sp-hub-top .sp-hub-row {
  position: relative;
  margin: 0;
  padding: 9px 16px;
  background: #fff;
  border: 1px solid #e8e0d8;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.4;
  color: #333;
  transition: border-color 0.2s;
}
.sp-page .sp-hub-top .sp-hub-row:hover {
  border-color: #c5bfb8;
}
.sp-page .sp-hub-top .sp-hub-row__photo {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: block;
  flex-shrink: 0;
  margin: 0;
  background: linear-gradient(170deg, #f5f0eb 0%, #ebe5de 100%);
}
/* The directory card's scrim (therapist-listing.css .tl-card__photo-wrap::after):
   a warm multiply wash plus a soft vignette, so the rows, the homepage roster
   and /therapist-near-me-dc/ read as one set of photos. */
.sp-page .sp-hub-top .sp-hub-row__photo::after,
.sp-page .sp-hub-team-strip__photo::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;
  z-index: 1;
}
.sp-page .sp-hub-top .sp-hub-row__photo--initials::after,
.sp-page .sp-hub-team-strip__photo--initials::after {
  content: none;
}
/* Face-filling crop (design round 3, 4c; per-photo since 2026-10-20). The
   landscape headshot is fitted to the square from its top edge, scaled by
   --sp-face-scale about that edge, then slid so the face center (--sp-face,
   a fraction of the photo's height, set per clinician in the roster) lands
   at 45% of the box. Transforms only: no percentage heights to resolve, so
   every browser draws the same crop. */
.sp-page .sp-hub-top .sp-hub-row__img,
.sp-page .sp-hub-team-strip__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 0;
  transform-origin: 50% 0;
  transform: translateY(calc((0.45 - var(--sp-face-scale, 1.75) * var(--sp-face, 0.33)) * 100%)) scale(var(--sp-face-scale, 1.75));
  filter: saturate(0.92) brightness(1.02);
  margin: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.sp-page .sp-hub-top .sp-hub-row__photo--initials {
  color: #7f6045;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 18px;
}
/* "Video only": a declared fact from the roster, drawn in the status slot */
.sp-page .sp-hub-top .sp-hub-row__mode {
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #6b7378;
  border: 1px solid #e8e0d8;
  border-radius: 999px;
  padding: 2px 7px;
  line-height: 1.4;
}
.sp-page .sp-hub-top .sp-hub-row__body {
  min-width: 0;
}
.sp-page .sp-hub-top .sp-hub-row__id {
  display: flex;
  align-items: baseline;
  gap: 4px 10px;
  flex-wrap: wrap;
}
.sp-page .sp-hub-top .sp-hub-row__name {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}
.sp-page .sp-hub-top .sp-hub-row__creds {
  font-size: 12.5px;
  color: #8e979b;
}
.sp-page .sp-hub-top .sp-hub-row__status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #4f4a44;
}
.sp-page .sp-hub-top .sp-hub-row__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4aae8c;
  flex-shrink: 0;
}
.sp-page .sp-hub-top .sp-hub-row__status--wait {
  color: #6b7378;
}
.sp-page .sp-hub-top .sp-hub-row__status--wait .sp-hub-row__status-dot {
  background: #c5bfb8;
}
.sp-page .sp-hub-top .sp-hub-row__meta {
  display: flex;
  align-items: center;
  gap: 4px 10px;
  flex-wrap: wrap;
  margin-top: 3px;
  min-height: 15px;
}
.sp-page .sp-hub-top .sp-hub-row__meta:empty {
  display: none;
}
.sp-page .sp-hub-top p.sp-hub-row__fit {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.45;
  color: #555;
  margin: 2px 0 0;
  text-wrap: pretty;
}
.sp-page .sp-hub-top .sp-hub-row__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  white-space: nowrap;
}
/* "Start with …" — quieter than the match card's button (ghost) */
.sp-page .sp-hub-top a.sp-hub-row__start {
  display: inline-block;
  border: 1px solid #c9b9a8;
  background: transparent;
  color: #7f6045;
  border-radius: 6px;
  padding: 8px 14px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}
.sp-page .sp-hub-top a.sp-hub-row__start:hover {
  background: rgba(127, 96, 69, 0.06);
  border-color: #7f6045;
  color: #5e4530;
  text-decoration: none;
}
.sp-page .sp-hub-top a.sp-hub-row__meet {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: #7f6045;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(127, 96, 69, 0.35);
}
.sp-page .sp-hub-top a.sp-hub-row__meet:hover {
  color: #5e4530;
  text-decoration-color: currentColor;
}


/* ─── TIME-OF-DAY TAGS (variant, off by default) ─── */

.sp-page .sp-hub-top .sp-hub-tags {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
  align-items: center;
}
.sp-page .sp-hub-top .sp-hub-tag {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-ui);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  line-height: 1.4;
  border-radius: 999px;
  padding: 2px 7px;
  border: 1px solid transparent;
}
.sp-page .sp-hub-top .sp-hub-tag--yes {
  color: #2d7a5a;
  border-color: rgba(74, 174, 140, 0.5);
  background: rgba(74, 174, 140, 0.08);
}
.sp-page .sp-hub-top .sp-hub-tag--yes::before {
  content: "✓";
  font-size: 9px;
}


/* ─── PRACTICAL FACTS LINE ─── */

.sp-page .sp-hub-top p.sp-hub-top__facts {
  max-width: 1100px;
  margin: 18px auto 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #6e787c;
}

/* ─── ROUND 4: head row with the lens, groups, feed status, frame box ─── */

.sp-page .sp-hub-top__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.sp-page .sp-hub-top__head-text {
  min-width: 0;
  flex: 1 1 420px;
}
.sp-page .sp-hub-top__head p.sp-hub-top__line {
  margin-bottom: 0;
}
/* The lens: one switch, one dimension, beside the intro (design round 7) */
.sp-page .sp-hub-top button.sp-hub-lens {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 4px;
  padding: 6px 0;
  background: none;
  border: 0;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: #4f4a44;
  white-space: nowrap;
  cursor: pointer;
}
.sp-page .sp-hub-top .sp-hub-lens__switch {
  display: inline-block;
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: #c5bfb8;
  transition: background 0.2s;
  flex-shrink: 0;
}
.sp-page .sp-hub-top .sp-hub-lens__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: left 0.2s;
}
.sp-page .sp-hub-top.is-lens .sp-hub-lens__switch {
  background: #7f6045;
}
.sp-page .sp-hub-top.is-lens .sp-hub-lens__knob {
  left: 19px;
}
/* Groups */
.sp-page .sp-hub-groups {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sp-page .sp-hub-group[hidden] {
  display: none;
}
.sp-page .sp-hub-group__head {
  display: flex;
  align-items: baseline;
  gap: 4px 12px;
  flex-wrap: wrap;
  padding: 0 0 8px;
}
.sp-page .sp-hub-group__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.3;
  color: #2a2520;
}
.sp-page .sp-hub-group__sub {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: #6e787c;
}
.sp-page .sp-hub-group__empty {
  background: #fff;
  border: 1px dashed #c5bfb8;
  border-radius: 10px;
  padding: 16px 18px;
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: #4f4a44;
}
/* Feed status and the evening mark (the mark shows only while the lens is on) */
.sp-page .sp-hub-top .sp-hub-row__status--soon {
  color: #2d7a5a;
}
.sp-page .sp-hub-top .sp-hub-row__status--rest {
  color: #8e979b;
}
.sp-page .sp-hub-top .sp-hub-row__status-short {
  display: none;
}
.sp-page .sp-hub-top .sp-hub-row__evening {
  display: none;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #4f4a44;
  border: 1px solid #c5bfb8;
  border-radius: 999px;
  padding: 2px 7px;
  line-height: 1.4;
}
.sp-page .sp-hub-top.is-lens .sp-hub-group--lens .sp-hub-row__evening {
  display: inline-flex;
}
/* The rows answer a level-one tap: a small mark on each person whose
   profile lists that specialty. Nothing moves, nothing is hidden. */
.sp-page .sp-hub-top .sp-hub-row__mark {
  display: inline;
  font-family: var(--font-ui);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #7f6045;
  line-height: 1.4;
  animation: sp-hub-fade 0.22s ease-out;
}
.sp-page .sp-hub-top .sp-hub-row__mark::before {
  content: '· ';
}
@keyframes sp-hub-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.sp-page .sp-hub-top .sp-hub-row__mark[hidden] {
  display: none;
}
/* What the card heard, building as the visitor taps (true: it is what the
   scheduler receives) */
.sp-page .sp-hub-top p.sp-hub-match__heard {
  margin: 12px 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}
.sp-page .sp-hub-top p.sp-hub-match__heard[hidden] {
  display: none;
}
.sp-page .sp-hub-top p.sp-hub-match__heard strong {
  color: #fff;
  font-weight: 600;
}
/* The frame of reference: a quiet box the width of a row, under the last one */
.sp-page .sp-hub-top__frame {
  margin: 10px 0 0;
  padding: 12px 16px;
  background: #faf7f3;
  border: 1px solid #e8e0d8;
  border-radius: 10px;
}
.sp-page .sp-hub-top p.sp-hub-top__frame-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: #4f4a44;
  margin: 0;
}
.sp-page .sp-hub-top .sp-hub-top__count {
  font-weight: 600;
  color: #2a2520;
}

/* phone-only "See all N" toggle */
.sp-page .sp-hub-top__toggle {
  display: none;
}


/* ─── SECTION 10 TEAM STRIP (replaces the card grid on rebuilt hubs) ─── */

.sp-page .sp-hub-team-strip {
  background: #f8f9fa;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  padding: 28px 30px;
  margin: 30px 0;
  text-align: center;
  scroll-margin-top: 80px;
}
.sp-page .sp-hub-team-strip__photos {
  display: flex;
  justify-content: center;
  gap: 16px 22px;
  flex-wrap: wrap;
}
.sp-page .sp-hub-team-strip a.sp-hub-team-strip__person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 96px;
  color: #555;
  font-weight: 600;
  text-decoration: none;
}
.sp-page .sp-hub-team-strip a.sp-hub-team-strip__person:hover {
  text-decoration: none !important;
}
.sp-page .sp-hub-team-strip__photo {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: block;
  background: linear-gradient(170deg, #f5f0eb 0%, #ebe5de 100%);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sp-page .sp-hub-team-strip__photo--initials {
  color: #7f6045;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 22px;
}
.sp-page .sp-hub-team-strip a.sp-hub-team-strip__person:hover .sp-hub-team-strip__photo {
  transform: scale(1.06);
  box-shadow: 0 4px 12px rgba(251, 144, 0, 0.2);
}
.sp-page .sp-hub-team-strip__name {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  color: #555;
  line-height: 1.2;
}
.sp-page .sp-hub-team-strip__footer {
  margin-top: 20px;
}
.sp-page .sp-hub-team-strip a.sp-hub-team-strip__link {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: #fb9000;
  text-decoration: none;
}


/* ─── TABLET: single column, match card first ─── */

@media (max-width: 900px) {
  .sp-page .sp-hub-top {
    padding: 24px 20px 22px;
  }
  .sp-page .sp-hub-top__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .sp-page .sp-hub-top__match,
  .sp-page .sp-hub-top__people {
    min-width: 0;
  }
  .sp-page .sp-hub-top__match {
    position: static;
  }
  .sp-page .sp-hub-match__body {
    padding: 20px 20px 22px;
  }
  .sp-page .sp-hub-match__eyebrow {
    margin-bottom: 10px;
  }
  .sp-page .sp-hub-match__heading {
    font-size: 21px;
    margin-bottom: 8px;
  }
  .sp-page .sp-hub-top p.sp-hub-match__text {
    font-size: 15px;
    margin-bottom: 16px;
  }
  .sp-page .sp-hub-top ol.sp-hub-match__beats {
    margin-bottom: 16px;
    gap: 7px;
  }
  .sp-page .sp-hub-top .sp-hub-match__beat {
    font-size: 14px;
  }
  .sp-page .sp-hub-top a.sp-hub-match__btn {
    display: flex;
    align-self: stretch;
    padding: 15px 22px;
  }
  .sp-page .sp-hub-team-strip {
    padding: 24px 20px;
  }
}


/* ─── PHONE: match card, then a swipe strip of cards + "See all N" ─── */

@media (max-width: 624px) {
  .sp-page .sp-hub-top {
    padding: 16px 0 18px;
  }
  .sp-page .sp-hub-top__inner {
    padding: 0 16px;
    gap: 18px;
  }
  .sp-page .sp-hub-top__heading {
    font-size: 21px;
  }
  .sp-page .sp-hub-top p.sp-hub-top__line {
    font-size: 14px;
    line-height: 1.55;
    margin: 3px 0 10px;
  }
  .sp-page .sp-hub-top ul.sp-hub-rows {
    flex-direction: row;
    gap: 10px;
    margin: 0 -16px;
    padding: 4px 16px 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sp-page .sp-hub-top ul.sp-hub-rows::-webkit-scrollbar {
    display: none;
  }
  .sp-page .sp-hub-top .sp-hub-row {
    flex: 0 0 160px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding: 16px 14px 14px;
  }
  .sp-page .sp-hub-top .sp-hub-row__photo {
    width: 72px;
    height: 72px;
    margin-bottom: 10px;
  }
  .sp-page .sp-hub-top .sp-hub-row__id {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .sp-page .sp-hub-top .sp-hub-tags {
    justify-content: center;
  }
  .sp-page .sp-hub-top .sp-hub-row__name {
    font-size: 13px;
  }
  .sp-page .sp-hub-top .sp-hub-row__creds {
    font-size: 11px;
  }
  .sp-page .sp-hub-top p.sp-hub-row__fit {
    font-size: 12.5px;
    line-height: 1.5;
    margin: 6px 0 12px;
  }
  .sp-page .sp-hub-top .sp-hub-row__actions {
    flex-direction: column;
    gap: 6px;
    margin-top: auto;
    white-space: normal;
  }
  .sp-page .sp-hub-top a.sp-hub-row__start {
    border: none;
    padding: 0;
    font-size: 12px;
    color: #7f6045;
  }
  .sp-page .sp-hub-top a.sp-hub-row__meet {
    font-size: 12px;
  }
  .sp-page .sp-hub-top__toggle {
    display: inline-block;
    margin: 2px 0 0;
    background: none;
    border: 1px dashed #c5bfb8;
    border-radius: 8px;
    padding: 10px 14px;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    color: #7f6045;
    cursor: pointer;
  }
  /* expanded: the strip becomes the full vertical list, in place */
  .sp-page .sp-hub-top .sp-hub-group.is-expanded ul.sp-hub-rows {
    flex-direction: column;
    overflow: visible;
    margin: 0;
    padding: 0;
    gap: 8px;
  }
  .sp-page .sp-hub-top .sp-hub-group.is-expanded .sp-hub-row {
    flex: none;
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 4px 12px;
    text-align: left;
    align-items: center;
    padding: 11px 14px;
  }
  .sp-page .sp-hub-top .sp-hub-group.is-expanded .sp-hub-row__photo {
    width: 64px;
    height: 64px;
    margin: 0;
    grid-row: 1 / span 2;
  }
  .sp-page .sp-hub-top .sp-hub-group.is-expanded .sp-hub-row__id {
    flex-direction: row;
    align-items: baseline;
    gap: 4px 8px;
  }
  .sp-page .sp-hub-top .sp-hub-group.is-expanded p.sp-hub-row__fit {
    margin: 2px 0 0;
  }
  .sp-page .sp-hub-top .sp-hub-group.is-expanded .sp-hub-row__actions {
    grid-column: 2;
    flex-direction: row;
    gap: 14px;
    margin-top: 4px;
  }
  .sp-page .sp-hub-top p.sp-hub-top__facts {
    font-size: 13.5px;
    margin: 0 16px;
    padding: 12px 0 0;
    border-top: 1px solid #eee;
  }
  .sp-page .sp-hub-top__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 8px;
  }
  .sp-page .sp-hub-top__head-text {
    flex: 0 0 auto;
    width: 100%;
  }
  .sp-page .sp-hub-top button.sp-hub-lens {
    margin: 0;
  }
  /* Round 7 phone: what the card heard sits above the button */
  .sp-page .sp-hub-top a.sp-hub-match__btn {
    order: 1;
  }
  .sp-page .sp-hub-match__note {
    order: 2;
  }
  .sp-page .sp-hub-top p.sp-hub-match__heard {
    margin: 0 0 10px;
  }
  /* Round 7 phone: the mark is a dot before the one-liner */
  .sp-page .sp-hub-top .sp-hub-row__mark {
    display: none;
  }
  .sp-page .sp-hub-top .sp-hub-row.is-marked p.sp-hub-row__fit::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7f6045;
    margin-right: 6px;
    vertical-align: middle;
  }
  .sp-page .sp-hub-top .sp-hub-row__meta {
    justify-content: center;
  }
  .sp-page .sp-hub-groups {
    gap: 14px;
  }
  .sp-page .sp-hub-group__head {
    padding: 0 0 6px;
  }
  .sp-page .sp-hub-top__frame {
    margin-top: 8px;
    padding: 10px 14px;
  }
  .sp-page .sp-hub-ask__reply-title {
    display: none;
  }
  .sp-page .sp-hub-top a.sp-hub-ask__reply-phone:not([hidden]) {
    display: block;
  }
    .sp-page .sp-hub-top .sp-hub-row__status-long {
    display: none;
  }
  .sp-page .sp-hub-top .sp-hub-row__status-short {
    display: inline;
  }
  .sp-page .sp-hub-top p.sp-hub-top__frame-text {
    font-size: 13.5px;
  }
  .sp-page .sp-hub-match__header {
    padding: 12px 16px;
  }
  .sp-page .sp-hub-top button.sp-hub-chip {
    font-size: 13px;
    padding: 7px 11px;
  }
  .sp-page .sp-hub-team-strip {
    padding: 24px 16px;
  }
  .sp-page .sp-hub-team-strip__photos {
    gap: 12px 14px;
  }
  .sp-page .sp-hub-team-strip a.sp-hub-team-strip__person {
    width: 72px;
  }
  .sp-page .sp-hub-team-strip__photo {
    width: 64px;
    height: 64px;
  }
}

/* The small calendar glyph before "when could you begin" links, so they are not lost in the text. */
.sp-page .sp-hub-top a.sp-hub-match__begin svg.begin-cal {
  width: 16px;
  height: 16px;
  vertical-align: -3px;
  margin-right: 7px;
  flex-shrink: 0;
}
