:root{
  --blush:#F4C9C0;
  --rose:#B23A56;
  --rose-dark:#8C2C43;
  --rose-soft:#E08099;
  --navy:#24384A;
  --amber:#E2A64C;
  --cedar:#6B5545;
  --cream:#FCEEEE;
  --white:#FFFFFF;
}

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

html{scroll-behavior:smooth;}

body{
  font-family:'Lato',sans-serif;
  color:var(--navy);
  background:var(--cream);
  line-height:1.85;
  overflow-x:hidden;
  font-weight:300;
}

h1,h2,h3,h4{
  font-family:'Cormorant Garamond',serif;
  font-weight:500;
  color:var(--rose-dark);
}

.script{
  font-family:'Parisienne',cursive;
  font-weight:400;
  color:var(--rose);
}

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

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

.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 24px;
}

/* ---------- Header ---------- */
header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:110;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 32px;
  background:rgba(251,244,234,0.9);
  box-shadow:0 2px 14px rgba(36,56,74,0.08);
  transition:background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
header.scrolled{
  background:rgba(251,244,234,0.97);
  box-shadow:0 2px 14px rgba(36,56,74,0.08);
  padding:12px 32px;
}
.logo{
  display:flex;
  align-items:center;
  gap:9px;
  font-family:'Cormorant Garamond',serif;
  font-size:27px;
  font-weight:600;
  letter-spacing:0.5px;
  color:var(--rose-dark);
}
.logo-icon{
  flex-shrink:0;
  color:var(--rose-dark);
}
header.scrolled .logo{ color:var(--rose-dark); text-shadow:0 1px 2px rgba(255,255,255,0.5); }

nav ul{
  list-style:none;
  display:flex;
  gap:32px;
}
nav a{
  font-size:18px;
  letter-spacing:1px;
  text-transform:uppercase;
  font-weight:400;
  color:var(--navy);
  transition:color 0.3s ease;
}
header.scrolled nav a{
  color:var(--navy);
  text-shadow:none;
}
nav a:hover{ color:var(--amber); }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:32px;
  height:28px;
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
  z-index:110;
}
.nav-toggle span{
  display:block;
  width:100%;
  height:2px;
  background:var(--white);
  transition:transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
header.scrolled .nav-toggle span,
header.static .nav-toggle span{
  background:var(--navy);
}
.nav-toggle.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }
.nav-toggle.is-open span{ background:var(--navy) !important; }

.nav-scrim{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(20,14,10,0.4);
  z-index:104;
  opacity:0;
  transition:opacity 0.3s ease;
}
.nav-scrim.is-open{ display:block; opacity:1; }

@media(max-width:760px){
  header{
    background:rgba(251,244,234,0.96);
    box-shadow:0 2px 14px rgba(36,56,74,0.08);
    padding:14px 20px;
  }
  header.scrolled{ padding:12px 20px; }
  .logo, header:not(.scrolled) .logo{
    color:var(--rose-dark);
    text-shadow:none;
    font-size:21px;
  }
  .logo-icon{ width:27px; height:24px; }
  .nav-toggle span{ background:var(--navy); }

  .nav-toggle{ display:flex; }

  nav{
    position:fixed;
    top:0; right:0;
    height:100vh;
    width:min(78vw, 320px);
    background:var(--cream);
    box-shadow:-10px 0 30px rgba(36,56,74,0.2);
    transform:translateX(100%);
    transition:transform 0.35s ease;
    padding:100px 32px 32px;
    z-index:105;
  }
  nav.is-open{ transform:translateX(0); }
  nav ul{
    flex-direction:column;
    gap:28px;
  }
  nav a{
    color:var(--navy);
    text-shadow:none;
    font-size:20px;
  }
}

/* ---------- Header variant for non-hero (legal) pages ---------- */
header.static{
  background:rgba(251,244,234,0.96);
  box-shadow:0 2px 14px rgba(36,56,74,0.08);
  padding:12px 32px;
}
header.static .logo{ color:var(--rose-dark); }
header.static nav a{ color:var(--navy); text-shadow:none; }

