/* Book Rescue — shared header and service-page styles. */
:root {
  --rescue-pink: #ed6489;
  --rescue-cream: #f5f0e8;
  --rescue-glow: 0 0 7px rgba(255,92,135,.65), 0 0 20px rgba(217,45,97,.62), 0 0 43px rgba(183,30,80,.43);
}
/* One header design for the homepage and Book Rescue page. */
.wrap.mboox-site-header,
.book-rescue-page .wrap.mboox-site-header {
  width: min(1500px,92vw); margin-inline: auto;
}
.nav.book-rescue-header-ready,
.nav.book-rescue-header-ready *,
.nav.book-rescue-header-ready *::before,
.nav.book-rescue-header-ready *::after { box-sizing: border-box; }
.nav.book-rescue-header-ready {
  position: relative; z-index: 4; max-width: 100%;
  padding: 28px 0; border: 0;
  color: #f3efe7; font: 400 16px/1.4 'Cormorant Garamond',Georgia,serif;
  display: grid !important;
  grid-template-columns: 170px minmax(0,1fr) auto;
  align-items: center;
  gap: 16px 24px;
  overflow: hidden;
  overflow: clip;
}
.nav.book-rescue-header-ready > .book-rescue-brand {
  grid-column: 1; grid-row: 1; min-width: 0;
  display: block; text-decoration: none;
}
.nav.book-rescue-header-ready .book-rescue-brand .logo {
  display: block; width: 170px; height: auto;
}
.nav.book-rescue-header-ready > .pill {
  grid-column: 3; grid-row: 1; justify-self: end;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 20px; border: 2px solid #ed7895; border-radius: 7px;
  background: #93283f; color: #fff;
  font: 600 16px/1.3 'Cormorant Garamond',Georgia,serif;
  text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 12px #ff527ba8,0 0 34px #d3265b88,0 0 72px #b8204c55;
}
.nav.book-rescue-header-ready > .navlinks {
  grid-column: 1 / -1; grid-row: 2;
  min-width: 0; width: 100%; margin: 0;
  display: flex; align-items: center; justify-content: flex-end;
  padding: 0 0 8px;
  font: 700 13px/1.4 'Cormorant Garamond',Georgia,serif;
  letter-spacing: .08em;
  flex-wrap: wrap; gap: 14px 18px;
}
.nav.book-rescue-header-ready > .navlinks > a {
  color: #d7b667; font: 700 14px/1.4 'Cormorant Garamond',Georgia,serif;
  letter-spacing: .08em; text-decoration: none; white-space: nowrap;
}
.nav.book-rescue-header-ready > .navlinks > a:hover { color: #f0d891; }
.nav.book-rescue-header-ready > a:focus-visible,
.nav.book-rescue-header-ready .navlinks a:focus-visible {
  outline: 2px solid var(--rescue-pink); outline-offset: 3px;
}
.nav.book-rescue-header-ready .navlinks .book-rescue-nav-link {
  color: #f5a7bd; text-decoration: none;
  border-bottom: 1px solid rgba(237,100,137,.65); padding-bottom: 4px;
}
.nav.book-rescue-header-ready .navlinks [aria-current="page"] { border-bottom-color: var(--rescue-cream); }
.nav.book-rescue-header-ready > .book-rescue-offer {
  grid-column: 2; grid-row: 1; justify-self: start;
  display: flex; align-items: center; justify-content: center;
  width: min(100%,390px); min-height: 132px; gap: 8px;
  position: relative; color: var(--rescue-cream); text-decoration: none;
}
.book-rescue-art { display: block; width: 104px; height: 118px; object-fit: contain; flex: 0 0 auto; }
.book-rescue-title-stack { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.book-rescue-now {
  position: absolute; left: 0; top: 3px;
  display: block; margin: 0; color: var(--rescue-cream);
  font: 700 18px/1.25 Arial,Helvetica,sans-serif;
  letter-spacing: .12em; white-space: nowrap;
}
.book-rescue-drop {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-width: 225px; height: 150px;
}
.book-rescue-name {
  position: relative; display: inline-block; isolation: isolate;
  padding: 2px 4px 3px 0; white-space: nowrap;
  font-family: 'Great Vibes',cursive; font-size: 46px;
  font-weight: 400; font-style: normal; line-height: 1.25;
  letter-spacing: 0; text-transform: none;
  color: var(--rescue-pink); transform: rotate(-15deg); transform-origin: center;
  text-shadow: var(--rescue-glow);
}
.book-rescue-tagline {
  display: block; max-width: 245px; margin-top: 3px;
  font: 400 12px/1.4 Arial,Helvetica,sans-serif;
  color: #e5dcd4; text-align: center; letter-spacing: .01em;
}
.book-rescue-offer:hover .book-rescue-name { color: #ffafc6; }
.book-rescue-offer:focus-visible { outline: 2px solid var(--rescue-pink); outline-offset: 3px; }
.book-rescue-beacon {
  position: absolute; width: 24px; height: 30px; left: 57%; top: -18px;
  z-index: -1; pointer-events: none; transform: rotate(15deg);
  filter: drop-shadow(0 0 7px rgba(237,100,137,.75));
}
.book-rescue-beam {
  position: absolute; width: 150px; height: 150px;
  left: 50%; top: 10px; margin: -75px 0 0 -75px;
  background: conic-gradient(from 0deg,transparent 0deg 285deg,
    rgba(237,100,137,0) 310deg,rgba(255,133,173,.65) 337deg,
    rgba(255,192,213,.18) 350deg,transparent 360deg);
  border-radius: 50%; filter: blur(4px); opacity: .55;
}
.book-rescue-dome {
  position: absolute; inset: 0 2px 7px; border-radius: 9px 9px 3px 3px;
  border: 1px solid rgba(255,178,207,.85);
  background: radial-gradient(ellipse at 35% 30%,#fff2f7 0%,#ffb5d2 10%,#ef6099 30%,#ab2861 67%,#5a1839 100%);
  box-shadow: inset 3px 0 4px rgba(255,255,255,.25),0 0 10px #df5b8e;
}
.book-rescue-base {
  position: absolute; left: 0; right: 0; bottom: 3px; height: 7px;
  border-radius: 2px; border-top: 1px solid #987583;
  background: linear-gradient(#5a444d,#18151a);
}
.book-rescue-ready .book-rescue-drop {
  animation: bookRescueDrop .9s cubic-bezier(.16,1,.3,1) 1s both;
}
.book-rescue-ready .book-rescue-beam { animation: bookRescueBeacon 3.2s linear 1.9s infinite; }
.hero-copy > .publishing-tagline.book-rescue-publishing-heading {
  position: static; display: block; width: auto; max-width: 100%;
  margin: 0 0 20px; padding: 0; transform: none;
  color: var(--rescue-pink); font-family: Arial,Helvetica,sans-serif;
  font-size: clamp(23px,2.1vw,36px); font-weight: 900;
  line-height: 1.16; letter-spacing: .02em; text-align: left;
  white-space: normal; text-transform: none; text-shadow: var(--rescue-glow);
}
.home-refresh .hero-copy h1.book-rescue-tight-title > em { display: block; margin-top: 0; line-height: 1.05; }
@keyframes bookRescueDrop {
  from { opacity: 0; transform: translate3d(0,-240px,0); }
  18% { opacity: 1; }
  to { opacity: 1; transform: translate3d(0,0,0); }
}
@keyframes bookRescueBeacon { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 1050px) {
  .nav.book-rescue-header-ready { grid-template-columns: minmax(0,1fr) auto; }
  .nav.book-rescue-header-ready > .pill { grid-column: 2; grid-row: 1; }
  .nav.book-rescue-header-ready > .book-rescue-offer { grid-column: 1 / -1; grid-row: 2; justify-self: center; min-height: 128px; }
  .nav.book-rescue-header-ready > .navlinks { grid-column: 1 / -1; grid-row: 3; justify-content: center; }
}
@media (max-width: 600px) {
  .nav.book-rescue-header-ready { gap: 13px; }
  .nav.book-rescue-header-ready .book-rescue-brand .logo { width: 110px; }
  .nav.book-rescue-header-ready > .book-rescue-offer { gap: 3px; min-height: 122px; }
  .book-rescue-art { width: 86px; height: 112px; }
  .book-rescue-now { font-size: 15px; letter-spacing: .1em; }
  .book-rescue-drop { min-width: 200px; height: 132px; }
  .book-rescue-name { font-size: 40px; }
  .book-rescue-tagline { max-width: 208px; font-size: 11px; }
  .nav.book-rescue-header-ready > .navlinks { gap: 12px 15px; }
  .nav.book-rescue-header-ready .navlinks a { font-size: 12px; }
  .hero-copy > .publishing-tagline.book-rescue-publishing-heading { font-size: clamp(22px,6vw,28px); margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .book-rescue-ready .book-rescue-drop { animation: none; opacity: 1; transform: none; }
  .book-rescue-ready .book-rescue-beam { animation: none; opacity: .25; }
}

/* Dedicated service page. Kept independent of the existing site's theme file. */
.book-rescue-page { margin: 0; background: #111; color: var(--rescue-cream); font: 400 19px/1.65 'Cormorant Garamond',Georgia,serif; }
.book-rescue-page * { box-sizing: border-box; }
.book-rescue-page a { color: inherit; }
.book-rescue-page .wrap { width: min(1360px,92vw); margin-inline: auto; }
.rescue-skip { position: absolute; top: -90px; left: 16px; z-index: 10; padding: 10px 16px; background: #f5f0e8; color: #111 !important; }
.rescue-skip:focus { top: 12px; }
.book-rescue-page :focus-visible { outline: 2px solid var(--rescue-pink); outline-offset: 5px; }
.rescue-intro { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 5vw; align-items: center; padding: 76px 0 62px; }
.rescue-eyebrow { margin: 0 0 16px; color: #d7b667; font: 700 12px/1.5 Arial,Helvetica,sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.rescue-intro h1 { margin: 0; color: var(--rescue-pink); font: 400 clamp(66px,7.4vw,108px)/1.1 'Great Vibes',cursive; text-shadow: var(--rescue-glow); }
.rescue-subtitle { margin: 14px 0 26px; color: #ebdbcf; font-size: clamp(23px,2.5vw,31px); line-height: 1.25; }
.rescue-intro h2 { max-width: 19ch; margin: 0 0 18px; font: 400 clamp(30px,3.2vw,46px)/1.18 'Playfair Display',Georgia,serif; }
.rescue-intro .rescue-description { max-width: 52ch; margin: 0 0 25px; color: #d6cec4; font-size: 22px; line-height: 1.55; }
.rescue-intro-art { margin: 0; }
.rescue-intro-art img { display: block; width: 100%; max-height: 460px; object-fit: contain; }
.rescue-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 14px 23px; border: 1px solid #ed7895; border-radius: 4px; background: #852538; color: #fff !important; font: 700 14px/1.4 Arial,Helvetica,sans-serif; letter-spacing: .025em; text-decoration: none; }
.rescue-button:hover { background: #a3324c; }
.rescue-text-link { display: inline-block; margin: 12px 0 0 20px; color: #f5a7bd !important; font: 500 14px/1.5 Arial,Helvetica,sans-serif; text-underline-offset: 5px; }
.rescue-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid #645140; padding: 25px 0; margin: 0; gap: 32px; }
.rescue-facts div { padding-right: 20px; }
.rescue-facts dt { color: #f3dfb2; font: 400 28px/1.25 'Playfair Display',Georgia,serif; }
.rescue-facts dd { margin: 9px 0 0; color: #c9c0b7; font: 400 14px/1.65 Arial,Helvetica,sans-serif; }
.rescue-section { padding: 70px 0; }
.rescue-section h2 { margin: 0 0 20px; font: 400 clamp(30px,3.4vw,44px)/1.2 'Playfair Display',Georgia,serif; }
.rescue-section-lead { max-width: 68ch; margin: 0 0 32px; color: #cfc7bc; font-size: 22px; }
.rescue-services { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.rescue-services li { position: relative; padding: 27px 0 24px 40px; border-top: 1px solid #3f3831; }
.rescue-service-number { position: absolute; left: 0; top: 32px; color: #ca9b67; font: 500 12px/1.4 Arial,Helvetica,sans-serif; letter-spacing: .1em; }
.rescue-services h3 { margin: 0 0 10px; font: 400 25px/1.3 'Playfair Display',Georgia,serif; }
.rescue-services p { margin: 0; color: #cfc7bc; font-size: 20px; line-height: 1.55; }
.rescue-review-note { max-width: 84ch; margin: 25px 0 0; padding-left: 20px; border-left: 2px solid #a64b64; color: #c9c0b7; font: 400 14px/1.7 Arial,Helvetica,sans-serif; }
.rescue-review-note a { text-underline-offset: 3px; }
.rescue-process { background: #171715; border-block: 1px solid #3f3831; }
.rescue-process-list { list-style: none; padding: 0; margin: 35px 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 45px; }
.rescue-process-list h3 { margin: 14px 0 10px; font: 400 25px/1.3 'Playfair Display',Georgia,serif; }
.rescue-process-list .rescue-step { color: #f5a7bd; font: 600 13px/1.4 Arial,Helvetica,sans-serif; letter-spacing: .14em; }
.rescue-process-list p { margin: 0; color: #cfc7bc; font-size: 20px; }
.rescue-request { display: grid; grid-template-columns: 1.15fr 1fr; gap: 7vw; align-items: start; }
.rescue-request p { color: #cfc7bc; font-size: 21px; }
.rescue-request ul { margin: 18px 0 26px; padding-left: 22px; color: #cfc7bc; }
.rescue-request li { margin: 7px 0; }
.rescue-pricing { border: 1px solid #645140; padding: 32px; background: #171715; }
.rescue-pricing h3 { margin: 0; font: 400 30px/1.3 'Playfair Display',Georgia,serif; }
.rescue-pricing p { font: 400 15px/1.75 Arial,Helvetica,sans-serif; }
.rescue-pricing strong { color: #f5f0e8; }
.rescue-pricing .rescue-price { margin: 18px 0 8px; color: #f3dfb2; font: 400 55px/1.1 'Playfair Display',Georgia,serif; }
.rescue-price span { display: inline-block; margin-left: 9px; color: #d7c7b5; font: 400 16px/1.4 Arial,Helvetica,sans-serif; }
.rescue-payment { border-top: 1px solid #645140; margin-top: 24px; padding-top: 18px; }
.rescue-payment h4 { margin: 0 0 8px; color: #f3dfb2; font: 600 17px/1.4 Arial,Helvetica,sans-serif; }
.rescue-payment [hidden] { display: none !important; }
.rescue-email-address { display: block; margin-top: 16px; font: 400 15px/1.5 Arial,Helvetica,sans-serif; text-underline-offset: 4px; }
.rescue-faq { padding-top: 0; }
.rescue-faq details { border-top: 1px solid #3f3831; padding: 20px 0; }
.rescue-faq summary { cursor: pointer; font: 400 22px/1.5 'Playfair Display',Georgia,serif; }
.rescue-faq details p { max-width: 80ch; color: #cfc7bc; margin-bottom: 0; }
.rescue-footer { border-top: 1px solid #645140; padding: 30px 0 42px; display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; flex-wrap: wrap; font: 400 13px/1.6 Arial,Helvetica,sans-serif; color: #b4aca2; }
.rescue-footer img { display: block; width: 140px; height: auto; }
.rescue-footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.rescue-footer-links a { text-decoration: none; }
.rescue-footer-legal { flex-basis: 100%; }
.rescue-footer-legal p { margin: 5px 0; }
@media (max-width: 800px) {
  .rescue-intro { grid-template-columns: 1fr; padding: 50px 0 42px; gap: 30px; }
  .rescue-intro-art { max-width: 440px; width: 100%; justify-self: center; }
  .rescue-intro-art img { max-height: 350px; }
  .rescue-intro h2 { max-width: 26ch; }
  .rescue-facts { gap: 20px; }
  .rescue-facts dt { font-size: 23px; }
  .rescue-services { gap: 0 32px; }
  .rescue-process-list { gap: 28px; }
  .rescue-request { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 600px) {
  .rescue-intro h1 { font-size: clamp(58px,17vw,75px); white-space: nowrap; }
  .rescue-subtitle { font-size: 25px; }
  .rescue-text-link { display: block; margin-left: 0; margin-top: 22px; }
  .rescue-facts { grid-template-columns: 1fr; padding: 25px 0; gap: 23px; }
  .rescue-facts div { padding: 0; }
  .rescue-facts dt { font-size: 26px; }
  .rescue-facts dd { margin-top: 5px; }
  .rescue-section { padding: 48px 0; }
  .rescue-services,.rescue-process-list { grid-template-columns: 1fr; }
  .rescue-services li { padding-left: 34px; }
  .rescue-pricing { padding: 25px; }
  .rescue-faq { padding-top: 0; }
}

/* Book Rescue inquiry form. */
.rescue-request { grid-template-columns: minmax(0,1fr) 330px; gap: 46px; }
.rescue-request .rescue-form-intro { margin-bottom: 30px; }
.rescue-inquiry-form { padding: 28px; border: 1px solid #51473d; background: #171715; }
.rescue-inquiry-form fieldset { padding: 0; margin: 0 0 32px; border: 0; min-width: 0; }
.rescue-inquiry-form legend { margin-bottom: 20px; padding: 0; color: #f3dfb2; font: 400 24px/1.3 'Playfair Display',Georgia,serif; }
.rescue-form-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 20px; }
.rescue-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.rescue-field + .rescue-field { margin-top: 0; }
fieldset > .rescue-field { margin-top: 20px; }
.rescue-field-wide { grid-column: 1 / -1; }
.rescue-inquiry-form label { color: #f5f0e8; font: 600 14px/1.5 Arial,Helvetica,sans-serif; }
.rescue-inquiry-form label span { font-weight: 400; }
.rescue-inquiry-form input:not([type="checkbox"]):not([type="hidden"]),.rescue-inquiry-form select,.rescue-inquiry-form textarea {
  width: 100%; min-width: 0; border: 1px solid #81705e; border-radius: 4px;
  color: #f5f0e8; background: #111; padding: 12px;
  font: 400 16px/1.5 Arial,Helvetica,sans-serif; color-scheme: dark;
}
.rescue-inquiry-form input:not([type="checkbox"]):not([type="hidden"]),.rescue-inquiry-form select { min-height: 48px; }
.rescue-inquiry-form textarea { resize: vertical; min-height: 90px; }
.rescue-inquiry-form ::placeholder { color: #aba197; opacity: 1; }
.rescue-inquiry-form input:focus-visible,.rescue-inquiry-form select:focus-visible,.rescue-inquiry-form textarea:focus-visible { outline: 2px solid #ed6489; outline-offset: 3px; }
.rescue-inquiry-form .rescue-form-hint { margin: 4px 0 0; color: #c9c0b7; font: 400 13px/1.65 Arial,Helvetica,sans-serif; }
.rescue-service-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 14px 0 20px; }
.rescue-service-choices label { display: flex; align-items: flex-start; gap: 10px; padding: 10px; border: 1px solid #51473d; font-weight: 400; cursor: pointer; }
.rescue-inquiry-form input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; accent-color: #ed6489; margin: 2px 0 0; }
.rescue-terms { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 14px; }
.rescue-form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 24px; }
.rescue-form-actions button { cursor: pointer; }
.rescue-form-actions .rescue-button:disabled { cursor: default; opacity: .7; }
.rescue-save-copy { border: 0; padding: 10px 0; background: none; color: #f5a7bd; font: 400 14px/1.5 Arial,Helvetica,sans-serif; text-decoration: underline; text-underline-offset: 4px; }
.rescue-form-feedback { margin-top: 22px; padding: 16px; border: 1px solid #aa7b43; background: #242016; color: #f5f0e8; font: 400 15px/1.65 Arial,Helvetica,sans-serif; overflow-wrap: anywhere; }
.rescue-form-feedback[data-state="success"] { border-color: #8caa83; background: #18251b; }
.rescue-form-feedback[data-state="error"] { border-color: #ed7895; background: #301c24; }
.rescue-inquiry-form [hidden] { display: none !important; }
.rescue-response { max-width: 800px; padding: 70px 0; }
.rescue-response h1 { font-family: 'Playfair Display',Georgia,serif; font-weight: 400; }
@media (max-width: 1050px) {
  .rescue-request { grid-template-columns: minmax(0,1fr); gap: 34px; }
}
@media (max-width: 600px) {
  .rescue-inquiry-form { padding: 22px 16px; }
  .rescue-form-grid,.rescue-service-choices { grid-template-columns: minmax(0,1fr); }
  .rescue-inquiry-form legend { font-size: 22px; }
  .rescue-form-actions { align-items: stretch; flex-direction: column; gap: 8px; }
  .rescue-form-actions .rescue-button { width: 100%; }
  .rescue-save-copy { text-align: center; }
}
