@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,500,600,700&display=swap");
@keyframes heroOverFade {
  0% {
    opacity: 0;
  }
  12.5% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  37.5% {
    opacity: 0;
  }
  62.5% {
    opacity: 0;
  }
  75% {
    opacity: 1;
  }
  87.5% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
body {
  font-family: "Raleway" !important;
  font-size: 20px;
  color: #58595b;
  overflow-x: hidden;
}

.dblue {
  color: #016bad;
}

.red {
  color: #eb2228;
}

section {
  padding: 4em 1em;
  position: relative;
}
section .inner {
  position: relative;
}

.centered {
  text-align: center;
}

h1, h2, h3, h4 {
  font-family: "Raleway" !important;
  font-weight: bold !important;
}

h1, h2 {
  color: #2cabe2;
}
img.section-icon {
  max-width: 40px;
  width: 100%;
  margin: 0 auto;
}
img.th-icon {
  max-width: 70px;
  width: 100%;
  margin: 0 auto;
  display: block;
}

.section-image {
  position: absolute;
  z-index: -2;
}
.section-image img {
  width: 100%;
}
.section-image.left-centered {
  width: 45vw;
  max-width: 700px;
  left: -17%;
  top: 16%;
}
@media only screen and (max-width: 768px) {
  .section-image.left-centered {
    position: relative;
    left: inherit;
    top: inherit;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    grid-row: 3/4;
  }
}
.section-image.top-right {
  width: 45vw;
  max-width: 700px;
  right: -17%;
  top: -50%;
}
@media only screen and (max-width: 768px) {
  .section-image.top-right {
    position: relative;
    right: inherit;
    top: inherit;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

body {
  margin: 0;
}

.parallax {
  position: absolute;
  overflow: hidden;
}
@media only screen and (max-width: 768px) {
  .parallax {
    transform: none !important;
  }
}
.parallax img {
  will-change: transform;
}

.parallax-neg {
  position: absolute;
  overflow: hidden;
}
@media only screen and (max-width: 768px) {
  .parallax-neg {
    transform: none !important;
  }
}
.parallax-neg img {
  will-change: transform;
}

.inner.plans {
  position: relative;
  z-index: 3;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  margin: 2em auto 0;
  max-width: 720px;
  grid-gap: 1em;
  margin: 2em auto;
  z-index: 3;
}

.plan {
  background: white;
  border: 4px solid #2cabe2;
  padding: 1em;
  border-radius: 2em;
  display: grid;
  justify-items: center;
  grid-template-rows: repeat(5, auto) 1fr;
}
.plan p {
  color: #231f20;
}
.plan h3.plan-name {
  margin: 0 auto;
  text-align: center;
  text-transform: uppercase;
}
.plan.plan-basic {
  color: #2cabe2;
}
.plan.plan-advanced {
  border-color: #016bad;
  color: #016bad;
}
.plan.plan-advanced ul.plan-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.plan.plan-advanced h3 {
  color: #016bad;
}
.plan p.plan-subtitle {
  text-transform: uppercase;
  margin: 0 auto;
  color: #231f20;
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid #2cabe2;
  padding-bottom: 0.4em;
  margin-bottom: 0.4em;
  font-size: 1.1em;
}
.plan .plan-price {
  text-align: center;
  line-height: 1.5em;
  margin-top: 1em;
}
.plan .plan-price .price-amount {
  font-size: 2.8em;
}
.plan .plan-price .price-term {
  font-size: 0.7em;
}
.plan p.price-note {
  font-size: 0.7em;
  margin: 0.5em 0 1em;
  color: #2cabe2;
}
@media only screen and (max-width: 768px) {
  #planstop {
    display: none;
  }
}

#planstop, #hero .plans {
  margin: 0;
  padding: 0;
}
#planstop ul.plan-features, #hero .plans ul.plan-features {
  color: #231f20;
  font-size: 0.7em;
  list-style: none;
  padding: 0;
  text-align: center;
  grid-template-columns: 1fr !important;
}
#planstop ul.plan-features li, #hero .plans ul.plan-features li {
  padding-bottom: 0.15em;
  margin-bottom: 0.15em;
  border-bottom: 1px solid lightgray;
}

#hero.desktop {
  position: relative;
  padding: 0;
  align-items: center;
  background: black;
  display: grid;
  z-index: 0;
  min-height: 650px;
}
@media only screen and (max-width: 768px) {
  #hero.desktop {
    display: none;
  }
}
#hero.desktop .bgUnder {
  background-image: url("../img/heroUnder.jpg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 1400px;
  height: 100%;
  display: grid;
  position: absolute;
  left: 50%;
  margin-left: -700px;
  pointer-events: none;
}
#hero.desktop .bgOver {
  background-image: url("../img/heroOver.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 1285px;
  height: 100%;
  display: grid;
  position: absolute;
  background-position: right;
  opacity: 0;
  animation: heroOverFade 8s ease-in-out infinite;
  pointer-events: none;
}
#hero.desktop .inner {
  position: relative;
  z-index: 3;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  margin: 2em auto 0;
}
#hero.desktop .inner h1 {
  color: white;
  font-size: 36px;
  margin-bottom: 1em;
  grid-column: 1;
  font-weight: bold;
}
#hero.desktop .inner p {
  color: white;
  font-size: 1.2em;
  line-height: 1.6;
  margin-bottom: 2em;
  grid-column: 1;
  max-width: 500px;
}
#hero.desktop .inner .button.hero-cta {
  grid-column: 1;
  justify-self: start;
}

