/* ==========================================================================
   Homepage Styles
   Pixel-perfect match to ryanestis.com
   ========================================================================== */

/* ==========================================================================
   1. Hero — Video background with headline
   ========================================================================== */

.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-dark);
  padding-top: 120px;
}

/* BB hero heights: 1188px (≥1591), 648px (≤1100), 756px (≤992), ~627px (≤767) */
@media (max-width: 992px) {
  .home-hero {
    min-height: 800px;
    padding-top: 20vh;
    padding-bottom: 15vh;
  }
}

.home-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(21, 26, 27, 0.5);
  z-index: 2;
}

.home-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--color-white);
  max-width: 1500px;
  padding: 0 var(--container-padding);
}

/* cg-lg pattern: 58px → 40px (≤1589) → 32px (≤999) */
.home-hero__title {
  font-size: 58px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.0;
  letter-spacing: -1px;
  margin-bottom: 10px;
  text-align: center;
}

@media (max-width: 1590px) {
  .home-hero__title {
    font-size: 40px;
  }
}

@media (max-width: 1000px) {
  .home-hero__title {
    font-size: 32px;
  }
}

/* cg-huge pattern: 120px → 90px (≤1589) → 65px (≤999) */
.home-hero__title-lime {
  color: var(--color-lime);
  font-size: 120px;
  font-weight: 700;
  line-height: 0.9;
}

@media (max-width: 1590px) {
  .home-hero__title-lime {
    font-size: 90px;
  }
}

@media (max-width: 1000px) {
  .home-hero__title-lime {
    font-size: 65px;
  }

  .home-hero {
    min-height: 600px;
  }
}

/* Subtitle: 20px → 20px (≤1589) → 17px (≤999) */
.home-hero__sub {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 40px;
  background: -webkit-linear-gradient(0deg, #FD6E16, #F24456, #EE4161, #D5279E);
  background: linear-gradient(90deg, #FD6E16, #F24456, #EE4161, #D5279E);
  background-size: 100vw 100%;
  background-position: center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 1100px) {
  .home-hero__sub {
    font-size: 17px;
  }
}

.home-hero__ctas {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  border-radius: var(--radius-xl);
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
  letter-spacing: 0.03em;
}

.home-hero__btn--outline {
  color: var(--color-white);
  border: 2px solid var(--color-white);
  background: transparent;
  min-width: 200px;
  justify-content: center;
}

.home-hero__btn--outline:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.home-hero__btn--primary {
  color: #ffffff;
  background: linear-gradient(75deg, #FD6E16, #F24456, #EE4161, #D5279E);
  border: none;
  padding: 17px 30px;
  min-width: 200px;
  justify-content: center;
}

.home-hero__btn--primary:hover {
  background: linear-gradient(15deg, #FD6E16, #F24456, #EE4161, #D5279E);
  color: #ffffff;
}

@media (max-width: 768px) {
  .home-hero {
    padding-bottom: 180px;
  }
}

/* ==========================================================================
   2. Statistics — "70%" callout
   ========================================================================== */

.home-stats {
  background-color: var(--color-white);
  padding: 160px 0;
}

.home-stats__inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.home-stats__heading {
  font-size: 90px;
  font-weight: 700;
  line-height: 0.9;
  color: var(--color-dark);
  margin-bottom: 10px;
  letter-spacing: -1px;
}

.home-stats__bar-track {
  width: 100%;
  height: 20px;
  background: var(--color-light-gray);
  margin: 0 auto 30px;
  overflow: hidden;
}

.home-stats__bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #FD6E16, #F24456, #EE4161, #D5279E);
}

.home-stats__text {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-dark-gray);
  line-height: 40px;
  letter-spacing: -1px;
  margin: 0 0 30px;
}

.home-stats__logo {
  max-width: 68px;
  margin: 0 auto;
}

@media (max-width: 1590px) {
  .home-stats__heading {
    font-size: 65px;
  }
}

@media (max-width: 1000px) {
  .home-stats {
    padding: 120px 40px;
  }
  .home-stats__heading {
    font-size: 40px;
  }
  .home-stats__text {
    font-size: 28px;
  }
}

/* ==========================================================================
   3. Challenge Context — "In the midst of:"
   ========================================================================== */

/* No z-index here — image (z-index: 10) and nowwhat heading (z-index: 12)
   must be in the same stacking context for the three-layer sandwich to work. */
.home-challenge {
  position: relative;
  padding: 0 60px;
}

/* BB fl-row-fixed-width = 1600px content. Our border-box container includes
   padding (40px left + 20px right = 60px), so max-width = 1640px.
   Base .container already has margin: 0 auto for centering. */
.home-challenge .container {
  max-width: 1640px;
  padding: 20px 20px 20px 40px;
}

.home-challenge__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: start;
}

/* Match BB col[0] col-content margin: 20px — aligns panel top with image top */
.home-challenge__content {
  display: flex;
  flex-direction: column;
  margin: 0;
}

/* Dark panel — bullet list area only */
.home-challenge__panel {
  background-color: var(--color-dark);
  padding: 40px;
}

/* "In the midst of:" label — cg-lg pattern: 58px → 40px (≤1589) → 32px (≤1100) */
.home-challenge__label {
  font-size: 58px;
  color: var(--color-lime);
  letter-spacing: -1px;
  line-height: 1.0;
  margin-bottom: 5px;
}

@media (max-width: 1590px) {
  .home-challenge__label {
    font-size: 40px;
  }
}

@media (max-width: 1000px) {
  .home-challenge__label {
    font-size: 32px;
  }
  .home-challenge {
    padding: 0 40px;
  }
}

@media (max-width: 830px) {
  .home-challenge {
    padding: 0;
  }
}

.home-challenge__label em {
  font-weight: 300;
  font-style: italic;
}

.home-challenge__label strong {
  font-weight: 700;
  font-style: normal;
}

/* Bullet list */
.home-challenge__list {
  list-style: disc;
  padding-left: 30px;
  margin: 10px;
}

.home-challenge__list li {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -1px;
  line-height: 1.2;
  padding-left: 6px;
  margin: 0;
}

@media (max-width: 1100px) {
  .home-challenge__list li {
    font-size: 22px;
  }
}

.home-challenge__list li::marker {
  color: var(--color-lime);
  font-size: 0.7em;
}

.home-challenge__list li em {
  font-weight: 300;
  font-style: italic;
}

/* White area below dark panel */
.home-challenge__bottom {
  padding: 40px 0 40px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* "The way we're working isn't working." — cg-lg pattern: 58px → 40px (≤1589) → 32px (≤1100) */
.home-challenge__heading {
  font-size: 58px;
  line-height: 1.0;
  color: var(--color-dark-gray);
  margin: 10px 0 10px 10px;
}

@media (max-width: 1590px) {
  .home-challenge__heading {
    font-size: 40px;
  }
}

@media (max-width: 1000px) {
  .home-challenge__heading {
    font-size: 32px;
  }
}

.home-challenge__heading strong {
  font-weight: 700;
}

/* "Customers and employees want more." — cg-med pattern: 28px → 28px (≤1589) → 22px (≤1100) */
.home-challenge__subtext {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--color-dark-gray);
  margin: 0 0 0 10px;
}

@media (max-width: 1100px) {
  .home-challenge__subtext {
    font-size: 22px;
  }
}

/* Image — offset below the dark panel top edge (matches live site) */
.home-challenge__image {
  overflow: visible;
  position: relative;
  z-index: 10;
  margin: 80px 0 0;
}

.home-challenge__image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -30%;
}

