/* =========================================
   HERO - RESPONSIVE FIX
   ========================================= */

/* Tablet */
@media (max-width: 991.98px) {
  .hero-section {
    margin-top: 0;
    height: auto;
    min-height: 0;
    padding: 80px 0 50px;
    overflow: hidden;
  }

  .hero-landscape {
    background-position: center top;
    background-size: cover;
  }

  .hero-section::before {
    bottom: 0;
    left: 50%;
    width: 650px;
    height: 500px;
    background-position: center bottom;
    background-size: contain;
    transform: translateX(-50%);
  }

  .hero-section::after {
    background: linear-gradient(
      180deg,
      rgba(248, 243, 237, 0.96) 0%,
      rgba(248, 243, 237, 0.82) 55%,
      rgba(248, 243, 237, 0.15) 100%
    );
  }

  .hero-grid {
    align-items: center;
    display: grid;
    gap: 35px;
    grid-template-columns: 1fr;
    background: none;
  }

  .hero-copy {
    padding: 20px 0 0;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 8vw, 72px);
    line-height: 0.94;
    margin-bottom: 20px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
    max-width: 480px;
  }

  .hero-benefits {
    justify-content: center;
    gap: 25px;
  }

  .hero-benefits li {
    font-size: 9px;
  }

  .hero-benefits span {
    height: 58px;
    width: 58px;
    font-size: 24px;
  }

  .hero-book-wrap {
    min-height: 380px;
    width: 100%;
  }

  .hero-book {
    bottom: -30px;
    max-height: 450px;
    width: min(100%, 340px);
  }

  .hero-form {
    grid-column: auto;
    justify-self: center;
    margin-top: 0;
    width: min(100%, 420px);
  }
}

/* =========================================
   Mobile
   ========================================= */

@media (max-width: 767.98px) {
  .hero-section {
    margin-top: 0;
    padding: 65px 0 35px;
    height: auto;
    min-height: 0;
  }

  /* Background */
  .hero-landscape {
    background-position: center top;
    background-size: cover;
  }

  .hero-section::after {
    background: linear-gradient(
      180deg,
      rgba(248, 243, 237, 0.98) 0%,
      rgba(248, 243, 237, 0.92) 48%,
      rgba(248, 243, 237, 0.55) 100%
    );
  }

  /* Mountain / Book background */
  .hero-section::before {
    bottom: 0;
    left: 50%;
    width: 100%;
    height: 380px;
    background-position: center bottom;
    background-size: contain;
    transform: translateX(-50%);
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
    width: 100%;
  }

  /* Hero content */
  .hero-copy {
    padding: 10px 15px 0;
    text-align: center;
    width: 100%;
  }

  .hero-copy .eyebrow {
    font-size: 8px;
    margin-bottom: 12px;
  }

  .hero-copy h1 {
    font-size: clamp(45px, 13vw, 65px);
    line-height: 0.9;
    letter-spacing: -0.055em;
    margin-bottom: 18px;
  }

  .hero-copy h1 em {
    transform: none;
  }

  .hero-description {
    font-size: 13px;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 340px;
  }

  /* Benefits */
  .hero-benefits {
    align-items: flex-start;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    justify-content: center;
    margin: 25px auto 0;
    max-width: 380px;
  }

  .hero-benefits li {
    font-size: 8px;
    line-height: 1.2;
    min-width: 0;
  }

  .hero-benefits span {
    height: 52px;
    width: 52px;
    margin: 0 auto 6px;
    font-size: 21px;
  }

  /* Book area */
  .hero-book-wrap {
    min-height: 300px;
    height: 300px;
    width: 100%;
  }

  .hero-book {
    bottom: -20px;
    max-height: 360px;
    width: min(85%, 300px);
  }

  /* Consultation form */
  .hero-form {
    grid-column: auto;
    margin: 0 auto;
    width: calc(100% - 30px);
    max-width: 420px;
  }
}

/* =========================================
   Small Mobile
   ========================================= */

