/* ===== BRIANNA GREENSPAN — Design System ===== */
/* Inspired by yourbreakawake.com aesthetic */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Allura&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  /* ===== Brand palette (from the v2 style guide) =====
     Cool & calm: sky, periwinkle, lavender, pale-blue, slate, white. */
  --sky:         #93d8f1;   /* light cyan — gentle accent */
  --pale-blue:   #e6f4f7;   /* very pale icy blue — backgrounds */
  --periwinkle:  #8f9ae7;   /* medium periwinkle — primary actions */
  --lavender:    #d6daf7;   /* pale lavender — soft accents, surfaces */
  --slate:       #404b52;   /* dark slate — text, anchor color */
  --slate-dark:  #2c3438;   /* deeper slate — overlays, contrast */
  --slate-light: #6a7480;   /* lighter slate — secondary text */
  --periwinkle-deep: #6f7bd6; /* darker periwinkle — hover state */
  --white:       #ffffff;

  /* ===== Legacy aliases — kept so existing component CSS keeps working =====
     The names are no longer descriptive of color, but they map cleanly:
       navy*  -> slate (the dark anchor)
       orange -> periwinkle (primary accent / action)
       gold   -> sky (light accent)
       cream  -> pale-blue (warm bg -> cool bg)
  */
  --navy:        var(--slate);
  --navy-dark:   var(--slate-dark);
  --navy-light:  var(--slate-light);
  --charcoal:    var(--slate);
  --orange:      var(--periwinkle);
  --orange-hover:var(--periwinkle-deep);
  --gold:        var(--sky);
  --gold-light:  var(--lavender);
  --cream:       var(--pale-blue);
  --grey-light:  #f3f5fa;
  --grey-mid:    #dbe0ee;
  --grey-text:   #6b7480;
  --brown-warm:  var(--slate);

  /* ===== Typography (from the v2 style guide) =====
     Title:     DM Serif Display — chunky modern serif
     Subtitle:  DM Sans — clean, geometric, variable-width
     Secondary: Allura — flowing script (used for hero "Keep shining" etc.) */
  --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-script:  'Allura', 'Brush Script MT', cursive;

  --section-pad:  100px 0;
  /* Narrower max-width so content feels centered on common laptop widths
     (1280-1440px). At 1280 viewport we get ~120px gutters per side, which
     reads as a centered column instead of edge-to-edge. */
  --container:    1080px;
  --radius-pill:  50px;
  --radius-card:  16px;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  /* Padding scales smoothly with viewport. At very wide screens (>1200px)
     padding caps at 48px; on narrow screens it never goes below 22px. */
  padding: 0 clamp(22px, 4vw, 48px);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

.script-text {
  font-family: var(--font-script);
  font-style: normal;
  font-weight: 400;
  /* Allura runs small at the same px size as a serif — bump up to match */
  font-size: 1.45em;
  line-height: 1;
}

.caps-text {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(143, 154, 231, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(64, 75, 82, 0.3);
}

/* ---------- Announcement Bar ---------- */
.announcement-bar {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
}
.announcement-bar a {
  color: var(--gold-light);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.announcement-bar a:hover {
  color: var(--orange);
}

/* ---------- Navigation ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  transition: box-shadow var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  /* Match the .container padding scale so the logo aligns with section content */
  padding: 0 clamp(22px, 4vw, 48px);
  height: 75px;
  /* Slightly wider than .container so the nav has a touch more breathing room
     for the link list. Centered on the page. */
  max-width: 1180px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  width: 44px;   /* iOS HIG minimum tap target */
  height: 44px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease;
  transform-origin: center;
}
/* Three lines morph into an X when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 100vh;          /* fallback */
  min-height: 100dvh;          /* iOS Safari: use dynamic vh to avoid the URL-bar gap */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* All 3 hero photos are portrait — bias upward so Brianna's face stays visible
     when the viewport is wide and we're cropping vertically. */
  object-position: center 22%;
  opacity: 0.55;
  /* subtle slow zoom for visual interest */
  animation: heroZoom 14s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: opacity 0.2s linear; }
  .hero-slide img { animation: none; }
}