/* ---------- Hero ---------- */
.hero{
  position:relative;
  min-height:74vh;
  display:flex;
  align-items:flex-start;
  overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  background-image:url('images/hero-porch-sunset-v2.jpg');
  background-size:cover;
  background-position:center 55%;
  animation:slowzoom 24s ease-in-out infinite alternate;
  will-change:transform;
  backface-visibility:hidden;
}
@keyframes slowzoom{
  from{transform:scale(1);}
  to{transform:scale(1.08);}
}
.hero-overlay{
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse 640px 540px at 28% 48%, rgba(252,238,238,0.8) 0%, rgba(252,238,238,0.55) 40%, rgba(252,238,238,0.2) 68%, rgba(252,238,238,0) 82%);
}
.hero-inner{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1260px;
  margin:0 auto;
  padding:150px 48px 90px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:56px;
  flex-wrap:wrap;
}
.hero-content{
  position:relative;
  z-index:2;
  color:var(--navy);
  max-width:580px;
  text-align:left;
}
.hero-eyebrow{
  font-size:16px;
  letter-spacing:3px;
  text-transform:uppercase;
  margin-bottom:18px;
  color:var(--cedar);
  opacity:0.95;
  display:inline-flex;
  align-items:center;
  gap:10px;
  text-shadow:0 1px 3px rgba(255,255,255,0.6);
}
.hero h1{
  line-height:1.15;
  margin-bottom:8px;
}
.hero-title-img{
  display:block;
  width:490px;
  max-width:100%;
  height:auto;
  filter:drop-shadow(0 0 12px rgba(255,255,255,0.7)) drop-shadow(0 0 24px rgba(255,255,255,0.4));
}
.hero h1 .script{
  font-size:1.7em;
  color:#c33d56;
  line-height:1;
  text-shadow:0 0 12px rgba(255,255,255,0.7), 0 0 24px rgba(255,255,255,0.4);
}
.hero-tagline{
  font-size:26px;
  margin:22px 0 34px;
  max-width:520px;
  color:var(--navy);
}
.hero-book{
  position:relative;
  z-index:2;
  flex-shrink:0;
  width:min(400px, 36vw);
}
.hero-book-img{
  display:block;
  width:100%;
  height:auto;
  filter:drop-shadow(0 0 14px rgba(255,255,255,0.55)) drop-shadow(0 18px 30px rgba(15,8,6,0.28));
}
@media(max-width:900px){
  .hero-inner{
    flex-direction:column;
    justify-content:center;
    text-align:center;
    padding-top:130px;
  }
  .hero-content{ max-width:100%; text-align:center; }
  .hero-eyebrow{ justify-content:center; }
  .hero-book-actions{ justify-content:center; }
  .hero-book{ width:min(300px, 56vw); margin-top:8px; }
  .hero-overlay{
    background:linear-gradient(180deg, rgba(252,238,238,0.7) 0%, rgba(252,238,238,0.45) 55%, rgba(252,238,238,0.55) 100%);
  }
  .hero h1 .script{
    color:var(--rose);
    text-shadow:0 2px 10px rgba(255,255,255,0.8), 0 1px 3px rgba(255,255,255,0.8);
  }
}
@media(max-width:600px), (max-height:600px) and (orientation:landscape){
  .hero{
    height:auto;
    min-height:auto;
    max-height:none;
    padding:120px 0 56px;
  }
  .hero-bg{
    background-image:url('images/hero-boardwalk-mobile.jpg');
    background-position:center;
  }
  .hero-overlay{
    background:linear-gradient(180deg, rgba(252,238,238,0.55) 0%, rgba(252,238,238,0.4) 100%);
  }
  .hero-inner{ padding:0 20px; }
  .hero-eyebrow{
    color:var(--cedar);
    text-shadow:none;
    font-size:13px;
    letter-spacing:2px;
    margin-bottom:14px;
  }
  .hero-eyebrow .flourish{ color:var(--rose); }
  .hero h1{
    margin-bottom:6px;
  }
  .hero-title-img{ width:280px; margin-left:auto; margin-right:auto; }
  .hero h1 .script{
    color:var(--rose);
    text-shadow:none;
    font-size:1.5em;
  }
  .hero-tagline{
    color:var(--navy);
    text-shadow:none;
    font-size:20px;
    margin:16px 0 26px;
  }
  .hero-book{ width:min(220px, 52vw); margin:6px auto 0; }
  .hero-book-img{
    filter:none;
  }
  .hero-book-actions{ flex-direction:column; align-items:center; gap:14px; }
}
.btn{
  display:inline-block;
  padding:15px 34px;
  background:var(--rose);
  color:var(--white);
  border-radius:2px;
  font-size:14px;
  letter-spacing:2px;
  text-transform:uppercase;
  transition:background 0.3s ease, transform 0.3s ease;
  border:1px solid var(--rose);
}
.btn:hover{
  background:var(--rose-dark);
  transform:translateY(-2px);
}
.contact-section{
  position:relative;
  padding:80px 0 60px;
}
.contact-section .container{
  position:relative;
}
.contact-plush-photo{
  --rot:6deg;
  top:auto;
  bottom:-130px;
  right:160px;
  width:220px;
  z-index:3;
  transform:rotate(var(--rot));
}
.contact-plush-photo.scrap-item{
  position:absolute;
  opacity:1;
  animation:none;
}
.contact-plush-photo .flip-front,
.contact-plush-photo .flip-back{
  box-shadow:0 18px 40px rgba(36,56,74,0.2);
}
@media(max-width:900px){
  .contact-plush-photo{ display:none; }
}
.contact-inner{
  max-width:560px;
  margin:0 auto;
}
.contact-intro{
  font-size:20px;
  color:var(--navy);
  text-align:center;
  margin-bottom:36px;
}
.form-message{
  padding:16px 20px;
  border-radius:6px;
  font-size:17px;
  margin-bottom:28px;
  text-align:center;
}
.form-message-success{
  background:rgba(140,44,67,0.1);
  color:var(--rose-dark);
  border:1px solid rgba(140,44,67,0.25);
}
.form-message-error{
  background:rgba(180,60,60,0.08);
  color:#a83c3c;
  border:1px solid rgba(180,60,60,0.25);
}
.contact-form{
  display:flex;
  flex-direction:column;
  gap:22px;
}
.form-row{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.form-row label{
  font-size:14px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--cedar);
}
.form-row input,
.form-row textarea{
  font-family:'Lato',sans-serif;
  font-size:16px;
  color:var(--navy);
  padding:13px 16px;
  border:1px solid rgba(36,56,74,0.2);
  border-radius:4px;
  background:var(--white);
  resize:vertical;
}
.form-row input:focus,
.form-row textarea:focus{
  outline:none;
  border-color:var(--rose);
}
.contact-form .btn{
  align-self:flex-start;
  border:1px solid var(--rose);
  cursor:pointer;
  font-family:'Lato',sans-serif;
}
/* Honeypot field: hidden from real visitors, but present in the DOM
   (rather than display:none) so most spam bots that check for that
   still fill it in and get caught. */
