:root {
  --navy: #1A3C5E;
  --navy-dark: #112940;
  --navy-light: #2a5580;
  --white: #FFFFFF;
  --amber: #D4821A;
  --amber-dark: #b36a10;
  --amber-light: #f0a84a;
  --off-white: #F7F4EF;
  --light-blue: #E8F0F7;
  --text-dark: #1A2B3C;
  --text-mid: #3a5570;
  --border: #d0dde8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── NAVIGATION ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--navy);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 20px rgba(26,60,94,0.4);
}

.nav-brand {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
}

.nav-brand span {
  display: block;
  color: var(--amber-light);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Source Serif 4', serif;
}

.nav-links {
  display: flex; gap: 0; list-style: none;
}

.nav-links a {
  display: block;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.82rem;
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
  cursor: pointer;
}

.nav-links a:hover { color: var(--amber-light); }

/* ─── PAGE WRAPPER ─── */
.site-content { padding-top: 68px; min-height: 100vh; }
body { padding-top: 68px; }

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: calc(100vh - 68px);
  display: flex; align-items: center;
  overflow: hidden;
  background: #0a3050;
}

/* BG photo — full brightness so the shells/starfish are vivid */
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 1;
}

/* Light gradient only on left-side text area — right side stays open so photo shows */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10,48,80,0.78) 0%,
    rgba(10,48,80,0.55) 40%,
    rgba(10,48,80,0.10) 68%,
    transparent 100%
  );
}

/* Decorative layer */
.hero-deco {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

/* Soft wave swoosh along bottom edge */
.hero-deco-wave {
  position: absolute;
  bottom: -6px; left: 0; right: 0;
  width: 100%;
  opacity: 0.22;
}

/* Seagulls top-centre-right */
.hero-deco-gulls {
  position: absolute;
  top: 10%; left: 42%;
  width: 110px;
  opacity: 0.70;
  color: #ffffff;
}

/* Light-on-water sparkle dots — teal/coral mix */
.hero-deco-dot {
  position: absolute;
  border-radius: 50%;
}
.hero-deco-dot-1 { width:12px; height:12px; top:16%; left:38%; background:rgba(100,210,230,0.7); animation: heroPulse 3.2s ease-in-out infinite; }
.hero-deco-dot-2 { width: 8px; height: 8px;  top:24%; left:44%; background:rgba(232,118,90,0.65); animation: heroPulse 2.6s ease-in-out 0.8s infinite; }
.hero-deco-dot-3 { width: 6px; height: 6px;  top:20%; left:48%; background:rgba(100,210,230,0.55); animation: heroPulse 3.8s ease-in-out 0.4s infinite; }
.hero-deco-dot-4 { width: 9px; height: 9px;  top:32%; left:36%; background:rgba(232,118,90,0.45); animation: heroPulse 4.0s ease-in-out 1.2s infinite; }

@keyframes heroPulse {
  0%,100% { transform: scale(1);   opacity: 0.7; }
  50%      { transform: scale(1.8); opacity: 0.2; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 600px;
  padding: 4rem 4rem 4rem 6rem;
  animation: fadeUp 0.9s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Coral pill badge — fun, not corporate */
.hero-eyebrow {
  display: inline-block;
  background: linear-gradient(90deg, #e8765a, #f0a060);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.32rem 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Source Serif 4', serif;
  box-shadow: 0 2px 10px rgba(232,118,90,0.35);
}

/* Friendlier title size — big but not boardroom big */
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 0.35rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}

.hero h1 em {
  color: var(--amber-light);
  font-style: italic;
}

.hero-sub {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}

.hero p {
  color: rgba(255,255,255,0.88);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 2.2rem;
  font-weight: 300;
  text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

.hero-buttons {
  display: flex; gap: 0.85rem; flex-wrap: wrap; align-items: center;
}

/* Warm coral-to-amber primary — energetic, youthful */
.btn-primary {
  background: linear-gradient(135deg, #e8765a 0%, var(--amber) 100%);
  color: #ffffff;
  border: none;
  padding: 0.88rem 2.2rem;
  font-family: 'Source Serif 4', serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
  display: inline-block;
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(232,118,90,0.40);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(232,118,90,0.50); }

/* Ghost outline — frosted glass feel */
.btn-outline {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.55);
  padding: 0.86rem 2.2rem;
  font-family: 'Source Serif 4', serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  display: inline-block;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  border-color: var(--amber-light);
  color: var(--amber-light);
  background: rgba(255,255,255,0.08);
}

/* ─── WAVE DIVIDER ─── */
.wave-divider {
  width: 100%; overflow: hidden; line-height: 0;
  background: var(--off-white);
}

.wave-divider svg { display: block; }

/* ─── SECTION STYLES ─── */
.section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  color: var(--amber);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-family: 'Source Serif 4', serif;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.section-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 680px;
  font-weight: 300;
}

/* ─── HOME: FEATURE STRIP ─── */
.feature-strip {
  background: var(--navy);
  padding: 4rem 2rem;
}

.feature-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.feature-card {
  background: var(--navy-light);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--navy-dark); }

.feature-icon {
  width: 48px; height: 48px;
  margin: 0 auto 1.2rem;
  color: var(--amber-light);
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 0.7rem;
}

.feature-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.92rem;
  line-height: 1.65;
  font-weight: 300;
}

/* ─── HOME: BOOKS PREVIEW ─── */
.books-preview {
  background: var(--off-white);
  padding: 5rem 2rem;
}

.books-grid {
  max-width: 1100px;
  margin: 2.5rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.book-card {
  background: var(--white);
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border-left: 4px solid var(--amber);
  box-shadow: 0 4px 24px rgba(26,60,94,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
  align-items: flex-start;
  overflow: hidden;
}

.book-card:hover {
  box-shadow: 0 8px 40px rgba(26,60,94,0.14);
  transform: translateY(-2px);
}

.book-cover {
  width: 100px; min-width: 100px; height: 140px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.8rem;
  flex-shrink: 0;
}

.book-cover-title {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 0.65rem;
  text-align: center;
  line-height: 1.4;
  font-weight: 700;
}

.book-cover-wave {
  color: var(--amber-light);
}

.book-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.book-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.book-info p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-weight: 300;
}

/* ─── MEET BREE PAGE ─── */
.bree-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.bree-hero::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,130,26,0.15) 0%, transparent 70%);
}