#hero.mobile {
  position: relative;
  padding: 0;
  align-items: center;
  background: #074063;
  display: none;
}
@media only screen and (max-width: 768px) {
  #hero.mobile {
    display: grid;
  }
}
#hero.mobile .bgUnder {
  background-image: url("../img/heroUnder.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 240px;
  display: grid;
  position: relative;
  pointer-events: none;
}
#hero.mobile .bgOver {
  background-image: url("../img/heroOver.jpg");
  background-size: 51.5%;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  display: grid;
  position: absolute;
  background-position: right;
  opacity: 0;
  animation: heroOverFade 8s ease-in-out infinite;
  pointer-events: none;
}
@media only screen and (max-width: 420px) {
  #hero.mobile .bgOver {
    background-size: contain;
    left: 59px;
  }
}
#hero.mobile .inner {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  padding: 0 1em;
  box-sizing: border-box;
}
#hero.mobile .inner.plans {
  max-width: 720px;
  grid-gap: 1em;
  margin: 2em auto;
  font-size: 0.7em;
  grid-template-columns: 1fr 1fr;
}
#hero.mobile .inner h1 {
  color: white;
  font-size: 36px;
  margin-bottom: 1em;
  grid-column: 1;
}
#hero.mobile .inner p {
  color: white;
  font-size: 1.2em;
  line-height: 1.6;
  margin: 1em 0;
  grid-column: 1;
  max-width: 500px;
}
#hero.mobile .inner .button.hero-cta {
  grid-column: 1;
  justify-self: start;
}
#hero.mobile .plan {
  background: white;
  border: 4px solid #2cabe2;
  padding: 1em;
  border-radius: 2em;
  display: grid;
  justify-items: center;
  grid-template-rows: repeat(5, auto) 1fr;
}
#hero.mobile .plan p {
  color: #231f20;
}
#hero.mobile .plan h3.plan-name {
  margin: 0 auto;
  text-align: center;
  text-transform: uppercase;
}
#hero.mobile .plan.plan-basic {
  color: #2cabe2;
}
#hero.mobile .plan.plan-advanced {
  border-color: #016bad;
  color: #016bad;
}
#hero.mobile .plan.plan-advanced ul.plan-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
#hero.mobile .plan.plan-advanced h3 {
  color: #016bad;
}
#hero.mobile .plan p.plan-subtitle {
  text-transform: uppercase;
  margin: 0 auto;
  color: #231f20;
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid #2cabe2;
  padding-bottom: 0.4em;
  margin-bottom: 0.4em;
  font-size: 1.1em;
}
#hero.mobile .plan .plan-price {
  text-align: center;
  line-height: 1.5em;
  margin-top: 1em;
}
#hero.mobile .plan .plan-price .price-amount {
  font-size: 2.8em;
}
#hero.mobile .plan .plan-price .price-term {
  font-size: 0.7em;
}
#hero.mobile .plan p.price-note {
  font-size: 0.7em;
  margin: 0.5em 0 1em;
  color: #2cabe2;
}
#intro .inner {
  grid-gap: 1em;
}
#intro .inner p {
  max-width: 390px;
  margin: 0.5em auto;
}
.inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
}

#why-tests-matter {
  padding-top: 50px;
}
#why-tests-matter .inner {
  max-width: 650px;
}
#why-tests-matter .inner img.section-icon {
  margin: 0 auto;
}
#why-tests-matter .inner .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  grid-gap: 1em;
  font-size: 1em;
}
@media only screen and (max-width: 768px) {
  #why-tests-matter .inner .row {
    font-size: 0.8em;
    grid-template-columns: 2fr 3fr;
  }
}
@media only screen and (max-width: 460px) {
  #why-tests-matter .inner .row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  #why-tests-matter .inner .row img {
    max-width: 220px;
  }
}
#why-tests-matter .inner .row p {
  margin: 0;
}

#how-it-works .inner .content-block {
  max-width: 500px;
  width: 100%;
  margin: 0 auto;
}
#how-it-works .inner ol {
  margin: 0 auto;
  max-width: 650px;
  width: 100%;
  list-style: none;
  counter-reset: number;
  padding-left: 0;
}
#how-it-works .inner ol li {
  counter-increment: number;
  display: flex;
  align-items: flex-start;
  gap: 1em;
  margin-bottom: 1em;
  font-size: 24px;
  position: relative;
  align-items: center;
  font-weight: 500;
}
#how-it-works .inner ol li:before {
  content: counter(number);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: normal;
  width: 1.5em;
  height: 1.5em;
  min-width: 1.5em;
  min-height: 1.5em;
  border: 6px solid #016bad;
  border-radius: 100%;
  color: #2cabe2;
  margin-right: 0.4em;
  background: #fff;
  vertical-align: middle;
  text-align: center;
  box-sizing: border-box;
  line-height: 1em;
}