.hp-field{
  position:absolute;
  left:-9999px;
  width:1px;
  height:1px;
  overflow:hidden;
}
.btn-outline{
  background:transparent;
  border:1px solid var(--white);
}
.btn-outline:hover{
  background:rgba(255,255,255,0.12);
}

.scroll-cue{
  position:absolute;
  bottom:32px;
  left:50%;
  transform:translateX(-50%);
  z-index:2;
  color:var(--white);
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  opacity:0.8;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.scroll-cue::after{
  content:'';
  width:1px;
  height:36px;
  background:var(--white);
  animation:scrollpulse 1.8s ease-in-out infinite;
}
@keyframes scrollpulse{
  0%,100%{opacity:0.3;}
  50%{opacity:1;}
}

/* ---------- Scrapbook / flip-card photos (About, Contact) ---------- */
.scrap-item{
  position:absolute;
  opacity:0;
  animation:photoDrop 0.7s ease forwards;
  transition:transform 0.3s ease;
}
.flip-card{
  perspective:1200px;
}
.flip-inner{
  position:relative;
  width:100%;
  cursor:pointer;
  transition:transform 0.6s cubic-bezier(.4,.2,.2,.9);
  transform-style:preserve-3d;
}
.scrap-item:hover:not(.is-flipped){
  transform:rotate(var(--rot, 0deg)) scale(1.04);
}
.scrap-item.is-flipped .flip-inner{
  transform:rotateY(180deg);
}
.scrap-item:hover,
.scrap-item.is-flipped{
  z-index:6 !important;
}
.flip-front, .flip-back{
  backface-visibility:hidden;
  -webkit-backface-visibility:hidden;
  box-shadow:0 14px 30px rgba(15,8,6,0.35);
}
.flip-front{
  position:relative;
}
.flip-front img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.flip-back{
  position:absolute;
  inset:0;
  transform:rotateY(180deg);
  background:var(--white);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:16px;
  text-align:center;
}
.flip-back p{
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size:14px;
  line-height:1.5;
  color:var(--navy);
}
.enlarge-link{
  background:none;
  border:none;
  padding:0;
  cursor:pointer;
  font-family:'Lato',sans-serif;
  font-size:12px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--rose);
  border-bottom:1px solid var(--rose);
  padding-bottom:2px;
  transition:color 0.3s ease, border-color 0.3s ease;
}
.enlarge-link:hover{
  color:var(--rose-dark);
  border-color:var(--rose-dark);
}

/* ---------- Photo lightbox ---------- */
.photo-lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(15,10,8,0.88);
  align-items:center;
  justify-content:center;
  padding:40px;
  opacity:0;
  transition:opacity 0.3s ease;
}
.photo-lightbox.is-open{
  display:flex;
  opacity:1;
}
.photo-lightbox img{
  max-width:100%;
  max-height:85vh;
  width:auto;
  border-radius:4px;
  box-shadow:0 30px 80px rgba(0,0,0,0.5);
}
.lightbox-close{
  position:absolute;
  top:24px;
  right:32px;
  background:none;
  border:none;
  color:var(--white);
  font-size:36px;
  line-height:1;
  cursor:pointer;
  padding:8px;
}
.lightbox-close:hover{
  color:var(--blush);
}
@keyframes photoDrop{
  from{ opacity:0; transform:translateY(18px) rotate(var(--rot)) scale(0.94); }
  to{ opacity:1; transform:translateY(0) rotate(var(--rot)) scale(1); }
}