.bree-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.bree-hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1rem;
  font-weight: 900;
}

.bree-hero-text h1 em {
  color: var(--amber-light);
  font-style: italic;
}

.bree-hero-text p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 300;
}

.bree-portrait {
  position: relative;
}

.bree-portrait img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.bree-portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid var(--amber);
  transform: translate(12px, 12px);
  pointer-events: none;
  z-index: -1;
}

.traits-grid {
  max-width: 1100px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.trait-item {
  background: var(--white);
  padding: 1.5rem 1rem;
  text-align: center;
  border-top: 3px solid var(--amber);
}

.trait-icon { color: var(--navy); margin-bottom: 0.5rem; }

.trait-item p {
  font-size: 0.85rem;
  color: var(--text-mid);
  font-weight: 600;
  line-height: 1.4;
}

/* ─── BOOKS PAGE ─── */
.books-page-header {
  background: var(--navy);
  padding: 4rem 2rem;
  text-align: center;
}

.books-page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.books-page-header p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  font-weight: 300;
}

.book-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: start;
  border-bottom: 1px solid var(--border);
}

.book-cover-large {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  height: 360px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.8rem; padding: 1.5rem;
  box-shadow: 8px 8px 0 var(--amber);
}

.book-cover-large .book-cover-title {
  font-size: 0.9rem;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  text-align: center;
  line-height: 1.5;
}

.book-detail-meta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.book-badge {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  margin-bottom: 1.2rem;
}

.book-detail-meta p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* ─── AUTHOR PAGE ─── */
.author-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 4rem;
  align-items: start;
}

.author-photo {
  position: sticky; top: 100px;
}

.author-photo img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.author-photo-caption {
  background: var(--navy);
  padding: 1.2rem 1.5rem;
  color: var(--white);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
}

.author-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.author-content .role {
  color: var(--amber);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2rem;
  display: block;
}

.author-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 1.3rem;
  font-weight: 300;
}

.author-quote {
  border-left: 4px solid var(--amber);
  padding: 1.2rem 1.5rem;
  background: var(--off-white);
  margin: 2rem 0;
}

.author-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy);
  margin: 0;
  font-weight: 400;
}

