/* Private CBT provider-choice draft. Shared and live page styles are untouched. */
#tb-homepage-page .hero-hed { max-width: 760px; font-size: clamp(38px, 4.2vw, 62px); }
#tb-homepage-page .hero-sub { max-width: 630px; font-size: 20px; line-height: 1.55; }
#tb-homepage-page .btn-hero-sub { font-size: 14px; line-height: 1.45; }
#tb-homepage-page .hero-offer-facts li { font-size: 14px; }
#tb-homepage-page .provider-promise { padding: 32px 24px 64px; background: #f5f2eb; }
#tb-homepage-page .provider-promise-card {
  max-width: 820px; margin: 0 auto; padding: 32px;
  background: radial-gradient(ellipse at top left, #332b20, transparent 65%), #171614;
  border: 1px solid #403a30; border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 16px 36px rgba(52,42,27,.15);
  color: #f5f0e7;
}
#tb-homepage-page .provider-promise-card::before {
  content: ''; display: block; width: 56px; height: 2px; margin-bottom: 20px;
  background: linear-gradient(90deg, #d4b373, #b58b49);
}
#tb-homepage-page .provider-promise-card h2 { margin: 0 0 16px; font-family: var(--font-display); font-size: 38px; line-height: 1.2; color: #f5f0e7; }
#tb-homepage-page .provider-promise-card p { margin: 0 0 24px; font-size: 18px; line-height: 1.65; color: #ddd6ca; }
#tb-homepage-page .provider-promise-card strong { color: #f4dcac; }
#tb-homepage-page .provider-promise-break { display: block; margin-top: 10px; }
#tb-homepage-page .provider-promise-card .btn { white-space: normal; text-align: center; max-width: 100%; padding: 16px 24px; height: auto; border-radius: 8px; background: linear-gradient(180deg,#dfc38f,#c79b58); color: #17130e; font-weight: 700; line-height: 1.4; }
#tb-homepage-page .provider-promise-card .btn:focus-visible { outline: 3px solid #f4dcac; outline-offset: 4px; }
#tb-homepage-page .provider-promise-card .provider-promise-note { margin: 12px 0 0; font-size: 14px; }

/* The source theme stacked bottom padding, result-card padding and margins.
   Keep the proof prominent without leaving it stranded in an empty panel. */
#tb-homepage-page #team-section { padding-bottom: 20px !important; }
#tb-homepage-page #team-section .team-grid { margin-bottom: 28px !important; }
#tb-homepage-page #team-section .team-grid--cbt { max-width: 1120px; margin-inline: auto; }
#tb-homepage-page #team-section .team-grid--cbt .team-card { max-width: 100%; }
@media (min-width: 900px) {
  #tb-homepage-page #team-section .team-grid--cbt .team-card {
    flex-basis: calc(50% - 12px);
    max-width: calc(50% - 12px);
  }
}
#tb-homepage-page .supporting-team {
  max-width: 900px;
  margin: 0 auto 32px;
  padding: 0 8px;
  text-align: center;
}
#tb-homepage-page .supporting-team__label {
  margin: 0 0 14px;
  color: var(--text-3);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
#tb-homepage-page .supporting-team__grid {
  display: grid;
  grid-template-columns: minmax(0, 320px);
  justify-content: center;
  gap: 12px;
}
#tb-homepage-page .supporting-team__card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,.48);
  text-align: left;
}
#tb-homepage-page .supporting-team__card img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(1);
  opacity: .68;
}
#tb-homepage-page .supporting-team__card span { min-width: 0; }
#tb-homepage-page .supporting-team__card strong,
#tb-homepage-page .supporting-team__card small { display: block; }
#tb-homepage-page .supporting-team__card strong {
  color: var(--text);
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.15;
}
#tb-homepage-page .supporting-team__card small {
  margin-top: 3px;
  color: var(--text-3);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.3;
}
#tb-homepage-page .supporting-team__note {
  max-width: 680px;
  margin: 16px auto 0;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}

/* Keep the intake handoff quiet and light so the Right Fit Promise remains the
   sole dark, high-contrast commitment card in this part of the page. */