/* ---------- Reveal on scroll ---------- */
.reveal{
  opacity:0;
  transform:translateY(28px);
  transition:opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in-view{
  opacity:1;
  transform:translateY(0);
}

/* ---------- About teaser ---------- */
.about-teaser{
  padding:75px 0 36px;
}
.about-grid{
  display:grid;
  grid-template-columns:1fr 1.3fr;
  gap:36px;
  align-items:start;
}
@media(max-width:800px){
  .about-grid{grid-template-columns:1fr;}
}
.about-grid img{
  border-radius:4px;
  box-shadow:0 18px 40px rgba(36,56,74,0.18);
}
.about-photo-frame{
  position:relative;
  display:inline-block;
  max-width:300px;
  justify-self:end;
  --rot:-4deg;
  transform:rotate(var(--rot));
}
.about-photo-frame.scrap-item{
  opacity:1;
  animation:none;
}
.about-photo-frame .flip-card{
  perspective:1200px;
}
.about-photo-frame .flip-front,
.about-photo-frame .flip-back{
  box-shadow:0 20px 44px rgba(36,56,74,0.25);
}
.about-photo-frame .flip-back p{
  font-size:16px;
}
.about-photo-frame img{
  display:block;
  width:100%;
  border-radius:2px;
  box-shadow:none;
}
.author-photo{
  height:420px;
  width:auto;
  max-width:100%;
  display:block;
}
.about-grid.author-grid{
  grid-template-columns:auto 1fr;
  padding-left:166px;
}
@media(max-width:800px){
  .author-photo{height:auto; width:100%;}
  .about-grid.author-grid{grid-template-columns:1fr; padding-left:0;}
}
.eyebrow{
  font-size:20px;
  letter-spacing:4px;
  text-transform:uppercase;
  color:var(--cedar);
  margin-bottom:20px;
  font-weight:300;
  display:inline-flex;
  align-items:center;
  gap:10px;
}

.flourish{
  flex-shrink:0;
  color:var(--rose);
  opacity:0.85;
}
.flourish.on-dark{
  color:var(--blush);
}
.flourish.on-cedar{
  color:var(--blush);
  opacity:0.6;
}

.section-divider{
  display:flex;
  justify-content:center;
  padding:0 0 60px;
  color:var(--rose);
  opacity:0.55;
}
.newsletter-widget-divider{
  padding:50px 0 30px;
  background:var(--cream);
}
.about-teaser h2{
  font-size:38px;
  margin-bottom:20px;
}
.about-teaser p{
  font-size:19px;
  color:var(--navy);
  margin-bottom:16px;
  max-width:480px;
}
.about-bio{
  padding:50px 0;
  background:#FBEFEC;
}
.about-bio .container{
  position:relative;
}
.about-ellen-photo{
  --rot:7deg;
  top:70px;
  right:60px;
  width:260px;
  z-index:3;
  transform:rotate(var(--rot));
}
.about-ellen-photo.scrap-item{
  opacity:1;
  animation:none;
}
.about-ellen-photo .flip-back p{
  font-size:15px;
}
@media(max-width:900px){
  .about-ellen-photo{
    display:block;
    position:relative;
    top:auto;
    right:auto;
    margin:0 auto 36px;
    width:220px;
  }
}
.about-bio-inner{
  max-width:720px;
  margin:0 auto;
}
.about-bio-inner p{
  font-size:19px;
  color:var(--navy);
  margin-bottom:18px;
}
.about-bio-inner .pen-name-reveal{
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size:32px;
  color:var(--rose-dark);
  line-height:1.4;
  margin:8px 0 26px;
  max-width:520px;
}
.bio-inset-photo{
  float:right;
  width:260px;
  height:171px;
  max-width:100%;
  --rot:-6deg;
  transform:rotate(var(--rot));
  margin:8px 0 24px 28px;
}
.bio-inset-photo.scrap-item{
  position:relative;
  opacity:1;
  animation:none;
}
.bio-inset-photo .flip-card{
  perspective:1200px;
  height:100%;
}
.bio-inset-photo .flip-inner{
  height:100%;
}
.bio-inset-photo .flip-front{
  height:100%;
}
.bio-inset-photo .flip-front,
.bio-inset-photo .flip-back{
  box-shadow:0 18px 40px rgba(36,56,74,0.2);
}
.bio-inset-photo .flip-back p{
  font-size:15px;
}
@media(max-width:600px){
  .bio-inset-photo{
    float:none;
    display:block;
    margin:8px auto 28px;
  }
}
.bio-inset-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.about-bio-inner .bio-story-label{
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size:26px;
  color:var(--rose);
  margin:0 0 14px;
}
.fun-facts{
  list-style:none;
  padding:0;
  margin:4px 0 32px;
  display:flex;
  flex-direction:column;
  gap:13px;
}
.fun-facts li{
  position:relative;
  padding-left:26px;
  font-size:18px;
  color:var(--navy);
  line-height:1.45;
}
.fun-facts li::before{
  content:"";
  position:absolute;
  left:2px;
  top:9px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--rose);
}
.author-timeline{
  display:flex;
  gap:20px;
  margin:36px 0 40px;
  padding:32px 28px;
  background:#fff;
  border-radius:10px;
  box-shadow:0 14px 34px rgba(36,56,74,0.1);
}
.author-timeline-step{
  flex:1;
  position:relative;
  text-align:center;
}
.author-timeline-step:not(:last-child)::after{
  content:"\2192";
  position:absolute;
  right:-16px;
  top:2px;
  color:var(--rose);
  font-size:18px;
}
.author-timeline-step h4{
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size:19px;
  color:var(--rose-dark);
  margin-bottom:8px;
  line-height:1.3;
}
.author-timeline-step p{
  font-size:14px;
  color:var(--navy);
  margin:0;
  line-height:1.4;
}
@media(max-width:700px){
  .author-timeline{ flex-direction:column; gap:28px; padding:26px 22px; }
  .author-timeline-step:not(:last-child)::after{
    content:"\2193";
    right:auto;
    left:50%;
    top:auto;
    bottom:-20px;
    transform:translateX(-50%);
  }
}
.about-series{
  padding:50px 0;
}
.about-series-inner{
  max-width:980px;
  margin:0 auto;
}
.about-series-grid{
  display:flex;
  align-items:stretch;
  gap:40px;
}
.about-series-photo{
  height:100%;
  width:auto;
  max-width:42%;
  object-fit:contain;
  border-radius:4px;
  box-shadow:0 18px 40px rgba(36,56,74,0.18);
  display:block;
}
.about-series-text{
  flex:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.about-series-inner p{
  font-size:21px;
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  color:var(--navy);
  line-height:1.6;
}
@media(max-width:800px){
  .about-series-grid{flex-direction:column;}
  .about-series-photo{height:auto; width:100%; max-width:100%;}
}
.about-signoff{
  margin-top:24px;
  font-size:19px;
  color:var(--navy);
}
.about-signoff .signature{
  display:inline-block;
  margin-top:6px;
  font-family:'Parisienne',cursive;
  font-size:32px;
  color:var(--rose-dark);
}
.text-link{
  display:inline-block;
  margin-top:8px;
  font-size:16px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--rose);
  border-bottom:1px solid var(--rose);
  padding-bottom:3px;
  transition:color 0.3s ease, border-color 0.3s ease;
}
.text-link:hover{
  color:var(--rose-dark);
  border-color:var(--rose-dark);
}

