/* =========================================================
   THE GENIUS OF HOME — Bold Edition
   Edgy · Colorful · Professional · Animated
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&family=Space+Grotesk:wght@500;700&display=swap');

/* ── Custom Properties ─────────────────────────────────── */
:root {
  /* Core Palette — punchy, saturated */
  --cream:          #FDFAF3;
  --cream-dark:     #F2EAD6;
  --cream-mid:      #F8F2E6;
  --green-dark:     #165C34;
  --green-mid:      #28784E;
  --green-light:    #60B07C;
  --green-pale:     #C0DFCC;
  --fire:           #E83A1F;   /* primary punch */
  --fire-lt:        #FF6045;
  --amber:          #F5A200;   /* vivid gold */
  --amber-light:    #FFD060;
  --amber-pale:     #FBF0CE;
  --teal:           #0097A7;   /* electric teal */
  --teal-dark:      #006D78;
  --violet:         #5230A0;   /* deep purple */
  --violet-light:   #8060CC;
  --navy:           #081628;   /* near-black navy (text) */
  --navy-mid:       #132843;
  --royal:          #1C4488;   /* strong navy blue — panels & chrome */
  --royal-deep:     #14356C;
  --text:           #18130E;
  --text-mid:       #4A4238;
  --text-light:     #8A8279;
  --white:          #FFFFFF;
  --border:         #DDD5C0;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(8,22,40,.1);
  --shadow-md:    0 6px 28px rgba(8,22,40,.16);
  --shadow-lg:    0 16px 56px rgba(8,22,40,.22);
  --shadow-hover: 0 24px 64px rgba(8,22,40,.30);
  --glow-fire:    0 0 32px rgba(232,58,31,.55);
  --glow-amber:   0 0 32px rgba(245,162,0,.5);
  --glow-teal:    0 0 32px rgba(0,151,167,.45);

  /* Typography */
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Lato', 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --nav-h:    72px;
  --ease:     cubic-bezier(.25,.46,.45,.94);
  --bounce:   cubic-bezier(.34,1.56,.64,1);
  --r:        12px;
  --r-lg:     20px;
  --r-pill:   100px;
  --max-w:    1180px;
}

/* ── Keyframe Animations ───────────────────────────────── */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

@keyframes gradient-pan {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes pulse-fire {
  0%, 100% { box-shadow: 0 4px 16px rgba(232,58,31,.4); }
  50%       { box-shadow: 0 6px 36px rgba(232,58,31,.75), 0 0 0 8px rgba(232,58,31,.1); }
}

@keyframes pulse-amber {
  0%, 100% { box-shadow: 0 4px 16px rgba(245,162,0,.4); }
  50%       { box-shadow: 0 6px 36px rgba(245,162,0,.7), 0 0 0 8px rgba(245,162,0,.1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-18px) rotate(3deg); }
  66%       { transform: translateY(-8px) rotate(-2deg); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) scale(1); }
  50%       { transform: translateY(-22px) scale(1.04); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes spin-reverse {
  from { transform: rotate(0deg); }
  to   { transform: rotate(-360deg); }
}

@keyframes draw-line {
  from { width: 0; opacity: 0; }
  to   { width: 64px; opacity: 1; }
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(.8) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes slide-left {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes number-count {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce-y {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* ── 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);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── Layout ────────────────────────────────────────────── */
.container {
  width: min(var(--max-w), 92%);
  margin-inline: auto;
}
.section-pad    { padding: 88px 0; }
.section-pad-sm { padding: 56px 0; }

/* ── Typography ────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem);  font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 700; }
p  { font-size: clamp(1rem, 1.8vw, 1.1rem); line-height: 1.82; }

.eyebrow {
  font-family: var(--font-accent);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fire);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
}

/* ── Gradient Text ─────────────────────────────────────── */
.grad-text {
  background: linear-gradient(135deg, var(--fire), var(--amber), var(--fire-lt));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3.5s linear infinite;
}

.grad-text-teal {
  background: linear-gradient(135deg, var(--teal), var(--green-mid), var(--teal));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ── Divider ───────────────────────────────────────────── */
.divider {
  height: 4px;
  width: 64px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--fire), var(--amber));
  margin: 16px 0 32px;
  animation: draw-line .8s var(--ease) both;
}
.divider-center { margin-inline: auto; }
.divider-teal   { background: linear-gradient(90deg, var(--teal), var(--green-mid)); }
.divider-white  { background: linear-gradient(90deg, rgba(255,255,255,.8), rgba(255,208,96,.6)); }

/* ── Clip-path Diagonal Sections ───────────────────────── */
.clip-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 56px), 0 100%);
  padding-bottom: calc(88px + 56px);
}
.clip-top {
  clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(88px + 56px);
  margin-top: -56px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: var(--r-pill);
  font-family: var(--font-accent);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
  border: none;
  transition: transform .25s var(--bounce), box-shadow .25s var(--ease);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  opacity: 0;
  transition: opacity .2s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--fire) 0%, #C02B12 100%);
  color: var(--white);
  animation: pulse-fire 2.8s ease-in-out infinite;
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  animation: none;
  box-shadow: var(--glow-fire);
}