#measurable-health .inner img.placeholder {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}
#plans.plans {
  position: relative;
}
#plans.plans h2 {
  margin-bottom: 75px;
  font-size: 32px;
}
#plans.plans .inner {
  display: grid;
  grid-gap: 1em;
  grid-template-columns: 2fr 3fr 2fr;
  z-index: 2;
  position: relative;
  align-items: center;
}
@media only screen and (max-width: 768px) {
  #plans.plans .inner {
    grid-template-columns: 1fr;
  }
}
#plans.plans .inner .plan {
  background: white;
  border: 4px solid #2cabe2;
  padding: 1em;
  border-radius: 2em;
  display: grid;
  justify-items: center;
  grid-template-rows: repeat(5, auto) 1fr;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.3764705882);
  position: relative;
  transition: all 0.15s linear;
  top: 0;
  left: 0;
  right: 0;
}
#plans.plans .inner .plan:hover {
  top: 3px;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3764705882);
  transition: all 0.5s linear;
}
#plans.plans .inner .plan:nth-of-type(1) {
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3764705882);
  transition: all 0.15s linear;
}
#plans.plans .inner .plan:nth-of-type(1):hover {
  top: 3px;
  left: 3px;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3764705882);
  transition: all 0.5s linear;
}
#plans.plans .inner .plan:nth-of-type(3) {
  box-shadow: -3px 3px 5px rgba(0, 0, 0, 0.3764705882);
  transition: all 0.15s linear;
}
#plans.plans .inner .plan:nth-of-type(3):hover {
  top: 3px;
  right: 3px;
  box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.3764705882);
  transition: all 0.5s linear;
}
#plans.plans .inner .plan h3.plan-name {
  margin: 0 auto;
  text-align: center;
  text-transform: uppercase;
}
#plans.plans .inner .plan.plan-basic {
  color: #2cabe2;
}
#plans.plans .inner .plan.plan-advanced {
  border-color: #016bad;
  color: #016bad;
}
#plans.plans .inner .plan.plan-advanced ul.plan-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
#plans.plans .inner .plan.plan-advanced h3 {
  color: #016bad;
}
#plans.plans .inner .plan.plan-followup {
  border-color: #074063;
  color: #074063;
}
#plans.plans .inner .plan p.plan-subtitle {
  text-transform: uppercase;
  margin: 0 auto;
  color: #231f20;
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid #2cabe2;
  padding-bottom: 1em;
  margin-bottom: 1em;
  font-size: 1.1em;
}
#plans.plans .inner .plan .plan-price {
  text-align: center;
  line-height: 1.5em;
  margin-top: 1em;
}
#plans.plans .inner .plan .plan-price .price-amount {
  font-size: 2.8em;
}
#plans.plans .inner .plan .plan-price .price-term {
  font-size: 0.7em;
}
#plans.plans .inner .plan p.price-note {
  font-size: 0.9em;
}
#plans.plans .inner .plan ul.plan-features {
  color: #231f20;
  font-size: 0.7em;
  list-style: none;
  padding: 0;
  text-align: center;
}
#plans.plans .inner .plan ul.plan-features li {
  padding-bottom: 0.15em;
  margin-bottom: 0.15em;
  border-bottom: 1px solid lightgray;
}

a {
  text-decoration: none;
  display: inline-block;
}
a:has(.button) {
  text-decoration: none;
}

.button {
  background: #eb2228;
  border: 0;
  color: white;
  font-weight: bold;
  border-radius: 2em;
  font-size: 18px;
  padding: 0.6em 1em;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3137254902);
  top: -2px;
  position: relative;
  transition: 0.2s all linear;
  cursor: pointer;
}
.button:hover {
  background-color: #074063;
  box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3137254902);
  top: 0;
  transition: 0.2s all linear;
}

.masked-1 {
  position: relative;
  width: 100%;
  text-align: center;
  margin: 2em 0;
  max-width: 475px;
  margin-left: auto;
  margin-right: auto;
}
.masked-1::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  height: 100%;
  background-image: url("../img/redSteth.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
}
.masked-1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  background-image: url("../img/blueSteth.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1;
  opacity: 0.6;
  pointer-events: none;
}
.masked-1 img {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  height: auto;
  -webkit-mask: url("../img/mask.svg") no-repeat center/contain;
  mask: url("../img/mask.svg") no-repeat center/contain;
}

.bubble-background {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  max-width: 1800px;
  height: 120%;
  z-index: -1;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media only screen and (max-width: 768px) {
  .bubble-background {
    display: none;
  }
}
.bubble-background img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.dotted-line {
  position: absolute;
  z-index: 1;
  width: 1140px;
  margin: 0 auto;
  left: 50%;
  margin-left: -572px;
  height: 0;
  top: 0;
  overflow: hidden;
  transition: height 0.6s ease-out;
  pointer-events: none;
}
.dotted-line img.dotted-icon {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

/*# sourceMappingURL=theme.css.map */

/* ============================================================
   Toward Health Executive Performance — page extensions
   ============================================================ */

:root {
  /* Change hero content width here — desktop only */
  --thep-hero-width: 70%;
  --thep-hero-side-padding: 20px;
  --thep-hero-text-max: 520px;
  /* Areas flip cards — fixed height, change if copy overflows */
  --thep-area-card-height: 13.5rem;
}

html {
  scroll-behavior: smooth;
}

.thep-section {
  padding: 4em 1em;
  overflow-x: hidden;
}

.thep-section .inner {
  max-width: 1100px;
  width: 100%;
  box-sizing: border-box;
}

.thep-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75em;
  font-weight: 600;
  color: #2cabe2;
  margin: 0 0 0.75em;
}

#hero.thep-hero .thep-eyebrow {
  color: #2cabe2;
}

/* ---- Hero: full-bleed cover + soft fade + header-aligned content ---- */
#hero.desktop.thep-hero {
  position: relative;
  min-height: min(78vh, 680px);
  display: grid;
  align-items: center;
  background: #0a0a0a;
  overflow: hidden;
  padding: 0;
  z-index: 0;
}

/* Critical: higher-specificity desktop hero must still hide on phone,
   otherwise both .desktop and .mobile heroes render (double hero). */
@media only screen and (max-width: 768px) {
  #hero.desktop.thep-hero {
    display: none !important;
  }

  #hero.mobile.thep-hero {
    display: grid !important;
  }
}

@media only screen and (min-width: 769px) {
  #hero.mobile.thep-hero {
    display: none !important;
  }

  #hero.desktop.thep-hero {
    display: grid !important;
  }
}

#hero.desktop.thep-hero .bgUnder {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  left: 0 !important;
  margin-left: 0 !important;
  background-size: cover !important;
  background-position: 72% center !important;
  background-repeat: no-repeat !important;
  pointer-events: none;
}

#hero.desktop.thep-hero .bgOver {
  display: none !important;
}

#hero.desktop.thep-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #000 0%,
    #000 36%,
    rgba(0, 0, 0, 0.72) 48%,
    rgba(0, 0, 0, 0.35) 62%,
    rgba(0, 0, 0, 0.08) 78%,
    transparent 100%
  );
}