/* Hero slide indicator dots */
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 38px;
  height: 4px;
  border-radius: 2px;
  border: none;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), width var(--transition);
}
.hero-dot:hover { background: rgba(255,255,255,0.6); }
.hero-dot.is-active {
  background: var(--gold-light);
  width: 54px;
}
.hero-dot:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(44, 52, 56, 0.6) 0%,
    rgba(44, 52, 56, 0.3) 50%,
    rgba(44, 52, 56, 0.7) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

/* Stack the 3 text-slides on top of each other via grid; fade between them */
.hero-text-slides {
  display: grid;
  margin-bottom: 0;
}
.hero-text-slide {
  grid-area: 1 / 1;
  opacity: 0;
  /* Shorter cross-fade (0.55s) so we don't get a long stretch with two text
     slides both partially visible. The image-slide fade is still 1.2s but
     images cross-fading look natural; text cross-fading does not. */
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.hero-text-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .hero-text-slide { transition: opacity 0.2s linear; }
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.hero-content h1 .script-text {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--gold-light);
}

.hero-content .caps-text {
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.4rem);
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Testimonial Card in Hero */
.hero-testimonial {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 30px 40px;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-testimonial .stars {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.hero-testimonial blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 10px;
}

.hero-testimonial cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8rem;
  color: var(--grey-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- About / "The Why" Section ---------- */
.about-section {
  padding: var(--section-pad);
  background: var(--grey-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h4 {
  color: var(--orange);
  margin-bottom: 12px;
}
.about-text h2 {
  margin-bottom: 20px;
  color: var(--navy);
}
.about-text p {
  margin-bottom: 18px;
  color: var(--grey-text);
  font-size: 1rem;
}
.about-text .btn {
  margin-top: 10px;
}

.about-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image-wrapper img {
  border-radius: var(--radius-card);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  max-width: 100%;
  height: auto;
}

/* ---------- Books Section ---------- */
.books-section {
  padding: var(--section-pad);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.books-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}
.books-section .section-header h4 {
  color: var(--orange);
  margin-bottom: 10px;
}
.books-section .section-header h2 {
  color: var(--navy);
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 30px;
}
/* Default (homepage): only show first 6 books; positions 7+ revealed via 'See more' */
.books-grid .book-card:nth-child(n+7) {
  display: none;
}
/* Books page uses .is-expanded so all 8 show */
.books-grid.is-expanded .book-card:nth-child(n+7) {
  display: flex;
}

.books-load-more {
  margin-top: 40px;
  text-align: center;
}
.books-load-more-count {
  font-size: 0.72rem;
  opacity: 0.7;
  letter-spacing: 0;
  text-transform: none;
}

.book-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
}
.book-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.book-cover {
  background: var(--grey-light);
  padding: 28px 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.book-cover img {
  max-width: 90%;
  max-height: 260px;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.18));
  transition: transform 0.5s ease;
}
.book-card:hover .book-cover img {
  transform: translateY(-4px);
}
.book-card-content {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.book-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--navy);
  line-height: 1.3;
}
.book-card-content p {
  font-size: 0.88rem;
  color: var(--grey-text);
  margin-bottom: 16px;
  flex: 1;
}

.book-badge {
  display: inline-block;
  align-self: flex-start;
  background: #e63946;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.book-cta {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  transition: color var(--transition), transform var(--transition);
}
.book-card:hover .book-cta {
  color: var(--orange-hover);
  transform: translateX(4px);
}

/* Wavy divider */
.wave-divider {
  position: absolute;
  width: 100%;
  left: 0;
  overflow: hidden;
  line-height: 0;
}
.wave-divider.top { top: -1px; }
.wave-divider.bottom { bottom: -1px; }
.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
  padding: var(--section-pad);
  background: var(--white);
}

.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}
.testimonials-section .section-header h4 {
  color: var(--orange);
  margin-bottom: 10px;
}
.testimonials-section .section-header h2 {
  color: var(--navy);
}