/* ─── EDUCATORS PAGE ─── */
.educators-header {
  background: linear-gradient(to right, var(--navy-dark), var(--navy));
  padding: 4rem 2rem;
  text-align: center;
}

.educators-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.7rem;
}

.educators-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
}

.educators-grid {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.edu-card {
  border: 1px solid var(--border);
  padding: 2rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.edu-card:hover {
  border-color: var(--amber);
  box-shadow: 0 4px 20px rgba(26,60,94,0.1);
}

.edu-card-icon {
  width: 44px; height: 44px;
  background: var(--light-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--navy);
}

.edu-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.edu-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
  font-weight: 300;
}

.themes-section {
  background: var(--off-white);
  padding: 4rem 2rem;
}

.themes-list {
  max-width: 900px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.theme-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border-left: 3px solid var(--amber);
}

.theme-item svg { min-width: 20px; color: var(--amber); margin-top: 2px; }

.theme-item p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ─── BLOG ARCHIVE ─── */
.blog-header {
  background: var(--navy);
  padding: 4rem 2rem;
  text-align: center;
}

.blog-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.blog-header p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  font-weight: 300;
}

.blog-grid {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  cursor: pointer;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.blog-card:hover {
  box-shadow: 0 8px 30px rgba(26,60,94,0.12);
  transform: translateY(-3px);
}

.blog-card-img {
  height: 180px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-body { padding: 1.5rem; }

.blog-cat {
  color: var(--amber);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.blog-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.blog-card-body p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 0.8rem;
  font-weight: 300;
}

.blog-date {
  font-size: 0.78rem;
  color: #7a94aa;
  font-style: italic;
}

/* ─── BLOG SINGLE ─── */
.blog-single-hero {
  height: 380px;
  overflow: hidden;
  position: relative;
}

.blog-single-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

.blog-single-hero-content {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  max-width: 800px; width: 100%;
  padding: 0 2rem;
}

.blog-single-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  line-height: 1.2;
}

.blog-single-body {
  max-width: 740px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.blog-single-body p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--text-mid);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.blog-single-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  margin: 2.5rem 0 0.8rem;
}

/* ─── CONTACT PAGE ─── */
.contact-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 2rem;
  font-weight: 300;
}

.contact-detail {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 0.95rem;
}

.contact-detail svg { color: var(--amber); min-width: 20px; }

.contact-form {
  background: var(--off-white);
  padding: 2.5rem;
}

.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.form-group { margin-bottom: 1.2rem; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: 'Source Serif 4', serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--navy); }

.form-group textarea { height: 120px; resize: vertical; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy-dark);
  padding: 3rem 2rem 2rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}

.footer-brand h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 300;
}

.footer-nav h4 {
  color: var(--amber-light);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.footer-nav ul { list-style: none; }

.footer-nav ul li {
  margin-bottom: 0.4rem;
}

.footer-nav ul li a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-nav ul li a:hover { color: var(--amber-light); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.5rem;
}

.footer-bottom p { font-size: 0.8rem; }

.built-by a {
  color: var(--amber-light);
  text-decoration: none;
  font-size: 0.8rem;
}

/* ─── NEWSLETTER POPUP ─── */
.popup-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(17,41,64,0.75);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s;
  padding: 1rem;
}

.popup-overlay.show {
  opacity: 1; pointer-events: all;
}

.popup {
  background: var(--white);
  max-width: 560px; width: 100%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.4);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s;
}

.popup-overlay.show .popup {
  transform: scale(1) translateY(0);
}

.popup-visual {
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 1rem; padding: 2.5rem 1.5rem;
  position: relative; overflow: hidden;
}

.popup-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(42,85,128,0.4) 0%, rgba(26,60,94,0.1) 100%);
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}

.popup-visual-icon {
  position: relative; z-index: 1;
  color: var(--amber-light);
}

.popup-visual-text {
  position: relative; z-index: 1;
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  text-align: center;
  line-height: 1.4;
}

.popup-content { padding: 2.5rem 2rem; }

.popup-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  color: var(--text-mid); cursor: pointer; font-size: 1.4rem;
  line-height: 1;
  z-index: 10;
}

.popup-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.popup-content p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-weight: 300;
}

.popup-content .gift-label {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--off-white);
  border-left: 3px solid var(--amber);
  padding: 0.7rem 0.8rem;
  margin-bottom: 1.2rem;
  font-size: 0.82rem;
  color: var(--navy);
  font-weight: 600;
}

