:root {
  --lavender: #C3B8E8;
  --lavender-deep: #A78BDB;
  --blush: #F3C9D3;
  --mint: #B8E0D2;
  --sky: #A8CDE8;
  --cream: #FFF9F0;
  --gold: #E8B84B;
  --ink: #3D3454;
  --ink-soft: #6B5F87;
  --ink-muted: #8B7FA3;
  --border: rgba(61, 52, 84, 0.12);
  --shadow: 0 12px 30px rgba(61, 52, 84, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Mulish', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

em { color: var(--ink); font-style: normal; font-weight: 600; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream);
  padding: 10px 16px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--lavender-deep);
  margin-bottom: 0.75rem;
}
.hero-eyebrow { font-size: 0.95rem; }
.eyebrow.center, .center { text-align: center; }
.section-lead { max-width: 560px; margin: 0 auto 2.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: #4E4270; }
.btn-ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(61, 52, 84, 0.06); }
.btn-disabled, .btn-disabled:hover {
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
  box-shadow: none;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: #4A3405;
  font-weight: 700;
  font-size: 0.85rem;
}

.book-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
.site-header.scrolled {
  background: rgba(255, 249, 240, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(61, 52, 84, 0.08);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}
.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 90px;
  background: linear-gradient(180deg, var(--lavender) 0%, var(--sky) 55%, var(--cream) 100%);
}
.hero-sky { position: absolute; inset: 0; overflow: hidden; }
.sun {
  position: absolute;
  top: 60px; right: 12%;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE9B8 0%, var(--gold) 70%, rgba(232,184,74,0) 72%);
  opacity: 0.85;
}
.sparkle {
  position: absolute;
  color: var(--cream);
  font-size: 1.1rem;
  opacity: 0.8;
  animation: twinkle 3.2s ease-in-out infinite;
}
.sparkle.s1 { top: 90px; left: 8%; animation-delay: 0s; }
.sparkle.s2 { top: 200px; left: 20%; animation-delay: 0.8s; font-size: 0.8rem; }
.sparkle.s3 { top: 130px; right: 30%; animation-delay: 1.6s; }
.sparkle.s4 { top: 260px; right: 12%; animation-delay: 2.2s; font-size: 0.7rem; }
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.85); }
  50% { opacity: 0.9; transform: scale(1); }
}
.cloud {
  position: absolute;
  background: var(--cream);
  opacity: 0.55;
  border-radius: 999px;
  animation: drift 22s linear infinite;
}
.cloud::before, .cloud::after {
  content: "";
  position: absolute;
  background: var(--cream);
  border-radius: 999px;
}
.cloud.c1 { top: 70px; left: -10%; width: 140px; height: 44px; }
.cloud.c1::before { width: 70px; height: 70px; top: -34px; left: 15px; }
.cloud.c1::after { width: 50px; height: 50px; top: -22px; left: 75px; }
.cloud.c2 { top: 170px; left: 40%; width: 100px; height: 34px; opacity: 0.4; animation-duration: 30s; animation-delay: -8s; }
.cloud.c2::before { width: 50px; height: 50px; top: -24px; left: 12px; }
.cloud.c2::after { width: 36px; height: 36px; top: -16px; left: 54px; }
.cloud.c3 { top: 30px; left: 65%; width: 90px; height: 30px; opacity: 0.35; animation-duration: 26s; animation-delay: -15s; }
.cloud.c3::before { width: 44px; height: 44px; top: -20px; left: 10px; }
.cloud.c3::after { width: 32px; height: 32px; top: -14px; left: 48px; }
@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(60px); }
}
.mountains { position: absolute; bottom: -2px; left: 0; width: 100%; height: 160px; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero-copy { max-width: 520px; }
.hero-copy p.hero-tagline { font-size: 1.05rem; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 1.5rem; }

.hero-art { display: flex; justify-content: center; position: relative; }
.portrait-frame {
  position: relative;
  width: 280px;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--blush) 0%, var(--lavender) 55%, var(--sky) 100%);
  border-radius: 32px;
  border: 2px dashed rgba(61, 52, 84, 0.28);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  transform: rotate(1.5deg);
}
.portrait-illustration { width: 62%; height: auto; }
.portrait-caption {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cream);
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(61, 52, 84, 0.1);
  text-align: center;
}
.portrait-frame .sparkle { color: var(--cream); }
.portrait-frame .ps1 { top: 10px; left: 14px; }
.portrait-frame .ps2 { bottom: 60px; right: 10px; font-size: 0.8rem; }
.portrait-frame .ps3 { top: 40%; right: -6px; font-size: 0.7rem; }