@media (max-width: 480px) {
  .brand img {
    height: auto;
    width: 200px;
  }

  .hero-section {
    padding-top: 55px;
    padding-bottom: 30px;
  }

  .hero-copy {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 12.5vw, 56px);
    line-height: 0.91;
  }

  .hero-description {
    font-size: 12px;
    max-width: 310px;
  }

  .hero-benefits {
    gap: 5px;
    max-width: 350px;
  }

  .hero-benefits li {
    font-size: 7px;
  }

  .hero-benefits span {
    height: 46px;
    width: 46px;
    font-size: 18px;
  }

  .hero-book-wrap {
    min-height: 270px;
    height: 270px;
  }

  .hero-book {
    bottom: -10px;
    max-height: 320px;
    width: 80%;
  }

  .hero-form {
    width: calc(100% - 20px);
  }

  .form-card {
    padding: 23px;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .obstacle-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .promise-header {
    gap: 30px;
  }
  .momentum-card {
    flex: 0 0 205px;
    margin-right: 12px;
  }
  .journey-list {
    margin-right: 220px;
  }
  .stats-card {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 24px;
  }
  .legacy-copy {
    grid-column: 1 / -1;
    padding: 0;
    text-align: left;
  }
  .services-layout {
    grid-template-columns: 0.6fr 1.4fr;
  }
  .service-mountain {
    width: 45%;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blueprint-grid {
    gap: 24px;
    grid-template-columns: 220px 1fr;
  }
  .blueprint-form {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 410px);
  }
  .blueprint-book img {
    max-height: 370px;
  }
  .blueprint-mountain {
    background-size: 92% auto;
  }
  .trust-grid {
    gap: 16px;
  }
}

/* =========================================
   Hero Book / Background Image Responsive
   ========================================= */

