/* =============================================
   HOME PAGE — specific styles
   Section backgrounds alternating:
   Nearly white:  #faf7f3  (.section--white)
   Our beige:     #ede8df  (.section--beige  — already in main.css)
   Turquoise:     #a6d9d2  (.section--turquoise)
   ============================================= */

/* ---- Hero ---- */
.hero {
  display: grid;
  grid-template-columns: 2fr 1fr;   /* text 2/3, photo 1/3 */
  align-items: stretch;
  background-color: #faf7f3;
  min-height: calc(100vh - var(--header-h) - var(--footer-h));  /* at least one screen, grows with content */
  overflow: visible;
}

/* Half variant — equal 50/50 split (For You page) */
.hero--half {
  grid-template-columns: 1fr 1fr;
}

.hero--half .hero__text {
  padding-right: 56px;
}

/* Tall variant — photo sets the height, text scrolls alongside (About Me page) */
.hero--tall {
  height: auto;
  overflow: visible;
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.hero--tall .hero__text {
  padding-right: 56px;
  justify-content: flex-start;
  padding-top: 72px;
  padding-bottom: 72px;
}

.hero--tall .hero__img {
  overflow: visible;
}

.hero--tall .hero__img img {
  width: 100% !important;
  height: auto !important;
  object-fit: unset !important;
  display: block;
}

/* Italic aside line */
.hero__aside {
  font-family: var(--font-hand) !important;
  font-size: 1.7rem !important;
  color: var(--brown) !important;
  font-style: italic;
}

.hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;   /* button keeps its natural width, doesn't stretch */
  /* Left padding matches the container's left edge at any viewport width */
  padding-top: 64px;
  padding-bottom: 64px;
  padding-right: 72px;
  padding-left: max(32px, calc((100vw - 1100px) / 2 + 32px));
}

.hero__text h1 {
  margin-bottom: 28px;
  line-height: 1.1;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
}

.hero__text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text);
  max-width: 52ch;
}

/* Last paragraph before button gets extra space */
.hero__text p:last-of-type {
  margin-bottom: 36px;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.hero__img {
  position: relative;
  overflow: hidden;
}

.hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;   /* show face, not feet */
  display: block;
}

.hero__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: linear-gradient(135deg, var(--beige) 0%, var(--turquoise) 100%);
  opacity: 0.45;
}

/* ---- Story block — full-bleed grid, photo left 1/3 / text right 2/3 ---- */
.story-block {
  background-color: #ede8df;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  height: 900px;
  overflow: hidden;
}

.story-block__img {
  overflow: hidden;
}

.story-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.story-block__img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: linear-gradient(135deg, var(--beige) 0%, var(--turquoise) 100%);
  opacity: 0.45;
}

.story-block__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 48px;
  padding-bottom: 48px;
  padding-left: 56px;
  padding-right: max(32px, calc((100vw - 1100px) / 2 + 32px));
  gap: 14px;
}

.story-block__text h2 {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .story-block {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .story-block__img {
    height: 380px;
    order: 1;
  }

  .story-block__img img {
    height: 380px;
  }

  .story-block__text {
    order: 2;
    padding: 48px 20px 56px;
  }
}

/* ---- What is HD — full-bleed 1/2 + 1/2, reversed ---- */
.what-is-hd-block {
  background-color: #ede8df;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  overflow: hidden;
}

.what-is-hd-block__img {
  overflow: hidden;
  min-height: 480px;
}

.what-is-hd-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.what-is-hd-block__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 64px;
  padding-left: 64px;
  padding-right: max(32px, calc((100vw - 1100px) / 2 + 32px));
  gap: 0;
}

.what-is-hd-block__text h2 {
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .what-is-hd-block {
    grid-template-columns: 1fr;
  }
  .what-is-hd-block__img {
    order: 1;
    min-height: 380px;
    height: 380px;
    padding: 0;
  }
  .what-is-hd-block__img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  .what-is-hd-block__text {
    order: 2;
    padding: 24px 20px 48px;
  }
}