/* Align hero copy — width controlled by --thep-hero-width */
#hero.desktop.thep-hero .inner {
  position: relative;
  z-index: 3;
  grid-template-columns: 1fr !important;
  width: var(--thep-hero-width);
  max-width: var(--thep-hero-width);
  margin: 0 auto !important;
  padding: 4.5em var(--thep-hero-side-padding);
  box-sizing: border-box;
  align-items: center;
  justify-items: start;
}

#hero.desktop.thep-hero .inner .content {
  max-width: var(--thep-hero-text-max);
  width: 100%;
  margin: 0;
  justify-self: start;
}

#hero.desktop.thep-hero .inner h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 0.55em;
  max-width: 14ch;
}

#hero.desktop.thep-hero .inner p {
  margin-bottom: 0.85em;
  max-width: 34em;
}

#hero.mobile.thep-hero {
  background: #074063;
  overflow: hidden;
}

#hero.mobile.thep-hero .bgUnder {
  width: 100% !important;
  height: 220px !important;
  background-size: cover !important;
  background-position: center 30% !important;
}

#hero.mobile.thep-hero .bgOver {
  display: none !important;
}

#hero.mobile.thep-hero .inner {
  padding: 1.5em 1.25em 2em !important;
  box-sizing: border-box;
  max-width: 1140px;
  margin: 0 auto;
}

#hero.mobile.thep-hero .inner h1 {
  font-size: clamp(1.6rem, 6vw, 2.15rem);
  line-height: 1.2;
  max-width: none;
}

.thep-hero-support {
  opacity: 0.9;
  font-size: 1em !important;
  max-width: 520px;
}

.thep-trust-line {
  margin-top: 1.25em;
  font-size: 0.85em !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

.thep-cta-row,
.thep-mid-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em 1em;
  align-items: center;
  margin-top: 1.25em;
}

.thep-mid-cta {
  justify-content: center;
  margin-top: 2em;
  padding: 0 1em;
}

.thep-cta-row .button,
.thep-mid-cta .button,
.thep-sticky-cta .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.button.button-secondary {
  background: transparent;
  color: #016bad;
  border: 2px solid #016bad;
  box-shadow: none;
}

.button.button-secondary:hover {
  background: #074063;
  color: #fff;
  border-color: #074063;
}

#hero .button.button-secondary {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

#hero .button.button-secondary:hover {
  background: #fff;
  color: #074063;
  border-color: #fff;
}

.thep-lead {
  font-size: 1.15em;
  line-height: 1.55;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.thep-positioning {
  font-size: 1.25em;
  font-weight: 600;
  margin-top: 1.5em;
}

#intro.thep-section .inner p {
  max-width: 640px;
  margin: 0.65em auto;
}

/* Feature / team cards */
.feature-grid,
.areas-grid,
.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25em;
  margin-top: 2em;
  width: 100%;
}

.feature-card,
.principle-card {
  background: #fff;
  border: 3px solid #2cabe2;
  border-radius: 1.5em;
  padding: 1.25em 1.1em;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s linear, transform 0.2s linear;
}

.feature-card:hover,
.principle-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.feature-card h3,
.principle-card h3 {
  color: #016bad;
  font-size: 1.05em;
  margin: 0 0 0.5em;
  text-align: center;
}

.feature-card p,
.principle-card p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.5;
  color: #231f20;
  text-align: center;
}

/* Areas of Focus — fixed-size flip cards (no layout shift) */
.thep-areas .areas-grid {
  align-items: stretch;
}

.thep-areas .area-card {
  height: var(--thep-area-card-height, 13.5rem);
  min-height: var(--thep-area-card-height, 13.5rem);
  perspective: 1200px;
  cursor: pointer;
  outline: none;
  border-radius: 1.5em;
}

.thep-areas .area-card-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.thep-areas .area-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25em 1.1em;
  border-radius: 1.5em;
  border: 3px solid #2cabe2;
  background: #fff;
  box-shadow: 0 3px 10px rgba(1, 107, 173, 0.08);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
  text-align: center;
}

.thep-areas .area-card-front .area-icon {
  display: block;
  width: 44px;
  height: auto;
  margin: 0 auto 0.65em;
}

.thep-areas .area-card-front h3 {
  color: #016bad;
  font-size: 1.05em;
  margin: 0;
  line-height: 1.25;
}

.thep-areas .area-card-back {
  transform: rotateY(180deg);
  border-color: #016bad;
  background: linear-gradient(160deg, #f7fbfe 0%, #ffffff 55%, #eef7fc 100%);
  box-shadow: 0 6px 18px rgba(1, 107, 173, 0.14);
}

.thep-areas .area-card-back p {
  margin: 0;
  font-size: 0.88em;
  line-height: 1.55;
  color: #231f20;
  overflow-y: auto;
  max-height: 100%;
  scrollbar-width: thin;
}

.thep-areas .area-card:hover .area-card-flip,
.thep-areas .area-card:focus-within .area-card-flip,
.thep-areas .area-card.is-flipped .area-card-flip {
  transform: rotateY(180deg);
}

.thep-areas .area-card:focus-visible .area-card-face {
  outline: 3px solid #016bad;
  outline-offset: 2px;
}

/* Touch: tap to flip, same fixed box */
@media (hover: none), (pointer: coarse) {
  .thep-areas .area-card {
    cursor: pointer;
  }
}

.principles-grid .principle-card {
  border-color: #016bad;
}

/* Evaluation list */
.thep-eval-list {
  list-style: none;
  padding: 0;
  margin: 2em auto 0;
  max-width: 720px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65em 1.5em;
}

.thep-eval-list li {
  position: relative;
  padding: 0.55em 0.75em 0.55em 2em;
  border-bottom: 1px solid #e5e5e5;
  color: #231f20;
  font-size: 0.95em;
  line-height: 1.4;
}

.thep-eval-list li::before {
  content: "";
  position: absolute;
  left: 0.35em;
  top: 0.85em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: #2cabe2;
}

.thep-asterisk {
  color: #eb2228;
  font-weight: 700;
}

.thep-asterisk-note {
  max-width: 720px;
  margin: 1.25em auto 0;
  font-size: 0.8em;
  color: #58595b;
  text-align: center;
}

/* Framework steps — card grid (matches team/areas look) */
.thep-framework .inner > .section-icon {
  display: block;
  margin: 0 auto 0.75em;
}

.framework-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25em;
  margin-top: 2em;
  width: 100%;
}

