/* JWN inner pages. Loaded after homepage-v1.css, which holds the v2 tokens, header,
   footer and buttons. This file restyles the inner-page components in the same look. */

/* header logo (shared with homepage-v2): crop the PNG's transparent padding to the mark */
.brand__logo { display: block; width: 120px; aspect-ratio: 1881 / 717; overflow: hidden; }
.brand__logo img { width: 102.07%; height: auto; max-width: none; margin: -7.07% 0 0 -0.585%; display: block; }
@media (min-width: 1080px) { .brand__logo { width: 168px; } }
.site-nav a[aria-current="page"] { color: var(--color-clay); }

/* footer headshot beside "Let's stay connected!" */
.connect__head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.connect__head img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 50%; flex-shrink: 0; border: 2px solid rgba(247, 214, 220, .5); }
.connect__head .connect__title { margin: 0; }

/* generic section rhythm */
main > section { padding: var(--section-y) 0; position: relative; }
.band { background: var(--color-linen); }
.band-linen { background: var(--color-blush); }
.band-linen h2 { max-width: 24ch; }

/* page hero: same blush wash and pampas texture as the homepage hero, clears the overlaid header */
.page-hero {
  padding: 140px 0 56px !important;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(247, 214, 220, .55), transparent 70%),
    radial-gradient(50% 50% at 5% 90%, rgba(234, 213, 205, .5), transparent 70%),
    var(--color-bg);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/kaboompics39.webp") center / cover;
  opacity: .12;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.page-hero > .wrap { position: relative; }
.page-hero h1 em { color: var(--color-deep); }

/* labels and text */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--color-clay);
  margin: 0 0 14px;
}
.lede { font-size: 17px; color: var(--color-muted); max-width: 52ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
ul.plain { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 6px; font-size: 14px; color: var(--color-muted); }

/* layouts */
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.page-hero h1 { overflow-wrap: break-word; hyphens: auto; }
.grid { display: grid; gap: 20px; margin-top: 32px; }

/* photos: arched frames, as on the homepage */
.photo {
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 12px 12px;
  background: #EADDD6;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  padding: 16px;
  box-shadow: 0 24px 48px rgba(94, 51, 41, .12);
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}
.photo.wide { aspect-ratio: 3 / 2; border-radius: var(--radius-card); max-width: none; margin: 32px 0; }
.photo--img { padding: 0; overflow: hidden; }
.photo--img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* cards */
.card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 24px 48px rgba(94, 51, 41, .07);
  display: flex;
  flex-direction: column;
}
.card h3 { font-size: 24px; }
.card p { color: var(--color-muted); font-size: 14px; flex: 1; }
.card .btn { align-self: flex-start; margin-top: 8px; }
.num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--color-rose);
  margin-bottom: 8px;
}
.price { font-family: var(--font-display); font-size: 26px; color: var(--color-deep); margin: 4px 0 12px; }

/* credentials strip (About) */
.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  padding: 20px 0;
  margin-top: 24px;
  border-top: 1px solid rgba(176, 122, 110, .35);
  border-bottom: 1px solid rgba(176, 122, 110, .35);
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-deep);
}

/* long-form text (About story, legal, blog post) */
.prose { max-width: 70ch; }
.prose h2 { font-size: 30px; margin-top: 40px; }
.prose p { color: var(--color-muted); }
.notice {
  background: var(--color-blush);
  color: var(--color-deep);
  border-radius: var(--radius-card);
  padding: 16px 20px;
  font-size: 14px;
  margin: 16px 0;
}

/* Easy Perimenopause price tiers */
.tiers { display: grid; gap: 20px; margin-top: 32px; }
.tier {
  background: var(--color-white);
  border: 1px solid rgba(176, 122, 110, .3);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}
.tier.featured { border: 2px solid var(--color-deep); box-shadow: 0 24px 48px rgba(94, 51, 41, .12); }
.tier h3 { font-size: 24px; }
.tier .price { font-size: 40px; }
.tier p { color: var(--color-muted); font-size: 14px; }
.tier ul { padding-left: 18px; margin: 8px 0 20px; flex: 1; font-size: 14px; color: var(--color-muted); display: grid; gap: 6px; }