.btn-secondary {
  background: var(--white);
  color: var(--green-dark);
  border: 2.5px solid var(--green-dark);
  animation: none;
}
.btn-secondary:hover {
  background: var(--green-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-amber {
  background: linear-gradient(135deg, var(--amber) 0%, #C07800 100%);
  color: var(--white);
  animation: pulse-amber 3s ease-in-out infinite;
}
.btn-amber:hover {
  transform: translateY(-3px) scale(1.03);
  animation: none;
  box-shadow: var(--glow-amber);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: var(--white);
}
.btn-teal:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--glow-teal);
}

.btn-outline-white {
  background: rgba(255,255,255,.08);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.65);
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.2);
  border-color: var(--white);
  transform: translateY(-3px);
}

/* ── Navigation ────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  /* No backdrop-filter here: it would make the nav the containing block for
     the fixed-position mobile menu, collapsing it to zero height. */
  background: rgb(20, 53, 108);
  height: var(--nav-h);
  position: sticky;          /* keep sticky */
}

/* Rainbow gradient accent bar across the bottom of nav */
.site-nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--fire), var(--amber), var(--teal), var(--violet-light), var(--fire));
  background-size: 300% auto;
  animation: shimmer 5s linear infinite;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo { display: flex; flex-direction: column; gap: 1px; text-decoration: none; }

.nav-logo-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .01em;
  line-height: 1.2;
}

.nav-logo-sub {
  font-family: var(--font-accent);
  font-size: .65rem;
  font-weight: 500;
  color: var(--amber-light);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  position: relative;
  display: block;
  padding: 8px 12px;
  font-family: var(--font-accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  border-radius: var(--r);
  transition: color .2s;
}

/* Animated underline slides in from left on hover */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px; right: 12px;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(90deg, var(--amber-light), var(--fire));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--amber-light); }
.nav-links a.active::after { transform: scaleX(1); background: var(--amber-light); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s var(--ease);
}

.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  inset: var(--nav-h) 0 0;
  background: var(--royal-deep);
  padding: 32px 24px;
  gap: 4px;
  overflow-y: auto;
}
.nav-open .nav-links a { font-size: 1.05rem; padding: 14px 16px; width: 100%; }

/* The lyre button/hint (injected at body level, z-index 9999) would float
   over the open mobile menu */
.site-nav.nav-open ~ .lyre-toggle,
.site-nav.nav-open ~ .lyre-hint { visibility: hidden; }

/* ── Page Banner ───────────────────────────────────────── */
.page-banner {
  background: var(--royal-deep);
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}

/* Animated gradient bg on page banners */
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg,
    var(--royal-deep) 0%, var(--green-mid) 30%, var(--royal) 60%, var(--teal) 100%);
  background-size: 400% 400%;
  animation: gradient-pan 10s ease infinite;
  opacity: .85;
}

/* Decorative diagonal stripe overlay */
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,.025) 40px,
    rgba(255,255,255,.025) 80px
  );
}

.page-banner-content {
  position: relative;
  z-index: 2;
}
.page-banner .eyebrow { color: var(--amber-light); margin-bottom: 10px; }
.page-banner h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  margin-bottom: 14px;
  text-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.page-banner p {
  color: rgba(255,255,255,.82);
  font-size: 1.1rem;
  max-width: 580px;
  line-height: 1.7;
}

/* ── Hero Section ──────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(520px, 78vh, 860px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/classroom2.jpg');
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
  transition: transform 10s ease;
}
.hero:hover .hero-bg { transform: scale(1); }

/* Near-invisible overlay — photo shows at full brightness */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,.15) 0%,
    rgba(0,0,0,.04) 50%,
    transparent 100%
  );
}

/* Floating decorative rings */
.hero-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-ring-1 {
  width: 300px; height: 300px;
  right: 6%; top: 10%;
  border: 2.5px solid rgba(255,208,96,.3);
  animation: spin-slow 28s linear infinite;
}
.hero-ring-1::before {
  content: '';
  position: absolute;
  inset: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,208,96,.18);
}
.hero-ring-2 {
  width: 160px; height: 160px;
  right: 14%; bottom: 18%;
  background: radial-gradient(circle, rgba(0,151,167,.25) 0%, transparent 70%);
  animation: float-slow 7s ease-in-out infinite;
}
.hero-ring-3 {
  width: 80px; height: 80px;
  left: 3%; bottom: 30%;
  border: 2px solid rgba(232,58,31,.3);
  animation: spin-reverse 20s linear infinite;
}