/* Stacked layout at ≤1100px (live site breaks to single column here) */
@media (max-width: 1100px) {
  /* Full-width: kill container padding so panel & image hit viewport edges */
  .home-challenge .container {
    padding: 0;
    text-align: center;
  }
  .home-challenge__grid {
    grid-template-columns: 1fr;
  }
  .home-challenge__content {
    margin: 0;
  }
  /* Center-align label in dark panel, more breathing room above/below */
  .home-challenge__panel {
    text-align: center;
    padding: 40px;
  }
  .home-challenge__label {
    margin-bottom: 30px;
  }
  /* BB UL: margin-left: 66px, padding: 0. Match with margin-left for same indent.
     Bigger bullets: reset marker to full 1em. */
  .home-challenge__list {
    text-align: left;
    padding-left: 0;
    margin-left: 40px;
  }
  .home-challenge__list li {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 0;
    padding-left: 0;
  }
  .home-challenge__list li::marker {
    font-size: 18px;
  }
  /* Center-align text area below dark panel. BB: 32px heading, 48px margin-bottom.
     BB paragraph width: 359px at 414px viewport → ~28px side padding. */
  .home-challenge__bottom {
    text-align: center;
    padding: 40px 28px 20px;
  }
  .home-challenge__heading {
    margin-bottom: 10px;
  }
  /* Image full-width, overlap into gradient like BB (negative margin pulls it down) */
  .home-challenge__image {
    margin: 0;
  }
  .home-challenge__image img {
    width: 100%;
    height: auto;
    margin-bottom: -20%;
  }
}

/* ==========================================================================
   4. "Now What?" — Solution transition
   ========================================================================== */

/* BB fl-row-content-wrap padding: 135px top / 45px bottom at all viewports.
   Content is the "Now What?" heading, which overlaps into the dark section below
   via z-index: 12. */
.home-nowwhat__banner {
  background: url('https://resources.ryanestis.com/hubfs/ryan-estis/backgrounds/gradient-bg.jpg') no-repeat center center;
  background-size: cover;
  padding: 135px 20px 54px;
  text-align: center;
  position: relative;
}

@media (max-width: 1100px) {
  .home-nowwhat__banner {
    padding-left: 0;
    padding-right: 0;
    align-items: center;
  }
}

/* BB cg-huge: 120px → 90px (≤1590) → 65px (≤999).
   z-index: 12 (z-top-top) sits above challenge image (z-index: 10).
   Live site: <p> has margin-bottom:135px BUT parent has margin-bottom:-111px,
   giving net ~24px. We use 10px directly for the same compact effect. */
.home-nowwhat__heading {
  font-size: 120px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 0.9;
  color: var(--color-white);
  margin-bottom: 10px;
  position: relative;
  z-index: 12;
}

@media (max-width: 1590px) {
  .home-nowwhat__heading {
    font-size: 90px;
  }
}

@media (max-width: 1100px) {
  .home-nowwhat {
    min-height: 600px;
  }
}

@media (max-width: 1000px) {
  .home-nowwhat__heading {
    font-size: 65px;
  }
}

.home-nowwhat__body {
  font-size: 28px;
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  line-height: 1.2em;
  letter-spacing: -1px;
  margin-bottom: 42px;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1100px) {
  .home-nowwhat__body {
    font-size: 22px;
    line-height: 1em;
    margin-bottom: 33px;
    padding: 12px;
  }
}

.home-nowwhat__body strong {
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
}

.home-nowwhat__gradient-text {
  font-size: 58px;
  font-weight: 700;
  line-height: 1em;
  letter-spacing: -1px;
  margin-bottom: var(--spacing-lg);
  position: relative;
  z-index: 10;
}

@media (max-width: 1590px) {
  .home-nowwhat__gradient-text {
    font-size: 40px;
  }
}

@media (max-width: 1100px) {
  .home-nowwhat {
    padding: 40px;
  }
}

@media (max-width: 767px) {
  .home-nowwhat {
    padding: 40px 16px;
  }
  .home-nowwhat__dark .container {
    padding: 0 10px;
  }
  .home-nowwhat__body {
    padding: 0;
    max-width: 100%;
  }
  .home-nowwhat__text-col {
    padding: 0;
  }
}

@media (max-width: 1000px) {
  .home-nowwhat__gradient-text {
    font-size: 32px;
  }
}

.home-nowwhat__logo {
  display: block;
  max-width: 66px;
  margin: 0 0 var(--spacing-lg);
}

.home-nowwhat__dark {
  background: url('https://resources.ryanestis.com/hubfs/ryan-estis/backgrounds/nowwhat-section-bg.jpg') no-repeat center center;
  background-size: cover;
  padding: clamp(100px, 9.4vw, 170px) 0 clamp(70px, 6.25vw, 115px);
}

.home-nowwhat__dark .container {
  max-width: 1600px;
  padding: 0 20px;
}