.testimonials-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.testimonials-track::-webkit-scrollbar { display: none; }

.testimonial-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--grey-light);
  border-radius: var(--radius-card);
  padding: 36px;
  position: relative;
}
.testimonial-card .stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 20px;
}
.testimonial-card cite {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--grey-text);
}

/* ---------- Personal Intro / My Story ---------- */
.intro-section {
  padding: var(--section-pad);
  background: var(--white);
}

/* Diptych: Then -> Now, side by side */
.story-diptych {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 60px;
}

.story-panel {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.story-panel-img {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.story-panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-panel figcaption {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 12px;
}
.story-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
}
.story-caption {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--charcoal);
  max-width: 320px;
  margin: 0 auto;
}

.story-arrow {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  align-self: center;
  margin-bottom: 60px; /* push arrow up to roughly center on image, not caption */
  user-select: none;
}

.intro-text-wide {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.intro-text-wide .lead-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.5;
  color: var(--slate);
  margin: 0 auto 22px;
  max-width: 620px;
}
.intro-text-wide p em {
  font-style: italic;
  color: var(--periwinkle-deep);
  font-weight: 600;
}
.intro-text-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.intro-text-actions .btn { margin: 0; }
@media (max-width: 540px) {
  .intro-text-actions .btn,
  .intro-text-actions .btn-outline-dark { width: 100%; max-width: 340px; }
}

.intro-text h2 {
  color: var(--navy);
  margin-bottom: 20px;
}
.intro-text h2 .script-text {
  color: var(--orange);
}
.intro-text p {
  margin-bottom: 16px;
  color: var(--grey-text);
}

/* ---------- Offerings Grid ---------- */
.offerings-section {
  padding: var(--section-pad);
  background: var(--navy);
  color: var(--white);
}

.offerings-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}
.offerings-section .section-header h4 {
  color: var(--gold-light);
  margin-bottom: 10px;
}
.offerings-section .section-header h2 {
  color: var(--white);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.offering-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-card);
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition);
}
.offering-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.offering-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--orange);
  font-size: 1.5rem;
}

.offering-card h3 {
  margin-bottom: 12px;
  color: var(--white);
}
.offering-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}

/* ---------- BGI Impact Section ---------- */
.bgi-section {
  padding: var(--section-pad);
  background: var(--grey-light);
}

.bgi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.bgi-text h4 {
  color: var(--orange);
  margin-bottom: 12px;
}
.bgi-text h2 {
  color: var(--navy);
  margin-bottom: 20px;
}
.bgi-text p {
  color: var(--grey-text);
  margin-bottom: 16px;
}

.bgi-packages {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.package-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 24px 28px;
  border-left: 4px solid var(--orange);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform var(--transition);
}
.package-card:hover {
  transform: translateX(8px);
}
.package-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.package-card p {
  font-size: 0.85rem;
  color: var(--grey-text);
}
.package-card .price {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--orange);
  font-size: 1rem;
  margin-top: 8px;
}

/* ---------- Featured On / Media ---------- */
.media-section {
  padding: 60px 0;
  background: var(--white);
  border-top: 1px solid var(--grey-mid);
  border-bottom: 1px solid var(--grey-mid);
}

.media-section .section-header {
  text-align: center;
  margin-bottom: 40px;
}
.media-section .section-header h4 {
  color: var(--grey-text);
}

.media-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  opacity: 0.5;
}
.media-logos span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--charcoal);
  white-space: nowrap;
}

/* ---------- CTA Section ---------- */
.cta-section {
  padding: var(--section-pad);
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(143, 154, 231,0.15), transparent 70%);
  border-radius: 50%;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */
.footer {
  display: grid;
  grid-template-columns: 1fr;
}

.footer-newsletter {
  background: var(--brown-warm);
  padding: 60px 50px;
  color: var(--white);
}
.footer-newsletter h3 {
  color: var(--white);
  margin-bottom: 8px;
}
.footer-newsletter p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
}
.newsletter-form input {
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.15);
  color: var(--white);
  outline: none;
  transition: background var(--transition);
}
.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.5);
}
.newsletter-form input:focus {
  background: rgba(255,255,255,0.25);
}