/* Strong navy-blue card behind the hero text — photo reads bright everywhere else */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
  background: linear-gradient(150deg, rgba(28,68,136,.94) 0%, rgba(20,53,108,.92) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,.18);
  border-left: 4px solid var(--amber);
  padding: 48px 52px;
  box-shadow: 0 24px 64px rgba(8,22,40,.35);
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 16px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5.8rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .04em;
  margin-bottom: 14px;
  text-shadow:
    0 2px 28px rgba(0,0,0,.6),
    0 1px 6px  rgba(0,0,0,.35);
}

/* Bold yellow italic — "Genius" */
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-light);
  -webkit-text-fill-color: var(--amber-light);
  text-shadow:
    0 2px 24px rgba(0,0,0,.5),
    0 0  40px rgba(245,162,0,.35);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.92);
  margin-bottom: 36px;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.6);
  font-family: var(--font-accent);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  animation: bounce-y 2.2s ease-in-out infinite;
}
.hero-scroll svg { width: 20px; height: 20px; }

/* ── Stats Strip ───────────────────────────────────────── */
.stats-strip {
  background: var(--amber-pale);
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}

.stats-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg,
    var(--amber-pale) 0%, var(--cream) 35%, var(--green-pale) 65%, var(--cream-dark) 100%);
  background-size: 400% 400%;
  animation: gradient-pan 9s ease infinite;
  opacity: .8;
}

/* Diagonal stripe overlay */
.stats-strip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -60deg,
    transparent, transparent 30px,
    rgba(8,22,40,.02) 30px, rgba(8,22,40,.02) 60px
  );
}

.stats-tagline {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 400;
  font-style: italic;
  color: var(--royal-deep);
  text-align: center;
  letter-spacing: .03em;
  margin: 0 0 32px;
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  border-top: 1px solid rgba(8,22,40,.12);
  padding-top: 28px;
}

.stat-item {
  padding: 8px;
}

.stat-num {
  display: block;
  font-family: var(--font-accent);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--royal);
  letter-spacing: .04em;
}
.stat-item:nth-child(1) .stat-num { color: var(--fire); }
.stat-item:nth-child(2) .stat-num { color: var(--teal-dark); }
.stat-item:nth-child(3) .stat-num { color: #C07800; }
.stat-item:nth-child(4) .stat-num { color: var(--green-dark); }

.stat-label {
  font-family: var(--font-accent);
  font-size: .72rem;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
}

/* ── Book Intro ────────────────────────────────────────── */
.book-intro {
  background: var(--cream);
  padding: 100px 0;
  position: relative;
}

/* Large decorative background letter */
.book-intro::before {
  content: '"';
  position: absolute;
  top: -40px;
  right: 0;
  font-family: var(--font-head);
  font-size: 28rem;
  color: rgba(22,92,52,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.book-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.book-cover-wrap {
  position: relative;
}
.book-cover-wrap img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  transform: rotate(-2deg);
  transition: transform .5s var(--bounce), box-shadow .4s var(--ease);
}
.book-cover-wrap:hover img {
  transform: rotate(0deg) scale(1.03);
  box-shadow: var(--shadow-hover);
}

/* Bold accent band behind book cover */
.book-cover-accent {
  position: absolute;
  bottom: -12px;
  left: -12px;
  right: 12px;
  top: 12px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--fire), var(--amber));
  z-index: -1;
  opacity: .7;
}

.book-cover-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, var(--amber), var(--fire));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-accent);
  font-size: .7rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.35;
  box-shadow: var(--shadow-md), var(--glow-amber);
  border: 3px solid var(--white);
  padding: 8px;
  animation: float 4s ease-in-out infinite;
}

.book-text { position: relative; }

/* Colored left accent bar */
.book-text::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(to bottom, var(--fire), var(--amber), var(--teal));
}

.book-text .eyebrow { margin-bottom: 10px; }
.book-text h2 { margin-bottom: 8px; font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.book-text .divider { margin-bottom: 28px; }
.book-text p { color: var(--text-mid); margin-bottom: 18px; font-size: 1.05rem; }

.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

/* ── Social Icons ──────────────────────────────────────── */
.social-row { display: flex; gap: 12px; align-items: center; }

.social-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream-dark);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--bounce);
  overflow: hidden;
}
.social-icon img { width: 30px; height: 30px; object-fit: contain; border-radius: 50%; }
.social-icon:hover {
  background: var(--fire);
  border-color: var(--fire);
  transform: scale(1.18) rotate(-6deg);
  box-shadow: var(--glow-fire);
}