/* ---------- Setting teaser ---------- */
.setting-teaser{
  padding:130px 0 150px;
}
.setting-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr;
  gap:76px;
  align-items:center;
}
@media(max-width:800px){
  .setting-grid{grid-template-columns:1fr;}
  .setting-grid img{order:-1;}
}
.setting-grid img{
  border-radius:4px;
  box-shadow:0 18px 40px rgba(36,56,74,0.18);
}
.setting-teaser h2{
  font-size:38px;
  margin-bottom:20px;
}
.setting-teaser p{
  font-size:19px;
  color:var(--navy);
  margin-bottom:16px;
  max-width:460px;
}
.setting-location{
  display:inline-block;
  margin-top:6px;
  font-size:13px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--cedar);
}

.hero-book-actions{
  display:flex;
  gap:14px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:6px;
}
.hero-content .text-link{
  color:var(--rose-dark);
  border-bottom-color:var(--rose-dark);
  text-shadow:0 0 1px #fff, 0 0 1px #fff, 1px 1px 2px rgba(255,255,255,0.95), -1px -1px 2px rgba(255,255,255,0.95), 1px -1px 2px rgba(255,255,255,0.95), -1px 1px 2px rgba(255,255,255,0.95), 0 2px 10px rgba(255,255,255,0.7);
}

/* ---------- Series teaser ---------- */
.series-teaser{
  background:var(--blush);
  padding:140px 0;
}
.series-grid{
  display:grid;
  grid-template-columns:0.8fr 1.2fr;
  gap:84px;
  align-items:center;
}
@media(max-width:800px){
  .series-grid{grid-template-columns:1fr;}
}
.series-grid img{
  border-radius:4px;
  box-shadow:0 20px 50px rgba(36,56,74,0.22);
  max-width:320px;
  margin:0 auto;
}
.series-teaser h2{
  font-size:40px;
  margin-bottom:20px;
}
.series-teaser p{
  font-size:19px;
  margin-bottom:28px;
  max-width:460px;
}
.series-teaser .eyebrow{ color:var(--rose-dark); }

/* ---------- Atmosphere / lead magnet ---------- */
.atmosphere{
  position:relative;
  padding:190px 0;
  background:
    linear-gradient(rgba(247,223,229,0.88), rgba(247,223,229,0.88)),
    url('images/porch-atmosphere.jpg');
  background-size:cover;
  background-position:center;
  background-attachment:fixed;
  color:var(--navy);
  text-align:center;
}
.newsletter-widget{
  padding:110px 0;
  background:var(--cream);
  color:var(--navy);
  text-align:center;
}
.about-signoff-wrap{
  padding:0 0 70px;
  text-align:center;
  background:var(--cream);
}
.atmosphere-inner{
  max-width:620px;
  margin:0 auto;
}
.atmosphere-textcard{
  max-width:520px;
  margin:0 auto;
  background:rgba(255,255,255,0.94);
  border-radius:10px;
  padding:48px 48px 44px;
  text-align:center;
}
.widget-eyebrow{
  justify-content:center;
}
.widget-intro{
  display:flex;
  flex-direction:column;
  align-items:center;
}
.widget-intro .prequel-cover{
  max-width:200px;
  margin:0 auto 28px;
  display:block;
  border-radius:3px;
  box-shadow:0 24px 60px rgba(0,0,0,0.25);
}
.widget-intro-text{
  text-align:center;
}
.widget-divider{
  height:1px;
  background:rgba(36,56,74,0.12);
  margin:32px 0 28px;
}
.widget-form-section{
  text-align:center;
}
.widget-form-section .widget-form{
  max-width:380px;
  margin:0 auto;
  text-align:left;
}
.widget-form-section .signup-checkbox{
  margin:16px auto 0;
  max-width:380px;
}
.widget-form-section .form-note{
  max-width:380px;
  margin:20px auto 0;
}
@media(min-width:1200px){
  .atmosphere-textcard{
    max-width:820px;
    padding:48px 56px;
    text-align:left;
  }
  .widget-eyebrow{
    justify-content:center;
    text-align:center;
  }
  .widget-intro{
    flex-direction:row;
    align-items:flex-start;
    gap:44px;
    text-align:left;
  }
  .widget-intro .prequel-cover{
    max-width:220px;
    margin:0;
    flex-shrink:0;
  }
  .widget-intro-text{
    text-align:left;
    padding-top:4px;
  }
}
@media(max-width:800px){
  .atmosphere-textcard{ padding:36px 28px 32px; }
}
.atmosphere .eyebrow{
  color:var(--rose-dark);
  font-size:24px;
  font-weight:700;
  letter-spacing:2px;
}
.atmosphere h2{
  font-size:40px;
  margin-bottom:22px;
}
.atmosphere p{
  font-size:21px;
  line-height:1.7;
  margin-bottom:32px;
  color:var(--navy);
}
.signup-form{
  display:flex;
  gap:0;
  max-width:420px;
  margin:0 auto;
  box-shadow:0 12px 30px rgba(0,0,0,0.25);
}
.widget-eyebrow{
  font-size:24px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:var(--rose-dark);
  font-weight:700;
  margin-bottom:20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}