.framework-step {
  background: #fff;
  border: 3px solid #2cabe2;
  border-radius: 1.5em;
  padding: 1.5em 1.15em 1.25em;
  text-align: center;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  display: grid;
  justify-items: center;
  gap: 0.55em;
  transition: box-shadow 0.2s linear, transform 0.2s linear;
}

.framework-step:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.framework-step .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4em;
  height: 2.4em;
  border: 5px solid #016bad;
  border-radius: 50%;
  color: #2cabe2;
  font-size: 1.35em;
  font-weight: 600;
  line-height: 1;
  background: #fff;
  box-sizing: border-box;
}

.framework-step h3 {
  color: #016bad;
  margin: 0.15em 0 0;
  font-size: 1.15em;
}

.framework-step p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.5;
  color: #231f20;
}

/* Investment — no oversized SVG, soft wash only */
.thep-investment {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f4fafd 0%, #ffffff 55%, #f7fbfe 100%);
}

.thep-investment .bubble-background {
  display: none !important;
}

.thep-investment-inner {
  display: flex !important;
  justify-content: center;
  max-width: 480px !important;
  margin: 1.5em auto 0;
  position: relative;
  z-index: 2;
}

.thep-investment-card {
  width: 100%;
  box-shadow: 0 8px 28px rgba(1, 107, 173, 0.18);
  border-width: 4px;
}

.thep-investment-card .thep-secondary-btn {
  margin-top: 0.75em;
}

.thep-investment .short-disclaimer {
  max-width: 640px;
  margin: 1.75em auto 0;
  padding: 0 1em;
  font-size: 0.8em;
  color: #58595b;
  position: relative;
  z-index: 2;
}

.thep-investment h2 {
  position: relative;
  z-index: 2;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 2em auto 0;
  width: 100%;
}

.faq-list details {
  border: 2px solid #2cabe2;
  border-radius: 1em;
  margin-bottom: 0.75em;
  background: #fff;
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  padding: 1em 1.15em;
  font-weight: 600;
  color: #016bad;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  margin-left: auto;
  font-size: 1.35em;
  color: #eb2228;
  font-weight: 400;
  padding-left: 0.75em;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0;
  padding: 0 1.15em 1.15em;
  color: #231f20;
  font-size: 0.95em;
  line-height: 1.55;
}

/* Final CTA */
.thep-final-cta {
  background: #f7fbfe;
}

.thep-final-cta h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}

/* Disclaimers */
.thep-disclaimers {
  padding-top: 2em;
  padding-bottom: 6em;
}

.disclaimer {
  font-size: 0.8em;
  line-height: 1.5;
  color: #58595b;
  max-width: 900px;
  margin: 0.75em auto;
}

/* Sticky conversion bar */
.thep-sticky-cta {
  position: fixed;
  z-index: 9999;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 0.5em;
  justify-content: center;
  align-items: center;
  padding: 0.65em 0.75em calc(0.65em + env(safe-area-inset-bottom, 0));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
}

.thep-sticky-cta .button {
  flex: 1 1 auto;
  max-width: 280px;
  font-size: 15px;
  padding: 0.65em 0.85em;
}

@media only screen and (min-width: 1025px) {
  .thep-sticky-cta {
    top: auto;
    bottom: 1.25em;
    left: auto;
    right: 1.25em;
    width: auto;
    border-radius: 2em;
    padding: 0.65em 0.85em;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  }

  .thep-sticky-cta .button {
    flex: 0 0 auto;
    max-width: none;
  }

  .thep-disclaimers {
    padding-bottom: 4em;
  }
}

/* Tablet */
@media only screen and (max-width: 1024px) {
  .feature-grid,
  .areas-grid,
  .principles-grid,
  .framework-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .thep-eval-list {
    grid-template-columns: 1fr;
  }

  #hero.desktop.thep-hero::after {
    background: linear-gradient(
      90deg,
      #000 0%,
      #000 48%,
      rgba(0, 0, 0, 0.55) 68%,
      rgba(0, 0, 0, 0.2) 85%,
      transparent 100%
    );
  }

  #hero.desktop.thep-hero .inner {
    padding: 3.5em 1.5em;
  }

  #hero.desktop.thep-hero .bgUnder {
    background-position: 80% center !important;
  }
}

/* Mobile */
@media only screen and (max-width: 768px) {
  .feature-grid,
  .areas-grid,
  .principles-grid,
  .framework-grid {
    grid-template-columns: 1fr;
  }

  .thep-section {
    padding: 3em 1em;
  }

  .thep-cta-row,
  .thep-mid-cta {
    flex-direction: column;
    width: 100%;
  }

  .thep-cta-row .button,
  .thep-mid-cta .button {
    width: 100%;
    max-width: 360px;
  }

  #hero.mobile.thep-hero .inner {
    padding-bottom: 1.5em;
  }

  #hero.mobile.thep-hero .thep-cta-row {
    margin-bottom: 0.5em;
  }

  #schedule h2 {
    font-size: 1.15rem !important;
    padding: 0.85em !important;
    width: 100% !important;
  }

  .thep-disclaimers {
    padding-bottom: 5.5em;
  }

  .thep-investment {
    overflow: hidden;
  }
}

@media only screen and (max-width: 460px) {
  .feature-card,
  .principle-card,
  .framework-step {
    padding: 1em 0.9em;
  }

  .thep-sticky-cta .button {
    font-size: 13px;
    padding: 0.6em 0.5em;
  }

  :root {
    --thep-area-card-height: 12.5rem;
  }
}