/* ── Pull Quote ────────────────────────────────────────── */
.pull-quote {
  background: var(--cream-dark);
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.pull-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--amber-pale), var(--cream), var(--green-pale));
  background-size: 300% 300%;
  animation: gradient-pan 8s ease infinite;
}
.pull-quote-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
}
.pull-quote-mark {
  font-family: var(--font-head);
  font-size: 7rem;
  line-height: .6;
  color: var(--fire);
  display: block;
  margin-bottom: 8px;
  opacity: .7;
}
.pull-quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-style: italic;
  color: var(--royal-deep);
  line-height: 1.55;
  margin-bottom: 20px;
}
.pull-quote cite {
  font-family: var(--font-accent);
  font-size: .85rem;
  color: var(--teal-dark);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-style: normal;
}

/* ── Video Section ─────────────────────────────────────── */
.video-section {
  background: var(--cream-mid);
  padding: 88px 0;
  text-align: center;
}
.video-frame {
  position: relative;
  padding-bottom: 56.25%;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 840px;
  margin: 0 auto;
  border: 3px solid rgba(0,0,0,.08);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ── Bio Section ───────────────────────────────────────── */
.bio-section {
  background: var(--cream);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.bio-section::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,151,167,.07) 0%, transparent 70%);
  pointer-events: none;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 80px;
  align-items: start;
}
.bio-photo-wrap { text-align: center; }
.bio-photo-wrap img {
  width: 270px;
  max-width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  margin: 0 auto 12px;
  border: 4px solid var(--white);
  outline: 3px solid var(--green-light);
  transition: transform .4s var(--bounce);
}
.bio-photo-wrap img:hover { transform: scale(1.03) rotate(1deg); }
.bio-photo-caption { font-size: .8rem; color: var(--text-light); font-style: italic; }
.bio-text .eyebrow { margin-bottom: 10px; }
.bio-text h2 { margin-bottom: 8px; }
.bio-text .divider { margin-bottom: 24px; }
.bio-text p { color: var(--text-mid); margin-bottom: 16px; }

/* ── Classroom Showcase ────────────────────────────────── */
.classroom-showcase {
  position: relative;
  padding: 100px 0 110px;
  overflow: hidden;
  background: var(--cream-mid);
}

/* Atmospheric backdrop — blurred classroom photo, soft and sunlit */
.classroom-bg {
  position: absolute;
  inset: 0;
  background: url('../images/classroom2.jpg') center / cover no-repeat;
  filter: blur(22px) brightness(1.06) saturate(.9);
  transform: scale(1.1);
  opacity: .45;
}

/* Light cream wash so the photos & text stay the stars */
.classroom-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(255,255,255,.25) 0%, transparent 70%),
    linear-gradient(175deg, rgba(253,250,243,.9) 0%, rgba(253,250,243,.68) 50%, rgba(253,250,243,.92) 100%);
}

.classroom-inner {
  position: relative;
  z-index: 2;
}

.classroom-header {
  text-align: center;
  margin-bottom: 60px;
}
.classroom-header .eyebrow { color: var(--fire); }
.classroom-header h2 {
  color: var(--royal-deep);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-top: 8px;
}
.classroom-header h2 em {
  font-style: italic;
  color: var(--teal-dark);
}

/* Two-photo dynamic layout */
.classroom-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 960px;
  margin: 0 auto 52px;
}

.classroom-card {
  position: relative;
  cursor: default;
  flex: 0 0 46%;
}

/* Cards lean toward each other with real layout overlap */
.classroom-card-left {
  transform: rotate(-2deg);
  z-index: 2;
  margin-right: -32px;
  transition: transform .5s var(--bounce), box-shadow .4s var(--ease), z-index 0s;
}
.classroom-card-right {
  transform: rotate(2deg);
  z-index: 1;
  margin-left: -32px;
  transition: transform .5s var(--bounce), box-shadow .4s var(--ease), z-index 0s;
}
.classroom-card-left:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 3;
}
.classroom-card-right:hover {
  transform: rotate(0deg) scale(1.04);
  z-index: 3;
}

/* Colored geometric accent slab behind each photo */
.classroom-card-accent {
  position: absolute;
  border-radius: 22px;
  z-index: -1;
}
.classroom-card-left .classroom-card-accent {
  inset: 14px 14px -14px 0;
  background: linear-gradient(135deg, var(--fire), var(--amber));
  opacity: .75;
}
.classroom-card-right .classroom-card-accent {
  inset: 14px 0 -14px 14px;
  background: linear-gradient(135deg, var(--teal), var(--green-mid));
  opacity: .75;
}

/* The photo itself */
.classroom-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 20px;
  box-shadow:
    0 20px 60px rgba(8,22,40,.28),
    0 6px 20px rgba(8,22,40,.18);
  border: 3px solid var(--white);
  transition: box-shadow .4s var(--ease);
}
.classroom-card:hover img {
  box-shadow:
    0 28px 72px rgba(8,22,40,.35),
    0 0 0 3px rgba(245,162,0,.5);
}

