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

:root{
  --orange:#e16126;
  --orange-lt:#fceacc;
  --teal:#20aaac;
  --teal-lt:#e0f5f5;
  --yellow:#f7e697;
  --yellow-dk:#e8b94a;
  --sky:#cdde9c;
  --amber:#e89334;
  --cream:#f7f2e5;
  --dark:#303234;
  --mid:#5a5a5a;
  --pink:#d0536d;
  --pink-lt:#fdeaf2;
  --radius-pill:50px;
  --radius-lg:22px;
  --radius-md:14px;
}

html{scroll-behavior:smooth;}
body{font-family:'Nunito',sans-serif;background:#fff;color:var(--dark);overflow-x:hidden;line-height:1.6;}

.eyebrow{display:inline-block;font-size:0.7rem;font-weight:800;letter-spacing:0.18em;text-transform:uppercase;margin-bottom:0.6rem;}
.eyebrow-teal{color:var(--teal);}
.eyebrow-orange{color:var(--orange);}
.eyebrow-white{color:rgba(255,255,255,0.65);}
.eyebrow-dark{color:var(--dark);opacity:0.6;}

.section-title{font-family:'Fraunces',serif;font-weight:900;font-size:clamp(2rem,4.5vw,3.2rem);line-height:1.08;}
.orange{color:var(--orange);}
.teal{color:var(--teal);}

.btn-primary{display:inline-flex;align-items:center;gap:7px;background:var(--orange);color:#fff;padding:13px 30px;border-radius:var(--radius-pill);font-family:'Nunito',sans-serif;font-size:0.92rem;font-weight:800;text-decoration:none;border:none;cursor:pointer;transition:transform 0.15s,opacity 0.2s;}
.btn-primary:hover{transform:translateY(-2px);opacity:0.9;}
.btn-outline{display:inline-flex;align-items:center;gap:7px;background:transparent;color:var(--dark);padding:13px 28px;border-radius:var(--radius-pill);border:2px solid rgba(0,0,0,0.14);font-family:'Nunito',sans-serif;font-size:0.92rem;font-weight:800;text-decoration:none;cursor:pointer;transition:border-color 0.2s,transform 0.15s;}
.btn-outline:hover{border-color:var(--teal);transform:translateY(-2px);}

/* ── NAV — transparent over hero gradient ── */
nav{
  position:sticky;top:0;z-index:200;
  background:transparent;
  transition:background 0.3s ease,box-shadow 0.3s ease,border-color 0.3s ease;
  padding:0 5vw;
  display:flex;align-items:center;justify-content:space-between;
  height:64px;
  border-bottom:2px solid transparent;
}
.nav-logo img{height:55px;object-fit:contain;display:block;}
.nav-links{display:flex;gap:2rem;list-style:none;}
.nav-links a{font-size:0.78rem;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;color:var(--dark);text-decoration:none;transition:color 0.2s;}
.nav-links a:hover{color:var(--orange);}
.nav-cta{background:var(--orange);color:#fff;padding:8px 20px;border-radius:var(--radius-pill);font-size:0.78rem;font-weight:800;text-decoration:none;white-space:nowrap;transition:opacity 0.2s,transform 0.15s;}
.nav-cta:hover{opacity:0.88;transform:scale(1.03);}

/* Nav turns white when scrolled off hero */
nav.scrolled{
  background:rgba(255,255,255,0.97);
  backdrop-filter:blur(8px);
  border-bottom:2px solid var(--orange);
  box-shadow:0 2px 12px rgba(0,0,0,0.06);
}

/* ── HERO ── */
.hero{
  position:relative;
  min-height:92vh;
  background:linear-gradient(160deg,#f9e97a 0%,#f5d060 28%,#c8e8f5 68%,#8fcde8 100%);
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  column-gap:2rem;
  padding:2rem 5vw 5rem;
  overflow:hidden;
  margin-top:-64px;
  padding-top:calc(64px + 3rem);
}
.hero-content{position:relative;z-index:2;display:flex;flex-direction:column;gap:1.2rem;}
.hero-badge{display:inline-flex;align-items:center;gap:7px;background:var(--teal);color:#fff;font-size:0.7rem;font-weight:800;letter-spacing:0.14em;text-transform:uppercase;padding:7px 16px;border-radius:var(--radius-pill);width:fit-content;}
.hero-logo{max-width:360px;width:100%;}
.hero-tagline{font-family:'Fraunces',serif;font-style:italic;font-size:1.08rem;color:#3a3000;line-height:1.55;}
.hero-desc{font-size:0.95rem;line-height:1.78;color:#3a3a3a;}
.hero-btns{display:flex;gap:0.875rem;flex-wrap:wrap;}
.hero-visual{position:relative;z-index:2;display:flex;align-items:flex-end;justify-content:center;min-height:480px;overflow:visible;}
.hero-cover{width:120%;max-width:700px;object-fit:contain;filter:drop-shadow(0 16px 40px rgba(0,0,0,0.1));margin-right:-2vw;}
.hero-wave{
  position:absolute;
  bottom:-1px;
  left:-5vw;
  right:-5vw;
  width:calc(100% + 10vw);
  height:90px;
  background:#fff;
  clip-path:ellipse(55% 100% at 50% 100%);
  z-index:10;
}

/* ── BOOK ── */
.book-section{padding:4rem 5vw;display:grid;grid-template-columns:1fr 1fr;gap:5rem;align-items:center;}
.book-cover-wrap{display:flex;justify-content:center;align-items:center;}
.book-cover-img{width:100%;max-width:420px;border-radius:12px;box-shadow:-7px 7px 0 rgba(225,97,38,0.22),0 28px 70px rgba(0,0,0,0.14);}
.book-info{display:flex;flex-direction:column;gap:1.25rem;}
.launch-pill{display:inline-flex;align-items:center;gap:8px;background:var(--yellow);border:2px solid var(--yellow-dk);color:#3a2800;padding:8px 20px;border-radius:var(--radius-pill);font-size:0.82rem;font-weight:800;width:fit-content;}
.book-desc{font-size:0.96rem;line-height:1.82;color:var(--mid);}
.pullquote{border-left:4px solid var(--orange);padding:1rem 1.25rem;background:#fdf6ee;border-radius:0 var(--radius-md) var(--radius-md) 0;}
.pullquote p{font-family:'Fraunces',serif;font-style:italic;font-size:1rem;line-height:1.65;color:var(--dark);}
.book-chips{display:flex;gap:0.625rem;flex-wrap:wrap;}
.chip{background:var(--teal-lt);border:1.5px solid var(--teal);color:#0d5c5d;padding:5px 14px;border-radius:var(--radius-pill);font-size:0.76rem;font-weight:700;}

/* ── CHARACTERS ── */
.chars-section{background:var(--cream);padding:4rem 5vw;}
.chars-header{text-align:center;margin-bottom:2rem;}
.chars-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.75rem;}
.char-card{background:#fff;border-radius:var(--radius-lg);overflow:hidden;border:2.5px solid transparent;transition:transform 0.2s,box-shadow 0.2s;}
.char-card:hover{transform:translateY(-7px);box-shadow:0 20px 56px rgba(0,0,0,0.1);}
.char-card-milly{border-color:var(--orange);}
.char-card-oli{border-color:var(--pink);}
.char-card-emma{border-color:var(--teal);}
.char-img-wrap{height:260px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden;}
.bg-milly{background:linear-gradient(170deg,#fff0d4,#f8d878);}
.bg-oli{background:linear-gradient(170deg,#fdeaf2,#f5c9d8);}
.bg-emma{background:linear-gradient(170deg,#e4f7f7,#b0e0e0);}
.char-img{height:100%;width:auto;object-fit:contain;object-position:bottom center;}
.char-body{padding:1.25rem 1.5rem 1.75rem;}
.char-name{font-family:'Fraunces',serif;font-weight:900;font-size:1.55rem;color:var(--dark);margin-bottom:3px;}
.char-role{font-size:0.7rem;font-weight:800;letter-spacing:0.1em;text-transform:uppercase;margin-bottom:0.75rem;}
.role-milly{color:var(--orange);}
.role-oli{color:var(--pink);}
.role-emma{color:var(--teal);}
.char-desc{font-size:0.88rem;line-height:1.68;color:var(--mid);margin-bottom:1rem;}
.catchphrase{display:inline-block;font-family:'Fraunces',serif;font-style:italic;font-size:0.88rem;padding:5px 14px;border-radius:var(--radius-pill);}
.catch-milly{background:#fceacc;color:#7a3800;}
.catch-oli{background:var(--pink-lt);color:#7a1a38;}
.catch-emma{background:var(--teal-lt);color:#0d5c5d;}

/* ── ORIGIN / AUTHOR NOTE ── */
.origin-section{
  background:linear-gradient(135deg,#cdde9c 0%,#e8c87a 50%,#e89334 100%);
  padding:4rem 5vw;
}
.origin-text-block{
  max-width:760px;
  margin:0 auto 2.5rem;
  text-align:center;
}
.origin-text-block .section-title{
  color:var(--dark);margin-top:0.4rem;margin-bottom:1.75rem;
}
.author-note{
  font-size:0.95rem;line-height:1.88;
  color:#2a2a1a;
  text-align:left;
}
.author-note p{margin-bottom:1rem;}
.author-note p:last-child{margin-bottom:0;}

.polaroid-row{
  display:flex;gap:2rem;
  justify-content:center;
  align-items:flex-start;
  flex-wrap:wrap;
}
.polaroid{
  background:#fff;
  padding:10px 10px 44px;
  border-radius:3px;
  box-shadow:0 6px 24px rgba(0,0,0,0.16),0 2px 6px rgba(0,0,0,0.1);
  flex:1;min-width:220px;max-width:300px;
  transform:rotate(var(--rot,0deg));
  transition:transform 0.25s,box-shadow 0.25s;
}
.polaroid:hover{
  transform:rotate(0deg) scale(1.03);
  box-shadow:0 12px 40px rgba(0,0,0,0.2);
}
.polaroid-photo{
  width:100%;
  aspect-ratio:1;
  background:#000;
  border:none;
  display:flex;align-items:center;justify-content:center;
  overflow:hidden;
  font-size:0.75rem;color:var(--mid);text-align:center;
  line-height:1.5;font-style:italic;
  padding:0;
}
.polaroid-photo img{width:100%;height:100%;object-fit:cover;}
.polaroid-label{
  font-size:0.68rem;font-weight:600;
  color:var(--mid);text-align:center;
  margin-top:8px;
  font-family:'Nunito',sans-serif;
  font-style:italic;
  line-height:1.4;
}

/* ── AUTHOR BIO ── */
.author-section{
  overflow:hidden;
  background:linear-gradient(135deg,#f9e97a 0%,#f5d060 45%,#b8dcf0 100%);
  padding:4rem 5vw;
  display:grid;
  grid-template-columns:1fr auto;
  gap:3rem;
  align-items:flex-end;
}
.author-illustration{
  display:block;
  height:480px;
  width:auto;
  object-fit:contain;
  object-position:bottom center;
  justify-self:end;
}
.author-content{
  display:flex;flex-direction:column;gap:1rem;
  padding-bottom:2rem;
}
.duo-bio{font-size:0.93rem;line-height:1.82;color:#3a3a3a;}
.duo-bio p{margin-bottom:0.875rem;}
.duo-bio p:last-child{margin-bottom:0;}

/* ── EMAIL ── */
.email-section{background:var(--teal);padding:4rem 5vw;text-align:center;}
.email-section .section-title{color:#fff;margin:0.4rem 0 0.75rem;}
.email-desc{color:rgba(255,255,255,0.82);font-size:0.96rem;line-height:1.72;margin-bottom:1.5rem;}
.email-form{display:flex;gap:10px;max-width:460px;margin:0 auto;flex-wrap:wrap;justify-content:center;}
.email-input{flex:1;min-width:200px;padding:14px 22px;border-radius:var(--radius-pill);border:none;font-family:'Nunito',sans-serif;font-size:0.93rem;font-weight:600;background:rgba(255,255,255,0.96);color:var(--dark);outline:none;}
.email-input:focus{box-shadow:0 0 0 3px rgba(255,255,255,0.4);}
.email-btn{padding:14px 28px;border-radius:var(--radius-pill);border:none;background:var(--dark);color:#fff;font-family:'Nunito',sans-serif;font-size:0.9rem;font-weight:800;cursor:pointer;transition:opacity 0.2s,transform 0.15s;}
.email-btn:hover{opacity:0.85;transform:scale(1.03);}
.email-note{font-size:0.75rem;color:rgba(255,255,255,0.48);margin-top:1.25rem;}

/* ── FOOTER ── */
footer{background:var(--dark);padding:2.25rem 5vw;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;border-top:3px solid var(--orange);}
.footer-logo img{height:26px;object-fit:contain;filter:brightness(0) invert(1);opacity:0.85;}
.footer-nav{display:flex;gap:1.5rem;}
.footer-nav a{color:rgba(255,255,255,0.42);font-size:0.76rem;font-weight:700;text-decoration:none;text-transform:uppercase;letter-spacing:0.07em;transition:color 0.2s;}
.footer-nav a:hover{color:var(--teal);}
.footer-legal{font-size:0.73rem;color:rgba(255,255,255,0.28);}

/* ── RESPONSIVE ── */
@media(max-width:900px){
  .nav-links{display:none;}
  .hero{grid-template-columns:1fr;padding:calc(64px + 2rem) 5vw 0;min-height:auto;}
  .hero-content{max-width:100%;}
  .hero-visual{min-height:300px;justify-content:center;}
  .book-section{grid-template-columns:1fr;gap:3rem;}
  .chars-grid{grid-template-columns:1fr 1fr;}
  .author-illustration{height:380px;}
  .author-content{padding-bottom:1rem;}
}
@media(max-width:600px){
  .chars-grid{grid-template-columns:1fr;}
  .polaroid-row{gap:1.25rem;}
  .polaroid{min-width:160px;}
  footer{flex-direction:column;align-items:flex-start;}
}

/* ── HAMBURGER ── */
.nav-hamburger{
  display:none;
  flex-direction:column;
  justify-content:space-between;
  width:28px;height:20px;
  background:none;border:none;cursor:pointer;
  padding:0;z-index:300;
}
.nav-hamburger span{
  display:block;height:2.5px;
  background:var(--dark);
  border-radius:2px;
  transition:all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1){transform:translateY(8.75px) rotate(45deg);}
.nav-hamburger.open span:nth-child(2){opacity:0;}
.nav-hamburger.open span:nth-child(3){transform:translateY(-8.75px) rotate(-45deg);}

.nav-mobile-menu{
  display:none;
  position:fixed;
  top:64px;left:0;right:0;
  background:#fff;
  border-bottom:2px solid var(--orange);
  z-index:150;
  box-shadow:0 8px 24px rgba(0,0,0,0.1);
}
.nav-mobile-menu.open{display:block;}
.nav-mobile-menu ul{list-style:none;padding:0.5rem 0;}
.nav-mobile-menu ul li a{
  display:block;
  padding:1rem 2rem;
  font-size:1rem;font-weight:800;
  letter-spacing:0.06em;text-transform:uppercase;
  color:var(--dark);text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,0.06);
  transition:background 0.15s,color 0.15s;
}
.nav-mobile-menu ul li:last-child a{
  color:var(--orange);
}
.nav-mobile-menu ul li a:hover{
  background:var(--cream);color:var(--orange);
}

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

  .hero{
    grid-template-columns:1fr;
    padding:calc(64px + 2rem) 5vw 6rem;
    min-height:auto;
    row-gap:1.5rem;
    text-align:center;
  }
  .hero-content{
    max-width:100%;
    align-items:center;
  }
  .hero-badge{margin:0 auto;}
  .hero-logo{max-width:260px;margin:0 auto;}
  .hero-tagline,.hero-desc{max-width:100%;text-align:center;}
  .hero-btns{justify-content:center;}
  .hero-visual{min-height:320px;width:100%;}
  .hero-cover{width:100%;max-width:100%;margin-right:0;}
  .hero-wave{height:60px;}

  .book-section{
    grid-template-columns:1fr;
    gap:2.5rem;
    padding:4rem 5vw;
  }
  .book-cover-img{max-width:300px;margin:0 auto;display:block;}

  .chars-section{padding:4rem 5vw;}
  .chars-grid{grid-template-columns:1fr;}

  .origin-section{padding:4rem 5vw;}
  .origin-text-block{margin-bottom:2.5rem;}
  .polaroid-row{flex-direction:column;align-items:center;gap:1.5rem;}
  .polaroid{min-width:auto;width:75%;max-width:260px;}

  .author-section{
    padding:4rem 5vw 3rem;
    grid-template-columns:1fr;
    gap:2rem;
  }
  .author-illustration{
    height:auto;
    width:75%;
    max-width:300px;
    justify-self:center;
  }
  .author-content{padding-bottom:0;}

  .duo-banner{display:none;}

  .email-section{padding:4rem 5vw;}
  .email-form{flex-direction:column;align-items:stretch;}
  .email-input,.email-btn{width:100%;}

  footer{
    flex-direction:column;
    align-items:flex-start;
    gap:1rem;
    padding:2rem 5vw;
  }
  .footer-nav{flex-wrap:wrap;gap:1rem;}
}

@media(max-width:480px){
  .section-title{font-size:1.75rem;}
  .hero-tagline{font-size:0.95rem;}
  .polaroid{width:85%;}
}

/* Hide Kit branding */
.formkit-powered-by-convertkit-container { display: none !important; }
.formkit-alert { 
  color: #fff; 
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  margin-top: 0.75rem;
  text-align: center;
}