.widget-heading{
  font-size:40px;
  margin-bottom:22px;
}
.widget-description{
  font-size:21px;
  line-height:1.7;
  margin-bottom:32px;
  color:var(--navy);
}
.widget-form{
  max-width:420px;
  margin:0 auto;
  text-align:left;
}
.atmosphere-grid .widget-form{
  margin:0;
}
@media(max-width:800px){
  .atmosphere-grid .widget-form{ margin:0 auto; }
}
.widget-field{
  margin-bottom:16px;
}
.widget-field label{
  display:block;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--cedar);
  margin-bottom:6px;
}
.required-mark{
  color:#c0392b;
  font-weight:700;
}
.widget-field input{
  width:100%;
  font-family:'Lato',sans-serif;
  font-size:16px;
  color:var(--navy);
  padding:13px 16px;
  border:1px solid rgba(36,56,74,0.2);
  border-radius:4px;
  background:var(--white);
}
.widget-field input:focus{
  outline:none;
  border-color:var(--rose);
}
.required-note{
  font-size:13px;
  color:#c0392b;
  margin:0 0 18px;
}
.widget-submit{
  display:block;
  margin:18px auto 0;
  border:1px solid var(--rose);
  cursor:pointer;
  font-family:'Lato',sans-serif;
}
.signup-checkbox{
  display:flex;
  align-items:flex-start;
  gap:10px;
  max-width:420px;
  margin:16px auto 0;
  text-align:left;
  cursor:pointer;
}
.signup-checkbox input[type="checkbox"]{
  flex-shrink:0;
  margin-top:3px;
  width:17px;
  height:17px;
  accent-color:var(--rose);
  cursor:pointer;
}
.signup-checkbox span{
  font-size:12px;
  letter-spacing:0.5px;
  font-weight:700;
  color:var(--rose-dark);
  line-height:1.45;
}
.signup-form input[type="email"]{
  flex:1;
  padding:15px 18px;
  border:none;
  font-family:'Lato',sans-serif;
  font-size:14px;
  outline:none;
}
.signup-form button{
  padding:15px 26px;
  background:var(--rose);
  color:var(--white);
  border:none;
  font-size:13px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  cursor:pointer;
  transition:background 0.3s ease;
}
.signup-form button:hover{
  background:var(--rose-dark);
}
.form-note{
  font-size:19px;
  line-height:1.65;
  margin-top:14px;
  opacity:0.95;
}

/* ---------- Page header (legal pages) ---------- */
.page-banner{
  padding:170px 24px 60px;
  background:var(--blush);
  text-align:center;
}
.page-banner.has-photo{
  position:relative;
  background:
    linear-gradient(rgba(178,58,86,0.85), rgba(178,58,86,0.85)),
    url('/images/page-banner-bg.jpg');
  background-size:cover;
  background-position:center 60%;
}
.page-banner.has-photo h1{
  color:var(--white);
  text-shadow:0 2px 12px rgba(0,0,0,0.35);
}
.page-banner.has-photo .page-subheader{
  color:rgba(255,255,255,0.92);
  text-shadow:0 1px 8px rgba(0,0,0,0.3);
}
.page-banner h1{
  font-size:clamp(34px, 4.5vw, 50px);
}
.page-subheader{
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size:26px;
  color:var(--rose);
  margin-top:10px;
}

/* ---------- Legal content ---------- */
.legal-content{
  max-width:760px;
  margin:0 auto;
  padding:70px 24px 120px;
}
.legal-content p{
  font-size:18px;
  margin-bottom:20px;
}
.legal-content a{
  color:var(--rose);
  text-decoration:underline;
  text-decoration-color:rgba(178,58,86,0.35);
}
.legal-content a:hover{ color:var(--rose-dark); }
.legal-content h2{
  font-size:26px;
  margin-top:48px;
  margin-bottom:16px;
}
.legal-content h3{
  font-size:20px;
  margin-top:36px;
  margin-bottom:14px;
  color:var(--cedar);
  font-style:italic;
}
.legal-content ul{
  margin:0 0 20px 22px;
}
.legal-content li{
  font-size:18px;
  margin-bottom:8px;
}
.legal-content .updated{
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--cedar);
  margin-bottom:36px;
  display:block;
}
.legal-content table{
  width:100%;
  border-collapse:collapse;
  margin:8px 0 28px;
  font-size:14px;
}
.legal-content th, .legal-content td{
  border:1px solid rgba(107,85,69,0.25);
  padding:10px 12px;
  text-align:left;
  vertical-align:top;
}
.legal-content th{
  background:var(--blush);
  color:var(--rose-dark);
  font-weight:400;
}