/* Label badge on each photo */
.classroom-card-label {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8,22,40,.82);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--font-accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.18);
  white-space: nowrap;
  pointer-events: none;
}

/* Caption below the photos */
.classroom-caption {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.classroom-caption p {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-mid);
  line-height: 1.7;
}
.classroom-caption .classroom-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Responsive */
@media (max-width: 640px) {
  .classroom-photos {
    flex-direction: column;
    gap: 48px;
  }
  .classroom-card {
    flex: 0 0 90%;
    margin: 0 !important;
  }
  .classroom-card-left  { transform: rotate(-1.5deg); }
  .classroom-card-right { transform: rotate(1.5deg); }
  .classroom-card-left:hover,
  .classroom-card-right:hover { transform: rotate(0deg) scale(1.03); }
}

/* ── Quick Links Grid ──────────────────────────────────── */
.quick-links {
  background: var(--cream);
  padding: 88px 0;
  position: relative;
  overflow: hidden;
}
/* Catherine's wet-on-wet watercolor painting */
.quick-links::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/watercolor-bg.jpg') center / cover no-repeat;
}
/* Soft white veil so cards and text float on the painting */
.quick-links::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(253,250,243,.9) 0%,
    rgba(253,250,243,.6) 26%,
    rgba(253,250,243,.55) 74%,
    rgba(253,250,243,.9) 100%);
}
.quick-links-header { position: relative; z-index: 1; text-align: center; margin-bottom: 48px; }
.quick-links-header h2 { color: var(--royal-deep); }
.quick-links-header .eyebrow { color: var(--fire); }
.quick-links-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.quick-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(8,22,40,.08);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--bounce);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quick-card:hover {
  background: var(--white);
  border-color: var(--amber);
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.quick-card-icon {
  font-size: 2.4rem;
  display: block;
  transition: transform .3s var(--bounce);
}
.quick-card:hover .quick-card-icon { transform: scale(1.2) rotate(-8deg); }
.quick-card h3 { font-size: 1.05rem; color: var(--royal-deep); }
.quick-card p { font-size: .875rem; color: var(--text-mid); line-height: 1.5; }

/* ── TOC Section ───────────────────────────────────────── */
.toc-section { background: var(--cream); padding: 80px 0; text-align: center; }
.toc-card {
  display: inline-block;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all .35s var(--bounce);
  border: 3px solid var(--border);
}
.toc-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px) rotate(.5deg);
  border-color: var(--amber);
}
.toc-card img { max-width: 320px; }

/* ── Articles ──────────────────────────────────────────── */
.articles-section { background: var(--cream); padding: 88px 0; }
.articles-header { margin-bottom: 52px; }

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.article-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--border);
  border-top: 4px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
/* Gradient top border revealed on hover */
.article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--fire), var(--amber), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}
.article-card:hover::before { transform: scaleX(1); }

.article-tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fire);
  background: rgba(232,58,31,.08);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  align-self: flex-start;
}
.article-card h3 { font-size: 1.1rem; color: var(--navy); line-height: 1.4; }
.article-meta { font-size: .83rem; color: var(--text-light); font-style: italic; }
.article-card p { font-size: .9rem; color: var(--text-mid); }
.article-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: .88rem;
  color: var(--green-dark);
  transition: gap .2s, color .2s;
}
.article-link:hover { gap: 12px; color: var(--fire); }

/* ── Photo Banner ──────────────────────────────────────── */
.photo-banner { position: relative; height: 400px; overflow: hidden; }
.photo-banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.photo-banner-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 24px;
  background: linear-gradient(transparent, rgba(8,22,40,.8));
  color: var(--white);
  font-style: italic;
  font-size: .9rem;
}

/* ── Purchase / Store Cards ────────────────────────────── */
.stores-section { background: var(--cream); padding: 88px 0; }
.store-group { margin-bottom: 52px; }
.store-group-label {
  font-family: var(--font-accent);
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
  border-bottom: 2px solid var(--green-pale);
  padding-bottom: 10px;
  margin-bottom: 24px;
  letter-spacing: .04em;
}

.store-grid { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

.store-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 88px;
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--bounce);
  position: relative;
  overflow: hidden;
}
.store-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--fire), var(--amber));
  opacity: 0;
  transition: opacity .25s;
}
.store-card:hover {
  border-color: var(--amber);
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--shadow-md), var(--glow-amber);
}
.store-card:hover::before { opacity: .06; }
.store-card img { max-height: 52px; max-width: 160px; object-fit: contain; position: relative; }