.popup-content .gift-label svg { color: var(--amber); }

.popup-input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  font-family: 'Source Serif 4', serif;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  outline: none;
  transition: border-color 0.2s;
}

.popup-input:focus { border-color: var(--navy); }

.popup-fine {
  font-size: 0.72rem;
  color: #9baab8;
  margin-top: 0.7rem;
  line-height: 1.4;
}

/* ─── BACK BUTTON ─── */
.back-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  background: none; border: none;
  padding: 1.5rem 2rem;
  font-family: 'Source Serif 4', serif;
  transition: color 0.2s;
}

.back-btn:hover { color: var(--amber); }

/* ─── HAMBURGER ─── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── MOBILE DROPDOWN MENU ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  padding: 1rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-family: 'Source Serif 4', serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu a:hover { color: var(--amber-light); background: rgba(255,255,255,0.04); }

/* ─── MOBILE BOTTOM NAV ─── */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy-dark);
  z-index: 1000;
  border-top: 1px solid rgba(255,255,255,0.1);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-bottom-nav a {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.6rem 0.8rem;
  color: rgba(255,255,255,0.6);
  font-family: 'Source Serif 4', serif;
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border-top: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.mobile-bottom-nav a svg { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.mobile-bottom-nav a.active { color: var(--amber-light); border-top-color: var(--amber-light); }
.mobile-bottom-nav a.active svg { color: var(--amber-light); }

/* ─── ACTIVE NAV STATE ─── */
.nav-links a.active { color: var(--amber-light); }
.footer-nav ul li a.active { color: var(--amber-light); }

/* ─── TABLET (769px – 1024px) ─── */
@media (min-width: 769px) and (max-width: 1024px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .books-grid { grid-template-columns: 1fr 1fr; }
  .educators-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .themes-list { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .traits-grid { grid-template-columns: repeat(3, 1fr); }
  .book-detail { grid-template-columns: 220px 1fr; }
  .author-section { grid-template-columns: 260px 1fr; gap: 2rem; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .bree-hero-inner { grid-template-columns: 1fr 1fr; }
  .popup { grid-template-columns: 1fr 1.2fr; }
}

/* ─── MOBILE (max 768px) ─── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Bottom nav visible on mobile */
  .mobile-bottom-nav { display: flex; }
  .mobile-bottom-nav a.active { color: var(--amber-light); border-top: 2px solid var(--amber-light); }

  /* Page bottom padding so content isn't hidden behind bottom nav */
  body { padding-bottom: 64px; }

  /* Hero */
  .hero-content { padding: 2.5rem 1.5rem; }
  .hero h1 { font-size: 1.8rem; white-space: normal; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-outline { text-align: center; }

  /* All grids → 1 column */
  .feature-grid { grid-template-columns: 1fr; }
  .books-grid { grid-template-columns: 1fr; }
  .book-card { flex-direction: column; }
  .book-cover { width: 100%; min-width: unset; height: 200px; }
  .bree-hero-inner { grid-template-columns: 1fr; }
  .bree-portrait { display: none; }
  .traits-grid { grid-template-columns: 1fr !important; }
  .book-detail { grid-template-columns: 1fr; }
  .book-cover-large { height: 260px; }
  .author-section { grid-template-columns: 1fr; }
  .author-photo { position: static; }
  .educators-grid { grid-template-columns: 1fr; }
  .themes-list { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .popup { grid-template-columns: 1fr; }
  .popup-visual { display: none; }

  /* Inline grids */
  .section-inner { grid-template-columns: 1fr !important; }
  .inline-grid-2col { grid-template-columns: 1fr !important; }
  .inline-grid-3col { grid-template-columns: 1fr !important; }

  /* Images */
  .book-cover img { width: 100%; height: 100%; object-fit: cover; }
  .author-photo img { height: 280px; }

  /* Sections */
  .section { padding: 3rem 1.2rem; }
  .bree-hero { padding: 3rem 1.2rem 2.5rem; }
  .educators-header, .blog-header, .books-page-header { padding: 3rem 1.2rem; }
}

/* ═══════════════════════════════════════════════════════════
   SITEWIDE ANIMATIONS — KIDS/COASTAL ENERGY (June 2026)
   Two animation layers per page:
   1. Persistent ambient (always running — waves, float, shimmer)
   2. Scroll-triggered fade-up on cards and sections
═══════════════════════════════════════════════════════════ */

/* ─── Fade-up on scroll (JS adds .bbq-visible) ─── */
.bbq-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.bbq-animate.bbq-visible {
  opacity: 1;
  transform: translateY(0);
}
.bbq-animate-delay-1 { transition-delay: 0.10s; }
.bbq-animate-delay-2 { transition-delay: 0.22s; }
.bbq-animate-delay-3 { transition-delay: 0.34s; }
.bbq-animate-delay-4 { transition-delay: 0.46s; }
.bbq-animate-delay-5 { transition-delay: 0.58s; }
.bbq-animate-delay-6 { transition-delay: 0.70s; }

/* ─── Page header wave shimmer (all inner pages) ─── */
.bree-hero,
.books-page-header,
.educators-header,
.blog-header,
.blog-single-hero,
.contact-header,
.author-hero {
  position: relative;
  overflow: hidden;
}

/* Animated shimmer sweep across any navy header */
.bree-hero::after,
.books-page-header::after,
.educators-header::after,
.blog-header::after,
.contact-header::after,
.author-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(100,210,230,0.08) 45%,
    rgba(255,255,255,0.06) 50%,
    rgba(100,210,230,0.08) 55%,
    transparent 80%
  );
  background-size: 250% 100%;
  animation: headerShimmer 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes headerShimmer {
  0%   { background-position: 200% center; }
  100% { background-position: -50%  center; }
}

/* ─── Floating wave accent (decorative inline SVG via JS) ─── */
.bbq-wave-float {
  animation: waveFloat 4s ease-in-out infinite;
}
@keyframes waveFloat {
  0%,100% { transform: translateY(0);    }
  50%      { transform: translateY(-8px); }
}

/* ─── Floating sparkle dots on inner pages ─── */
.bbq-page-dot {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: pageDotFloat 6s ease-in-out infinite;
}
.bbq-page-dot-1 { width:10px; height:10px; top:18%; right:6%;  background:rgba(100,210,230,0.35); animation-duration:6.0s; }
.bbq-page-dot-2 { width: 7px; height: 7px; top:42%; right:3%;  background:rgba(232,118,90,0.30);  animation-duration:8.2s; animation-delay:1.4s; }
.bbq-page-dot-3 { width: 5px; height: 5px; top:70%; right:8%;  background:rgba(100,210,230,0.25); animation-duration:5.6s; animation-delay:0.8s; }
.bbq-page-dot-4 { width: 8px; height: 8px; top:30%; left:2%;   background:rgba(232,118,90,0.22);  animation-duration:7.0s; animation-delay:2.0s; }

@keyframes pageDotFloat {
  0%,100% { transform: translateY(0)    scale(1);   opacity: 0.8; }
  50%      { transform: translateY(-14px) scale(1.2); opacity: 0.4; }
}

/* ─── Section label bounce-in (subtle) ─── */
.section-label {
  display: inline-block;
  animation: labelBounce 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
  animation-play-state: paused;
}
.bbq-visible .section-label,
.section-label.bbq-visible {
  animation-play-state: running;
}

@keyframes labelBounce {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ─── Card hover lifts (all card types) ─── */
.feature-card,
.edu-card,
.blog-card,
.book-card,
.trait-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover,
.edu-card:hover,
.blog-card:hover,
.book-card:hover,
.trait-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(26,60,94,0.16);
}

/* ─── Blog single post typography ─── */
.bbq-post-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--navy);
  margin: 2.2rem 0 0.9rem;
  font-weight: 700;
  border-left: 4px solid var(--amber);
  padding-left: 0.9rem;
}
.bbq-post-para {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 1.4rem;
}

/* ─── Reduced motion: kill all ambient animations ─── */
@media (prefers-reduced-motion: reduce) {
  .bree-hero::after,
  .books-page-header::after,
  .educators-header::after,
  .blog-header::after,
  .contact-header::after,
  .author-hero::after,
  .bbq-wave-float,
  .bbq-page-dot,
  .hero-waves-back,
  .hero-waves-front,
  .hero-boat,
  .hero-deco-dot,
  .hero-deco-dot-1,
  .hero-deco-dot-2,
  .hero-deco-dot-3,
  .hero-deco-dot-4 {
    animation: none !important;
  }
  .bbq-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