/* ---- Intro quote — purple ---- */
.intro-quote {
  background-color: #7a6b8a;
  text-align: center;
  padding: 80px 32px;
}

.intro-quote blockquote {
  font-family: var(--font-hand);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #ccb798;
  max-width: 700px;
  margin: 0 auto 28px;
  line-height: 1.35;
}

/* ---- Who benefits — beige, hero-reversed layout ---- */
.who-benefits {
  background-color: #ede8df;
  display: grid;
  grid-template-columns: 1fr 2fr;   /* photo 1/3, text 2/3 */
  align-items: stretch;
  min-height: calc(100vh - var(--header-h) - var(--footer-h));
  overflow: hidden;
}

/* Half variant — 1/2 text left, 1/2 photo right (homepage) */
.who-benefits--half {
  grid-template-columns: 1fr 1fr;
  min-height: 0 !important;
  max-height: 1100px;
  align-items: stretch;
  overflow: hidden;
}

.who-benefits--half .who-benefits__text {
  justify-content: flex-start !important;
  padding-top: 48px !important;
  padding-bottom: 48px !important;
  padding-left: max(32px, calc((100vw - 1100px) / 2 + 32px)) !important;
  padding-right: 56px !important;
}

.who-benefits--half .benefits-stack {
  margin-top: 20px;
  gap: 20px;
}

.who-benefits__img {
  position: relative;
  overflow: hidden;
}

.who-benefits__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.who-benefits__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 72px;
  padding-bottom: 72px;
  padding-left: 72px;
  padding-right: max(32px, calc((100vw - 1100px) / 2 + 32px));
}

.who-benefits__text h2 {
  margin-bottom: 12px;
}

.who-benefits__text > p {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.benefits-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 48px;
  width: 100%;
}

.benefit-item h3 {
  margin-bottom: 16px;
}

.benefit-item ul {
  list-style: none;
  padding: 0;
}

.benefit-item ul li {
  padding: 7px 0;
  padding-left: 18px;
  position: relative;
  color: var(--text);
  font-weight: 300;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(78, 60, 38, 0.1);
}

.benefit-item ul li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--brown);
  font-size: 1.4em;
  line-height: 1;
  top: 6px;
}

/* ---- Offerings — beige ---- */
.offerings {
  background-color: #ede8df;
}

/* ---- Testimonials — nearly white ---- */
.testimonials {
  background-color: #ffffff;
  padding: 80px 32px;
  text-align: center;
}

.testimonials h2 {
  margin-bottom: 0;
}

.testimonial-card {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
}

.testimonial-quote {
  font-family: var(--font-hand);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.6;
  color: var(--brown);
  font-style: normal;
  max-width: 580px;
}

.testimonial-author {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: -8px;
}

.offerings h2 {
  margin-bottom: 12px;
}

.offerings > .container > p {
  margin-bottom: 0;
}

/* ---- CTA Sneak peek — beige ---- */
.cta-banner {
  text-align: center;
  padding: 80px 32px;
  background-color: #ede8df;
}

.cta-banner h2 {
  margin-bottom: 12px;
}

.cta-banner p {
  margin: 0 auto 28px;
}

/* ---- Turquoise contact block ---- */
.contact-block {
  background-color: var(--turquoise);
  padding: 80px 0;
}

.contact-block .container {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 1fr 180px;
  gap: 0;
  align-items: center;
}