/* ── Audio / CD ────────────────────────────────────────── */
.cd-spotlight {
  background: linear-gradient(135deg, var(--amber-pale), var(--cream-dark));
  border: 2px solid var(--amber);
  border-radius: var(--r-lg);
  padding: 44px;
  text-align: center;
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}
.cd-spotlight::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,162,0,.2), transparent);
  animation: float-slow 6s ease-in-out infinite;
  pointer-events: none;
}
.cd-spotlight h3 { font-family: var(--font-head); color: var(--navy); margin-bottom: 16px; font-size: 1.6rem; }
.cd-spotlight img { max-width: 260px; margin: 24px auto; border-radius: var(--r); box-shadow: var(--shadow-md); }

/* Price + checkout block */
.cd-price { margin: 0 0 22px; }
.cd-price-amount {
  display: block;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}
.cd-price-note {
  display: block;
  margin-top: 4px;
  font-size: .92rem;
  color: var(--text-mid);
}
.cd-intl-note {
  margin: 22px auto 0;
  max-width: 460px;
  font-size: .88rem;
  line-height: 1.6;
  color: var(--text-mid);
}
.cd-intl-note a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cd-intl-note a:hover { color: var(--fire); }

/* ── Events / Podcasts ─────────────────────────────────── */
.events-section { background: var(--cream); padding: 88px 0; }

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.podcast-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--violet);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: all .3s var(--bounce);
}
.podcast-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px) translateX(2px);
  border-left-color: var(--fire);
}

.podcast-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--violet), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
  transition: transform .3s var(--bounce);
}
.podcast-card:hover .podcast-icon { transform: scale(1.12) rotate(-5deg); }
.podcast-icon img { width: 50px; height: 50px; object-fit: cover; border-radius: 12px; }

.podcast-body h4 { font-size: 1rem; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
.podcast-body p  { font-size: .875rem; color: var(--text-mid); margin-bottom: 12px; line-height: 1.55; }
.podcast-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-accent);
  font-size: .83rem;
  font-weight: 700;
  color: var(--violet);
  transition: gap .2s, color .2s;
}
.podcast-link:hover { gap: 12px; color: var(--fire); }

.webinar-highlight {
  background: linear-gradient(135deg, var(--royal-deep) 0%, var(--teal-dark) 100%);
  border-radius: var(--r-lg);
  padding: 52px;
  color: var(--white);
  margin-bottom: 56px;
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
}
.webinar-highlight::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,151,167,.2), transparent);
  pointer-events: none;
}
.webinar-highlight h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 10px; }
.webinar-highlight p { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.webinar-icon { font-size: 4rem; flex-shrink: 0; animation: float 5s ease-in-out infinite; }

/* ── Media / Video Page ────────────────────────────────── */
.media-section { background: var(--cream); padding: 88px 0; }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: 40px;
  margin-top: 48px;
}
.video-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all .35s var(--bounce);
  border: 2px solid transparent;
}
.video-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
  border-color: var(--amber);
}
.video-card-embed { position: relative; padding-bottom: 56.25%; }
.video-card-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-card-caption { padding: 24px; }
.video-card-caption h3 { font-size: 1.1rem; margin-bottom: 6px; }
.video-card-caption p  { font-size: .9rem; color: var(--text-mid); }

.interview-gallery { margin-top: 64px; }
.interview-gallery h3 { text-align: center; margin-bottom: 12px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}
.gallery-grid img {
  border-radius: var(--r-lg);
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  box-shadow: var(--shadow-md);
  transition: transform .35s var(--bounce), box-shadow .3s var(--ease);
}
.gallery-grid img:hover { transform: scale(1.04) rotate(.5deg); box-shadow: var(--shadow-hover); }

/* ── Contact ───────────────────────────────────────────── */
.contact-section { background: var(--cream); padding: 88px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 24px; font-size: 1.9rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-dark), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.contact-item a { color: var(--green-dark); font-weight: 700; transition: color .2s; }
.contact-item a:hover { color: var(--fire); }

.contact-social-title {
  font-family: var(--font-accent);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 16px;
  letter-spacing: .05em;
}
.social-list { display: flex; flex-direction: column; gap: 14px; }
.social-list-item { display: flex; align-items: center; gap: 14px; font-size: 1rem; color: var(--text-mid); }
.social-list-item img { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; }
.social-icon-link { display: inline-flex; line-height: 0; border-radius: 8px; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.social-icon-link:hover { transform: scale(1.08); box-shadow: var(--shadow-sm); }
.social-list-item a { color: var(--green-dark); font-weight: 700; transition: color .2s; }
.social-list-item a:hover { color: var(--fire); }

.contact-photos { display: flex; flex-direction: column; gap: 24px; }
.contact-photo-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: box-shadow .3s var(--ease);
}
.contact-photo-card:hover { box-shadow: var(--shadow-hover); }
.contact-photo-card img {
  width: 100%;
  height: 280px;
  flex: none;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .45s var(--ease);
}
.contact-photo-card:hover img { transform: scale(1.06); }
.contact-portrait {
  text-align: center;
}
.contact-portrait img {
  width: 100%;
  max-width: 340px;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  outline: 3px solid var(--green-light);
  display: block;
  margin: 0 auto 12px;
}
.contact-portrait-caption {
  font-size: .8rem;
  color: var(--text-light);
  font-style: italic;
}
.contact-photo-label {
  flex: 1;
  background: rgba(8,22,40,.88);
  color: var(--white);
  padding: 12px 20px;
  font-size: .83rem;
  font-style: italic;
}