.footer-links {
  background: var(--navy-dark);
  padding: 60px 50px;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.75rem;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.footer-bottom {
  background: var(--navy-dark);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom a {
  color: rgba(255,255,255,0.4);
}
.footer-bottom a:hover {
  color: var(--white);
}

/* ---------- Books footer note ---------- */
.books-footer {
  margin-top: 40px;
  text-align: center;
  color: var(--grey-text);
  font-size: 0.9rem;
}
.books-footer a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Section subhead (under section h2) ---------- */
.section-header .section-sub {
  margin-top: 14px;
  font-size: 1rem;
  color: var(--grey-text);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Podcasts Section ---------- */
.podcasts-section {
  padding: var(--section-pad);
  background: var(--white);
}
.podcasts-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}
.podcasts-section .section-header h4 { color: var(--orange); margin-bottom: 10px; }
.podcasts-section .section-header h2 { color: var(--navy); }

.podcasts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
/* Default: only show first 8 cards (7 regular podcasts + booking CTA at end).
   The .podcast-card-more (booking) stays visible always thanks to :not(). */
.podcasts-grid .podcast-card:nth-child(n+9):not(.podcast-card-more) {
  display: none;
}
/* Match the hide rule's specificity so .is-expanded actually overrides it */
.podcasts-grid.is-expanded .podcast-card:nth-child(n+9):not(.podcast-card-more) {
  display: flex;
}

.podcasts-load-more {
  margin-top: 44px;
  text-align: center;
}
.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  background: transparent;
  color: var(--slate);
  border: 2px solid var(--slate);
  cursor: pointer;
  transition: all var(--transition);
}
.btn-outline-dark:hover {
  background: var(--slate);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(64, 75, 82, 0.18);
}
.podcasts-load-more-count {
  font-size: 0.72rem;
  opacity: 0.7;
  letter-spacing: 0;
  text-transform: none;
}

.podcast-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--grey-mid);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}
.podcast-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.10);
  border-color: var(--orange);
}

.podcast-thumb {
  aspect-ratio: 1 / 1;
  background: var(--navy);
  overflow: hidden;
  position: relative;
}
.podcast-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.podcast-card:hover .podcast-thumb img {
  transform: scale(1.04);
}
.podcast-thumb-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: var(--navy);
  color: var(--gold-light);
}