/* Desktop */
@media (min-width: 768px) {
  /* Commented image - hidden on desktop */
  .hero-book {
    display: none;
  }

  /* ::before background image - visible on desktop */
  .hero-section::before {
    display: block;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  /* Actual book image - show on mobile */
  .hero-book {
    display: block;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 300px;
    height: auto;
  }

  /* ::before background image - hide on mobile */
  .hero-section::before {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .rr-homepage .site-shell {
    width: min(100% - 32px, 580px);
  }
  /*.header-inner {*/
  /*  min-height: 62px;*/
  /*}*/
  /*.brand strong {*/
  /*  font-size: 12px;*/
  /*}*/
  /*.brand-mark {*/
  /*  font-size: 14px;*/
  /*  height: 26px;*/
  /*  width: 26px;*/
  /*}*/
  /*.header-cta {*/
  /*  font-size: 8px !important;*/
  /*  gap: 6px !important;*/
  /*  min-height: 35px !important;*/
  /*  padding: 7px 8px 7px 10px !important;*/
  /*}*/
  .hero-section {
    padding: 150px 10px;
  }
  .hero-section {
    padding: 42px 0 35px;
  }
  .hero-section::after {
    background: linear-gradient(
      180deg,
      var(--cream) 0%,
      rgba(248, 243, 237, 0.84) 62%,
      var(--cream) 100%
    );
  }
  .hero-landscape {
    background-position: 64% center;
    opacity: 0.4;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .hero-copy {
    align-self: flex-start;
    width: 100%;
  }
  .hero-copy h1 {
    font-size: clamp(44px, 13vw, 63px);
  }
  .hero-description {
    max-width: 340px;
  }
  .hero-benefits {
    gap: 13px;
  }
  .hero-book-wrap {
    align-self: center;
    min-height: 370px;
    order: 2;
    width: min(100%, 360px);
  }
  .hero-book {
    bottom: -42px;
    max-height: 450px;
    width: 340px;
  }
  .hero-form {
    margin-top: 50px;
    order: 3;
    width: 100%;
  }
  .form-card h2 {
    font-size: 27px;
  }
  .problem-section {
    padding: 49px 0;
  }
  .problem-grid {
    gap: 32px;
  }
  .obstacle-list {
    gap: 17px 12px;
    grid-template-columns: repeat(2, 1fr);
  }
  .obstacle-list li {
    font-size: 10px;
  }
  .promise-section {
    padding: 57px 0 22px;
  }
  .promise-header {
    display: block;
  }
  .promise-header h2,
  .services-intro h2,
  .books-heading h2 {
    font-size: clamp(30px, 9vw, 42px);
  }
  .momentum-card {
    margin: 30px 0 0 auto;
    max-width: 210px;
    min-height: 205px;
  }
  .journey-list {
    gap: 18px;
    grid-template-columns: repeat(2, 1fr);
    margin: 35px 0 0;
  }
  .journey-list::before {
    display: none;
  }
  .journey-list li {
    border-top: 1px dashed #d2c4b8;
    min-height: 145px;
    padding-top: 10px;
  }
  .journey-list li > span {
    margin-bottom: 10px;
  }
  .stats-section {
    padding: 24px 0 50px;
  }
  .stats-card {
    border-radius: 18px;
    grid-template-columns: repeat(2, 1fr);
    padding: 27px 16px;
  }
  .stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-right: 0;
    padding: 9px;
  }
  .stat i {
    font-size: 21px;
  }
  .stat strong {
    font-size: 25px;
  }
  .legacy-copy {
    font-size: 27px;
    text-align: center;
  }
  .services-section {
    padding: 28px 0 48px;
  }
  .service-mountain {
    background:
      linear-gradient(
        90deg,
        rgba(248, 243, 237, 0.42),
        rgba(248, 243, 237, 0.88)
      ),
      url("../assets/images/backgrounds/mountains-wide.png") left bottom / auto
        100% no-repeat;
    width: 100%;
  }
  .services-layout {
    display: block;
    min-height: 0;
  }
  .services-intro {
    padding: 12px 0 28px;
  }
  .services-content {
    padding: 0;
  }
  .services-grid {
    gap: 8px;
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card {
    min-height: 83px;
    padding: 12px 9px;
  }
  .service-card > i {
    font-size: 16px;
  }
  .video-testimonials {
    padding: 53px 0 42px;
  }
  .video-track {
    gap: 12px;
  }
  .review-card {
    width: min(100%, 280px);
  }
  .review-card.is-previous {
    transform: translateX(calc(-50% - 198px)) rotate(-5deg);
  }
  .review-card.is-next {
    transform: translateX(calc(-50% + 198px)) rotate(5deg);
  }
  .story-cta-inner {
    gap: 20px;
    grid-template-columns: 1fr auto;
  }
  .story-cta h2 {
    font-size: 20px;
    grid-column: 1 / -1;
  }
  .reader-avatars {
    justify-content: flex-start;
  }
  .books-section {
    padding: 48px 0 55px;
  }
  .portfolio-book {
    flex-basis: 150px;
  }
  .portfolio-book-featured {
    flex-basis: 190px;
  }
  .portfolio-book img {
    max-height: 285px;
  }
  .blueprint-section {
    padding: 46px 0 38px;
  }
  .blueprint-grid {
    gap: 26px;
    grid-template-columns: 1fr;
  }
  .blueprint-book {
    order: 2;
  }
  .blueprint-book img {
    max-height: 360px;
  }
  .blueprint-copy {
    order: 1;
  }
  .blueprint-copy > p {
    max-width: 360px;
  }
  .blueprint-form {
    order: 3;
    width: 100%;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
}

@media (max-width: 479.98px) {
  .rr-homepage .site-shell {
    width: calc(100% - 28px);
  }
  /*.header-cta span {*/
  /*  max-width: 130px;*/
  /*}*/
  .hero-section {
    padding-top: 32px;
  }
  .hero-copy h1 {
    font-size: 45px;
  }
  .hero-benefits {
    gap: 8px;
    justify-content: space-between;
  }
  .hero-benefits li {
    font-size: 7px;
    min-width: 0;
  }
  .hero-benefits span {
    font-size: 14px;
    height: 27px;
    width: 27px;
  }
  .hero-book-wrap {
    min-height: 400px;
    display:none;
  }
  .hero-book {
    bottom: -33px;
    max-height: 387px;
    width: 300px;
  }
  .form-card {
    padding: 20px 17px;
  }
  .problem-grid h2 {
    font-size: 36px;
  }
  .obstacle-list {
    grid-template-columns: 1fr;
  }
  .promise-header h2 br,
  .services-intro h2 br {
    display: none;
  }
  .momentum-card {
    margin-left: 0;
    /* margin-right: auto; */
  }
  .stats-card {
    gap: 0;
  }
  .stat {
    grid-template-columns: 29px 1fr;
    padding: 10px 4px;
  }
  .stat span {
    font-size: 6.5px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .video-track {
    grid-template-columns: 1fr;
  }
  .review-track {
    height: 234px;
  }
  .review-card.is-previous,
  .review-card.is-next {
    opacity: 0;
    pointer-events: none;
  }
  .story-cta-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .reader-avatars {
    margin-top: -5px;
  }
  .books-heading h2 br {
    display: none;
  }
  .book-marquee-track {
    gap: 17px;
  }
  .portfolio-book {
    flex-basis: 125px;
  }
  .portfolio-book-featured {
    flex-basis: 155px;
  }
  .portfolio-book img {
    max-height: 245px;
  }
  .blueprint-copy h2 {
    font-size: 43px;
  }
  .trust-grid {
    gap: 18px 10px;
  }
  .trust-grid article {
    gap: 7px;
  }
  .trust-grid article > i {
    font-size: 12px;
    height: 25px;
    width: 25px;
  }
}

/* ================= responsive ================= */
@media (max-width: 1199.98px) {
  .journey-list {
    margin-right: 0;
  }
  .momentum-card {
    flex-basis: 236px;
  }
}

@media (max-width: 991.98px) {
  .promise-section {
    padding: 70px 0 64px;
  }
  .promise-header {
    flex-direction: column;
    gap: 30px;
  }
  .momentum-card {
    align-self: flex-start;
  }
  .journey-list {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
    margin-top: 48px;
  }
  .journey-list::before,
  .journey-list li:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .promise-section {
    padding: 58px 0 54px;
  }
  .promise-section .site-shell {
    padding-inline: 20px;
  }
  .momentum-card {
    align-self: center;
    max-width: 320px;
  }
  .journey-list {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin: 40px auto 0;
  }
  .journey-list li {
    min-height: 0;
    padding-bottom: 8px;
  }
}

@media (max-width: 767px) {
  .blueprint-book img {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: contain;
    filter: drop-shadow(8px 10px 8px rgba(30, 20, 16, 0.25));
  }
}

@media (max-width: 767px) {
  .blueprint-mountain {
    display: none;
  }

  .problem-section {
    width: calc(100% - 30px);
    margin: 15px auto;
    padding: 50px 25px;
    border-radius: 20px;
  }

  .process-article-section {
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .bkq-section {
    --bkq-h-feature: 280px;
    --bkq-h-stack: 160px;
    --bkq-h-single: 220px;
    --bkq-gap: 22px;
    padding: 70px 0 80px;
  }
  .bkq-marquee {
    margin-top: 46px;
  }
}
@media (max-width: 767.98px) {
  .bkq-section {
    --bkq-h-feature: 240px;
    --bkq-h-stack: 138px;
    --bkq-h-single: 190px;
    --bkq-gap: 18px;
    padding: 60px 0 70px;
  }
  .bkq-group {
    gap: 12px;
  }
  .bkq-marquee {
    margin-top: 38px;
  }
}
@media (max-width: 479.98px) {
  .bkq-section {
    --bkq-h-feature: 200px;
    --bkq-h-stack: 116px;
    --bkq-h-single: 158px;
    --bkq-gap: 14px;
    padding: 52px 0 60px;
  }
  .bkq-group {
    gap: 10px;
  }
  .bkq-group img {
    border-radius: 7px;
  }
  .bkq-marquee {
    margin-top: 32px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bkq-track {
    will-change: auto;
  }
}




/* Critical content remains visible immediately to protect LCP. */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

