/* Echo Complex interior page — load after style.css */

.echo-detail {
  overflow: hidden;
}

/* Hero */
.echo-page-hero {
  background: var(--cream);
}

.echo-page-hero-grid {
  display: grid;
  grid-template-columns: 54% 46%;
  align-items: center;
  min-height: 470px;
}

.echo-page-hero-copy {
  position: relative;
  z-index: 1;
  padding: 36px 25px 45px 0;
}

.echo-page-hero-copy h1 {
  font-size: clamp(2.5rem, 4.3vw, 4.5rem);
  max-width: 680px;
}

.echo-page-lede {
  font: 1.25rem/1.65 var(--serif);
  color: #55545b;
}

.echo-page-hero-art {
  height: 470px;
  background: url('../images/echo-silhouettes-hero.png') no-repeat left center;
  background-size: auto 100%;
  margin-right: calc((min(1260px, 100vw - 100px) - 100vw) / 2);
  margin-bottom: 24px;
}

/* On-page navigation */
.echo-page-toc {
  background: #eaf4f1;
}

.echo-page-toc-inner {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
  text-align: center;
}

.echo-page-toc-inner span {
  font-weight: 700;
  color: var(--teal-dark);
}

.echo-page-toc-inner a {
  text-decoration: none;
  font-size: .9rem;
}

/* Main article */
.echo-narrow {
  max-width: 850px;
}

.echo-narrow h2 {
  max-width: 850px;
}

.echo-narrow p {
  font-size: 1.05rem;
}

.echo-emphasis {
  color: var(--teal-dark);
  font: italic 1.4rem/1.6 var(--serif) !important;
  margin-top: 26px;
}

/* Illustrated feature */
.echo-feature {
  background: #fff8f6;
}

.echo-feature-grid {
  display: grid;
  grid-template-columns: 39% 61%;
  align-items: stretch;
}

.echo-feature-art {
  min-height: 620px;
  background: url('../images/echo-silhouettes-section.png') no-repeat right center;
  background-size: auto 100%;
  transform: scaleX(-1);
}

.echo-feature-copy {
  padding: 65px 0 65px 65px;
}

.echo-feature-copy h2 {
  max-width: 580px;
}

/* Notes and quotations */
.echo-note {
  border-left: 3px solid var(--teal);
  background: #fff;
  padding: 22px 27px;
  margin: 30px 0;
}

.echo-note h3 {
  font: 700 1.05rem/1.4 var(--sans);
  color: var(--teal-dark);
  letter-spacing: 0;
  margin-bottom: 9px;
}

.echo-note p:last-child {
  margin-bottom: 0;
}

.echo-note-soft {
  background: #eaf4f1;
}

.echo-pullquote {
  border: 0;
  margin: 34px 0;
  padding: 18px 0 18px 27px;
  border-left: 3px solid #f1d66b;
  font: italic 1.55rem/1.6 var(--serif);
  color: var(--teal-dark);
}

/* Recovery */
.echo-recovery {
  background: #eaf4f1;
}

.echo-recovery .echo-note {
  background: #fff;
}


/* Next steps / book */
.echo-next {
    background: #fff8ec;
}

.echo-next-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;
}

.echo-next-grid > div + div {
    border-left: 1px solid #e1d8cc;
    padding-left: 65px;
}

/* Book cover and description */
.echo-book-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 145px;
    gap: 35px;
    align-items: start;
}

.echo-book-copy {
    min-width: 0;
}

.echo-book-cover {
    width: 145px;
    margin-top: 55px;
}

.echo-book-cover img {
    display: block;
    width: 100%;
    height: auto;
}

/* For Therapists video */

.therapist-video-embed {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-top: 2rem;
}

.therapist-video-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

/* For Therapists hero */

.therapists-page .echo-page-hero h1 {
  font-size: clamp(2.2rem, 3.5vw, 3.5rem);
  line-height: 1.15;
}

/* For Therapists - Resources */

.therapist-resources-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: center;
}

.therapist-resources h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.25;
}

.therapist-book {
    display: grid;
    grid-template-columns: 135px 1fr;
    gap: 22px;
    align-items: center;
}

.therapist-website {
    border-left: 1px solid #d5cac7;
    padding-left: 35px;
}

@media (max-width: 800px) {
    .therapist-resources-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .therapist-website {
        border-left: 0;
        border-top: 1px solid #d5cac7;
        padding: 30px 0 0;
    }
}

