/* H2 Pure Life — /use-cases/sleep/ page styles
 * Loaded AFTER what-is-hydrogen-therapy.css so we can reuse `.wiht-*` shared structural
 * classes (hero, lead, section grid, CTA, etc.) and add only sleep-specific elements.
 *
 * Additions:
 *   - Hero background-image override (point at sleep-hero.jpg)
 *   - Hero italic sub-headline and "new to hydrogen?" lead-link
 *   - Breadcrumb nav (sits above the eyebrow inside the dark hero)
 *   - H3 sub-headings inside .wiht-section__body (mechanism §3)
 *   - Citation card (Gao 2026 attribution block)
 *   - Testimonial pull-quote (Vicki) — left-border accent variant of .pullquote
 *   - Session-protocol panel (Night-time session, §5)
 *   - Section closing inline link helper
 *   - CTA sub-link + tertiary link helpers
 */

/* ------------------------------------------------------------------ */
/* Hero — bg image override for sleep                                  */
/* ------------------------------------------------------------------ */
.wiht-hero__bg {
  background-image: url('/assets/img/pages/use-cases/sleep/sleep-hero.jpg');
}

.sleep-hero__lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin: 0.5em 0 0;
  max-width: 600px;
  letter-spacing: -0.005em;
}

/* ------------------------------------------------------------------ */
/* Breadcrumb — small muted nav on dark hero background                */
/* ------------------------------------------------------------------ */
.sleep-breadcrumb {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 28px;
}
.sleep-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 160ms var(--ease);
}
.sleep-breadcrumb a:hover { color: var(--teal); }
.sleep-breadcrumb .sep {
  margin: 0 0.55em;
  color: rgba(255, 255, 255, 0.32);
}
.sleep-breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.92);
}

/* ------------------------------------------------------------------ */
/* Lead section — "New to molecular hydrogen?" closing link            */
/* ------------------------------------------------------------------ */
.wiht-lead .sleep-lead-link {
  font-size: 0.96rem;
  color: var(--ink-mute);
  margin-top: 24px;
}
.wiht-lead .sleep-lead-link a {
  color: var(--teal-readable);
  text-decoration: none;
  border-bottom: 1px dotted rgba(0, 122, 106, 0.45);
  padding-bottom: 1px;
}
.wiht-lead .sleep-lead-link a:hover {
  color: var(--teal-deep);
  border-bottom-style: solid;
}

/* ------------------------------------------------------------------ */
/* H3 sub-headings inside section body (mechanism §3)                  */
/* ------------------------------------------------------------------ */
.wiht-section__body h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 30px 0 10px;
  color: var(--ink);
}
.wiht-section.section--dark .wiht-section__body h3 { color: var(--white); }

/* ------------------------------------------------------------------ */
/* Citation card — Gao 2026 attribution block (§2)                     */
/* ------------------------------------------------------------------ */
.sleep-citation {
  background: rgba(0, 184, 160, 0.06);
  border-left: 3px solid var(--teal-readable);
  padding: 22px 24px 22px 26px;
  margin: 30px 0 24px;
  border-radius: 0 8px 8px 0;
}
.wiht-section.section--dark .sleep-citation {
  background: rgba(0, 230, 204, 0.08);
  border-left-color: var(--teal);
}
.sleep-citation__attr {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-readable);
  margin: 0 0 12px;
}
.wiht-section.section--dark .sleep-citation__attr { color: var(--teal); }
.sleep-citation__attr em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.sleep-citation__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.55;
  margin: 0 0 12px;
  color: var(--ink);
}
.wiht-section.section--dark .sleep-citation__quote { color: rgba(255, 255, 255, 0.94); }
.sleep-citation__meta {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: var(--ink-mute);
  margin: 0 0 12px;
}
.wiht-section.section--dark .sleep-citation__meta { color: rgba(255, 255, 255, 0.62); }
.sleep-citation__link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--teal-readable);
  text-decoration: none;
  border-bottom: 1px dotted rgba(0, 122, 106, 0.45);
  padding-bottom: 1px;
}
.wiht-section.section--dark .sleep-citation__link {
  color: var(--teal);
  border-bottom-color: rgba(0, 230, 204, 0.45);
}
.sleep-citation__link:hover { border-bottom-style: solid; }