#tb-homepage-page .joe-module--light {
  max-width: 880px !important;
  margin: 0 auto !important;
  padding-top: 28px !important;
  border-top: 1px solid var(--border) !important;
}
#tb-homepage-page .joe-module--light .joe-inner {
  max-width: 780px !important;
  padding: 28px !important;
  border: 1px solid var(--border) !important;
  background: rgba(255, 255, 255, .62) !important;
  box-shadow: 0 12px 32px rgba(52, 42, 27, .08) !important;
}
#tb-homepage-page .joe-module--light .joe-photo {
  width: 104px !important;
  height: 104px !important;
  border-radius: 14px !important;
}
#tb-homepage-page .joe-module--light .joe-cta {
  align-self: flex-start !important;
}
#tb-homepage-page .joe-module--light .joe-desc + .joe-desc {
  margin-top: 14px !important;
}
#tb-homepage-page .joe-module--decision { margin-bottom: 0 !important; }

/* The revealed navigation uses the established dark glass treatment. Keep the
   brand light and the gold booking control dark so both remain legible. */
#tb-homepage-page .nav.scrolled .nav-brand,
#tb-homepage-page .nav.scrolled .nav-brand-name {
  color: rgba(245, 240, 231, .96) !important;
}
#tb-homepage-page .nav.scrolled .nav-brand-sep {
  color: rgba(245, 240, 231, .45) !important;
}
#tb-homepage-page .nav.scrolled .nav-brand-desc {
  color: rgba(245, 240, 231, .66) !important;
}
#tb-homepage-page .nav.scrolled .hamburger {
  color: rgba(245, 240, 231, .9) !important;
}
#tb-homepage-page #team-section .team-results-block {
  margin: 0 auto !important;
  padding: 0 24px !important;
}
@media (max-width: 600px) {
  #tb-homepage-page .hero-sub { font-size: 18px; }
  #tb-homepage-page .provider-promise { padding: 24px 20px 44px; }
  #tb-homepage-page .provider-promise-card { padding: 24px; }
  #tb-homepage-page .provider-promise-card h2 { font-size: 27px; }
  #tb-homepage-page .provider-promise-card p { font-size: 17px; }
  #tb-homepage-page #team-section .team-grid {
    display: grid !important;
    grid-auto-flow: row !important;
    grid-template-columns: minmax(0, 1fr) !important;
    justify-content: stretch !important;
    gap: 18px !important;
    margin-inline: 0 !important;
    padding: 4px 0 18px !important;
    overflow: visible !important;
  }
  #tb-homepage-page #team-section .team-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  #tb-homepage-page #team-section .team-grid--cbt .team-card { max-width: 100% !important; }
  #tb-homepage-page .supporting-team { margin-bottom: 26px; padding: 0; }
  #tb-homepage-page .supporting-team__grid {
    grid-template-columns: minmax(0, 280px);
    justify-content: center;
    padding: 2px 0 10px;
  }
  #tb-homepage-page .supporting-team__card { scroll-snap-align: start; }
  #tb-homepage-page .joe-module--light { padding-top: 22px !important; }
  #tb-homepage-page .joe-module--light .joe-inner { padding: 22px !important; }
  #tb-homepage-page .joe-module--light .joe-photo {
    width: 92px !important;
    height: 92px !important;
  }
  #tb-homepage-page .joe-module--light .joe-cta {
    align-self: center !important;
    width: 100% !important;
  }
}

/* Hero revision: use the Anger page's compact, disciplined visual grammar while
   preserving the CBT message and photography. */
