  * { box-sizing: border-box; }
  body { font-family: 'Lora', serif; margin: 0; color: #3A3A3A; background: #FAF6EF; }
  nav { display: flex; gap: 28px; padding: 22px 40px; border-bottom: 1px solid #e8e0d0; background: #FCF8EE; position: sticky; top: 0; z-index: 100; }
  nav a { text-decoration: none; color: #1C2B4A; cursor: pointer; font-size: 1.05em; letter-spacing: 0.5px; }
  nav a.active { font-weight: 600; border-bottom: 2px solid #C9A14A; padding-bottom: 4px; }
  .page { padding: 70px 40px; max-width: 700px; margin: 0 auto; display: none; text-align: center; }
  .page.active { display: block; }
  h1 { font-family: 'Allura', cursive; font-weight: 400; font-size: 3.4em; color: #1C2B4A; margin-bottom: 6px; letter-spacing: 1px; }
  #home h1 { font-size: 4.6em; }
  #home h1 .narrow { display: inline-block; transform: scaleX(0.8); margin-right: -0.12em; }
  .page-hr { width: 100px; height: 2px; background: #C9A14A; margin: 0 auto 30px; box-shadow: 0 0 8px #C9A14A; }
  .placeholder { color: #999; font-style: italic; border: 1px dashed #C9A14A; padding: 16px; margin: 16px auto; background: #fff; max-width: 500px; }
  label { display: block; margin-top: 16px; font-weight: 600; text-align: left; max-width: 380px; margin-left: auto; margin-right: auto; color: #1C2B4A; }
  input, textarea { width: 100%; max-width: 380px; display: block; margin: 4px auto 0; padding: 10px; font-family: 'Lora', serif; border: 1px solid #C9A14A; background: #fff; }
  button { margin-top: 20px; padding: 12px 24px; cursor: pointer; border: none; background: #1C2B4A; color: #FAF6EF; font-family: 'Lora', serif; font-size: 1em; }
  button:hover { background: #16223a; }
.review-card { background: #fff; border: 1px solid #e8e0d0; border-left: 3px solid #C9A14A; padding: 28px 34px; text-align: left; width: 100%; flex: 0 0 100%; scroll-snap-align: center; }
  .review-quote { font-style: italic; color: #3A3A3A; margin: 0 0 10px; line-height: 1.6; }
  .review-name { font-weight: 600; color: #1C2B4A; font-size: 0.95em; }
  .review-date { color: #999; font-size: 0.85em; margin-top: 2px; }
  .signup-box { max-width: 380px; margin: 0 auto 16px; }
  .signup-confirmation { max-width: 480px; margin: 16px auto; color: #1C2B4A; line-height: 1.7; font-style: italic; }
.home-wrap { display: flex; align-items: center; justify-content: center; gap: 40px; max-width: 900px; margin: 0 auto; flex-wrap: wrap; text-align: left; }
.home-img { flex: 0 0 auto; max-width: 300px; width: 100%; }
  .home-img img { width: 100%; border-radius: 4px; display: block; margin-bottom: 10px; }
.home-text { flex: 1 1 320px; max-width: 380px; text-align: center; }
  .home-text h1, .home-text .subtitle, .home-text p { text-align: center; }
  .home-text .page-hr { margin-left: auto; margin-right: auto; }
  .home-text .signup-box, .home-text .signup-confirmation { margin-left: auto; margin-right: auto; }
 
@media (max-width: 700px) {
  .home-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    text-align: center;
  }
  .home-img {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 79%;
    max-width: 360px;
    height: 390px;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
  }
  .home-img img {
    width: 100%;
    display: block;
    margin: 0;
    opacity: 0.12;
    filter: grayscale(15%);
  }
  .home-text {
    position: relative;
    z-index: 1;
    max-width: 380px;
    margin: 0 auto;
    padding-top: 8px;
  }
  .home-text h1, .home-text .subtitle, .home-text p { text-align: center; }
  .home-text .page-hr { margin-left: auto; margin-right: auto; }
  .home-text .signup-box, .home-text .signup-confirmation { margin-left: auto; margin-right: auto; }
}
#home { max-width: 900px; }
  .about-wrap { display: flex; align-items: flex-start; justify-content: center; gap: 40px; max-width: 800px; margin: 0 auto; flex-wrap: wrap; }
  .about-text { flex: 1 1 320px; max-width: 460px; text-align: left; }
  .about-img { flex: 0 0 auto; max-width: 240px; width: 100%; }
  .about-img img { width: 100%; border-radius: 4px; display: block; }
  @media (max-width: 700px) {
    .about-wrap { flex-direction: column; align-items: center; text-align: center; }
    .about-text { text-align: center; flex: 0 0 auto; }
    /* trims the paragraph's invisible line-height leading so the visible text-to-photo gap matches the photo-to-quote gap */
    #about .about-text p { margin-bottom: -6px !important; }
  }
  .about-quote-wrap { max-width: 800px; margin: 30px auto 0; text-align: center; }
  .note { font-size: 0.85em; color: #aaa; margin-top: 30px; text-align: center; }
  @media (max-width: 500px) {
    nav { padding: 16px 18px; gap: 14px; justify-content: center; flex-wrap: wrap; }
    nav a { font-size: 0.95em; }
    .page { padding: 40px 20px; }
    #home h1 { font-size: 3.2em; }
    h1 { font-size: 2.6em; }
  }
  .launch-tag {
    display: inline-block;
    font-style: italic;
    letter-spacing: 1px;
    color: #b4893f;
    font-size: 15px;
    padding: 6px 18px;
    Margin-top: 6px;
  }
    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
.contact-box {
  background: #fff;
  border: 1px solid #C9A14A;
  max-width: 620px;
  margin: 0 auto;
  padding: 34px 38px 30px;
}

.contact-cross {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.carousel-wrap {
  position: relative;
  max-width: 640px;
  margin: 0 auto 0px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 0 40px;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e0d8c4;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.carousel-dot.active {
  background: #C9A14A;
  transform: scale(1.2);
}

#reviews-list {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 18px;
  padding: 4px 4px 16px;
  scrollbar-width: none;
}
#reviews-list::-webkit-scrollbar { display: none; }

.carousel-arrow {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #e8e0d0;
  color: #1C2B4A;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 2;
  transition: background 0.15s ease;
}
.carousel-arrow:hover { background: #f0ead9; }
.carousel-arrow.prev { left: -19px; }
.carousel-arrow.next { right: -19px; }

@media (max-width: 700px) {
  .carousel-arrow { display: none; }
  .review-card { width: 85%; }
}

/* ===== Signup: slim inline banner (replaces .signup-box-card) ===== */
.signup-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  max-width: 640px;
  margin: 0 auto 8px;
  padding: 24px 4px;
  text-align: left;
}
.signup-banner-text { flex: 1 1 220px; }
.signup-banner-text h3 {
  margin: 0 0 2px;
  color: #1C2B4A;
  font-size: 1.1em;
}
.signup-banner-text .signup-subtitle { margin: 0; }
.signup-banner-form {
  display: flex;
  gap: 8px;
  flex: 1 1 280px;
}
.signup-banner-form input {
  margin: 0;
  flex: 1;
  padding: 9px 10px;
  border: 1px solid #cfc6b4;
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.95em;
}
.signup-banner-form button {
  margin: 0;
  width: auto;
  white-space: nowrap;
  padding: 9px 18px;
  background: #1C2B4A;
  color: #fff;
  border: none;
  border-radius: 3px;
  font-size: 0.9em;
  cursor: pointer;
}
.signup-banner-form button:hover { background: #2a3d63; }

.signup-error {
  color: #b00020;
  max-width: 420px;
  margin: 0 auto 16px;
  font-size: 0.85em;
  text-align: center;
}

.signup-confirmation {
  background: #fff;
  border: 1px solid #e8e0d0;
  border-left: 3px solid #C9A14A;
  padding: 16px 22px;
  max-width: 420px;
  margin: 18px auto;
  text-align: center;
}

/* ===== Review invitation: plain mailto, no form ===== */
.review-invite {
  max-width: 480px;
  margin: 44px auto 0;
  text-align: center;
}
.review-invite h3 {
  color: #1C2B4A;
  font-size: 1.3em;
  margin-bottom: 12px;
}
.review-invite p {
  line-height: 1.7;
  margin: 0 0 16px;
}
.review-invite .mail-link {
  display: inline-block;
  font-weight: 600;
  color: #1C2B4A;
  border-bottom: 1px solid #C9A14A;
  text-decoration: none;
  padding-bottom: 2px;
}
.review-invite .mail-link:hover { color: #C9A14A; }
.review-invite .invite-fine {
  margin-top: 14px;
  font-size: 0.85em;
  font-style: italic;
  color: #aaa;
}

@media (max-width: 600px) {
  .signup-banner { flex-direction: column; align-items: stretch; text-align: center; }
  .signup-banner-text,
  .signup-banner-form { flex: none; }
  .signup-banner-form { flex-direction: column; gap: 10px; }
  .signup-banner-form input { flex: none; }
}


/* ===== Endorsements (static cards above the testimonial carousel) ===== */
.reviews-subhead {
  font-family: 'Lora', serif;
  font-weight: 600;
  font-size: 1.25em;
  color: #1C2B4A;
  letter-spacing: 0.5px;
  margin: 8px 0 22px;
}
/* Widen the Reviews page itself (the global .page rule caps pages at 700px) */
#blog { max-width: 1240px; }
.endorsements-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* change to 3 if you add more endorsements */
  gap: 28px;
  align-items: start; /* change to "stretch" for equal-height cards */
  max-width: 1160px;
  margin: 0 auto 56px;
}
.endorsement-card {
  background: #fff;
  border: 1px solid #e8e0d0;
  border-left: 3px solid #C9A14A;
  padding: 26px 34px;
  text-align: left;
}
.endorsement-card.has-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.endorsement-photo {
  width: 80px; height: 80px; flex: 0 0 80px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid #C9A14A;
}
.endorsement-body { width: 100%; min-width: 0; }
@media (max-width: 900px) {
  .endorsements-list { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 600px) {
  .endorsement-card { padding: 24px 22px; }
}
.endorsement-quote {
  font-style: italic;
  font-size: 1.02em;
  color: #3A3A3A;
  line-height: 1.6;
  margin: 0 0 14px;
}
.endorsement-name {
  font-weight: 600;
  color: #1C2B4A;
}
.endorsement-title {
  color: #8a7a52;
  font-size: 0.88em;
  line-height: 1.5;
  margin-top: 3px;
}

/* ===== Home page: featured endorsement ===== */
.home-endorsement {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 680px;
  margin: 12px auto 0;
  padding: 26px 32px;
  background: #fff;
  border: 1px solid #e8e0d0;
  border-left: 3px solid #C9A14A;
  text-align: left;
}
.home-endorsement-photo {
  width: 84px; height: 84px; flex: 0 0 84px;
  border-radius: 50%; object-fit: cover;
  border: 2px solid #C9A14A;
}
.home-endorsement-body { flex: 1; min-width: 0; }
.home-endorsement-quote {
  font-style: italic;
  line-height: 1.65;
  color: #3A3A3A;
  margin: 0 0 12px;
}
.home-endorsement-name { font-weight: 600; color: #1C2B4A; }
.home-endorsement-title { color: #8a7a52; font-size: 0.88em; line-height: 1.5; margin-top: 3px; }
.home-endorsement-link {
  display: inline-block; margin-top: 12px; font-size: 0.95em;
  color: #1C2B4A; cursor: pointer; border-bottom: 1px solid #C9A14A;
}
@media (max-width: 600px) {
  .home-endorsement { flex-direction: column; text-align: center; padding: 24px 22px; margin-top: 12px; }
  .home-endorsement-body { text-align: left; }
}
  .reviews-title { display: inline-flex; align-items: center; justify-content: center; gap: 16px; }
  .reviews-title .title-monstrance { flex: 0 0 auto; }

/* ===== Author site additions ===== */
.endorsement-by { display: flex; align-items: center; gap: 12px; text-align: left; }
.endorsement-by .endorsement-photo { width: 56px; height: 56px; flex: 0 0 56px; }
.rosary-divider { display: block; width: 100%; max-width: 230px; height: auto; margin: -4px auto 28px; }
.carousel-dots { gap: 0; }
.carousel-dot { width: 32px; height: 32px; margin: 0; background: none; position: relative; }
.carousel-dot:hover, .carousel-dot.active { background: none; transform: none; }
.carousel-dot::after { content: ''; position: absolute; top: 11px; left: 11px; width: 10px; height: 10px; border-radius: 50%; background: #e0d8c4; }
.carousel-dot.active::after { background: #C9A14A; }
@media (max-width: 600px) {
  .about-quote-wrap { padding: 0 !important; }
  .about-quote-wrap > div { padding: 40px 22px 44px !important; }
}
.launch-tag { color: #86651f; }
.endorsement-title, .home-endorsement-title { color: #75663f; }
.review-date { color: #6b665c; }
#home .home-text p { line-height: 1.8; }
.home-endorsement-link { text-decoration: none; }
.byline em { font-style: italic; letter-spacing: 0; }
#blog .intro { max-width: 960px; text-wrap: balance; }
h1.reviews-title, h2.reviews-title { display: flex; }
.title-icon { flex: 0 0 auto; }
.note { color: #6b665c; }
#reviews-list { align-items: flex-start; transition: height 0.2s ease; }
#blog h1 .narrow, .book-title .narrow { display: inline-block; transform: scaleX(0.8); margin-right: -0.12em; }
#home h1.name { font-size: 3.8em; margin: 0 0 4px; }
.byline { letter-spacing: 1px; color: #1C2B4A; margin-bottom: 16px; }
.book-title { font-family: 'Allura', cursive; font-weight: 400; font-size: 2.5em; color: #1C2B4A; margin: 28px 0 0; }
.book-sub { font-style: italic; color: #555; line-height: 1.6; margin-top: 4px; }
@media (min-width: 701px) and (max-width: 900px) { #home h1.name { font-size: 2.9em; white-space: nowrap; } }
/* Be With Me: picture beside the title and description (stacks on phones) */
.book-hero { display: grid; grid-template-columns: 280px minmax(0, 1fr); grid-template-rows: 1fr auto auto auto auto 1fr; column-gap: 40px; max-width: 900px; margin: 0 auto 44px; }
.book-hero > * { grid-column: 2; }
.book-hero h1 { grid-row: 2; margin-top: 0; }
.book-hero .book-sub { grid-row: 3; }
.book-hero .page-hr { grid-row: 4; justify-self: center; width: 100px; }
.book-hero .intro { grid-row: 5; }
#blog .book-hero .intro { margin-bottom: 0; }
.book-hero .book-art { grid-column: 1; grid-row: 1 / -1; align-self: center; width: 100%; height: auto; border-radius: 4px; }
@media (max-width: 700px) {
  .book-hero { display: block; margin-bottom: 40px; }
  .book-hero .book-art { display: block; width: 210px; max-width: 100%; margin: 0 auto 24px; }
  /* Home: headshot shown clearly above the name */
  .home-img { position: static; transform: none; width: 190px; height: auto; margin: 0 auto; overflow: visible; }
  .home-img img { height: auto; opacity: 1; filter: none; }
  .home-text { padding-top: 0; }
  #home h1.name { margin-top: 12px; }
}
.intro { line-height: 1.7; margin: 0 auto 40px; max-width: 520px; }
.text-link { color: #1C2B4A; text-decoration: none; border-bottom: 1px solid #C9A14A; }
#writing .endorsement-card { line-height: 1.7; }
@media (max-width: 500px) { #home h1.name { font-size: 3em; } nav { gap: 12px; } }

/* All in-page links: bolder text with a thicker gold underline */
.text-link, .home-endorsement-link { display: inline-block; font-weight: 600; color: #1C2B4A; text-decoration: none; border-bottom: 2px solid #C9A14A; padding-bottom: 3px; line-height: 1.4; }
.text-link:hover, .home-endorsement-link:hover { color: #9a7524; }
#home .home-text .text-link { margin-bottom: 22px; }
#home .home-text p { text-wrap: pretty; }
/* Be With Me page title: larger */
#blog .book-hero h1 { font-size: 5.2em; }
@media (min-width: 701px) and (max-width: 900px) { #blog .book-hero h1 { font-size: 3.8em; white-space: nowrap; } }
@media (max-width: 700px) { #blog .book-hero h1 { font-size: 3.8em; } }
.footer-link { color: #1C2B4A; font-weight: 600; text-decoration: none; border-bottom: 2px solid #C9A14A; padding-bottom: 2px; }
.footer-link:hover { color: #9a7524; }
/* Page not found */
#notfound p { max-width: 480px; margin: 0 auto 24px; line-height: 1.7; }
/* Home name: stacked on computers, one line on phones */
#home h1.name span { display: block; }
#home h1.name { font-size: 5.6em; line-height: 0.95; margin-bottom: 14px; white-space: normal; }
@media (min-width: 701px) and (max-width: 900px) { #home h1.name { font-size: 4.6em; } }
@media (max-width: 700px) {
  #home h1.name span { display: inline; }
  #home h1.name { font-size: 3.5em; line-height: normal; margin-bottom: 4px; }
}