/* ------------------------------------------------------------------ */
/* Testimonial pull-quote — Cormorant italic, teal left-border (§4)    */
/* ------------------------------------------------------------------ */
.sleep-testimonial {
  border-left: 3px solid var(--teal-readable);
  padding: 14px 0 14px 28px;
  margin: 34px 0;
}
.wiht-section.section--dark .sleep-testimonial { border-left-color: var(--teal); }
.sleep-testimonial__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.4;
  letter-spacing: -0.005em;
  margin: 0 0 10px;
  color: var(--ink);
}
.wiht-section.section--dark .sleep-testimonial__quote { color: var(--white); }
.sleep-testimonial__attr {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink-mute);
  margin: 0;
}
.wiht-section.section--dark .sleep-testimonial__attr { color: rgba(255, 255, 255, 0.68); }

/* ------------------------------------------------------------------ */
/* Session-protocol panel — Night-time session (§5)                    */
/* ------------------------------------------------------------------ */
.sleep-protocol {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal-readable);
  border-radius: 6px;
  padding: 26px 28px;
  margin: 30px 0 24px;
  box-shadow: 0 4px 14px rgba(10, 31, 31, 0.05);
}
.wiht-section.section--dark .sleep-protocol {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  border-top-color: var(--teal);
  box-shadow: none;
}
.sleep-protocol__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--teal-readable);
  margin: 0 0 8px;
}
.wiht-section.section--dark .sleep-protocol__eyebrow { color: var(--teal); }
.sleep-protocol__title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 500;
  margin: 0 0 14px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.wiht-section.section--dark .sleep-protocol__title { color: var(--white); }
.sleep-protocol__body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.wiht-section.section--dark .sleep-protocol__body { color: rgba(255, 255, 255, 0.86); }

/* ------------------------------------------------------------------ */
/* Section closing inline link (after section body copy)               */
/* ------------------------------------------------------------------ */
.sleep-section-close {
  margin-top: 22px;
  font-size: 0.98rem;
}
.sleep-section-close a {
  color: var(--teal-readable);
  text-decoration: none;
  border-bottom: 1px dotted rgba(0, 122, 106, 0.45);
  padding-bottom: 1px;
}
.wiht-section.section--dark .sleep-section-close a {
  color: var(--teal);
  border-bottom-color: rgba(0, 230, 204, 0.45);
}
.sleep-section-close a:hover { border-bottom-style: solid; }

/* ------------------------------------------------------------------ */
/* §6 CTA — sub-link and tertiary link                                 */
/* ------------------------------------------------------------------ */
.wiht-cta__sublink {
  margin-top: 22px;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.78);
}
.wiht-cta__sublink a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.wiht-cta__tertiary {
  margin-top: 40px;
  font-size: 0.88rem;
}
.wiht-cta__tertiary a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
}
.wiht-cta__tertiary a:hover {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

/* ------------------------------------------------------------------ */
/* Mobile spacing tightening                                            */
/* ------------------------------------------------------------------ */
@media (max-width: 640px) {
  .sleep-citation { padding: 18px 20px; }
  .sleep-protocol { padding: 22px 22px; }
  .sleep-testimonial { padding-left: 22px; }
  .sleep-breadcrumb { font-size: 0.72rem; letter-spacing: 0.06em; }
}

/* ------------------------------------------------------------------ */
/* Body section media — locked cluster standard (2026-05-21)            */
/* Image at natural 3:5 portrait aspect (sources ~1500×2500), filling  */
/* the symmetric 1fr 1fr grid column at full width with no crop.       */
/* Vertically centred next to the body text column — equal whitespace  */
/* above and below when the text column is taller. Section container   */
/* widened to 1400px (from base 1200) so image and text both gain      */
/* proportional width. Locked as the cluster-wide pattern for pages    */
/* 4-9 to inherit from the start.                                       */
/* ------------------------------------------------------------------ */
#research-suggests .container,
#how-it-works .container,
#feels-like .container,
#daily-practice .container {
  max-width: 1400px;
}
#research-suggests .wiht-section__grid,
#how-it-works .wiht-section__grid,
#feels-like .wiht-section__grid,
#daily-practice .wiht-section__grid {
  align-items: start;
}
#research-suggests .wiht-section__media img,
#how-it-works .wiht-section__media img,
#feels-like .wiht-section__media img,
#daily-practice .wiht-section__media img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}