.home-nowwhat__grid {
  display: flex;
  align-items: center;
  gap: 0;
}

.home-nowwhat__text-col {
  flex: 1 1 56%;
  padding: 0;
  text-align: left;
}

.home-nowwhat__stat {
  flex: 0 0 22%;
  text-align: center;
}

.home-nowwhat__stat-circle {
  width: clamp(190px, 18vw, 280px);
  height: clamp(190px, 18vw, 280px);
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
}

.home-nowwhat__stat-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.home-nowwhat__stat-ring-track {
  fill: none;
  stroke: rgb(62, 61, 63);
  stroke-width: 10;
}

.home-nowwhat__stat-ring-fill {
  fill: none;
  stroke: var(--color-lime);
  stroke-width: 10;
  stroke-linecap: butt;
  transition: stroke-dashoffset 3s ease-in-out;
}

.home-nowwhat__stat-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--spacing-md);
}

.home-nowwhat__stat-label {
  font-size: 17px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.home-nowwhat__stat-number {
  font-size: 60px;
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -1px;
}

.home-nowwhat__stat-desc {
  font-size: 17px;
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  text-transform: uppercase;
  line-height: 1.5;
}

.home-nowwhat__closing {
  font-size: 28px;
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  line-height: 1.2em;
  letter-spacing: -1px;
  max-width: none;
  margin: 0;
}

.home-nowwhat__closing strong {
  font-weight: 700;
  color: var(--color-white);
}

@media (max-width: 1100px) {
  .home-nowwhat__closing {
    font-size: 22px;
    line-height: 1em;
  }
  .home-nowwhat__grid {
    display: block;
    text-align: center;
  }
  .home-nowwhat__text-col {
    width: 100%;
    padding: 0;
    text-align: center;
    margin-bottom: var(--spacing-2xl);
  }
  .home-nowwhat__stat {
    width: auto;
    max-width: 400px;
    margin: 0 auto var(--spacing-lg);
  }
  .home-nowwhat__stat-circle {
    width: 280px;
    height: 280px;
  }
  .home-nowwhat__logo {
    margin: 0 auto var(--spacing-lg);
  }
}

/* ==========================================================================
   4b. Growth Video — Looping ambient video between sections
   BB: fl-module-pp-video, full-width, 16:9, autoplay loop muted
   cg-zoom on section handles the scale-up effect (0.8→1.0)
   ========================================================================== */

.home-growth-video {
  background-color: var(--color-white);
}

.home-growth-video__wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.home-growth-video__player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .home-growth-video__wrap {
    aspect-ratio: 4 / 3;
  }
  .home-growth-video__player {
    object-fit: contain;
    background-color: var(--color-white);
  }
}

/* ==========================================================================
   5. About Ryan — Bio & credentials (4 rows)
   ========================================================================== */

/* --- Row 0: Header with background photo --- */
.home-about__header-row {
  background: url('https://resources.ryanestis.com/hubfs/ryan-estis/backgrounds/ryan-about-bg.jpg') no-repeat center 0%;
  background-size: cover;
  position: relative;
  min-height: 880px;
  padding: 40px 0 0 0;
}

.home-about__header-content {
  max-width: 1418px;
  margin: 0 auto;
  padding: clamp(100px, 9.4vw, 170px) 20px 20px;
  display: flex;
  flex-direction: column;
  min-height: 160vh;
}

.home-about__header-text {
  max-width: 38%;
  padding-left: 80px;
}

@media (min-width: 1591px) {
  .home-about__header-text {
    max-width: 38%;
  }
}

/* Body text area — centered below heading with gap matching live site */
/* Live site: green text at 50% of 160vh row = 242px gap after heading area */
.home-about__body-area {
  margin-top: 17rem;
  max-width: 803px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* cg-larger: 90px → 65px (1000–1590) → 40px (≤999) */
.home-about__title {
  font-size: 90px;
  font-weight: 700;
  line-height: 0.9em;
  letter-spacing: -1px;
  color: var(--color-white);
  text-align: left;
  margin: 0 0 29px;
}

@media (max-width: 1590px) {
  .home-about__title { font-size: 65px; }
}
@media (max-width: 1000px) {
  .home-about__title { font-size: 40px; }
}

/* cg-med: 28px → 22px (≤1100) */
.home-about__subtitle {
  font-size: 28px;
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.2em;
  letter-spacing: -1px;
  text-align: left;
  margin: 0 0 42px;
}

.home-about__subtitle strong {
  font-weight: 700;
}

.home-about__subtitle em {
  font-style: italic;
}

@media (max-width: 1100px) {
  .home-about__subtitle {
    font-size: 20px;
    line-height: 1em;
  }
}

/* Body text 1 — lime green (cg-med cg-green cg-fadein), centered */
.home-about__body-green {
  font-size: 24px;
  font-weight: 300;
  color: var(--color-lime);
  line-height: 1.2em;
  letter-spacing: -1px;
  margin: 0 0 42px;
}

.home-about__body-green strong {
  font-weight: 700;
}

.home-about__body-green em {
  font-style: italic;
}

@media (min-width: 1591px) {
  .home-about__body-green {
    font-size: 28px;
  }
}

@media (max-width: 1100px) {
  .home-about__body-green {
    font-size: 20px;
    line-height: 1em;
    margin-bottom: 33px;
  }
}

/* Body text 2 — white (cg-fadein), centered */
.home-about__body-white {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.5;
  margin: 0 0 27px;
}

.home-about__body-white strong {
  font-weight: 700;
}

@media (max-width: 1100px) {
  .home-about__body-white {
    font-size: 18px;
  }
}

/* Mobile photo — hidden on desktop, visible ≤1024px */
.home-about__mobile-photo {
  display: none;
  width: 100%;
}

@media (max-width: 1024px) {
  .home-about__header-row {
    background-image: none;
    background-color: var(--color-dark);
    padding: 40px 0 0 0;
  }
  .home-about__mobile-photo {
    display: block;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    max-width: none;
    margin-bottom: 0;
  }
  .home-about__header-content {
    min-height: auto;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 0;
  }
  .home-about__header-text {
    max-width: 100%;
    text-align: center;
    padding-left: 0;
  }
  .home-about__body-area {
    margin-top: var(--spacing-2xl);
    max-width: 100%;
  }
  .home-about__title {
    text-align: center;
  }
  .home-about__subtitle {
    text-align: center;
  }
}

/* --- Row 1: Credentials on white background --- */
.home-about__credentials-row {
  background-color: var(--color-white);
  padding: 20px 20px 60px;
  position: relative;
}

.home-about__credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  max-width: 1032px;
  margin: 0 auto;
}