/* FAQ accordion */
details.faq { border-bottom: 1px solid rgba(176, 122, 110, .35); padding: 16px 0; }
details.faq summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 20px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: var(--font-body); font-size: 22px; color: var(--color-clay); }
details.faq[open] summary::after { content: "\2212"; }
details.faq p { margin: 8px 0 0; color: var(--color-muted); }

/* testimonials (inner pages): white cards with a clay rule */
.testimonial { background: var(--color-white); border-radius: var(--radius-card); padding: 28px; margin: 0; border-top: 3px solid var(--color-rose); }
.testimonial p { font-family: var(--font-display); font-style: italic; font-size: 20px; }
.testimonial cite { font-style: normal; font-size: 13px; color: var(--color-muted); }

/* forms */
.field textarea, .field select {
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(47, 42, 40, .25);
  background: var(--color-white);
  font: 400 15px var(--font-body);
  color: var(--color-text);
  width: 100%;
}
.field textarea { min-height: 140px; }
.field input { width: 100%; }
.search { display: flex; gap: 8px; max-width: 520px; margin-top: 20px; }
.search input {
  flex: 1;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(47, 42, 40, .25);
  background: var(--color-white);
  font: 400 15px var(--font-body);
  color: var(--color-text);
}

/* blog hubs, tiles, embeds */
.hubs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hubs a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(138, 82, 69, .35);
  color: var(--color-clay);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hubs a:hover { background: var(--color-clay); color: var(--color-white); }
.tile {
  display: block;
  background: var(--color-white);
  border-radius: var(--radius-card) var(--radius-card) var(--radius-card) 48px;
  padding: 24px;
  text-decoration: none;
  box-shadow: 0 24px 48px rgba(94, 51, 41, .07);
}
.tile h3 { font-size: 22px; margin-top: 8px; }
.tile:hover h3 { color: var(--color-clay); }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--color-clay); }
.embed {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  background: #EADDD6;
  color: var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 13px;
}

/* resources: featured book */
.book-feature {
  display: grid;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
  padding: 28px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: 0 24px 48px rgba(94, 51, 41, .08);
}
.book-feature__cover { width: 150px; aspect-ratio: 5 / 8; border-radius: 6px; overflow: hidden; transform: rotate(-3deg); box-shadow: 0 18px 30px rgba(94, 51, 41, .22); }
.book-feature__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.book-feature h2 { font-size: 34px; margin-bottom: 8px; }
.book-feature p { color: var(--color-muted); }

/* contact: round headshot */
.avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: 50% 35%; margin-bottom: 20px; box-shadow: 0 12px 24px rgba(94, 51, 41, .15); }

/* Easy Perimenopause: sticky booking bar on mobile */
.sticky-cta { display: none; }
@media (max-width: 1079px) {
  .sticky-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    padding: 12px 20px;
    background: var(--color-bg);
    box-shadow: 0 -8px 24px rgba(47, 42, 40, .1);
  }
  .sticky-cta .btn { flex: 1; }
}

@media (min-width: 720px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid.two { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .tiers { grid-template-columns: repeat(3, 1fr); }
  .tiers.tiers--two { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-left: auto; margin-right: auto; }
  .book-feature { grid-template-columns: auto 1fr; padding: 32px 48px; }
  .page-hero { padding: 160px 0 72px !important; }
}

/* search box: let the input shrink so the button stays on screen at 375px */
.search input { flex: 1; min-width: 0; }

/* portrait photo on inner pages: arch frame, centered */
.photo.portrait { aspect-ratio: 4 / 5; max-width: 420px; margin: 32px auto; border-radius: 999px 999px var(--radius-card) var(--radius-card); }

/* Nov 5 (Shaun video): About page tightening + centering */
.hero-sub { max-width: 52ch; color: var(--color-muted); margin-top: 12px; }
.creds-brief { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(176, 122, 110, .35); }
.creds-brief ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.creds-brief li { font-size: 14px; color: var(--color-deep); padding-left: 16px; position: relative; }
.creds-brief li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-rose); }
.prose--center { max-width: 62ch; margin-left: auto; margin-right: auto; }
.prose--center > h2 { text-align: center; }
mark.hl { background: linear-gradient(transparent 58%, rgba(214, 160, 150, .45) 58%); color: var(--color-deep); font-weight: 500; padding: 0 2px; }
.results-center { text-align: center; }
.results-center .results__intro { max-width: 48ch; margin: 8px auto 0; }
.results-center .stats { max-width: 960px; margin: 40px auto 0; }
.stat__def { display: block; max-width: 26ch; margin: 8px auto 0; font-size: 13px; line-height: 1.5; color: var(--color-muted); }
.stats__note { font-size: 12px; color: var(--color-muted); margin-top: 24px; }
.balance { padding-top: 24px !important; }
.center-cta { text-align: center; margin-top: 20px; }
.next-step { text-align: center; }
.next-step h2 { margin-left: auto; margin-right: auto; }
.ctas--center { justify-content: center; }