.podcast-meta {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.podcast-card h3 {
  font-size: 1rem;
  color: var(--navy);
  margin: 10px 0 6px;
  line-height: 1.35;
}
.podcast-card p {
  font-size: 0.82rem;
  color: var(--grey-text);
  line-height: 1.5;
  margin-top: auto;
}

.podcast-tag {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(143, 154, 231,0.10);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* Booking CTA card — same structure as regular podcast cards (square thumb +
   meta below) so it sits naturally in the grid. Distinguished by a
   periwinkle meta box + sky-blue tag + arrow that slides on hover. */
.podcast-card-more {
  background: var(--white);
  border-color: var(--periwinkle);
}
.podcast-card-more .podcast-meta {
  background: var(--periwinkle);
  color: var(--white);
}
.podcast-card-more h3 {
  color: var(--white);
  font-family: var(--font-heading);
}
.podcast-card-more p {
  color: rgba(255,255,255,0.85);
}
.podcast-card-more .podcast-tag {
  color: var(--slate);
  background: var(--sky);
}
.podcast-card-more:hover {
  border-color: var(--periwinkle-deep);
  box-shadow: 0 18px 40px rgba(143, 154, 231, 0.30);
}
.podcast-card-more:hover .podcast-meta {
  background: var(--periwinkle-deep);
}
.podcast-card-more p span[aria-hidden] {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.podcast-card-more:hover p span[aria-hidden] {
  transform: translateX(6px);
}

/* ---------- Tools I've Tried Section ---------- */
.tools-section {
  padding: var(--section-pad);
  background: var(--cream);
}
.tools-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}
.tools-section .section-header h4 { color: var(--orange); margin-bottom: 10px; }
.tools-section .section-header h2 { color: var(--navy); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tool-card {
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.1);
}

.tool-thumb {
  aspect-ratio: 4 / 3;
  background: var(--grey-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tool-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}
.tool-card:hover .tool-thumb img { transform: scale(1.04); }
/* Logos (vs product photos) should sit on white with padding, not cropped */
.tool-thumb-logo {
  background: var(--white);
  padding: 28px;
}
.tool-thumb-logo img {
  object-fit: contain;
  transition: none;
}
.tool-card:hover .tool-thumb-logo img { transform: none; }

.tool-meta {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.tool-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.tool-card p {
  font-size: 0.9rem;
  color: var(--grey-text);
  margin-bottom: 18px;
  flex: 1;
}
.tool-cta {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--orange);
  transition: color var(--transition), transform var(--transition);
}
.tool-card:hover .tool-cta {
  color: var(--orange-hover);
  transform: translateX(4px);
}

.affiliate-code {
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.8rem;
  background: var(--navy);
  color: var(--gold-light);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.affiliate-disclosure {
  margin-top: 36px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey-text);
  font-style: italic;
}

/* ---------- Program CTA (Thriving Against All Odds) ---------- */
.program-cta {
  padding: var(--section-pad);
  background: var(--navy);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.program-cta::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(147, 216, 241,0.18), transparent 70%);
  border-radius: 50%;
}
.program-cta::after {
  content: '';
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(143, 154, 231,0.14), transparent 70%);
  border-radius: 50%;
}
.program-cta .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.program-cta h4 {
  color: var(--gold-light);
  margin-bottom: 12px;
}
.program-cta h2 {
  color: var(--white);
  margin-bottom: 18px;
}
.program-cta p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 32px;
  font-size: 1.05rem;
}
.program-cta-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Outlined button for use on dark backgrounds */
.btn-outline-on-dark {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
  cursor: pointer;
  display: inline-block;
}
.btn-outline-on-dark:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* ---------- Resources Strip ---------- */
.resources-strip {
  padding: 70px 0;
  background: var(--grey-light);
}
.resources-strip .section-header {
  text-align: center;
  margin-bottom: 32px;
}
.resources-strip .section-header h4 {
  color: var(--orange);
  margin-bottom: 0;
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.resource-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  border-left: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
  display: block;
  color: inherit;
}
.resource-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.resource-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.resource-card p {
  font-size: 0.85rem;
  color: var(--grey-text);
}

/* ---------- Podcast "Listen on..." Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 52, 56, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  cursor: pointer;
}

.modal-panel {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  padding: 36px 32px 32px;
  max-width: 440px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  text-align: center;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s ease;
}
.modal.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--grey-light);
  color: var(--charcoal);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: var(--navy);
  color: var(--white);
}

.modal-thumb {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: var(--radius-card);
  background: var(--grey-light);
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.modal-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.25;
}

.modal-sub {
  font-size: 0.9rem;
  color: var(--grey-text);
  margin-bottom: 24px;
}

.modal-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.listen-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}
.listen-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.listen-btn .listen-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.listen-btn-apple {
  background: #000;
  color: #fff;
}
.listen-btn-spotify {
  background: #1db954;
  color: #fff;
}
.listen-btn-youtube {
  background: #ff0033;
  color: #fff;
}
.listen-btn-other {
  background: var(--grey-light);
  color: var(--navy);
  border-color: var(--grey-mid);
}
.listen-btn-other:hover {
  background: var(--white);
  border-color: var(--orange);
}

.modal-note {
  margin-top: 18px;
  font-size: 0.75rem;
  color: var(--grey-text);
  font-style: italic;
  min-height: 1em;
}

@media (max-width: 480px) {
  .modal-panel { padding: 28px 22px 24px; }
  .modal-thumb { width: 100px; height: 100px; }
  .modal-title { font-size: 1.3rem; }
}

/* ---------- Announcement bar emphasis ---------- */
.announcement-bar em {
  font-style: italic;
  font-weight: 600;
}