/* ---------- Footer ---------- */
footer{
  background:var(--cedar);
  color:var(--cream);
  padding:70px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr;
  gap:40px;
  margin-bottom:50px;
}
@media(max-width:700px){
  .footer-grid{grid-template-columns:1fr;}
}
footer h3{
  color:var(--blush);
  font-size:20px;
  margin-bottom:16px;
  font-style:normal;
}
footer p{
  font-size:14px;
  opacity:0.85;
  max-width:280px;
}
footer ul{
  list-style:none;
}
footer ul li{
  margin-bottom:10px;
}
footer a{
  font-size:14px;
  opacity:0.85;
  transition:opacity 0.3s ease, color 0.3s ease;
}
footer a:hover{
  opacity:1;
  color:var(--amber);
}
.footer-bottom{
  border-top:1px solid rgba(251,244,234,0.15);
  padding-top:26px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-size:13px;
  opacity:0.7;
}

.footer-legal{
  background:rgba(0,0,0,0.15);
  padding:16px 0 22px;
  margin-top:40px;
}
.footer-legal ul{
  list-style:none;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:28px;
}
.footer-legal a{
  font-size:12px;
  letter-spacing:0.5px;
  opacity:0.65;
}
.footer-legal a:hover{
  opacity:1;
  color:var(--amber);
}

/* ---------- Book Quote Widget ---------- */
.book-quote{
  padding:70px 0;
  background:var(--cream);
  text-align:center;
}
.book-quote-inner{
  max-width:680px;
  margin:0 auto;
  position:relative;
}
.book-quote-mark{
  display:block;
  font-family:'Cormorant Garamond',serif;
  font-size:80px;
  line-height:1;
  color:var(--rose-soft);
  opacity:0.6;
  margin-bottom:-10px;
}
.book-quote-inner p{
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size:26px;
  line-height:1.5;
  color:var(--navy);
  margin:0 0 18px;
}
.book-quote-source{
  display:block;
  font-family:'Lato',sans-serif;
  font-size:13px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  color:var(--cedar);
}

/* ---------- Books page ---------- */
.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.book-feature{
  padding:100px 0;
}
.book-feature-coming-soon{
  background:#FBEFEC;
}
.book-feature-grid{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:64px;
  align-items:center;
}
@media(max-width:800px){
  .book-feature-grid{
    grid-template-columns:1fr;
    text-align:center;
  }
  .book-feature-text .eyebrow{
    justify-content:center;
  }
  .book-feature-text p{
    margin-left:auto;
    margin-right:auto;
  }
}
.book-cover-frame{
  position:relative;
  max-width:320px;
  margin:0 auto;
}
.book-cover-frame img{
  display:block;
  width:100%;
  border-radius:4px;
  box-shadow:0 24px 55px rgba(36,56,74,0.24);
}
.coming-soon-badge{
  position:absolute;
  top:-14px;
  right:-14px;
  background:var(--navy);
  color:var(--white);
  font-size:12px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  padding:8px 14px;
  border-radius:2px;
  box-shadow:0 10px 22px rgba(0,0,0,0.25);
  transform:rotate(-4deg);
}
.book-feature-text h2{
  font-size:38px;
  margin-bottom:18px;
}
.book-feature-text p{
  font-size:19px;
  color:var(--navy);
  margin-bottom:28px;
  max-width:460px;
}
.notify-form{
  max-width:420px;
}
@media(max-width:800px){
  .notify-form{ margin:0 auto; }
}
.notify-field{
  display:flex;
  box-shadow:0 12px 30px rgba(0,0,0,0.12);
}
.notify-field input{
  flex:1;
  min-width:0;
  padding:15px 18px;
  border:none;
  font-family:'Lato',sans-serif;
  font-size:14px;
  outline:none;
  border-radius:2px 0 0 2px;
}
.notify-field .btn{
  border:none;
  border-radius:0 2px 2px 0;
  cursor:pointer;
  white-space:nowrap;
  font-family:'Lato',sans-serif;
}
@media(max-width:480px){
  .notify-field{
    flex-direction:column;
    box-shadow:none;
  }
  .notify-field input{
    border-radius:4px;
    margin-bottom:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.1);
  }
  .notify-field .btn{
    border-radius:2px;
  }
}
.book-video{
  padding:110px 0 120px;
  text-align:center;
}
.book-video .eyebrow{
  justify-content:center;
}
.book-video h2{
  font-size:38px;
  margin-bottom:40px;
}
.video-embed{
  position:relative;
  max-width:860px;
  width:100%;
  margin:0 auto;
  padding-top:56.25%;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 24px 55px rgba(36,56,74,0.2);
}
.video-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}
.video-embed-placeholder{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--navy);
  color:rgba(255,255,255,0.7);
  font-size:15px;
  letter-spacing:1px;
  text-transform:uppercase;
}

