/* H2 Pure Life — Use Cases page styles
 * Loaded after base.css, nav.css, footer.css.
 * Page-specific styling for /use-cases/.
 */

/* Anchor offset so #energy, #cognition, etc. don't hide under sticky nav */
section[id] { scroll-margin-top: 90px; }

/* ------------------------------------------------------------------ */
/* HERO                                                                */
/* ------------------------------------------------------------------ */
.uc-hero {
  position: relative;
  isolation: isolate;
  min-height: 64vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  color: var(--white);
  padding: clamp(120px, 16vw, 200px) 0 clamp(80px, 10vw, 140px);
  overflow: hidden;
}
.uc-hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/pages/use-cases/hero-molecule.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.uc-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,31,31,0.78) 0%, rgba(10,31,31,0.62) 50%, rgba(10,31,31,0.86) 100%);
  z-index: -1;
}
.uc-hero__inner {
  max-width: 880px;
}
.uc-hero__eyebrow { color: var(--teal); }
.uc-hero__h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin: 0 0 0.4em;
  letter-spacing: -0.015em;
}
.uc-hero__h1 em { color: var(--teal); }
.uc-hero__sub {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.86);
  max-width: 640px;
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* INTRO                                                               */
/* ------------------------------------------------------------------ */
.uc-intro {
  background: #FFFFFF;
}
.uc-intro__h1 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin-bottom: 0.6em;
}
.uc-intro__body p {
  font-size: clamp(1.02rem, 1.2vw, 1.12rem);
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ */
/* USE CASE SECTIONS                                                   */
/* ------------------------------------------------------------------ */
.uc-case {
  /* light variant — pure white per addendum */
  background: #FFFFFF;
}
.uc-case.section--dark {
  background: var(--dark);
}

.uc-case__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.uc-case--reverse .uc-case__grid {
  /* image on right for these — flip default order */
  direction: rtl;
}
.uc-case--reverse .uc-case__grid > * {
  direction: ltr;
}

.uc-case__media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  /* dark variant — soft teal-ink halo */
  box-shadow: 0 24px 60px rgba(10,31,31,0.45);
}
.uc-case:not(.section--dark) .uc-case__media {
  /* light variant — neutral grey drop per addendum */
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.uc-case__media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 560px;
  object-fit: cover;
  display: block;
}

.uc-case__body { max-width: 560px; }

.uc-case__num {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  font-weight: 600;
  color: var(--teal-readable);
  margin: 0 0 14px;
}
.uc-case.section--dark .uc-case__num { color: var(--teal); }

.uc-case__body h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0 0 14px;
  letter-spacing: -0.015em;
}
.uc-case__body .eyebrow {
  margin-bottom: 22px;
}
.uc-case__body p {
  font-size: 1.02rem;
  line-height: 1.7;
}
.uc-case:not(.section--dark) .uc-case__body p {
  color: var(--ink-soft);
}

.uc-case__cites {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  line-height: 1.45;
}
.uc-case.section--dark .uc-case__cites {
  border-top-color: var(--line-dark);
}
.uc-case__cites a {
  color: var(--teal-readable);
  text-decoration: none;
  border-bottom: 1px dotted rgba(0,122,106,0.35);
  padding-bottom: 1px;
  width: fit-content;
}
.uc-case__cites a:hover {
  color: var(--teal-deep);
  border-bottom-color: var(--teal-deep);
}
.uc-case.section--dark .uc-case__cites a {
  color: var(--teal);
  border-bottom-color: rgba(0,230,204,0.35);
}
.uc-case.section--dark .uc-case__cites a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

/* Mobile — stack, image first regardless of "reverse" */
@media (max-width: 820px) {
  .uc-case__grid,
  .uc-case--reverse .uc-case__grid {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  .uc-case__media img {
    min-height: 280px;
    max-height: 420px;
  }
}

/* ------------------------------------------------------------------ */
/* PULL QUOTE BAND                                                     */
/* ------------------------------------------------------------------ */
.uc-pullquote-band {
  background: #0A1F1F;
  padding: 120px 0;
  text-align: center;
}
.uc-pullquote-band__inner {
  max-width: 920px;
}
.uc-pullquote-band__mark {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(56px, 8vw, 88px);
  line-height: 0.6;
  color: #00E6CC;
  opacity: 0.9;
  margin: 0 0 14px;
}
.uc-pullquote-band__quote {
  margin: 0 auto 28px;
  padding: 0;
  max-width: 860px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  line-height: 1.4;
  color: rgba(240, 244, 244, 0.95);
  letter-spacing: -0.005em;
}
.uc-pullquote-band__attr {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(240, 244, 244, 0.55);
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* CTA — Teal Bubbles                                                  */
/* ------------------------------------------------------------------ */
.uc-cta {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 11vw, 140px) 0;
  color: var(--white);
  overflow: hidden;
}
.uc-cta__bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/pages/use-cases/teal-bubbles.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.uc-cta__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,31,31,0.94) 0%, rgba(10,31,31,0.78) 45%, rgba(10,31,31,0.45) 100%);
  z-index: -1;
}
.uc-cta__inner {
  max-width: 760px;
  text-align: left;
}
.uc-cta__eyebrow { color: var(--teal); }
.uc-cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}
.uc-cta h2 em { color: var(--teal); }
.uc-cta__sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.86);
  margin: 0 0 30px;
  max-width: 600px;
}
.uc-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
}

/* ------------------------------------------------------------------ */
/* SCIENCE HUB CROSS-LINK                                              */
/* ------------------------------------------------------------------ */
.uc-hub-cta {
  background: #FFFFFF;
  padding: 120px 0;
}
.uc-hub-cta__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.uc-hub-cta__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: #00E6CC;
  margin: 0 0 16px;
}
.uc-hub-cta__h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.4vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 24px;
}
.uc-hub-cta__body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 auto 40px;
}
.uc-hub-cta__buttons { margin: 0; }