/* ── Chapter 8 ─────────────────────────────────────────── */
.chapter-section { background: var(--cream); padding: 88px 0; }
.chapter-card {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 56px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--green-pale);
  border-top: 5px solid var(--fire);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.chapter-card::before {
  content: '8';
  position: absolute;
  right: -20px;
  bottom: -40px;
  font-family: var(--font-head);
  font-size: 16rem;
  font-weight: 900;
  color: rgba(22,92,52,.04);
  line-height: 1;
  pointer-events: none;
}
.chapter-card .eyebrow { margin-bottom: 12px; }
.chapter-card h2 { margin-bottom: 12px; }
.chapter-card .divider { margin-bottom: 28px; }
.chapter-card p { color: var(--text-mid); margin-bottom: 18px; }

.chapter-steps { display: flex; flex-direction: column; gap: 20px; margin: 36px 0; }
.chapter-step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-dark), var(--teal-dark));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.step-body h4 { color: var(--navy); margin-bottom: 4px; }
.step-body p  { font-size: .95rem; color: var(--text-mid); margin-bottom: 0; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer {
  background: var(--royal-deep);
  color: rgba(255,255,255,.8);
  padding: 72px 0 0;
  position: relative;
  overflow: hidden;
}
/* Animated gradient wash at the top of the footer */
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--royal-deep) 0%, rgba(0,151,167,.28) 50%, var(--royal) 100%);
  background-size: 300% 300%;
  animation: gradient-pan 12s ease infinite;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 10px;
}
.footer-brand p { font-size: .9rem; color: rgba(255,255,255,.6); line-height: 1.7; margin-bottom: 24px; }
.footer-col h4 {
  font-family: var(--font-accent);
  font-size: .85rem;
  color: var(--amber-light);
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-social { display: flex; gap: 12px; margin-top: 4px; }
.footer-social-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s var(--bounce);
  overflow: hidden;
}
.footer-social-icon:hover {
  background: var(--fire);
  border-color: var(--fire);
  transform: scale(1.15) rotate(-8deg);
  box-shadow: var(--glow-fire);
}
.footer-social-icon img { width: 24px; height: 24px; object-fit: contain; }

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.4); margin: 0; }
.footer-email a { color: var(--amber-light); font-size: .875rem; font-weight: 700; transition: color .2s; }
.footer-email a:hover { color: var(--white); }

/* ── Fade-In on Scroll ─────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays for grids */
.fade-in:nth-child(2) { transition-delay: .1s; }
.fade-in:nth-child(3) { transition-delay: .2s; }
.fade-in:nth-child(4) { transition-delay: .3s; }
.fade-in:nth-child(5) { transition-delay: .35s; }
.fade-in:nth-child(6) { transition-delay: .4s; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .book-grid   { grid-template-columns: 280px 1fr; gap: 52px; }
  .bio-grid    { grid-template-columns: 1fr 300px; gap: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .videos-grid { grid-template-columns: 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

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

  .nav-toggle { display: flex; }
  .nav-links  { display: none; }

  .hero-content { padding: 28px 26px; }
  .hero-ring    { display: none; }
  /* "The Genius" at the 3rem clamp floor is 403px wide — wider than small phones */
  .hero h1      { font-size: clamp(2.4rem, 11vw, 5.8rem); }

  .book-grid  { grid-template-columns: 1fr; }
  .book-cover-wrap { max-width: 280px; margin: 0 auto; }
  .book-text::before { display: none; }

  .bio-grid   { grid-template-columns: 1fr; }
  .bio-photo-wrap { order: -1; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .article-grid  { grid-template-columns: 1fr; }
  .podcast-grid  { grid-template-columns: 1fr; }
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }

  .chapter-card { padding: 36px 24px; }
  .webinar-highlight { flex-direction: column; padding: 36px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .clip-bottom { clip-path: polygon(0 0, 100% 0, 100% calc(100% - 32px), 0 100%); padding-bottom: calc(60px + 32px); }
  .clip-top    { clip-path: polygon(0 32px, 100% 0, 100% 100%, 0 100%); padding-top: calc(60px + 32px); }
}

@media (max-width: 480px) {
  .book-actions   { flex-direction: column; align-items: flex-start; }
  .store-grid     { justify-content: center; }
  .store-card     { min-width: 140px; }
  .stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .quick-links-grid { grid-template-columns: 1fr; }
}

/* ── Lyre Listening (home) ─────────────────────────────── */
.lyre-listen {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--royal-deep) 100%);
  padding: 84px 0;
  text-align: center;
}
.lyre-listen-note {
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin: 0 auto 40px;
}
.lyre-tracks {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lyre-track {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-pill);
  padding: 12px 24px 12px 12px;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.lyre-track:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,208,96,.4);
}
.lyre-track.playing {
  border-color: var(--amber);
  box-shadow: 0 0 28px rgba(245,162,0,.25);
}
.lyre-play {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-light) 100%);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s var(--bounce), box-shadow .25s;
}
.lyre-play:hover {
  transform: scale(1.08);
  box-shadow: var(--glow-amber);
}
.lyre-play svg { width: 22px; height: 22px; display: block; }
.lyre-play .ic-pause { display: none; }
.lyre-track.playing .ic-play  { display: none; }
.lyre-track.playing .ic-pause { display: block; }
.lyre-track-body { flex: 1; min-width: 0; text-align: left; }
.lyre-track-title {
  display: block;
  color: #fff;
  font-family: var(--font-accent);
  font-size: .92rem;
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.lyre-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.15);
  overflow: hidden;
}
.lyre-bar-fill {
  width: 0%;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--amber-light));
}
.lyre-time {
  flex: 0 0 auto;
  color: rgba(255,255,255,.6);
  font-family: var(--font-accent);
  font-size: .85rem;
  font-variant-numeric: tabular-nums;
}