#tb-homepage-page.js-ready .nav:not(.scrolled):not(.menu-open) {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-100%) !important;
}
#tb-homepage-page.js-ready .nav.scrolled,
#tb-homepage-page.js-ready .nav.menu-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
#tb-homepage-page .nav {
  transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms !important;
}
#tb-homepage-page .nav.scrolled,
#tb-homepage-page .nav.menu-open {
  transition-delay: 0s !important;
}
#tb-homepage-page .hero.hero--photo {
  min-height: 720px !important;
  padding-top: 0 !important;
  background-size: cover !important;
  background-position: center center !important;
}
#tb-homepage-page .hero.hero--photo::before {
  background:
    linear-gradient(90deg, rgba(17,14,11,.97) 0%, rgba(17,14,11,.92) 38%, rgba(17,14,11,.62) 58%, rgba(17,14,11,.18) 82%, rgba(17,14,11,.08) 100%),
    linear-gradient(180deg, rgba(17,14,11,.08) 0%, rgba(17,14,11,.12) 62%, rgba(17,14,11,.58) 100%) !important;
}
#tb-homepage-page .hero-mobile-portrait { display: none; }
#tb-homepage-page .hero.hero--photo .hero-inner {
  display: flex !important;
  align-items: center !important;
  padding: clamp(72px, 9vh, 104px) clamp(42px, 6.5vw, 104px) clamp(64px, 8vh, 92px) !important;
}
#tb-homepage-page .hero.hero--photo .hero-split {
  width: min(48%, 560px) !important;
  max-width: 560px !important;
  min-width: 0 !important;
  gap: 20px !important;
  margin: 0 !important;
}
#tb-homepage-page .hero.hero--photo .hero-content .eyebrow {
  margin: 0 0 14px !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
  letter-spacing: .15em !important;
}
#tb-homepage-page .hero.hero--photo .hero-hed {
  max-width: 15ch !important;
  margin: 0 !important;
  font-family: var(--font-body) !important;
  font-size: clamp(42px, 4.1vw, 58px) !important;
  font-weight: 800 !important;
  line-height: 1.06 !important;
  letter-spacing: -.035em !important;
}
#tb-homepage-page .hero.hero--photo .hero-sub {
  max-width: 34ch !important;
  margin: 16px 0 0 !important;
  font-size: 19px !important;
  font-weight: 650 !important;
  line-height: 1.42 !important;
}
#tb-homepage-page .hero.hero--photo .hero-sub::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 20px;
  background: linear-gradient(90deg, #d4b373, #8f6b36);
}
#tb-homepage-page .hero.hero--photo .hero-benefits {
  gap: 7px !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  font-size: 17px !important;
  font-weight: 650 !important;
  line-height: 1.42 !important;
}
#tb-homepage-page .hero.hero--photo .hero-benefits li { gap: 0 !important; }
#tb-homepage-page .hero.hero--photo .hero-benefits li::before { display: none !important; }
#tb-homepage-page .hero.hero--photo .hero-offer-facts {
  gap: 7px !important;
  margin: 16px 0 0 !important;
}
#tb-homepage-page .hero.hero--photo .hero-offer-facts li {
  min-height: 28px !important;
  padding: 5px 10px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}
#tb-homepage-page .hero.hero--photo .hero-action {
  gap: 10px !important;
  margin: 0 !important;
}
#tb-homepage-page .hero.hero--photo .hero-action::before { display: none !important; }
#tb-homepage-page .hero.hero--photo .btn-hero-stack--single {
  width: min(100%, 370px) !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 15px 20px !important;
  box-sizing: border-box !important;
  border-radius: 7px !important;
}
#tb-homepage-page .hero.hero--photo .btn-hero-stack--single .btn-hero-main {
  display: block !important;
  max-width: 100% !important;
  white-space: normal !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
}
#tb-homepage-page .hero.hero--photo .btn-hero-stack--single .btn-hero-main svg { display: none; }
#tb-homepage-page .hero.hero--photo .btn-hero-stack--single .btn-hero-sub {
  max-width: 100% !important;
  white-space: normal !important;
  font-size: 12px !important;
  line-height: 1.35 !important;
}
#tb-homepage-page .hero.hero--photo .hero-trust {
  max-width: 100% !important;
  font-size: 11px !important;
  line-height: 1.45 !important;
}
#tb-homepage-page .hero.hero--photo .hero-scroll { display: none !important; }

@media (min-width: 768px) and (max-width: 1050px) {
  #tb-homepage-page .hero.hero--photo {
    min-height: 680px !important;
    background-position: 58% center !important;
  }
  #tb-homepage-page .hero.hero--photo::before {
    background:
      linear-gradient(90deg, rgba(17,14,11,.98) 0%, rgba(17,14,11,.94) 43%, rgba(17,14,11,.62) 64%, rgba(17,14,11,.16) 100%),
      linear-gradient(180deg, transparent 55%, rgba(17,14,11,.48) 100%) !important;
  }
  #tb-homepage-page .hero.hero--photo .hero-inner {
    padding: 64px 48px 58px !important;
  }
  #tb-homepage-page .hero.hero--photo .hero-split {
    width: 52% !important;
    max-width: 500px !important;
  }
  #tb-homepage-page .hero.hero--photo .hero-hed {
    font-size: clamp(39px, 5vw, 49px) !important;
  }
  #tb-homepage-page .hero.hero--photo .hero-sub { font-size: 17px !important; }
  #tb-homepage-page .hero.hero--photo .hero-benefits { font-size: 15px !important; }
}