/* ---------- BGI Impact Page ---------- */
.bgi-mission {
  padding: var(--section-pad);
  background: var(--white);
}
.bgi-mission-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.bgi-mission-text h4 { color: var(--periwinkle); margin-bottom: 12px; }
.bgi-mission-text h2 { color: var(--slate); margin-bottom: 22px; }
.bgi-mission-text p { color: var(--slate-light); margin-bottom: 18px; font-size: 1.02rem; }
.bgi-mission-text .btn { margin-top: 10px; }

.bgi-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.bgi-stat {
  background: var(--pale-blue);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  border: 1px solid var(--lavender);
}
.bgi-stat-num {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--periwinkle-deep);
  margin-bottom: 6px;
  line-height: 1.1;
}
.bgi-stat-label {
  font-size: 0.85rem;
  color: var(--slate);
  font-weight: 500;
  line-height: 1.4;
}

.bgi-pillar { padding: var(--section-pad); background: var(--white); }
.bgi-pillar-light { background: var(--pale-blue); }
.bgi-pillar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.bgi-pillar-grid-reverse .bgi-pillar-image { order: 0; }
.bgi-pillar-grid-reverse .bgi-pillar-text { order: 1; }
.bgi-pillar-text h4 { color: var(--periwinkle); margin-bottom: 12px; }
.bgi-pillar-text h2 { color: var(--slate); margin-bottom: 20px; }
.bgi-pillar-text p { color: var(--slate-light); margin-bottom: 18px; font-size: 1.02rem; }
.bgi-pillar-text .btn { margin-top: 10px; }
.bgi-pillar-image img {
  width: 100%;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 50px rgba(64, 75, 82, 0.15);
}

.bgi-testimonials { padding: var(--section-pad); background: var(--white); }
.bgi-testimonials .section-header { text-align: center; margin-bottom: 50px; }
.bgi-testimonials .section-header h4 { color: var(--periwinkle); margin-bottom: 10px; }
.bgi-testimonials .section-header h2 { color: var(--slate); }
.bgi-quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.bgi-quote {
  background: var(--pale-blue);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  margin: 0;
  border-left: 4px solid var(--periwinkle);
}
.bgi-quote blockquote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--slate);
  margin: 0 0 16px;
}
.bgi-quote figcaption {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--slate-light);
}

@media (max-width: 1024px) {
  .bgi-mission-grid,
  .bgi-pillar-grid { grid-template-columns: 1fr; gap: 40px; }
  .bgi-pillar-grid-reverse .bgi-pillar-image { order: -1; }
  .bgi-pillar-grid-reverse .bgi-pillar-text { order: 0; }
  .bgi-quotes { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .bgi-stats { grid-template-columns: 1fr; }
}

/* ---------- Active nav state ---------- */
.nav-links a.is-current {
  color: var(--periwinkle);
}
.nav-links a.is-current::after {
  width: 100%;
  background: var(--periwinkle);
}

/* ---------- Page Header (subpage hero band) ---------- */
.page-header {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--slate);
  padding: 80px 0 90px;
}
.page-header-compact {
  min-height: 280px;
  padding: 60px 0 70px;
}
.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.4;
}
.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(44, 52, 56, 0.55) 0%,
    rgba(44, 52, 56, 0.35) 50%,
    rgba(44, 52, 56, 0.75) 100%);
  z-index: 1;
}
.page-header-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 24px;
}
.page-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 18px;
}
.page-header h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  margin-bottom: 18px;
}
.page-header h1 .script-text { color: var(--sky); }
.page-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Long-form story prose ---------- */
.story-article {
  padding: 80px 0 90px;
  background: var(--white);
}
.story-prose {
  max-width: 720px;
}
.story-prose .lead {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--slate);
  margin-bottom: 28px;
}
.story-prose p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--slate);
  margin-bottom: 22px;
}
.story-prose h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--slate);
  margin: 56px 0 24px;
  position: relative;
  padding-left: 0;
}
.story-prose h2::before {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--periwinkle);
  margin-bottom: 18px;
  border-radius: 2px;
}
.story-prose strong {
  color: var(--slate);
  font-weight: 700;
}
.story-prose em {
  font-style: italic;
}
.story-prose .pull-quote {
  margin: 38px -8px;
  padding: 32px 32px 30px;
  background: var(--pale-blue);
  border-left: 4px solid var(--periwinkle);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
}
.story-prose .pull-quote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}
.story-prose .pull-quote-final {
  background: var(--slate);
  border-left-color: var(--sky);
}
.story-prose .pull-quote-final p {
  color: var(--white);
  font-style: normal;
  font-weight: 600;
}
.story-prose .story-emphasis {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.5;
  color: var(--periwinkle);
  text-align: center;
  margin: 32px 0;
}
.story-prose .story-image {
  margin: 40px 0;
  text-align: center;
}
.story-prose .story-image img {
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-card);
  box-shadow: 0 20px 50px rgba(64, 75, 82, 0.18);
  margin: 0 auto;
}
.story-prose .story-image figcaption {
  margin-top: 14px;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--slate-light);
}