/* ---------- Excerpt page ---------- */
.excerpt-section{
  padding:70px 0 100px;
}
.excerpt-wrap{
  max-width:640px;
  margin:0 auto;
}
.excerpt-chapter{
  text-align:center;
  font-size:15px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--cedar);
  margin-bottom:6px;
}
.excerpt-book-title{
  text-align:center;
  font-size:32px;
  margin-bottom:8px;
}
.excerpt-book-byline{
  text-align:center;
  font-size:15px;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--cedar);
  margin-bottom:36px;
}
.excerpt-divider{
  display:flex;
  justify-content:center;
  color:var(--rose);
  opacity:0.6;
  margin-bottom:44px;
}
.excerpt-content p{
  font-family:'Cormorant Garamond',serif;
  font-size:21px;
  line-height:1.85;
  color:var(--navy);
  margin-bottom:22px;
}
.excerpt-content p:first-of-type::first-letter{
  font-size:58px;
  line-height:0.8;
  float:left;
  padding:6px 10px 0 0;
  color:var(--rose-dark);
  font-weight:600;
}
.excerpt-cta{
  margin-top:56px;
  padding:40px 36px;
  background:var(--blush);
  border-radius:8px;
  text-align:center;
}
.excerpt-cta h3{
  font-size:26px;
  margin-bottom:14px;
}
.excerpt-cta p{
  font-size:17px;
  color:var(--navy);
  max-width:420px;
  margin:0 auto 22px;
}
.excerpt-copyright{
  margin-top:60px;
  padding-top:28px;
  border-top:1px solid rgba(107,85,69,0.2);
  font-size:12.5px;
  line-height:1.7;
  color:var(--cedar);
  opacity:0.85;
}
@media(max-width:700px){
  .excerpt-book-title{ font-size:26px; }
  .excerpt-content p{ font-size:19px; }
}

/* ---------- Scrapbook page ---------- */
.scrapbook-section{
  padding:70px 0 110px;
  background:
    repeating-linear-gradient(90deg,
      rgba(178,58,86,0.055) 0px,
      rgba(178,58,86,0.055) 1px,
      transparent 1px,
      transparent 42px),
    var(--cream);
}
.scrapbook-intro{
  max-width:640px;
  margin:0 auto 60px;
  text-align:center;
  font-size:19px;
  color:var(--navy);
}
.scrapbook-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:44px 40px;
  align-items:start;
}
@media(max-width:900px){
  .scrapbook-grid{ grid-template-columns:repeat(2, 1fr); }
}
@media(max-width:560px){
  .scrapbook-grid{ grid-template-columns:1fr; }
  .scrapbook-card{ max-width:320px; margin-left:auto; margin-right:auto; }
}
.scrapbook-card{
  position:relative;
  transform:rotate(var(--rot));
}
.scrapbook-card .flip-card{ perspective:1200px; }
.scrapbook-card .flip-front img{
  display:block;
  width:100%;
  height:auto;
}
.scrapbook-card .flip-back p{
  font-size:16px;
}
.scrapbook-caption{
  text-align:center;
  font-family:'Cormorant Garamond',serif;
  font-style:italic;
  font-size:16px;
  color:var(--cedar);
  margin-top:10px;
}

/* Photo corner mounts, in place of the hero's tape */
.photo-corner{
  position:absolute;
  width:0;
  height:0;
  z-index:3;
  pointer-events:none;
  filter:drop-shadow(0 2px 2px rgba(15,8,6,0.22));
}
.corner-tl{ top:-3px; left:-3px; border-top:26px solid var(--cream); border-right:26px solid transparent; }
.corner-tr{ top:-3px; right:-3px; border-top:26px solid var(--cream); border-left:26px solid transparent; }
.corner-bl{ bottom:-3px; left:-3px; border-bottom:26px solid var(--cream); border-right:26px solid transparent; }
.corner-br{ bottom:-3px; right:-3px; border-bottom:26px solid var(--cream); border-left:26px solid transparent; }

/* ---------- Books listing page ---------- */
.books-listing{
  padding:80px 0 120px;
}
.books-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
}
@media(max-width:800px){
  .books-grid{ grid-template-columns:1fr; gap:70px; }
}
.book-card{
  display:flex;
  flex-direction:column;
}
.book-card-cover{
  display:block;
  width:100%;
  max-width:280px;
  margin:0 auto 32px;
  border-radius:4px;
  box-shadow:0 20px 50px rgba(36,56,74,0.22);
}
.book-card-cover-placeholder{
  aspect-ratio:2/3;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blush);
  color:var(--rose-dark);
  border-radius:4px;
  box-shadow:none;
}
.book-card-body{
  text-align:center;
}
.book-card-body .eyebrow{
  justify-content:center;
  color:var(--rose-dark);
}
.book-card-body h2{
  font-size:34px;
  margin-bottom:16px;
}
.book-card-body p{
  font-size:18px;
  color:var(--navy);
  max-width:420px;
  margin:0 auto 26px;
}
.book-card-body .hero-book-actions{
  justify-content:center;
}
.book-card-placeholder .book-card-body h2{
  color:var(--cedar);
}

/* ---------- Book Two stand-in page ---------- */
.series-grid-placeholder-cover{
  max-width:320px;
  aspect-ratio:2/3;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--blush);
  color:var(--rose-dark);
  border-radius:4px;
}