/* Focus accessibility */
.button:focus-visible,
.faq-list summary:focus-visible,
.thep-sticky-cta a:focus-visible {
  outline: 3px solid #016bad;
  outline-offset: 2px;
}

/* Kill any leftover bubble sizing that causes page-wide scroll */
.thep-investment .bubble-background,
.thep-section .bubble-background {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

body.page .thep-sticky-cta + *,
.thep-section {
  max-width: 100vw;
}

/* ============================================================
   Toward Health — Toward Approach (research showcase)
   ============================================================ */

:root {
  --thta-hero-width: 70%;
  --thta-hero-side-padding: 20px;
  --thta-hero-text-max: 540px;
  --thta-blue: #016bad;
  --thta-cyan: #2cabe2;
  --thta-red: #eb2228;
  --thta-navy: #074063;
}

.thta-section {
  padding: 4em 1em;
  overflow-x: hidden;
  max-width: 100vw;
}

.thta-section .inner {
  max-width: 1100px;
  width: 100%;
  box-sizing: border-box;
}

.thta-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75em;
  font-weight: 600;
  color: var(--thta-cyan);
  margin: 0 0 0.75em;
}

.thta-lead {
  font-size: 1.15em;
  line-height: 1.55;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.thta-cta-row,
.thta-mid-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em 1em;
  align-items: center;
  margin-top: 1.25em;
}

.thta-mid-cta {
  justify-content: center;
  margin-top: 2em;
  padding: 0 1em;
}

.thta-cta-row .button,
.thta-mid-cta .button,
.thta-sticky-cta .button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

/* ---- Hero: full-bleed photo + X-ray fade (matches Executive cover pattern) ---- */
#hero.desktop.thta-hero,
#hero.mobile.thta-hero {
  position: relative;
  overflow: hidden;
  padding: 0;
  z-index: 0;
  background: #0a0a0a;
}

#hero.desktop.thta-hero {
  min-height: min(78vh, 680px);
  display: grid;
  align-items: center;
}

#hero.mobile.thta-hero {
  background: var(--thta-navy);
  display: none;
}

@media only screen and (max-width: 768px) {
  #hero.desktop.thta-hero {
    display: none !important;
  }
  #hero.mobile.thta-hero {
    display: grid !important;
  }
}

@media only screen and (min-width: 769px) {
  #hero.mobile.thta-hero {
    display: none !important;
  }
  #hero.desktop.thta-hero {
    display: grid !important;
  }
}

/* Override base contain/1400px box — edge-to-edge cover */
#hero.desktop.thta-hero .bgUnder {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  left: 0 !important;
  margin-left: 0 !important;
  background-size: cover !important;
  background-position: 68% center !important;
  background-repeat: no-repeat !important;
  pointer-events: none;
}

/* Hide X-ray overlay tile — it has a black square matte and breaks the hero.
   Same approach as Executive Performance (.thep-hero .bgOver { display:none }). */
#hero.desktop.thta-hero .bgOver,
#hero.mobile.thta-hero .bgOver {
  display: none !important;
}

.thta-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    #000 0%,
    #000 28%,
    rgba(0, 0, 0, 0.78) 42%,
    rgba(0, 0, 0, 0.4) 58%,
    rgba(0, 0, 0, 0.1) 74%,
    transparent 100%
  );
}

#hero.mobile.thta-hero .bgUnder {
  width: 100% !important;
  height: 280px !important;
  background-size: cover !important;
  background-position: center 28% !important;
}

#hero.mobile.thta-hero .thta-hero-overlay {
  inset: auto 0 auto 0;
  top: 0;
  height: 280px;
  background: linear-gradient(
    180deg,
    rgba(7, 64, 99, 0.35) 0%,
    rgba(7, 64, 99, 0.88) 55%,
    #074063 100%
  );
}

#hero.desktop.thta-hero .inner {
  position: relative;
  z-index: 3;
  grid-template-columns: 1fr !important;
  width: var(--thta-hero-width);
  max-width: var(--thta-hero-width);
  margin: 0 auto !important;
  padding: 4.5em var(--thta-hero-side-padding);
  box-sizing: border-box;
  justify-items: start;
}

#hero.desktop.thta-hero .inner .content {
  max-width: var(--thta-hero-text-max);
  width: 100%;
}

#hero.desktop.thta-hero .inner h1 {
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.12;
  margin-bottom: 0.55em;
  color: #fff;
}

#hero.desktop.thta-hero .inner p {
  margin-bottom: 0.85em;
  max-width: 36em;
  color: #fff;
}

#hero.mobile.thta-hero .inner {
  position: relative;
  z-index: 3;
  padding: 2em 1.25em 2.25em !important;
  box-sizing: border-box;
}

#hero.mobile.thta-hero .inner h1 {
  font-size: clamp(1.65rem, 7vw, 2.2rem);
  line-height: 1.15;
  color: #fff;
}

#hero.mobile.thta-hero .inner p {
  color: #fff;
}

.thta-hero-support {
  opacity: 0.92;
  font-size: 1em !important;
}

.thta-trust-line {
  margin-top: 1.25em;
  font-size: 0.85em !important;
  color: rgba(255, 255, 255, 0.85) !important;
}

#hero.thta-hero .button.button-secondary {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

#hero.thta-hero .button.button-secondary:hover {
  background: #fff;
  color: var(--thta-navy);
  border-color: #fff;
}

