/* ──────────────────────────────────────────────────────────────
   BCB — Sleep Consulting page CSS
   Loads automatically by the slug-match auto-loader on
   /services/sleep-consulting/.
   All selectors scoped to body.page-sleep-consulting so utility
   class names (.eyebrow, .h2-pink, .body-lg, .sec, .closer, .help,
   .scope, etc.) cannot bleed into other pages that reuse the same
   names.
   Global resets, :root, .nav, .crumb, .foot, and .hub-subnav rules
   are dropped (those live in the global theme CSS). No Fraunces /
   no SOFT axis; all brand color resolved through var() tokens.
   ────────────────────────────────────────────────────────────── */

body.page-sleep-consulting {
  font-family: var(--font-sans);
  color: var(--navy-500);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* shared section system */
body.page-sleep-consulting .sec { padding: clamp(48px, 6vw, 80px) 32px; background: transparent; }
body.page-sleep-consulting .sec--lg { padding: clamp(64px, 9vw, 112px) 32px; }
body.page-sleep-consulting .sec--sm { padding: clamp(36px, 5vw, 56px) 32px; }
body.page-sleep-consulting .inner { max-width: 1180px; margin: 0 auto; }
body.page-sleep-consulting .inner--narrow { max-width: 900px; }
body.page-sleep-consulting .inner--prose { max-width: 760px; margin: 0 auto; }
body.page-sleep-consulting .eyebrow { font-family: var(--font-accent); font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-500); margin: 0 0 16px; }
body.page-sleep-consulting .h2-pink { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.14; letter-spacing: -0.02em; color: var(--pink-500); margin: 0 0 18px; text-wrap: balance; }
body.page-sleep-consulting .body-lg { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.65; color: var(--navy-500); margin: 0 0 18px; text-wrap: pretty; }

/* ─── Hero: split layout (text + photo card) ────────────────
   Uses generic .hero prefix; scoped to body.page-sleep-consulting.
   ──────────────────────────────────────────────────────────── */
body.page-sleep-consulting .hero {
  padding: clamp(22px, 3.4vw, 44px) 24px clamp(14px, 2.2vw, 24px);
  background: transparent;
}
body.page-sleep-consulting .hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
body.page-sleep-consulting .hero__text { max-width: 580px; }
body.page-sleep-consulting .hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.06; letter-spacing: -0.025em;
  color: var(--pink-500);
  margin: 0 0 18px;
  text-wrap: balance;
}
body.page-sleep-consulting .hero__sub {
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.42;
  color: var(--navy-700);
  margin: 0 0 18px;
  font-weight: 500;
  text-wrap: pretty;
}
body.page-sleep-consulting .hero__body {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
  color: var(--navy-500);
  margin: 0 0 16px;
  text-wrap: pretty;
}
body.page-sleep-consulting .hero__body + .hero__body { margin-top: 16px; }

body.page-sleep-consulting .hero__media {
  height: clamp(220px, 30vw, 340px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--sky-soft, #E8F4FA);
  box-shadow: var(--shadow-photo);
  position: relative;
}
body.page-sleep-consulting .hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  display: block;
}