/* ---------- Page CTA grid (cross-page navigation cards) ---------- */
.page-cta-grid {
  padding: var(--section-pad);
  background: var(--pale-blue);
}
.page-cta-grid .section-header {
  text-align: center;
  margin-bottom: 50px;
}
.page-cta-grid .section-header h4 { color: var(--periwinkle); margin-bottom: 10px; }
.page-cta-grid .section-header h2 { color: var(--slate); }
.page-cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.page-cta-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--grey-mid);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.page-cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(143, 154, 231, 0.18);
  border-color: var(--periwinkle);
}
.page-cta-card h3 {
  color: var(--slate);
  font-size: 1.25rem;
  margin-bottom: 4px;
}
.page-cta-card p {
  color: var(--slate-light);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
}
.page-cta-arrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--periwinkle);
  margin-top: 8px;
  transition: transform var(--transition);
}
.page-cta-card:hover .page-cta-arrow {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .page-header { min-height: 280px; padding: 64px 0 70px; }
  .page-header-compact { min-height: 220px; padding: 50px 0 56px; }
  .story-article { padding: 50px 0 60px; }
  .story-prose .pull-quote { margin: 28px 0; padding: 24px; }
  .story-prose h2 { margin: 40px 0 18px; }
  .page-cta-cards { grid-template-columns: 1fr; }
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  /* expo-ease-out curve for a softer settle */
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Page Load Entrance ---------- */
/* Sequenced slide/fade as the home page paints — announcement bar, then navbar,
   then hero text staggered. Replaces the immediate render with a 0.6s arrival. */
@keyframes pageSlideDown {
  from { opacity: 0; transform: translateY(-100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pageFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pageQuoteRise {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.announcement-bar {
  animation: pageSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.navbar {
  animation: pageSlideDown 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}
/* Hero content overrides the default .reveal so it can animate immediately on
   load instead of waiting for IntersectionObserver. */
.hero-content.reveal {
  animation: pageFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
  opacity: 0; /* sync starting state */
}
.hero-content.reveal.visible {
  /* IntersectionObserver still adds this, but the keyframe handles arrival */
  animation: pageFadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}
.hero-testimonial {
  animation: pageQuoteRise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: opacity 0.2s linear; transform: none; }
  .announcement-bar,
  .navbar,
  .hero-content.reveal,
  .hero-testimonial {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ---------- Touch device: disable sticky hover transforms ---------- */
@media (hover: none) {
  .book-card:hover,
  .podcast-card:hover,
  .tool-card:hover,
  .offering-card:hover,
  .resource-card:hover,
  .listen-btn:hover,
  .btn:hover,
  .btn-primary:hover,
  .btn-dark:hover {
    transform: none;
    box-shadow: inherit;
  }
  .book-card:hover .book-cover img,
  .podcast-card:hover .podcast-thumb img { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .resources-grid { grid-template-columns: 1fr; }
  .about-grid,
  .intro-grid,
  .bgi-grid { gap: 50px; }
}

/* Switch to mobile (hamburger) menu earlier — 7-link nav + logo + CTA doesn't fit comfortably below ~1080px */
@media (max-width: 1080px) {
  .nav-links {
    /* Always present in DOM for animation; hidden via clip-path + opacity when inactive */
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 16px 0 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    z-index: 999;
    gap: 0;
    /* Hidden state: clipped from the top + faded out */
    clip-path: inset(0 0 100% 0);
    opacity: 0;
    pointer-events: none;
    transition: clip-path 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease;
  }
  .nav-links.active {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 18px 24px;
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    letter-spacing: 1.4px;
  }
  .nav-links a::after { display: none; } /* drop underline indicator in mobile menu */
  /* The CONNECT CTA is hidden on mobile — the Contact link in the menu serves
     the same purpose and keeps the menu layout clean. */
  .nav-cta {
    display: none;
  }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  :root { --section-pad: 64px 0; }
  .container { padding: 0 22px; }

  /* Grids */
  .about-grid,
  .intro-grid,
  .bgi-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-image-wrapper { order: -1; }
  .story-diptych {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 36px;
  }
  .story-arrow {
    transform: rotate(90deg);
    margin-bottom: 0;
    text-align: center;
    font-size: 1.8rem;
  }
  .story-panel-img { aspect-ratio: 4 / 5; max-width: 420px; margin: 0 auto; width: 100%; }
  .story-caption { font-size: 0.95rem; }
  .offerings-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .book-cover { padding: 22px 18px 16px; min-height: 220px; }
  .book-cover img { max-height: 200px; }
  .book-card-content { padding: 18px 20px 22px; }
  .book-card-content h3 { font-size: 1rem; }
  .podcasts-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .podcast-meta { padding: 14px 14px 18px; }
  .podcast-card h3 { font-size: 0.92rem; }
  .podcast-card p { font-size: 0.75rem; }
  .podcast-tag { font-size: 0.58rem; padding: 3px 8px; }
  .program-cta-buttons .btn,
  .program-cta-buttons .btn-outline-on-dark { width: 100%; }
  .footer { grid-template-columns: 1fr; }

  /* Hero */
  .hero-testimonial { padding: 22px 24px; max-width: 92vw; }
  .hero-testimonial blockquote { font-size: 0.95rem; line-height: 1.55; }
  .hero-content { padding: 0 18px; }

  /* Sections rhythm */
  .section-header { margin-bottom: 36px; }
  .section-header .section-sub { font-size: 0.92rem; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 300px; }
}

@media (max-width: 480px) {
  :root { --section-pad: 52px 0; }

  .nav-inner { padding: 0 18px; gap: 12px; }
  .nav-logo { font-size: 1.05rem; }
  .hero-content h1 { font-size: 2.1rem; }
  .hero-content h1 .script-text { font-size: 1.85rem; }
  .hero-content .caps-text { font-size: 0.78rem; letter-spacing: 2px; }
  .hero-testimonial { padding: 20px 22px; }
  .hero-testimonial blockquote { font-size: 0.9rem; }
  .hero-dots { bottom: 18px; }
  .hero-dot { width: 28px; }
  .hero-dot.is-active { width: 40px; }
  .btn { padding: 14px 28px; font-size: 0.78rem; min-height: 44px; }
  .offering-card { padding: 28px 22px; }

  /* Two-column books grid feels cramped below 420px — collapse to one */
  .books-grid { grid-template-columns: 1fr; gap: 16px; }
  .book-cover { min-height: 260px; }
  .book-cover img { max-height: 240px; }
  .podcasts-grid { grid-template-columns: 1fr; }

  /* Program CTA: tighter spacing */
  .program-cta { padding: 56px 0; }
  .program-cta h2 { font-size: 1.7rem; }
  .program-cta p { font-size: 0.95rem; margin-bottom: 24px; }

  .footer-newsletter,
  .footer-links { padding: 36px 22px; }
  .footer-bottom { padding: 14px 22px; flex-direction: column; gap: 6px; text-align: center; }
}