.contact-block__cert {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.contact-block__cert img {
  width: 180px;
  height: auto;
  opacity: 0.9;
}

.contact-block__quote {
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #fff;
  line-height: 1.35;
  padding-right: 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

/* empty spacer column */
.contact-block__spacer {
  display: block;
}

.contact-block__col h4 {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 16px;
}

.contact-block__col p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  max-width: none;
  line-height: 1.7;
}

.contact-block__col a {
  color: #fff;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.contact-block__col a:hover {
  opacity: 0.7;
}

/* ---- Feature testimonials (from-you page) ---- */
.testimonials-hero {
  background: #ffffff;
  text-align: center;
  padding: 80px 32px 64px;
}

.testimonials-hero h1 {
  margin-bottom: 20px;
}

.testimonial-feature {
  padding: 80px 32px;
  text-align: center;
}

.testimonial-feature--beige {
  background: #ede8df;
}

.testimonial-feature--white {
  background: #ffffff;
}

.testimonial-feature__inner {
  max-width: 740px;
  margin: 0 auto;
}

.testimonial-feature__deco-mark {
  font-family: var(--font-hand);
  font-size: 7rem;
  line-height: 0.6;
  color: var(--turquoise);
  opacity: 0.55;
  display: block;
  margin-bottom: 20px;
}

.testimonial-feature__quote {
  font-family: var(--font-hand);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.6;
  color: var(--brown);
  max-width: none;
  margin-bottom: 0;
}

/* Long testimonial — body font, centered like the short one */
.testimonial-feature--long .testimonial-feature__quote {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1.9;
}

.testimonial-feature--long .testimonial-feature__quote p {
  max-width: 680px;
  margin: 0 auto 20px;
  text-align: center;
}

.testimonial-feature--long .testimonial-feature__quote p:last-child {
  margin-bottom: 0;
}

.testimonial-feature__points {
  list-style: none;
  padding: 0;
  margin: 36px auto 0;
  border-top: 1px solid rgba(78,60,38,0.12);
  max-width: 560px;
  width: 100%;
}

.testimonial-feature__points li {
  display: flex;
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(78,60,38,0.1);
  font-size: 0.97rem;
  color: var(--text);
  font-weight: 300;
  line-height: 1.6;
  text-align: left;
  max-width: none;
}

.testimonial-feature__point-num {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  color: var(--turquoise);
  min-width: 36px;
  line-height: 1;
  flex-shrink: 0;
}

.testimonial-feature__author {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  color: var(--purple);
  margin-top: 44px;
  display: block;
}

.testimonial-feature__author-sub {
  display: block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 6px;
}

/* Separator between testimonials */
.testimonial-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 48px 32px;
  background: #ffffff;
}

.testimonial-sep__line {
  flex: 1;
  max-width: 160px;
  height: 1px;
  background: rgba(78,60,38,0.18);
}

.testimonial-sep svg {
  opacity: 0.35;
}

/* ---- Responsive adjustments ---- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .hero__text {
    padding: 48px 20px 40px;
    order: 2;
  }

  .hero__img {
    order: 1;
    height: 380px;
  }

  .hero__img img {
    height: 380px;
    object-fit: cover;
    object-position: center top;
  }

  .hero__img-placeholder {
    min-height: 380px;
  }

  /* Tall hero (About Me) — single column, photo on top, text below */
  .hero--tall {
    grid-template-columns: 1fr;
  }

  .hero--tall .hero__img {
    order: 1;
    height: auto;
  }

  .hero--tall .hero__img img {
    height: auto !important;
    width: 100% !important;
    object-fit: unset !important;
  }

  .hero--tall .hero__text {
    order: 2;
    padding: 48px 20px 48px;
    background-color: #faf7f3;
  }

  .who-benefits {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .who-benefits--half {
    max-height: none !important;
    overflow: visible !important;
  }

  .who-benefits__img {
    height: 380px;
    order: 1;
  }

  .who-benefits__img img {
    height: 380px;
  }

  .who-benefits__text {
    order: 2;
    padding: 48px 20px 56px;
  }

  .benefits-stack {
    gap: 28px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-block .container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-block__spacer {
    display: none;
  }

  .contact-block__cert {
    justify-content: flex-start;
  }

  .contact-block__quote {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    padding-right: 0;
    padding-bottom: 28px;
  }
}