.home-about__credential {
  text-align: center;
}

.home-about__credential-circle {
  width: 140px;
  height: 140px;
  position: relative;
  margin: 0 auto var(--spacing-md);
}

.home-about__credential-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.home-about__credential-ring-track {
  fill: none;
  stroke: var(--color-dark);
  stroke-width: 10;
}

.home-about__credential-ring-bar {
  fill: none;
  stroke: var(--color-brand-pink);
  stroke-width: 10;
  stroke-linecap: butt;
  transition: stroke-dashoffset 2s ease-in-out;
}

.home-about__credential-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-about__credential-number {
  font-size: 28px;
  font-weight: 300;
  color: var(--color-dark-gray);
  line-height: 1;
}

.home-about__credential-prefix,
.home-about__credential-suffix {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark-gray);
  text-transform: uppercase;
}

.home-about__credential-inc {
  width: 50px;
  height: auto;
}

.home-about__credential-label {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-dark-gray);
  text-transform: uppercase;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .home-about__credentials {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-about__credentials {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  .home-about__credential {
    max-width: 280px;
    margin: 0 auto;
  }
}

/* --- Row 2: Bios on white background --- */
.home-about__bios-row {
  background-color: var(--color-white);
  padding: 20px;
  position: relative;
  z-index: 1;
}
@media (min-width: 1000px) {
  .home-about__bios-row {
    background: linear-gradient(
      to bottom,
      var(--color-white) 220px,
      var(--color-light-gray) 220px
    );
    padding-bottom: 80px;
  }
  .home-about__bio-item {
    padding-bottom: 60px;
  }
}

.home-about__bios-row .container {
  max-width: none;
  padding: 0;
}

.home-about__bios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.home-about__bio-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.home-about__bio-circle {
  width: 100%;
  max-width: 400px;
  margin: 0 auto var(--spacing-lg);
}

.home-about__bio-circle img {
  width: 100%;
  height: auto;
  display: block;
}

.home-about__bio-text {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-dark-gray);
  line-height: 1.5;
  text-align: center;
  padding: var(--spacing-md) var(--spacing-lg);
}

.home-about__bio-text strong {
  font-weight: 700;
  color: var(--color-dark-gray);
}