/* ─── On-this-page chips, living inside the hero ─────────────── */
body.page-sleep-consulting .hero__toc {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 9px;
  margin-top: clamp(16px, 2vw, 22px);
}
body.page-sleep-consulting .hero__toc-label {
  font-family: var(--font-accent);
  font-weight: 700; font-size: 11.5px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--navy-400);
  flex-basis: 100%; margin: 0 0 8px;
}
body.page-sleep-consulting .hero__toc-chip {
  font-family: var(--font-sans);
  font-weight: 600; font-size: 13.5px;
  color: var(--navy-600);
  text-decoration: none;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(62, 80, 104, 0.14);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
body.page-sleep-consulting .hero__toc-chip:hover {
  background: #fff;
  color: var(--pink-600);
  border-color: var(--pink-200);
}

/* Jump targets clear the fixed nav + hub-subnav strip. */
body.page-sleep-consulting #sleep-what-we-help,
body.page-sleep-consulting #sleep-approach,
body.page-sleep-consulting #sleep-how-it-works,
body.page-sleep-consulting #sleep-insurance { scroll-margin-top: 130px; }

/* ─── Lead intro: longer opening moved down from the hero ─── */
body.page-sleep-consulting .hero-intro {
  padding: clamp(24px, 3vw, 40px) 24px clamp(8px, 1.5vw, 16px);
}
body.page-sleep-consulting .hero-intro .hero__body {
  font-size: clamp(16px, 1.15vw, 17.5px);
  line-height: 1.7;
}
body.page-sleep-consulting .hero-intro .hero__body + .hero__body { margin-top: 16px; }

/* ─── WHAT WE HELP WITH ─── */
body.page-sleep-consulting .help { background: transparent; padding: clamp(56px, 8vw, 88px) 32px; }
body.page-sleep-consulting .help__inner { max-width: 980px; margin: 0 auto; }
body.page-sleep-consulting .help__group { margin-top: 28px; }
body.page-sleep-consulting .help__group:first-of-type { margin-top: 24px; }
body.page-sleep-consulting .help__group-head { font-family: var(--font-display); font-weight: 800; font-size: 18px; line-height: 1.2; letter-spacing: -0.012em; color: var(--navy-700); margin: 0 0 12px; }
body.page-sleep-consulting .help__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 720px) { body.page-sleep-consulting .help__list { grid-template-columns: 1fr; } }
body.page-sleep-consulting .help__list li { padding: 16px 20px 16px 44px; background: var(--white); border-radius: var(--radius-md); position: relative; font-size: 14.8px; line-height: 1.55; color: var(--navy-700); box-shadow: var(--shadow-xs); }
body.page-sleep-consulting .help__list li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink-100); border: 2px solid var(--pink-500); }
body.page-sleep-consulting .help__list li a { color: var(--pink-600); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(194,99,138,0.30); padding-bottom: 1px; }
body.page-sleep-consulting .help__list li a:hover { color: var(--pink-700); border-color: var(--pink-500); }

/* ─── OUR APPROACH (card) ─── */
body.page-sleep-consulting .approach-card { padding: 40px 36px; }
body.page-sleep-consulting .approach-card h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -0.018em; color: var(--navy-700); margin: 0 0 16px; }
body.page-sleep-consulting .approach-card p { font-size: 15.5px; line-height: 1.65; color: var(--navy-500); margin: 0 0 14px; }
body.page-sleep-consulting .csi-badge { display: flex; align-items: center; gap: 14px; padding: 14px 18px; background: var(--sky-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin: 22px 0 4px; }
body.page-sleep-consulting .csi-badge img { width: 64px; height: 64px; flex-shrink: 0; object-fit: contain; }
body.page-sleep-consulting .csi-badge__txt { font-family: var(--font-accent); font-weight: 700; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sky-800); line-height: 1.4; }
body.page-sleep-consulting .csi-badge__txt strong { display: block; color: var(--navy-700); font-size: 13px; margin-bottom: 2px; }

/* ─── SCOPE NOTE ─── */
body.page-sleep-consulting .scope { padding: clamp(40px, 5vw, 64px) 32px; }
body.page-sleep-consulting .scope__inner { max-width: 980px; margin: 0 auto; }
body.page-sleep-consulting .scope__card { padding: 32px 32px; background: var(--card-lift-bg); backdrop-filter: blur(4px); border-radius: var(--radius-xl); border-left: 4px solid var(--pink-400); box-shadow: var(--shadow-card-lift); }
body.page-sleep-consulting .scope__card h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2vw, 24px); line-height: 1.2; letter-spacing: -0.015em; color: var(--navy-700); margin: 0 0 14px; }
body.page-sleep-consulting .scope__card p { font-size: 15px; line-height: 1.65; color: var(--navy-500); margin: 0 0 12px; }
body.page-sleep-consulting .scope__card p:last-child { margin-bottom: 0; }

/* ─── SITUATIONS / COMMON REASONS LIST ─── */
body.page-sleep-consulting .scen__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 720px) { body.page-sleep-consulting .scen__list { grid-template-columns: 1fr; } }
body.page-sleep-consulting .scen__list li { padding: 16px 20px 16px 44px; background: rgba(255,255,255,0.82); border-radius: var(--radius-md); position: relative; font-size: 14.8px; color: var(--navy-700); line-height: 1.55; border: 1px solid rgba(31,45,64,0.05); }
body.page-sleep-consulting .scen__list li::before { content: ""; position: absolute; left: 20px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--pink-100); border: 2px solid var(--pink-500); }

/* ─── HOW IT WORKS ─── */
body.page-sleep-consulting .how__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
@media (max-width: 880px) { body.page-sleep-consulting .how__grid { grid-template-columns: 1fr; } }
body.page-sleep-consulting .step-card { padding: 28px 26px; }
body.page-sleep-consulting .step-card__num { font-family: var(--font-accent); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-500); margin: 0 0 10px; }
body.page-sleep-consulting .step-card h4 { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--navy-700); margin: 0 0 10px; letter-spacing: -0.012em; }
body.page-sleep-consulting .step-card p { font-size: 14.5px; line-height: 1.6; color: var(--navy-500); margin: 0; }