/* ---- Study banner ---- */
.thta-study-banner {
  padding-top: 3em;
  padding-bottom: 2em;
  background: linear-gradient(180deg, #f4fafd 0%, #fff 100%);
}

.thta-banner-card {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 1.75em;
  align-items: center;
  background: #fff;
  border: 3px solid var(--thta-cyan);
  border-radius: 1.75em;
  padding: 1.5em;
  box-shadow: 0 8px 28px rgba(1, 107, 173, 0.12);
}

.thta-banner-media {
  position: relative;
  justify-self: center;
}

.thta-study-image {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  border-radius: 1em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.thta-badge {
  position: absolute;
  top: -0.5em;
  right: -0.65em;
  background: var(--thta-red);
  color: #fff;
  font-size: 0.7em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4em 0.75em;
  border-radius: 2em;
  box-shadow: 0 2px 8px rgba(235, 34, 40, 0.35);
}

.thta-journal {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8em;
  font-weight: 600;
  color: var(--thta-blue);
  margin: 0 0 0.5em;
}

.thta-banner-copy h2 {
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.35;
  color: var(--thta-navy);
  margin: 0 0 0.65em;
}

.thta-authors {
  font-size: 0.9em;
  color: #58595b;
  margin: 0 0 1em;
}

/* ---- Stats ---- */
.thta-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25em;
  margin-top: 2em;
}

.thta-stat-card {
  background: #fff;
  border: 3px solid var(--thta-cyan);
  border-radius: 1.5em;
  padding: 1.5em 1.1em;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.thta-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(1, 107, 173, 0.14);
}

.thta-stat-highlight {
  border-color: var(--thta-blue);
  background: linear-gradient(160deg, #f7fbfe 0%, #fff 55%, #eef7fc 100%);
}

.thta-stat-value {
  display: block;
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--thta-blue);
  line-height: 1.15;
  margin-bottom: 0.35em;
}

.thta-stat-text {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  line-height: 1.2;
}

.thta-stat-label {
  display: block;
  font-weight: 600;
  color: #231f20;
  font-size: 0.95em;
}

.thta-stat-note {
  display: block;
  margin-top: 0.35em;
  font-size: 0.8em;
  color: #58595b;
}

/* ---- TOWARD model graphic (transparent PNG on soft section bg) ---- */
.thta-model {
  background: #fff;
}

.thta-method-figure {
  margin: 1.75em auto 0;
  max-width: 920px;
  text-align: center;
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
}

.thta-method-image {
  width: 100%;
  max-width: 920px;
  height: auto;
  display: block;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  image-rendering: -webkit-optimize-contrast;
}

/* ---- Why / compare ---- */
.thta-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25em;
  margin-top: 2em;
}

.thta-compare-card {
  background: #fff;
  border: 3px solid var(--thta-cyan);
  border-radius: 1.5em;
  padding: 1.35em 1.2em;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thta-compare-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.thta-compare-card h3 {
  color: var(--thta-blue);
  font-size: 1.05em;
  margin: 0 0 0.5em;
  text-align: center;
}

.thta-compare-card p {
  margin: 0;
  font-size: 0.92em;
  line-height: 1.55;
  color: #231f20;
  text-align: center;
}

/* ---- Methods ---- */
.thta-method-list {
  list-style: none;
  padding: 0;
  margin: 2em auto 0;
  max-width: 720px;
  display: grid;
  gap: 0.75em;
}

.thta-method-list li {
  position: relative;
  padding: 0.85em 1em 0.85em 2.25em;
  border: 2px solid #e5eef5;
  border-radius: 1em;
  background: #fff;
  color: #231f20;
  line-height: 1.45;
}

.thta-method-list li::before {
  content: "";
  position: absolute;
  left: 0.85em;
  top: 1.15em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--thta-cyan);
}

/* ---- Quotes ---- */
.thta-quotes {
  background: linear-gradient(180deg, #fff 0%, #f4fafd 100%);
}

.thta-quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25em;
  margin-top: 2em;
}

.thta-quote {
  margin: 0;
  background: #fff;
  border: 3px solid var(--thta-cyan);
  border-radius: 1.5em;
  padding: 1.35em 1.2em;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
}

.thta-quote p {
  margin: 0 0 1em;
  font-size: 0.95em;
  line-height: 1.55;
  color: #231f20;
  font-style: italic;
}

.thta-quote footer {
  font-size: 0.85em;
  color: var(--thta-blue);
  font-style: normal;
}

/* ---- Final CTA / citation ---- */
.thta-final-cta {
  background: #f7fbfe;
}

.thta-final-cta h2 {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}

.thta-citation {
  padding-top: 2em;
  padding-bottom: 6em;
}

.thta-cite {
  max-width: 820px;
  margin: 1em auto 1.5em;
  font-size: 0.9em;
  line-height: 1.55;
  color: #231f20;
  padding: 1.1em 1.25em;
  border-left: 4px solid var(--thta-cyan);
  background: #f7fbfe;
  border-radius: 0 0.75em 0.75em 0;
}

.thta-cite a {
  color: var(--thta-blue);
  text-decoration: underline;
}

/* ---- Sticky CTA ---- */
.thta-sticky-cta {
  position: fixed;
  z-index: 9999;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 0.5em;
  justify-content: center;
  align-items: center;
  padding: 0.65em 0.75em calc(0.65em + env(safe-area-inset-bottom, 0));
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(6px);
}

.thta-sticky-cta .button {
  flex: 1 1 auto;
  max-width: 280px;
  font-size: 15px;
  padding: 0.65em 0.85em;
}

@media only screen and (min-width: 1025px) {
  .thta-sticky-cta {
    bottom: 1.25em;
    left: auto;
    right: 1.25em;
    width: auto;
    border-radius: 2em;
    padding: 0.65em 0.85em;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  }

  .thta-sticky-cta .button {
    flex: 0 0 auto;
    max-width: none;
  }

  .thta-citation {
    padding-bottom: 4em;
  }
}

/* ---- Scroll reveal ---- */
.thta-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.thta-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .thta-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .thta-hero-canvas {
    display: none !important;
  }
}

/* ---- Responsive ---- */
@media only screen and (max-width: 1024px) {
  .thta-stats-grid,
  .thta-quote-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .thta-banner-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .thta-banner-copy .thta-cta-row {
    justify-content: center;
  }

  #hero.desktop.thta-hero .thta-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.7) 48%,
      rgba(0, 0, 0, 0.35) 68%,
      rgba(0, 0, 0, 0.1) 85%,
      transparent 100%
    );
  }
}