.home-about__bio-item::before {
  content: '';
  position: absolute;
  top: 300px;
  left: -16px;
  right: -16px;
  bottom: 0;
  background-color: var(--color-lime);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.home-about__bio-item:hover::before {
  opacity: 1;
}

.home-about__bio-circle,
.home-about__bio-text {
  position: relative;
  z-index: 1;
}

@media (max-width: 1100px) {
  .home-about__bio-text { font-size: 18px; }
  .home-about__bio-item::before {
    top: 340px;
  }
}

@media (max-width: 600px) {
  .home-about__bio-item::before {
    top: 51vw;
  }
}

@media (max-width: 1100px) {
  .home-about__bios {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  .home-about__bio-circle {
    max-width: 500px;
  }
  .home-about__bio-text {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 767px) {
  .home-about__bio-text {
    font-size: 17px;
  }
}

@media (max-width: 600px) {
  .home-about__bio-circle {
    max-width: 75vw;
  }
  .home-about__bio-text {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* --- Row 3: CTAs on light gray background --- */
.home-about__cta-row {
  background-color: var(--color-light-gray);
  margin-top: -60vh;
  padding: 60vh 20px 10vh;
  text-align: center;
}

@media (max-width: 1100px) {
  .home-about__cta-row {
    margin-top: 0;
    padding: var(--spacing-3xl) 20px;
  }
}

.home-about__actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.home-about__btn-primary {
  display: inline-block;
  padding: 17px 30px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  color: var(--color-white);
  background: linear-gradient(75deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  border: none;
  border-radius: 120px;
  transition: background 0.5s ease;
}

.home-about__btn-primary:hover {
  background: linear-gradient(15deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  color: var(--color-white);
}

.home-about__btn-outline {
  display: inline-block;
  padding: 14px 30px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  color: var(--color-dark);
  background: transparent;
  border: 2px solid var(--color-dark);
  border-radius: 120px;
  transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.home-about__btn-outline:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.home-about__btn-primary,
.home-about__btn-outline {
  min-width: 260px;
  text-align: center;
}

@media (max-width: 767px) {
  .home-about__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .home-about__btn-primary,
  .home-about__btn-outline {
    width: 100%;
    min-width: unset;
    text-align: center;
  }
}

/* ==========================================================================
   6. Client Logos — Carousel
   ========================================================================== */

.home-logos {
  background: url('https://resources.ryanestis.com/hubfs/ryan-estis/backgrounds/client-partners-bg.jpg') center / cover no-repeat;
  padding: 90px 0;
}

.home-logos .container {
  max-width: 1385px;
}

.home-logos__title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-light);
  color: var(--color-lime);
  text-align: center;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 67px;
}

.home-logos__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
}

.home-logos__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.home-logos__item img {
  max-width: 100%;
  filter: saturate(0) brightness(200);
  transition: filter 0.3s ease-in-out;
}

.home-logos__item img:hover {
  filter: none;
}

@media (max-width: 1100px) {
  .home-logos__title {
    font-size: 22px;
    margin-bottom: 25px;
  }
  .home-logos__item {
    padding: 20px;
  }
}

@media (max-width: 1000px) {
  .home-logos__title {
    font-size: 22px;
    line-height: 1.0;
    margin-bottom: 10px;
  }
  .home-logos__item {
    padding: 10px;
  }
}

/* -- Mobile logo carousel (fade between pages of 3) -- */
.home-logos__carousel {
  display: none;
}

@media (max-width: 1100px) {
  .home-logos__grid {
    display: none;
  }
  .home-logos__carousel {
    display: block;
  }
  .home-logos__carousel-row {
    display: grid;
    margin-bottom: 10px;
  }
  .home-logos__carousel-page {
    grid-area: 1 / 1;
    display: flex;
    opacity: 0;
    transition: opacity 1s ease;
  }
  .home-logos__carousel-page.active {
    opacity: 1;
  }
  .home-logos__carousel-item {
    flex: 1 1 0;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .home-logos__carousel-item img {
    max-width: 100%;
    filter: saturate(0) brightness(200);
  }
}

/* ==========================================================================
   7. Human-Centered Growth — 3-step journey
   ========================================================================== */

.home-hcg {
  background-color: var(--color-white);
  padding: 108px 0;
  overflow-x: hidden;
}

.home-hcg .container {
  max-width: 1400px;
}

.home-hcg__header {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 42px;
  overflow: visible;
}

.home-hcg__title {
  font-size: 90px;
  font-weight: 700;
  color: var(--color-dark-gray);
  line-height: 0.9;
  letter-spacing: -1px;
  margin: 20px 80px 20px -100px;
  position: relative;
  z-index: 10;
}

.home-hcg__title-growth {
  font-size: 240px;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -1px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 0.2em;
  margin: -70px -30px -0.2em 100px;
  overflow: visible;
  position: relative;
  z-index: 1;
}

/* Body text — 18px at all breakpoints */
.home-hcg__definition {
  font-size: 18px;
  font-weight: 300;
  color: var(--color-dark-gray);
  line-height: 1.5;
  max-width: 660px;
  margin: 0 auto 27px;
}

/* First paragraph — larger, cg-med: 28px → 28px (≤1589) → 22px (≤999) */
.home-hcg__definition--lead {
  font-size: 28px;
  font-weight: 300;
  color: var(--color-dark-gray);
  line-height: 1.2;
  letter-spacing: -1px;
  max-width: 660px;
  margin: 110px auto 42px;
}

/* Steps container — wider than .container to accommodate circle layouts */
.home-hcg__steps {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: hidden;
}

.home-hcg__step {
  position: relative;
  height: 650px;
  margin-bottom: 200px;
}

.home-hcg__step:last-child {
  margin-bottom: 0;
}

/* Main text circle */
.home-hcg__step-content {
  position: absolute;
  z-index: 2;
  width: 600px;
  height: 600px;
  border-radius: 500px;
  background-color: var(--color-dark);
  background-size: cover;
  background-position: center;
  border: 3px solid var(--color-brand-pink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.home-hcg__step-number {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-lime);
  letter-spacing: -1px;
  margin-bottom: var(--spacing-md);
}

.home-hcg__step-title {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -1px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
}

.home-hcg__step-text {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  line-height: 1.4;
}

/* Satellite photos — absolute positioning within each step */
.home-hcg__step-image {
  position: absolute;
  z-index: 1;
}

.home-hcg__step-image img {
  display: block;
  height: auto;
}

/* Step 1: circle center-left, working-out bottom-left, on-tablet right */
.home-hcg__step:nth-child(1) .home-hcg__step-content { left: 31%; top: 0; }
.home-hcg__step-image--s1a img { width: 257px; }
.home-hcg__step-image--s1a { left: 13%; top: 70%; }
.home-hcg__step-image--s1b img { width: 360px; }
.home-hcg__step-image--s1b { left: 71%; top: 59%; }

/* Step 2: shaking-hands left, circle right */
.home-hcg__step:nth-child(2) .home-hcg__step-content { left: 51%; top: 3%; }
.home-hcg__step-image--s2a img { width: 575px; }
.home-hcg__step-image--s2a { left: 11%; top: 0; }

/* Step 3: circle left, Culvers center-right, hugging top-right */
.home-hcg__step:nth-child(3) .home-hcg__step-content { left: 12%; top: 0; }
.home-hcg__step-image--s3a img { width: 390px; }
.home-hcg__step-image--s3a { left: 54%; top: 34%; }
.home-hcg__step-image--s3b img { width: 238px; }
.home-hcg__step-image--s3b { left: 73%; top: 0; }

/* Arrows between steps — positioned to guide eye toward the next circle */
.home-hcg__arrow {
  position: absolute;
  top: calc(100% + 40px);
  transform: translateX(-50%);
  height: auto;
  z-index: 3;
}
/* Arrow 1 (94×112): at >1590px, live site centers at ~72% of content row */
.home-hcg__step:nth-child(1) .home-hcg__arrow { width: 94px; left: 72%; }
/* Arrow 2 (109×89): consistent ~55% across all viewports on live site */
.home-hcg__step:nth-child(2) .home-hcg__arrow { width: 109px; left: 55%; }

@media (max-width: 1590px) {
  .home-hcg {
    padding: 90px 0;
  }
  .home-hcg__title {
    font-size: 65px;
  }
  .home-hcg__title-growth {
    font-size: 180px;
    line-height: 0.9;
  }

  /* Scale down circles and satellites */
  .home-hcg__step { height: 550px; margin-bottom: 180px; }
  .home-hcg__step:last-child { margin-bottom: 0; }
  .home-hcg__step-content { width: 500px; height: 500px; }
  .home-hcg__step-title { font-size: 40px; }

  /* Satellite widths: fixed px, overflow:hidden clips at container edge */
  .home-hcg__step-image--s1a img { width: 200px; }
  .home-hcg__step-image--s1b img { width: 280px; }
  .home-hcg__step-image--s2a img { width: 450px; }
  .home-hcg__step-image--s3a img { width: 300px; }
  .home-hcg__step-image--s3b img { width: 190px; }

  /* Push s3b right so it clips at container edge instead of overlapping s3a */
  .home-hcg__step-image--s3b { left: 74%; }

  /* Arrow 1 shifts left at narrower viewports — live site: 60% at 1440px */
  .home-hcg__step:nth-child(1) .home-hcg__arrow { left: 60%; }
}

/* Hide satellites at ≤1200px — matches live site (fl-visible-desktop = min-width:1201px) */
@media (max-width: 1200px) {
  .home-hcg__step-image,
  [class*="home-hcg__step-image--s"] {
    display: none;
  }
}

@media (max-width: 1100px) {
  .home-hcg__title {
    margin: 10px 40px 10px -50px;
  }

  .home-hcg__title-growth {
    margin: -70px -15px -0.2em 50px;
  }

  .home-hcg__definition--lead {
    margin-top: 40px;
    margin-bottom: 33px;
  }

  /* Switch to flow layout — reset absolute positioning */
  .home-hcg__step {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 80px;
  }

  /* Step 3: left-aligned (matches live site stagger) */
  .home-hcg__step:nth-child(3) {
    align-items: center;
  }

  .home-hcg__step-content,
  .home-hcg__step:nth-child(1) .home-hcg__step-content,
  .home-hcg__step:nth-child(2) .home-hcg__step-content,
  .home-hcg__step:nth-child(3) .home-hcg__step-content {
    position: relative;
    left: auto;
    top: auto;
    width: 550px;
    height: 550px;
    justify-content: center;
  }

  /* Hide all satellites at tablet — live site hides below ~992px via fl-visible-desktop */
  .home-hcg__step-image,
  [class*="home-hcg__step-image--s"] {
    display: none;
  }

  .home-hcg__step-title {
    font-size: 32px;
  }

  /* Hide arrows at tablet */
  .home-hcg__arrow {
    display: none;
  }
}

@media (max-width: 1000px) {
  .home-hcg__title {
    font-size: 40px;
    margin: 0;
  }
  .home-hcg__title-growth {
    font-size: 68px;
    line-height: 0.8;
    margin: -12px 0 -0.2em 0;
  }
  .home-hcg__definition--lead {
    font-size: 22px;
    line-height: 1;
    margin-top: 40px;
    margin-bottom: 33px;
  }

  /* Remove container padding so left-aligned circles go flush to viewport edge */
  .home-hcg__steps {
    padding: 0;
  }

  /* Flip stagger: step 2 flush-left, steps 1 & 3 centered */
  .home-hcg__step:nth-child(2) {
    align-items: center;
  }
  .home-hcg__step:nth-child(3) {
    align-items: center;
  }

  .home-hcg__step-content,
  .home-hcg__step:nth-child(1) .home-hcg__step-content,
  .home-hcg__step:nth-child(2) .home-hcg__step-content,
  .home-hcg__step:nth-child(3) .home-hcg__step-content {
    width: min(400px, 85vw);
    height: min(400px, 85vw);
    padding: 30px;
  }

  .home-hcg__step-image,
  [class*="home-hcg__step-image--s"] {
    display: none;
  }

  .home-hcg__step-title {
    font-size: 32px;
  }

  .home-hcg__step-number {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .home-hcg__step-text {
    font-size: 13px;
    line-height: 1.4;
  }
}

/* ==========================================================================
   8. Outcomes — Pyramid hotspots with tooltips
   ========================================================================== */

.home-outcomes {
  background-color: #F6F4F8;
  padding: 90px 0;
}

.home-outcomes .container {
  max-width: 1320px;
}

.home-outcomes__grid {
  display: grid;
  grid-template-columns: 45.5% 54.5%;
  align-items: center;
}

.home-outcomes__left {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-outcomes__heading {
  font-size: 58px;
  font-weight: 700;
  color: #222222;
  margin-bottom: 20px;
  line-height: 1.0;
  letter-spacing: -1px;
}


.home-outcomes__sub {
  font-size: 18px;
  font-weight: var(--font-weight-light);
  color: #222222;
  margin-bottom: 47px;
}

.home-outcomes__btn {
  display: inline-block;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 800;
  color: var(--color-white);
  background: var(--color-dark);
  border: 2px solid var(--color-dark);
  border-radius: 120px;
  text-decoration: none;
  text-transform: none;
  transition: background 0.5s, color 0.5s;
  align-self: flex-start;
}

.home-outcomes__btn:hover {
  background: transparent;
  color: var(--color-dark);
}

.home-outcomes__right {
  position: relative;
}

.home-outcomes__pyramid {
  width: 100%;
  height: auto;
  display: block;
}

.home-outcomes__hotspots {
  position: absolute;
  inset: 0;
}

.home-outcomes__hotspot {
  position: absolute;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  padding: 10px;
  text-align: center;
  max-width: 200px;
  transition: color 0.3s;
}

.home-outcomes__hotspot--green {
  color: var(--color-lime);
}

.home-outcomes__hotspot--white {
  color: var(--color-white);
}

.home-outcomes__hotspot:hover {
  color: var(--color-brand-pink);
}

.home-outcomes__hotspot--white:hover {
  color: var(--color-lime);
}

/* Tooltip */
.home-outcomes__tooltip {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-dark);
  color: #fff;
  padding: 15px;
  font-size: 17px;
  font-weight: var(--font-weight-light);
  line-height: 1.5;
  text-align: center;
  width: 340px;
  white-space: normal;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  z-index: 9;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.home-outcomes__tooltip p {
  margin: 0;
}

.home-outcomes__tooltip em strong {
  font-weight: 700;
  font-style: italic;
}

/* Tooltip arrow */
.home-outcomes__tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid transparent;
  border-top-color: var(--color-dark);
}

.home-outcomes__hotspot:hover .home-outcomes__tooltip {
  opacity: 1;
}

@media (max-width: 1590px) {
  .home-outcomes__heading {
    font-size: 40px;
  }
}

@media (max-width: 1024px) {
  .home-outcomes__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-outcomes__left {
    text-align: center;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
  }

  .home-outcomes__btn {
    align-self: center;
  }

  .home-outcomes__heading {
    text-align: center;
  }

  .home-outcomes__sub {
    text-align: center;
    margin-bottom: 27px;
  }

  .home-outcomes__hotspot {
    font-size: 20px;
  }

  .home-outcomes__tooltip {
    width: 200px;
    padding: 10px;
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .home-outcomes {
    padding: 80px 0;
  }

  .home-outcomes__heading {
    font-size: 32px;
  }

  .home-outcomes__sub {
    font-size: 17px;
  }

  .home-outcomes__hotspot {
    font-size: 18px;
  }
}

/* ==========================================================================
   9. CTA Grid — Services showcase
   ========================================================================== */

.home-services {
  padding: 0;
  margin-top: 0;
  position: relative;
  z-index: 2;
}

/* Dark "Ready to transform" band */
.home-services__transform {
  background-color: var(--color-dark);
  padding: 162px 80px 216px;
  text-align: center;
}

.home-services__transform-heading {
  font-size: 58px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: -1px;
}

.home-services__transform-word {
  display: inline;
  font-size: 120px;
}

/* Cards grid — overlap into dark section */
.home-services__grid {
  display: flex;
  flex-wrap: wrap;
  max-width: 1566px;
  margin: -162px auto 0;
  padding: 0 80px;
}

.home-services__card {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-services__card-inner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid var(--color-brand-pink);
  min-height: 40vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
}

.home-services__card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.home-services__card-title {
  font-size: 58px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -1px;
  line-height: 1;
  text-align: center;
  margin-bottom: 16px;
}

.home-services__card-link {
  display: inline-block;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  background: var(--color-lime);
  border: 2px solid var(--color-lime);
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: background 0.5s, color 0.5s, border-color 0.5s;
}

.home-services__card-link:hover {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-lime);
}

@media (max-width: 1590px) {
  .home-services__transform {
    padding: 135px 20px 180px;
  }
  .home-services__transform-heading {
    font-size: 40px;
  }
  .home-services__transform-word {
    font-size: 90px;
  }
  .home-services__grid {
    margin-top: -135px;
  }
  .home-services__card-title {
    font-size: 40px;
  }
}

@media (max-width: 1100px) {
  .home-services__card {
    flex: 0 1 100%;
  }
  .home-services__card-inner {
    margin: 20px;
  }
}

@media (max-width: 1100px) {
  .home-services__transform {
    padding: 80px 20px;
  }
  .home-services__transform-heading {
    font-size: 32px;
  }
  .home-services__transform-word {
    font-size: 54px;
  }
  .home-services__grid {
    margin-top: 0;
    padding: 20px 0;
  }
  .home-services__card-title {
    font-size: 48px;
  }
}

/* ==========================================================================
   10. Book Feature — "Prepare for Impact"
   ========================================================================== */

.home-book {
  background-color: var(--color-white);
  padding: 120px 80px 60px;
}

.home-book .container {
  max-width: 1600px;
}

.home-book__grid {
  display: grid;
  grid-template-columns: 32% 34% 33.33%;
  gap: 0;
  align-items: start;
}

/* Left column — right-aligned to match live site */
.home-book__meta {
  text-align: right;
}

.home-book__title {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-dark-gray);
  line-height: 1.0;
  letter-spacing: -1px;
  margin-bottom: var(--spacing-sm);
}

.home-book__title strong {
  font-weight: 700;
}

/* Gradient text for "Prepare for Impact" */
.home-book__title-gradient {
  background: linear-gradient(90deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-book__subtitle {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-dark-gray);
  line-height: 1.0;
  letter-spacing: -1px;
  margin-bottom: var(--spacing-md);
}

.home-book__bestseller {
  font-size: 18px;
  font-weight: var(--font-weight-light);
  color: var(--color-dark-gray);
  line-height: 1.5;
  margin-bottom: 40px;
}

.home-book__cover img {
  width: 100%;
  height: auto;
  display: block;
}

.home-book__info {
  padding: 0 20px;
}

.home-book__tagline {
  font-size: 28px;
  font-weight: var(--font-weight-light);
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  letter-spacing: -1px;
}

.home-book__desc {
  font-size: 18px;
  font-weight: var(--font-weight-light);
  color: var(--color-dark-gray);
  line-height: 1.5;
  margin-bottom: var(--spacing-md);
}

.home-book__cta-text {
  font-size: 16px;
  font-weight: var(--font-weight-light);
  color: var(--color-dark-gray);
  line-height: 1.5;
  margin-bottom: var(--spacing-lg);
}

/* HubSpot form in book section */
.home-book__form .hs-form .hs-input {
  width: 100%;
  padding: 12px 20px;
  font-family: REM, sans-serif;
  font-size: 15px;
  font-weight: 700;
  background-color: rgb(245, 248, 250);
  border: 1px solid #000;
  border-radius: 280px;
  color: var(--color-dark);
}

.home-book__form .hs-form .hs-input:focus {
  outline: none;
  border-color: var(--color-orange);
  background-color: var(--color-white);
}

.home-book__form .hs-form .hs-button {
  padding: 14px 30px;
  font-family: REM, sans-serif;
  font-size: 14px;
  font-weight: 900;
  background: linear-gradient(75deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  color: var(--color-white);
  border: none;
  border-radius: 120px;
  cursor: pointer;
  transition: 0.5s;
  min-width: 200px;
}

.home-book__form .hs-form .hs-button:hover {
  background: linear-gradient(15deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
}

.home-book__form .hs-form label {
  font-size: 16px;
  font-weight: 800;
  color: #000;
}

.home-book__btn {
  display: inline-block;
  padding: 17px 30px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 120px;
  background: linear-gradient(75deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  color: var(--color-white);
  transition: 0.5s;
}

.home-book__btn:hover {
  background: linear-gradient(15deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  color: var(--color-white);
}

@media (min-width: 1591px) {
  .home-book__title,
  .home-book__subtitle {
    font-size: 48px;
  }
}

@media (max-width: 1200px) {
  .home-book__title,
  .home-book__subtitle {
    font-size: 28px;
  }
}

@media (max-width: 1100px) {
  .home-book {
    padding: 102px 40px 51px;
  }

  .home-book__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-book__meta {
    text-align: center;
  }

  .home-book__cover {
    max-width: 400px;
    margin: 0 auto;
  }

  .home-book__title,
  .home-book__subtitle {
    font-size: 24px;
  }

  .home-book__tagline {
    font-size: 22px;
    line-height: 1.0;
  }

  .home-book__cta-text {
    font-size: 14px;
  }

  .home-book__bestseller {
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
  }

  .home-book__btn {
    margin-bottom: 50px;
  }
}

@media (max-width: 767px) {
  .home-book__bestseller,
  .home-book__desc {
    font-size: 17px;
  }
}

@media (max-width: 499px) {
  .home-book {
    padding: 90px 0 45px;
  }
}

/* ==========================================================================
   11. Video — Goalcast video
   ========================================================================== */

.home-video {
  position: relative;
  background: url('https://resources.ryanestis.com/hubfs/ryan-estis/backgrounds/goalcast-bg.jpg') center / cover no-repeat;
  padding: 135px 0;
  min-height: 720px;
  display: flex;
  align-items: center;
}

.home-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(21, 26, 27, 0.48);
  pointer-events: none;
}

.home-video .container {
  position: relative;
  z-index: 1;
}

.home-video__inner {
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}

.home-video__quote {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.0;
  letter-spacing: -1px;
  margin-bottom: var(--spacing-md);
}

.home-video__quote em {
  font-style: italic;
}

.home-video__green {
  color: var(--color-lime);
}

.home-video__context {
  font-size: 24px;
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  line-height: 1.2;
  max-width: 692px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--spacing-2xl);
}

.home-video__play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 200px;
  padding: 17px 30px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  color: var(--color-white);
  border: none;
  border-radius: 120px;
  background: linear-gradient(75deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  text-decoration: none;
  transition: 0.5s;
}

.home-video__play:hover {
  background: linear-gradient(15deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  background-color: rgba(255, 255, 255, 0);
  color: var(--color-white);
}

@media (min-width: 1591px) {
  .home-video {
    min-height: 864px;
  }
  .home-video__quote {
    font-size: 48px;
  }
}

@media (max-width: 1100px) {
  .home-video {
    padding: 154px 20px 102px;
    min-height: 615px;
  }

  .home-video__quote {
    font-size: 32px;
  }

  .home-video__context {
    font-size: 22px;
  }
}

@media (max-width: 599px) {
  .home-video {
    padding: 135px 20px 90px;
    min-height: 540px;
  }
}

/* Video Modal */
.home-video__modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
}

.home-video__modal.is-active {
  display: flex;
}

.home-video__modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
  cursor: pointer;
}

.home-video__modal-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.home-video__modal-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 35px;
  height: 35px;
  padding: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-video__modal-close-bar {
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: #A5F66E;
  transition: background-color 0.2s;
}

.home-video__modal-close-bar:first-child {
  transform: rotate(45deg);
}

.home-video__modal-close-bar:last-child {
  transform: rotate(-45deg);
}

.home-video__modal-close:hover .home-video__modal-close-bar {
  background-color: #F24456;
}

.home-video__modal-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
}

.home-video__modal-embed video,
.home-video__modal-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: none;
}

/* ==========================================================================
   12. Testimonials — Carousel
   ========================================================================== */

.home-testimonials {
  background-color: var(--color-white);
  padding: 90px 20px;
  min-height: auto;
}

.home-testimonials__inner {
  max-width: 864px;
  margin: 0 auto;
  text-align: center;
}

.home-testimonials__icon {
  width: 56px;
  margin: 0 auto var(--spacing-lg);
}

.home-testimonials__carousel {
  position: relative;
  min-height: auto;
}

.home-testimonials__slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  padding: 15px;
  box-sizing: border-box;
}

.home-testimonials__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.home-testimonials__quote {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-light);
  color: var(--color-dark-gray);
  line-height: var(--line-height-normal);
  margin-bottom: 15px;
}

.home-testimonials__highlight {
  font-size: 58px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1;
}

@media (min-width: 1591px) {
  .home-testimonials {
    min-height: auto;
  }
}

@media (max-width: 1590px) {
  .home-testimonials__highlight {
    font-size: 40px;
  }
}

.home-testimonials__author {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-dark-gray);
  margin-bottom: 27px;
}

.home-testimonials__dots {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
}

.home-testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-lime);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-fast);
}

.home-testimonials__dot:hover {
  background: var(--color-dark);
}

.home-testimonials__dot.is-active {
  background: var(--color-dark);
}

@media (max-width: 1100px) {
  .home-testimonials {
    min-height: auto;
  }
  
  .home-testimonials__quote.home-testimonials__highlight {
    font-size: 32px;
    line-height: 32px;
  }
}

@media (max-width: 767px) {
  .home-testimonials__quote {
    font-size: 17px;
    line-height: 25.5px;
  }
}

/* ==========================================================================
   13. Final CTA — "Let's do this."
   ========================================================================== */

.home-cta {
  position: relative;
  padding: 15vh 40px 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 120vh;
  display: flex;
}

.home-cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 1100px;
  margin: 0 auto;
}