/* ── Photo Stage (Articles) — uncropped photo, silk margins ── */
.photo-stage {
  position: relative;
  background: var(--cream-mid);
  padding: 56px 0;
  overflow: hidden;
}
.photo-stage-silks { position: absolute; inset: 0; }
.silk {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(64px);
  opacity: .42;
  will-change: transform;
  animation: silk-drift 16s ease-in-out infinite alternate;
}
.silk-1 { left: -100px; top: -80px;
  background: radial-gradient(circle, var(--amber-light) 0%, transparent 68%); }
.silk-2 { left: -40px; bottom: -120px; animation-duration: 21s; animation-delay: -7s;
  background: radial-gradient(circle, var(--fire-lt) 0%, transparent 66%); opacity: .3; }
.silk-3 { right: -100px; top: -60px; animation-duration: 19s; animation-delay: -4s;
  background: radial-gradient(circle, var(--green-light) 0%, transparent 68%); opacity: .38; }
.silk-4 { right: -50px; bottom: -110px; animation-duration: 24s; animation-delay: -11s;
  background: radial-gradient(circle, var(--violet-light) 0%, transparent 66%); opacity: .3; }
@keyframes silk-drift {
  from { transform: translate(0, -26px) rotate(0deg)  scale(1); }
  to   { transform: translate(30px, 26px) rotate(40deg) scale(1.18); }
}
.photo-stage-frame {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}
.photo-stage-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.photo-stage-frame figcaption {
  margin-top: 16px;
  text-align: center;
  color: var(--text-mid);
  font-style: italic;
  font-size: .9rem;
}
@media (prefers-reduced-motion: reduce) {
  .silk { animation: none; }
}

/* ── Watercolor page backgrounds ───────────────────────── */
/* Catherine's paintings behind each interior page's main section.
   Usage: <main class="… wc-bg wc-3">  — content sits on z-index 1. */
.wc-bg { position: relative; overflow: hidden; }
.wc-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--wc-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
}
/* Cream veil so body copy and cards stay readable on the painting */
.wc-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg,
    rgba(253,250,243,.93) 0%,
    rgba(253,250,243,.72) 22%,
    rgba(253,250,243,.70) 78%,
    rgba(253,250,243,.93) 100%);
}
.wc-bg > * { position: relative; z-index: 1; }

.wc-1 { --wc-image: url('../images/watercolor-bg-1.jpg'); }
.wc-2 { --wc-image: url('../images/watercolor-bg-2.jpg'); }
.wc-3 { --wc-image: url('../images/watercolor-bg-3.jpg'); }
.wc-4 { --wc-image: url('../images/watercolor-bg-4.jpg'); }
.wc-5 { --wc-image: url('../images/watercolor-bg-5.jpg'); }
.wc-6 { --wc-image: url('../images/watercolor-bg-6.jpg'); }
.wc-7 { --wc-image: url('../images/watercolor-bg-7.jpg'); }

/* iOS/Android choke on fixed attachment — scroll with the page instead */
@media (max-width: 900px), (hover: none) {
  .wc-bg::before { background-attachment: scroll; }
}
