/* Owner-selected Adobe Stock photograph. Mirror only the image, not the copy. */
.hero.homepage-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100vw;
  min-height: 620px;
  margin-inline: calc(50% - 50vw);
  padding: 64px 0;
  gap: 0;
  overflow: hidden;
  background: #edf5fa;
}
.hero.homepage-banner::before {
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(244,250,252,.97) 0%, rgba(244,250,252,.93) 29%, rgba(244,250,252,.78) 43%, rgba(244,250,252,.12) 65%, transparent 79%);
}
.homepage-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 28% center;
  transform: scaleX(-1);
}
.homepage-banner__inner {
  position: relative;
  z-index: 2;
  width: 88%;
  max-width: 1120px;
  margin-inline: auto;
}
.homepage-banner__copy { width: 55%; max-width: 620px; }
.homepage-banner__lead { display: block; text-wrap: balance; }
.hero.homepage-banner h1 { font-size: clamp(42px,4.4vw,64px); line-height: 1.1; margin: 18px 0 22px; }
.hero.homepage-banner p { color: #344f5e; font-size: 17px; line-height: 1.65; max-width: 520px; }
.hero.homepage-banner .small { font-size: 13px; max-width: 460px; }
.hero.homepage-banner .eyebrow { color: #2c6e62; }
.hero.homepage-banner .btn.light { background: rgba(255,255,255,.94); }
@media (max-width: 1000px) and (min-width: 601px) {
  .hero.homepage-banner { min-height: 600px; padding: 42px 0; }
  .homepage-banner__copy { width: 64%; }
  .hero.homepage-banner h1 { font-size: clamp(38px,5.4vw,50px); }
  .hero.homepage-banner p { font-size: 16px; }
  .hero.homepage-banner::before { background: linear-gradient(90deg,rgba(244,250,252,.97),rgba(244,250,252,.9) 40%,rgba(244,250,252,.45) 58%,transparent 85%); }
}
@media (max-width: 600px) {
  .hero.homepage-banner { flex-direction: column; min-height: 0; padding: 0; }
  .hero.homepage-banner::before { display: none; }
  .homepage-banner__inner { order: 1; padding: 35px 0 30px; }
  .homepage-banner__copy { width: 100%; max-width: none; }
  .hero.homepage-banner h1 { font-size: clamp(36px,8.8vw,48px); }
  .hero.homepage-banner p { font-size: 16px; }
  .homepage-banner__image { order: 2; position: relative; inset: auto; height: clamp(230px,58vw,320px); object-position: 28% center; }
  .hero.homepage-banner .small { font-size: 13px; }
  }

/* A quiet visual introduction to the recognition cards. */
.recognition-section { scroll-margin-top: 28px; }
.recognition-opening {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  margin-bottom: 36px;
}
.recognition-opening h2 { max-width: 440px; margin: 0 0 22px; text-wrap: balance; }
.recognition-opening .recognition-intro { max-width: 430px; margin: 0; }
.recognition-opening__photo { margin: 0; overflow: hidden; border-radius: 22px; background: #e8eeeb; }
.recognition-opening__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 700px) {
  .recognition-opening { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; }
  .recognition-opening h2 { max-width: none; margin-bottom: 16px; }
  .recognition-opening .recognition-intro { max-width: none; }
  .recognition-opening__photo { border-radius: 18px; }
}

/* Preserve both faces and the shared moment in the owner-selected landscape photo. */
.everyday-joy { scroll-margin-top: 28px; }
.life-section.everyday-joy .life-photo { max-height: none; }
.life-section.everyday-joy .life-photo img { aspect-ratio: 3 / 2; max-height: none; object-position: center; }

/* Keep the whole family visible in the landscape photograph. */
.family-life { scroll-margin-top: 28px; }
.life-section.family-life .life-photo { max-height: none; }
.life-section.family-life .life-photo img { aspect-ratio: auto; max-height: none; object-position: center; }

/* Owner's sketch: two title-and-explanation blocks using the original logo lettering. */
.hero.homepage-banner { min-height: 650px; padding-block: 44px; }
.homepage-banner__copy { width: 57%; max-width: 620px; }
.hero.homepage-banner h1.home-metrics-heading { margin: 22px 0 30px; color: #173754; font: 400 clamp(22px, 2.1vw, 27px)/1.38 Arial, Helvetica, sans-serif; letter-spacing: -.02em; }
.home-metric { display: block; position: relative; }
.home-metric--length { width: 258px; max-width: 100%; }
.home-metric--length .home-metric__title { width: 258px; }
.home-metric--depth { margin-top: 30px; }
.home-metric__title { display: block; position: relative; width: max-content; max-width: 100%; }
.home-metric__accessible { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.home-label-sobriety { display: block; width: 258px; height: auto; max-width: 100%; }
.home-metric__ruler { display: block; width: 100%; height: 13px; margin: 7px 0 4px; color: #50aeab; }
.home-label-recovery { display: block; width: 258px; max-width: 100%; height: auto; mix-blend-mode: multiply; }
.home-metric__description { display: block; white-space: nowrap; }
.home-metric--length .home-metric__description { width: max-content; position: relative; left: 0; transform: none; padding-left: 0; text-align: left; }
.home-metric--depth .home-metric__description { position: relative; margin-top: 3px; padding-left: 28px; }
.home-metric__extended-arrow { position: absolute; left: 3.87px; top: 3.87px; bottom: .18em; width: 18.92px; background: #153253; clip-path: polygon(25% 0, 75% 0, 75% calc(100% - 12px), 100% calc(100% - 12px), 50% 100%, 0 calc(100% - 12px), 25% calc(100% - 12px)); }
.hero.homepage-banner p.homepage-banner__subtitle { font-size: clamp(21px, 1.8vw, 25px); line-height: 1.4; font-weight: 600; letter-spacing: -.02em; color: #173754; max-width: 650px; margin: 0 0 18px; }
.home-overcome { white-space: nowrap; color: #5e7a94; font-weight: 900; }
.home-subtitle-break { display: none; }
@media (min-width: 601px) and (max-width: 1000px) {
  .homepage-banner__copy { width: 75%; }
  .hero.homepage-banner h1.home-metrics-heading { font-size: clamp(16px, 3.15vw, 25px); }
  .hero.homepage-banner::before { background: linear-gradient(90deg,rgba(244,250,252,.98),rgba(244,250,252,.94) 49%,rgba(244,250,252,.4) 80%,transparent); }
}
@media (max-width: 600px) {
  .hero.homepage-banner { min-height: 0; padding: 0; }
  .homepage-banner__copy { width: 100%; }
  .homepage-banner__inner { padding-top: 30px; }
  .hero.homepage-banner h1.home-metrics-heading { font-size: clamp(14px, 4.2vw, 24px); }
  .hero.homepage-banner p.homepage-banner__subtitle { font-size: 21px; }
}

/* A shared introduction for the owner's three recovery myths. */
.home-myths { margin-top: 44px; }
.home-myths__intro {
  padding: clamp(28px, 4.5vw, 54px);
  border-left: 5px solid #2c6e62;
  border-radius: 0 24px 24px 0;
  background: #eff6f2;
}
.home-myths__intro .eyebrow { margin: 0 0 18px; color: #2c6e62; }
.home-myths__intro h2 {
  margin: 0;
  max-width: 930px;
  color: #183244;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.13;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.home-myths__challenge {
  display: block;
  margin-top: 10px;
  color: #2c6e62;
  font-weight: 700;
}
.home-myths__item h3 { font-size: 36px; line-height: 1.22; margin: 10px 0 20px; }
.home-myths__intro + .home-myths__item { border-top: 0; }
.home-myths__item:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
  .home-myths { margin-top: 30px; }
  .home-myths__intro { padding: 28px 22px; border-radius: 0 18px 18px 0; }
  .home-myths__intro .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .home-myths__item h3 { font-size: 29px; }
}

/* Original vector illustrations give each myth one simple visual idea. */
.home-myths__item {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
}
.home-myths__visual { margin: 0; width: 100%; max-width: 260px; justify-self: center; }
.home-myths__visual img { display: block; width: 100%; height: auto; }
.home-myths__copy { min-width: 0; }
.home-myths__copy h3 { margin-top: 0; }
.home-myths__copy p { margin-bottom: 0; }
@media (max-width: 700px) {
  .home-myths__item { grid-template-columns: 1fr; gap: 18px; }
  .home-myths__visual { max-width: 200px; justify-self: start; }
}

/* Recovery explanation and participant story. */
/* A full-width color band, with content kept on the shared page alignment.
   The clipped background extension does not increase the document's scroll width. */
#why-recovery-matters.recovery-explainer--featured {
  margin: 0;
  padding: clamp(44px,5vw,64px) 0;
  background: #183244;
  border: 0;
  border-radius: 0;
  box-shadow: 0 0 0 100vmax #183244;
  clip-path: inset(0 -100vmax);
  gap: clamp(28px,5vw,64px);
}
#why-recovery-matters h2 { color: #fff; font-size: clamp(34px,3.8vw,46px); }
#why-recovery-matters .eyebrow { color: #b9dfd3; }
#why-recovery-matters p:not(.eyebrow) { color: #e2ebef; font-size: 17px; }
#why-recovery-matters .btn {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: #2c6e62;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
  transform: none;
}
#why-recovery-matters .btn { color: #fff; }
#why-recovery-matters .btn:hover { color: #b9dfd3; background: transparent; }
#why-recovery-matters .btn:focus-visible { outline: 3px solid #e4c47d; outline-offset: 6px; }
.home-myths { margin-top: 30px; }
.home-myths__intro { padding: 0 0 12px; background: transparent; border: 0; border-radius: 0; }
.home-myths__intro h2 { font-size: clamp(34px,4vw,48px); }
.home-myths .home-myths__item { border: 0; padding: 36px 0; }
.home-myths .home-myths__item:last-child { padding-bottom: 52px; }
@media (max-width: 800px) {
  #why-recovery-matters.recovery-explainer--featured { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 600px) {
  #why-recovery-matters.recovery-explainer--featured { padding-top: 40px; }
  .home-myths { margin-top: 24px; }
  .home-myths__intro { padding: 0 0 12px; border-radius: 0; }
  .home-myths .home-myths__item { padding: 28px 0; }
  .home-myths .home-myths__item:last-child { padding-bottom: 36px; }
}


/* One shared chapter for the three myths and the complete PDF guide. */
#recovery-myths.home-myths {
  margin: 30px 0 58px;
  padding: clamp(24px,4vw,52px);
  border: 1px solid #d5e5dc;
  border-radius: 28px;
  background: #eff6f2;
}
#recovery-myths .home-myths__intro { padding-bottom: 20px; }
#recovery-myths .home-myths__item { margin: 0; }
#recovery-myths .home-myth-download {
  margin: 12px 0 0;
  padding: clamp(32px,4vw,48px) 0 0;
  border: 0;
  border-top: 1px solid #cbded3;
  border-radius: 0;
  background: transparent;
}
@media (max-width: 800px) {
  #recovery-myths .home-myths__item { grid-template-columns: 1fr; gap: 18px; }
  #recovery-myths .home-myths__visual { max-width: 200px; justify-self: start; }
}
@media (max-width: 600px) {
  #recovery-myths.home-myths { margin: 24px 0 38px; padding: 28px 20px; border-radius: 20px; }
  #recovery-myths .home-myth-download { margin-top: 4px; padding-top: 28px; }
  #recovery-myths .guide-inline { padding: 20px 16px; }
}


/* A wider reading panel for large screens, capped to the available viewport. */
@media (min-width: 1200px) {
  #recovery-myths.home-myths {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: min(1220px, calc(100vw - 64px));
  }
  #recovery-myths .home-myths__item {
    grid-template-columns: minmax(220px,280px) minmax(0,1fr);
  }
  #recovery-myths .home-myths__visual { max-width: 280px; }
  #recovery-myths .home-myths__copy { max-width: 730px; }
}


/* Explicit myth labels distinguish the beliefs from the explanations below. */
#recovery-myths .home-myths__label {
  margin: 0 0 12px;
  color: #2c6e62;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
  line-height: 1.4;
}


/* A compact, open overview bridges the free guide and the full program. */
.home-program-overview { padding: 8px 0 52px; border-top: 0; }
.home-program-overview > .eyebrow { margin: 0 0 16px; color: #2c6e62; }
.home-program-overview h2 { font-size: clamp(32px,3.5vw,44px); margin: 0 0 18px; }
.home-program-overview__intro { max-width: 700px; margin: 0; }
.home-program-overview__items {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 32px;
  margin: 30px 0;
}
.home-program-overview__items > div { padding-top: 20px; border-top: 2px solid #cbded3; }
.home-program-overview__items h3 { color: #183244; font-size: 26px; margin: 0 0 14px; }
.home-program-overview__items p { font-size: 16px; line-height: 1.65; margin: 0; }
.home-program-overview__next { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.home-program-overview__next p { max-width: 530px; font-size: 15px; margin: 0; }
.home-program-overview__next .btn { flex-shrink: 0; text-align: center; }
@media (max-width: 900px) {
  .home-program-overview__items { grid-template-columns: 1fr; gap: 24px; }
  .home-program-overview__items p { max-width: 700px; }
  .home-program-overview__next { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .home-program-overview { padding-bottom: 38px; }
  .home-program-overview__next .btn { max-width: 100%; white-space: normal; }
}

/* Live training invitation, following the program overview. */
.home-live-training{display:flex;align-items:center;justify-content:space-between;gap:clamp(24px,4vw,56px);padding:clamp(26px,4vw,42px);background:#f4eadf;border-top:3px solid #b69269;border-radius:16px}.home-live-training>div{max-width:750px}.home-live-training .eyebrow{margin:0 0 12px}.home-live-training h2{margin:0 0 16px}.home-live-training p{line-height:1.7}.home-live-training .home-live-training__time{font-size:14px;font-weight:700;color:#285e50;margin-bottom:0}.home-live-training>.btn{flex-shrink:0;white-space:normal;text-align:center}@media(max-width:800px){.home-live-training{align-items:flex-start;flex-direction:column;gap:20px}}

/* Homepage quotes use the same participant style as Recovery vs. Sobriety. */
.home-featured-testimonial { margin: 30px 0 40px; }
.home-featured-testimonial > .testimonial-note { margin: 14px 0 0; color: #4c6070; font: 400 12px/1.7 system-ui,sans-serif; }
.home-testimonial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
@media (max-width: 680px) {
  .home-testimonial-grid { grid-template-columns: 1fr; }
}

/* Keep homepage secondary actions visible on light backgrounds. */
.btn.light, .btn.help, .hero.homepage-banner .btn.light {
  background: #283f50;
  color: #fff;
  border-color: #283f50;
}
.btn.light:hover, .btn.help:hover, .hero.homepage-banner .btn.light:hover {
  background: #1b2d3b;
  color: #fff;
  border-color: #1b2d3b;
}
.btn.light:focus-visible, .btn.help:focus-visible {
  outline: 3px solid #e4c47d;
  outline-offset: 4px;
}