.home-cta__body {
  font-size: 28px;
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 0 0 22px;
}

.home-cta__heading {
  font-size: 58px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 20px;
}

.home-cta__big {
  font-size: 120px;
  color: var(--color-lime);
  letter-spacing: -1px;
  line-height: 0.9;
}

.home-cta__btn {
  display: inline-block;
  width: 200px;
  padding: 17px 30px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  border-radius: 120px;
  background: linear-gradient(75deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  color: var(--color-white);
  transition: background var(--transition-normal);
}

.home-cta__btn:hover {
  background: linear-gradient(15deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  color: var(--color-white);
}

/* Rich text button wrappers — nested <a> inherits styles, fills clickable area */
.home-hero__btn--primary a,
.home-about__btn-primary a,
.home-about__btn-outline a,
.home-outcomes__btn a,
.home-book__btn a,
.home-services__card-link a,
.home-cta__btn a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.home-hero__btn--primary p,
.home-about__btn-primary p,
.home-about__btn-outline p,
.home-outcomes__btn p,
.home-book__btn p,
.home-services__card-link p,
.home-cta__btn p {
  margin: 0;
}

@media (max-width: 1590px) {
  .home-cta {
    min-height: 800px;
  }
  
  .home-cta__heading {
    font-size: 40px;
  }
  .home-cta__big {
    font-size: 90px;
  }
  .home-cta__body {
    font-size: 22px;
  }
}

@media (max-width: 999px) {
  .home-cta__heading {
    font-size: 32px;
  }
  .home-cta__big {
    font-size: 65px;
  }
  .home-cta__body {
    font-size: 22px;
  }
}

@media (max-width: 1100px) {
  .home-cta {
    min-height: 700px;
    padding: 80px 1rem;
  }
  
@media (max-width: 768px) {
  .home-cta {
    min-height: 550px;
  }
}

/* ==========================================================================
   Gradient text utility (reusable)
   ========================================================================== */

.gradient-text {
  background: linear-gradient(75deg, var(--color-orange), var(--color-red), var(--color-magenta), var(--color-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}