/* ─── AVAILABILITY PILL ─── */
body.page-sleep-consulting .avail-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 8px 14px; background: var(--sky-soft); color: var(--sky-800); border-radius: var(--radius-pill); font-family: var(--font-accent); font-weight: 700; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; }
body.page-sleep-consulting .avail-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky-800); }

/* ─── INSURANCE CARD ─── */
body.page-sleep-consulting .ins-card { padding: 36px 32px; max-width: 760px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
@media (max-width: 720px) { body.page-sleep-consulting .ins-card { grid-template-columns: 1fr; } }
body.page-sleep-consulting .ins-card__eyebrow { font-family: var(--font-accent); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink-500); margin: 0 0 8px; }
body.page-sleep-consulting .ins-card__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--navy-700); margin: 0 0 10px; letter-spacing: -0.015em; }
body.page-sleep-consulting .ins-card__body { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--navy-500); }

/* ─── CLOSER → LIGHT frosted card + Case-A fade (enabled below). Was a navy band. ─── */
body.page-sleep-consulting .closer { position: relative; background: transparent; color: var(--navy-500); padding: clamp(48px, 7vw, 80px) 24px; }
body.page-sleep-consulting .footer-ombre-blend { display: block; }
body.page-sleep-consulting .closer__inner { max-width: 760px; margin: 0 auto; text-align: center; background: var(--card-lift-bg); backdrop-filter: var(--card-lift-blur); -webkit-backdrop-filter: var(--card-lift-blur); border: 1px solid rgba(255,255,255,0.6); border-radius: var(--radius-xl); padding: clamp(40px,5.5vw,60px) clamp(28px,4vw,48px); box-shadow: 0 18px 50px -28px rgba(41,52,72,0.35); }
body.page-sleep-consulting .closer .eyebrow { color: var(--pink-600); }
body.page-sleep-consulting .closer h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.14; letter-spacing: -0.02em; color: var(--navy-700); margin: 0 0 18px; text-wrap: balance; }
body.page-sleep-consulting .closer p { font-size: clamp(15px, 1.05vw, 17px); line-height: 1.65; color: var(--navy-500); margin: 0 0 24px; }

/* ─── @880 mobile: single column, centered header.
   display:contents flattens the text wrapper so the chip row can
   reorder below the photo. ──────────────────────────────────── */
@media (max-width: 880px) {
  body.page-sleep-consulting .hero { padding-top: clamp(14px, 3vw, 22px); }
  body.page-sleep-consulting .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }
  body.page-sleep-consulting .hero__text { display: contents; }
  body.page-sleep-consulting .eyebrow  { margin-bottom: 8px; }
  body.page-sleep-consulting .hero__title  { margin-bottom: 10px; }
  body.page-sleep-consulting .hero__sub    { margin-bottom: 18px; }
  body.page-sleep-consulting .hero__media { width: 100%; }
  body.page-sleep-consulting .hero__toc {
    order: 1;
    justify-content: center;
    gap: 6px;
    margin-top: clamp(14px, 3vw, 18px);
  }
  body.page-sleep-consulting .hero__toc-label { width: 100%; text-align: center; margin: 0 0 2px; }
  body.page-sleep-consulting .hero__toc-chip { font-size: 12px; padding: 6px 12px; }
}

/* ─── Phone-width centering: section headers, short ledes, ins actions.
   Multi-line body copy and lists stay left-aligned for readability. ─── */
@media (max-width: 760px) {
  body.page-sleep-consulting .help .eyebrow,
  body.page-sleep-consulting .help .h2-pink,
  body.page-sleep-consulting .help .body-lg,
  body.page-sleep-consulting #sleep-approach .eyebrow,
  body.page-sleep-consulting #sleep-approach .h2-pink,
  body.page-sleep-consulting #sleep-how-it-works .eyebrow,
  body.page-sleep-consulting #sleep-how-it-works .h2-pink,
  body.page-sleep-consulting #sleep-insurance .ins-card__eyebrow,
  body.page-sleep-consulting .scope .scope__card,
  body.page-sleep-consulting .sec--sm .eyebrow,
  body.page-sleep-consulting .sec--sm .h2-pink,
  body.page-sleep-consulting .sec--sm .body-lg { text-align: center; }
  body.page-sleep-consulting .ins-card { text-align: center; }
  body.page-sleep-consulting .ins-card { align-items: center; justify-content: center; }
}