/* Responsive adjustments */
@media (max-width: 800px) {
  .echo-page-hero-grid,
  .echo-feature-grid,
  .echo-next-grid {
    grid-template-columns: 1fr;
  }

  .echo-page-hero-copy {
    padding: 40px 0 20px;
  }

  .echo-page-hero-art {
    height: 270px;
    margin: 0 -19px;
    background-position: center;
  }

  .echo-page-toc-inner {
    gap: 12px 18px;
  }

  .echo-feature-art {
    min-height: 260px;
    background-position: center;
  }

  .echo-feature-copy {
    padding: 35px 0 45px;
  }

  .echo-next-grid {
    gap: 35px;
  }

  .echo-next-grid > div + div {
    border-left: 0;
    border-top: 1px solid #e1d8cc;
    padding: 30px 0 0;
  }
}



/* Small mobile screens */
@media (max-width: 480px) {

    .echo-book-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .echo-book-cover {
        width: 145px;
        margin: 0 auto;
    }

    .echo-book-copy {
        min-width: 0;
    }

}


/* ========================================
   SIGNS PAGE
======================================== */

/* Hero */

.signs-hero {
  background: #faf7f1;
}

.signs-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.signs-hero-copy h1 {
  max-width: 650px;
}

.signs-hero-copy .echo-page-lede {
  margin-bottom: 18px;
}

.signs-hero-emphasis {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 25px;
}

.signs-hero-art {
    min-height: 420px;
    background-image: url('../images/echo-silhouettes-hero.png');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: 112% auto;
}

/* Eight signs */

.signs-list-section {
  background: #faf7f1;
}

.signs-intro {
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
}

.signs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.signs-card {
  background: #fff;
  padding: 35px;
  border-top: 3px solid #008b8f;
}

.signs-number {
  display: block;
  color: #008b8f;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.signs-card h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1.2;
  margin: 0 0 15px;
}

.signs-card p {
  margin: 0;
  line-height: 1.7;
}

/* Emotional centerpiece */

.signs-quote-section {
  background: #eaf5f3;
  text-align: center;
}

.signs-quote-intro {
  margin: 20px 0 30px;
}

.signs-big-quote {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-style: italic;
  line-height: 1.3;
  color: #007a7d;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Closing section */

.signs-closing {
  background: #fff8ec;
}

.signs-closing h2 {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  margin-bottom: 25px;
}

.signs-closing .button {
  display: inline-block;
  margin-top: 20px;
}

/* Responsive */

@media (max-width: 800px) {
  .signs-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .signs-hero-art {
    min-height: 300px;
  }

  .signs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .signs-hero-art {
    min-height: 220px;
  }

  .signs-card {
    padding: 25px;
  }

  .signs-intro {
    margin-bottom: 30px;
  }

  .signs-big-quote {
    font-size: 2rem;
  }
}


/* ========================================
   THE BOOK PAGE
======================================== */

/* Hero */

.book-hero {
    background: #faf7f1;
}

.book-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 85px;
    align-items: center;
}

.book-hero-cover {
    text-align: center;
}

.book-hero-cover img {
    display: block;
    width: 100%;
    max-width: 390px;
    height: auto;
    margin: 0 auto;
    box-shadow: 12px 18px 35px rgba(0, 0, 0, .15);
}

.book-hero-copy h1 {
    margin-bottom: 18px;
}

.book-subtitle {
    font-family: Georgia, serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.4;
    margin-bottom: 22px;
}

.book-meta {
    font-size: .95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 32px;
}

.book-hero-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* About the book */

.book-about {
    background: #fff8ec;
}

.book-about h2 {
    margin-bottom: 30px;
}

.book-about p:not(.eyebrow) {
    line-height: 1.8;
    margin-bottom: 22px;
}

/* Amy's message */

.book-message {
    background: #eaf5f3;
    text-align: center;
}

.book-message .book-message-main {
    font-family: Georgia, serif;
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    font-weight: 400;
    line-height: 1.4;
    color: #007a7d;
    max-width: 800px;
    margin: 0 auto 28px;
}

.book-message .book-message-secondary {
    font-family: Georgia, serif;
    font-size: clamp(1.3rem, 1.7vw, 1.5rem);
    font-weight: 400;
    line-height: 1.5;
    color: #444;
    max-width: 760px;
    margin: 0 auto;
}

/* Purchase section */

.book-buy {
    background: #faf7f1;
    text-align: center;
}

.book-buy h2 {
    margin-bottom: 18px;
}

.book-buy .button {
    display: inline-block;
    margin: 22px 0;
}

.book-retailers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin-top: 12px;
}

.book-retailers a {
    color: #008b8f;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Responsive */

@media (max-width: 800px) {

    .book-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .book-hero-cover img {
        max-width: 300px;
    }

    .book-hero-copy {
        text-align: center;
    }
}

@media (max-width: 480px) {

    .book-hero-cover img {
        max-width: 240px;
    }

    .book-hero-grid {
        gap: 30px;
    }

    .book-retailers {
        gap: 14px 22px;
    }
}