/* Nov 5 (Shaun video): Easy Perimenopause */
.tiers__note { margin-top: 16px; text-align: center; font-size: 14px; }
.guarantee { padding-top: 0 !important; }
.guarantee__box { max-width: 640px; margin: 0 auto; text-align: center; padding: 40px 28px; border: 1px solid rgba(176, 122, 110, .35); border-radius: var(--radius-card); background: var(--color-white, #fff); }
.guarantee__box h2 { font-size: clamp(26px, 4vw, 34px); margin: 8px auto 12px; max-width: 22ch; }
.guarantee__box p:last-child { color: var(--color-muted); margin: 0; }

/* Nov 5: GHL form embeds */
.form-embed { background: #fff; border-radius: var(--radius-card); overflow: hidden; box-shadow: 0 18px 40px rgba(94, 51, 41, .07); }
.form-embed iframe { display: block; width: 100%; height: 600px; border: 0; }

.video-embed{margin:20px 0;border-radius:14px;overflow:hidden;background:#000;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.video-embed video{display:block;width:100%;height:auto;aspect-ratio:16/9}

/* Programs page: colour-coded sections. Colours from Shaun's palette (Nov 11):
   dusty pink #E4BCC8, light blue #C1D9E4, navy #212B47, watermelon #D23B68, pink #E94782,
   light pink #F2EAE8, navy #253254, white. Buttons: watermelon + white text (4.6:1, passes AA). */
.prog { background: var(--sec-bg); }
.prog .eyebrow { color: var(--sec-ink); }
.prog .eyebrow::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--sec-accent); margin-right: 8px; vertical-align: 1px; }
.prog h2, .prog > .wrap > p { color: var(--sec-ink); }
.prog .card { border-top: 4px solid var(--sec-accent); }
.prog .card .num { color: #253254; }
.prog .btn--accent { background: #D23B68; color: #FFFFFF; box-shadow: 0 10px 24px rgba(33, 43, 71, .18); }
.prog .btn--accent:hover { background: #212B47; }
.prog .btn--ghost { color: #212B47; border-color: rgba(33, 43, 71, .35); }
.prog .btn--ghost:hover { background: #D23B68; border-color: #D23B68; color: #FFFFFF; }
.prog--flagship { --sec-bg: #E4BCC8; --sec-accent: #D23B68; --sec-ink: #212B47; } /* dusty pink + watermelon */
.prog--start    { --sec-bg: #F2EAE8; --sec-accent: #E94782; --sec-ink: #212B47; } /* light pink + pink */
.prog--reset    { --sec-bg: #C1D9E4; --sec-accent: #253254; --sec-ink: #212B47; } /* light blue + navy */
.prog--hormone  { --sec-bg: #212B47; --sec-accent: #E94782; --sec-ink: #FFFFFF; } /* navy + pink */
.prog--cta      { --sec-bg: #FFFFFF; --sec-accent: #D23B68; --sec-ink: #212B47; } /* white + watermelon */
.prog--hormone .muted { color: rgba(255,255,255,.8); }
.price-note { font-size: 13px; color: var(--color-muted); margin: -4px 0 0; flex: 0 !important; }
