/* H2 Pure Life — Use-case cornerstone cluster — shared styles
 *
 * Loaded AFTER what-is-hydrogen-therapy.css by every cluster page (energy-clarity,
 * and the remaining cluster pages 3-9). Provides the cluster patterns first
 * introduced in the Sleep build — breadcrumb, citation card, testimonial
 * pull-quote, session-protocol panel, section closing links, CTA sub/tertiary,
 * body section image override (image at top of column, natural aspect).
 *
 * Class prefix `.uc-*` for cluster-introduced patterns. Estate-wide `.wiht-*`
 * is reused unchanged (it provides the structural section/hero/CTA layout).
 *
 * Note: the live Sleep page (page 1 of cluster, deployed 21 May 2026) uses
 * `.sleep-*` from its self-contained `use-case-sleep.css` and does NOT load
 * this file. Migrate Sleep to the cluster pattern at the end of the 9-page
 * build, not now. Touching the live Sleep CSS is out of scope per brief.
 */

/* ------------------------------------------------------------------ */
/* Hero italic sub-headline                                            */
/* ------------------------------------------------------------------ */
.uc-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                */
/* ------------------------------------------------------------------ */
.uc-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;
}
.uc-breadcrumb a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 160ms var(--ease);
}
.uc-breadcrumb a:hover { color: var(--teal); }
.uc-breadcrumb .sep {
  margin: 0 0.55em;
  color: rgba(255, 255, 255, 0.32);
}
.uc-breadcrumb [aria-current="page"] {
  color: rgba(255, 255, 255, 0.92);
}

/* ------------------------------------------------------------------ */
/* Lead section — "New to molecular hydrogen?" closing link            */
/* ------------------------------------------------------------------ */
.wiht-lead .uc-lead-link {
  font-size: 0.96rem;
  color: var(--ink-mute);
  margin-top: 24px;
}
.wiht-lead .uc-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 .uc-lead-link a:hover {
  color: var(--teal-deep);
  border-bottom-style: solid;
}

/* ------------------------------------------------------------------ */
/* H3 sub-headings inside section body                                  */
/* ------------------------------------------------------------------ */
.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 — research attribution block                          */
/* ------------------------------------------------------------------ */
.uc-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 .uc-citation {
  background: rgba(0, 230, 204, 0.08);
  border-left-color: var(--teal);
}
.uc-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 .uc-citation__attr { color: var(--teal); }
.uc-citation__attr em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}
.uc-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 .uc-citation__quote { color: rgba(255, 255, 255, 0.94); }
.uc-citation__meta {
  font-family: var(--font-sans);
  font-size: 0.86rem;
  color: var(--ink-mute);
  margin: 0 0 12px;
}
.wiht-section.section--dark .uc-citation__meta { color: rgba(255, 255, 255, 0.62); }
.uc-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 .uc-citation__link {
  color: var(--teal);
  border-bottom-color: rgba(0, 230, 204, 0.45);
}
.uc-citation__link:hover { border-bottom-style: solid; }

/* ------------------------------------------------------------------ */
/* Testimonial pull-quote — Cormorant italic, teal left-border         */
/* ------------------------------------------------------------------ */
.uc-testimonial {
  border-left: 3px solid var(--teal-readable);
  padding: 14px 0 14px 28px;
  margin: 34px 0;
}
.wiht-section.section--dark .uc-testimonial { border-left-color: var(--teal); }
.uc-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 .uc-testimonial__quote { color: var(--white); }
.uc-testimonial__attr {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--ink-mute);
  margin: 0;
}
.wiht-section.section--dark .uc-testimonial__attr { color: rgba(255, 255, 255, 0.68); }

/* ------------------------------------------------------------------ */
/* Session-protocol panel                                              */
/* ------------------------------------------------------------------ */
.uc-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 .uc-protocol {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
  border-top-color: var(--teal);
  box-shadow: none;
}
.uc-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 .uc-protocol__eyebrow { color: var(--teal); }
.uc-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 .uc-protocol__title { color: var(--white); }
.uc-protocol__body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.wiht-section.section--dark .uc-protocol__body { color: rgba(255, 255, 255, 0.86); }

/* ------------------------------------------------------------------ */
/* Section closing inline link                                          */
/* ------------------------------------------------------------------ */
.uc-section-close {
  margin-top: 22px;
  font-size: 0.98rem;
}
.uc-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 .uc-section-close a {
  color: var(--teal);
  border-bottom-color: rgba(0, 230, 204, 0.45);
}
.uc-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) {
  .uc-citation { padding: 18px 20px; }
  .uc-protocol { padding: 22px 22px; }
  .uc-testimonial { padding-left: 22px; }
  .uc-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;
}