.book-cover {
  display: inline-block;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotate(-3deg);
}
.book-cover img {
  display: block;
  width: 100%;
  height: auto;
}

.book-hook { font-weight: 800; margin-bottom: 0.5rem; }

.book-blurb-card { margin: 1.25rem 0 1.5rem; }

.book-feature {
  padding: 90px 0 100px;
  background: linear-gradient(180deg, #ECE7F7 0%, #F6F0F0 100%);
}
.book-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.book-feature-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-feature-copy {
  background: radial-gradient(ellipse at 50% 15%, #F5AC5E 0%, #EC8F38 50%, #D97320 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow);
  color: #2B1507;
}
.book-eyebrow { font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--ink); }
.book-feature-copy h2 { color: #2B1507; }
.book-subtitle-main {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 600;
  color: #5C2E0A;
  margin: -0.25rem 0 0.75rem;
}
.book-feature-copy p.book-meta {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.book-feature-copy p { color: #3A200D; }

.about { background: var(--blush); padding: 90px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}
.avatar {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lavender) 0%, var(--sky) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--cream);
  box-shadow: var(--shadow);
}
.fact-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 0.5rem; }
.chip {
  background: var(--cream);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}
.chip-placeholder {
  border-style: dashed;
  border-color: rgba(61, 52, 84, 0.3);
  color: var(--ink-soft);
  font-weight: 600;
}
.chip-placeholder em { color: var(--ink-muted); font-weight: 600; font-style: italic; }

.blog { padding: 100px 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-grid-single {
  grid-template-columns: 1fr;
  max-width: 560px;
  margin: 0 auto;
}
.blog-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-thumb {
  height: 120px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  margin-bottom: 16px;
}
.blog-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--lavender-deep);
  margin-bottom: 6px;
}
.blog-card h3 { margin-bottom: 8px; }
.blog-card p { font-size: 0.92rem; margin-bottom: 10px; }
.blog-link { font-weight: 700; color: var(--ink); }
.blog-link:hover { color: var(--lavender-deep); }
.blog-thumb-link { display: block; }
.blog-card h3 a:hover { color: var(--lavender-deep); }

.post { padding: 150px 0 100px; }
.post-wrap { max-width: 720px; margin: 0 auto; }
.post-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.post-back:hover { color: var(--ink); }
.post h1 { margin-top: 0.4rem; }
.post-meta {
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 1.75rem;
}
.post-body p { font-size: 1.05rem; }

.connect {
  padding: 90px 0 100px;
  background: linear-gradient(135deg, var(--mint) 0%, var(--sky) 55%, var(--lavender) 100%);
}
.connect-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.glass-card {
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow);
  text-align: center;
}
.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
}
.newsletter-form input {
  flex: 1;
  padding: 13px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: 'Mulish', sans-serif;
  font-size: 0.95rem;
  background: var(--cream);
  color: var(--ink);
}
.newsletter-form input:focus { outline: 2px solid var(--lavender-deep); outline-offset: 2px; }
.form-note { margin-top: 12px; font-size: 0.85rem; color: var(--ink); min-height: 1.2em; }

.contact-email-pill {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--gold);
  color: #4A3405;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.contact-email-pill:hover { transform: translateY(-2px); }

.site-footer { background: var(--ink); color: var(--cream); padding: 40px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-logo { color: var(--cream); }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 0.88rem; color: rgba(255,249,240,0.75); }
.footer-nav a:hover { color: var(--cream); }
.footer-copy { width: 100%; font-size: 0.78rem; color: rgba(255,249,240,0.55); text-align: center; margin: 0; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .hero-copy p.hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-art { order: -1; margin-bottom: 20px; }
  .book-feature-inner { grid-template-columns: 1fr; }
  .connect-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    top: 68px; left: 16px; right: 16px;
    background: var(--cream);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    flex-direction: column;
    padding: 12px 20px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .main-nav a:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .newsletter-form { flex-direction: column; }
}