@media (min-width: 561px) and (max-width: 767px) {
  #tb-homepage-page .hero.hero--photo {
    min-height: 650px !important;
    background-size: cover !important;
    background-position: 62% center !important;
  }
  #tb-homepage-page .hero.hero--photo::before {
    background:
      linear-gradient(90deg, rgba(17,14,11,.98) 0%, rgba(17,14,11,.94) 48%, rgba(17,14,11,.66) 70%, rgba(17,14,11,.26) 100%),
      linear-gradient(180deg, rgba(17,14,11,.08), rgba(17,14,11,.42)) !important;
  }
  #tb-homepage-page .hero.hero--photo .hero-inner {
    padding: 54px 42px 48px !important;
  }
  #tb-homepage-page .hero.hero--photo .hero-split {
    width: min(64%, 410px) !important;
    max-width: 410px !important;
    gap: 17px !important;
  }
  #tb-homepage-page .hero.hero--photo .hero-hed { font-size: clamp(36px, 6.2vw, 43px) !important; }
  #tb-homepage-page .hero.hero--photo .hero-sub { font-size: 16px !important; }
  #tb-homepage-page .hero.hero--photo .hero-benefits { font-size: 14px !important; }
  #tb-homepage-page .hero.hero--photo .btn-hero-stack--single { width: 100% !important; }
}

/* On phones, use an intentional face-and-shoulders portrait instead of either
   the detached full photograph or an accidental face-only crop. */
@media (max-width: 560px) {
  #tb-homepage-page .nav .btn-nav {
    display: inline-flex !important;
    min-height: 42px !important;
    padding: 9px 13px !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }
  #tb-homepage-page .nav .hamburger { display: none !important; }
  #tb-homepage-page .hero.hero--photo {
    min-height: auto !important;
    background: #17130f !important;
  }
  #tb-homepage-page .hero.hero--photo::before { display: none !important; }
  #tb-homepage-page .hero-mobile-portrait {
    display: block;
    height: clamp(210px, 58vw, 270px);
    background:
      linear-gradient(180deg, rgba(17,14,11,.02) 48%, #17130f 100%),
      url("./arlp/pages/cbt/hero-cbt-man.png") 66% 31% / cover no-repeat;
  }
  #tb-homepage-page .hero.hero--photo .hero-inner {
    display: block !important;
    padding: 4px 24px 42px !important;
  }
  #tb-homepage-page .hero.hero--photo .hero-split {
    width: 100% !important;
    max-width: 430px !important;
    gap: 18px !important;
    margin: 0 auto !important;
  }
  #tb-homepage-page .hero.hero--photo .hero-content .eyebrow {
    margin-bottom: 11px !important;
    font-size: 10px !important;
  }
  #tb-homepage-page .hero.hero--photo .hero-hed {
    max-width: 13ch !important;
    font-size: clamp(34px, 9.4vw, 42px) !important;
    line-height: 1.06 !important;
  }
  #tb-homepage-page .hero.hero--photo .hero-sub {
    max-width: 32ch !important;
    margin-top: 14px !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
  }
  #tb-homepage-page .hero.hero--photo .hero-sub::after { margin-top: 17px; }
  #tb-homepage-page .hero.hero--photo .btn-hero-stack--single {
    width: 100% !important;
    padding: 14px 16px !important;
  }
  #tb-homepage-page .hero.hero--photo .btn-hero-stack--single .btn-hero-main { font-size: 17px !important; }
  #tb-homepage-page .hero.hero--photo .hero-trust {
    width: 100% !important;
    font-size: 10.5px !important;
    line-height: 1.45 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #tb-homepage-page .nav { transition: none !important; }
}