@media only screen and (max-width: 768px) {
  .thta-stats-grid,
  .thta-compare-grid,
  .thta-quote-grid {
    grid-template-columns: 1fr;
  }

  .thta-section {
    padding: 3em 1em;
  }

  .thta-cta-row,
  .thta-mid-cta {
    flex-direction: column;
    width: 100%;
  }

  .thta-cta-row .button,
  .thta-mid-cta .button {
    width: 100%;
    max-width: 360px;
  }

  #schedule h2 {
    font-size: 1.05rem !important;
    padding: 0.85em !important;
    width: 100% !important;
  }

  .thta-citation {
    padding-bottom: 5.5em;
  }
}

@media only screen and (max-width: 460px) {
  .thta-sticky-cta .button {
    font-size: 13px;
    padding: 0.6em 0.5em;
  }
}

.button:focus-visible,
.thta-sticky-cta a:focus-visible {
  outline: 3px solid var(--thta-blue);
  outline-offset: 2px;
}

/* ============================================================
   Body journey (Musée-style sticky 3D + scroll beats)
   ============================================================ */

.thta-3d-loading {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 13, 22, 0.72);
  pointer-events: none;
}

.thta-3d-loading-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  align-items: center;
  color: #fff;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}

.thta-3d-loading-track {
  width: 160px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.thta-3d-loading-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #016bad, #2cabe2);
  transition: width 0.2s ease;
}

.thta-journey-stage.thta-3d-fallback .thta-journey-canvas {
  display: none;
}

/*
 * Sticky track pattern (fixes hide-on-scroll-up):
 * .thta-journey-visual is position:absolute and spans the FULL section height,
 * so sticky stays valid for the entire chapter — including scroll-back from below.
 */
.thta-journey {
  position: relative;
  background: #050d16;
  color: #fff;
  margin: 0;
  padding: 0;
  isolation: isolate;
}

.thta-journey-visual {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  z-index: 1;
  pointer-events: none;
}

.thta-journey-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  background:
    radial-gradient(ellipse 60% 50% at 50% 45%, rgba(1, 107, 173, 0.28) 0%, transparent 65%),
    #050d16;
}

.thta-journey-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

.thta-journey-fallback {
  display: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(235, 34, 40, 0.35) 0%, transparent 18%),
    radial-gradient(ellipse 40% 70% at 50% 50%, rgba(44, 171, 226, 0.2) 0%, transparent 60%),
    linear-gradient(180deg, #074063 0%, #050d16 100%);
}

.thta-journey-stage.thta-3d-fallback .thta-journey-fallback {
  display: block;
}

.thta-journey-beats {
  position: relative;
  z-index: 2;
  margin-left: 50%;
  width: 50%;
  box-sizing: border-box;
}

.thta-journey-beat {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4em 2.5em 4em 1.5em;
  box-sizing: border-box;
  opacity: 0.38;
  transition: opacity 0.35s ease;
}

.thta-journey-beat.is-active {
  opacity: 1;
}

/* Breathing room before/after the dark journey chapter */
#study-banner.thta-study-banner {
  padding-bottom: 3.5em;
}

#results.thta-results {
  padding-top: 4.5em;
  margin-top: 0;
}

.thta-journey-copy {
  max-width: 420px;
}

.thta-journey-kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75em;
  font-weight: 700;
  color: #2cabe2;
  margin: 0 0 0.85em;
}

.thta-journey-copy h2 {
  color: #fff !important;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
  margin: 0 0 0.75em;
}

.thta-journey-copy p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05em;
  line-height: 1.6;
  margin: 0 0 1em;
}

.thta-journey-copy .thta-cta-row .button.button-secondary {
  color: #fff;
  border-color: #fff;
  background: transparent;
}

.thta-journey-copy .thta-cta-row .button.button-secondary:hover {
  background: #fff;
  color: #074063;
}

/*
 * Phone: body stays pinned full-screen; text cards scroll over it.
 * (Do NOT collapse .thta-journey-visual to a short relative box —
 * that was the scroll bug: sticky died after ~52vh and the model vanished.)
 */
@media only screen and (max-width: 900px) {
  .thta-journey-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
  }

  .thta-journey-stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    background:
      radial-gradient(ellipse 70% 45% at 50% 32%, rgba(1, 107, 173, 0.32) 0%, transparent 62%),
      #050d16;
  }

  .thta-journey-beats {
    margin-left: 0;
    width: 100%;
    z-index: 2;
  }

  .thta-journey-beat {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-end;
    justify-content: stretch;
    padding: 1.25em 1em calc(5.75em + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    opacity: 0.45;
  }

  .thta-journey-beat.is-active {
    opacity: 1;
  }

  .thta-journey-beat + .thta-journey-beat {
    border-top: 0;
  }

  .thta-journey-copy {
    max-width: none;
    width: 100%;
    padding: 1.2em 1.1em 1.15em;
    border-radius: 1.1em;
    background: linear-gradient(
      180deg,
      rgba(5, 13, 22, 0.55) 0%,
      rgba(5, 13, 22, 0.9) 40%,
      rgba(5, 13, 22, 0.96) 100%
    );
    box-shadow: 0 -12px 40px rgba(5, 13, 22, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .thta-journey-copy h2 {
    font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  }

  .thta-journey-copy p {
    font-size: 0.95em;
    margin-bottom: 0.75em;
  }

  .thta-journey-copy .thta-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65em;
  }

  .thta-journey-copy .thta-cta-row .button {
    width: 100%;
    text-align: center;
  }

  /* Soft fade at top of text card so the body reads through */
  .thta-journey-copy::before {
    content: "";
    display: block;
    height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thta-journey-beat {
    opacity: 1;
    transition: none;
  }
}


