.storybook {
  --fir: #123b31;
  --ink: #183c31;
  --berry: #a02d35;
  --cream: #fff6df;
  background: var(--cream);
  color: var(--ink);
}
.book-width { width: min(970px, calc(100% - 54px)); margin-inline: auto; }
.book-top, .book-footer { background: var(--fir); color: var(--cream); }
.book-top nav, .book-footer > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; }
.book-top nav > div { display: flex; gap: clamp(10px, 3vw, 26px); }
.book-top a, .book-story a { text-underline-offset: .25em; font-weight: 650; }
.book-brand { font: 700 clamp(1.22rem, 4vw, 1.85rem)/1 var(--serif); text-decoration: none; white-space: nowrap; }
.book-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  align-items: center;
  min-height: clamp(470px, 46vw, 638px);
  padding: 46px 20px;
  background: #254d49;
  border-bottom: 9px solid #d19a4d;
}
.cover-illustration { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; }
.cover-card {
  width: min(495px, 100%);
  padding: clamp(23px, 4vw, 42px);
  background: var(--cream);
  border: 2px solid #906336;
  outline: 5px solid var(--cream);
  border-radius: 2px;
  box-shadow: 0 9px 35px #142c24aa;
  text-align: center;
}
.cover-label { color: #7f4033; font-size: .875rem; letter-spacing: .105em; font-weight: 750; margin-bottom: 12px; }
.cover-card h1 { color: var(--fir); font-size: clamp(3.15rem, 6.7vw, 5.15rem); letter-spacing: -.06em; }
.cover-card h1 em { color: var(--berry); }
.cover-card > p:not(.cover-label) { margin: 16px auto; max-width: 29ch; }
.book-button { background: var(--berry); border-radius: 4px; }
.book-button:hover { background: #78222b; }
.book-visits { padding-block: 60px 65px; }
.book-visits h2, .book-request h2 { text-align: center; margin-bottom: 27px; }
.visit-strip { display: grid; grid-template-columns: 74px 1fr minmax(198px, auto); align-items: center; gap: clamp(16px, 3vw, 32px); padding: 21px 25px; border: 1px solid #678577; border-radius: 6px; }
.visit-strip + .visit-strip { margin-top: 14px; }
.video-visit { background: #dceada; }
.porch-visit { background: #fae0d2; border-color: #b56859; }
.strip-symbol { display: grid; place-items: center; width: 68px; height: 68px; background: var(--cream); border: 1px solid currentColor; border-radius: 50%; }
.porch-visit .strip-symbol { color: #8d3236; }
.strip-symbol svg { width: 46px; height: 46px; }
.visit-strip h3 { font-size: clamp(1.65rem, 3.4vw, 2.65rem); margin-bottom: 6px; }
.service-area { margin-top: 6px; }
.strip-action { display: grid; justify-items: start; gap: 6px; }
.strip-action strong { font-size: 1.15rem; }
.book-story { background: var(--fir); color: var(--cream); padding-block: 46px; }
.story-letter { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(20px, 5vw, 58px); }
.story-letter img { display: block; width: clamp(155px, 25vw, 225px); height: auto; aspect-ratio: 1; object-fit: cover; border: 5px solid #e6b77b; border-radius: 50%; }
.book-story h2 { margin-bottom: 12px; }
.book-story a { display: inline-block; margin-top: 10px; color: #ffdd9c; }
.book-request { padding-block: 58px; }
.book-request h2 { margin-bottom: 14px; }
.book-request .book-width { max-width: 680px; }
.book-request .book-width > p { text-align: center; margin-bottom: 24px; }
.book-request form { background: #fffaf0; border: 1px solid #d1bd98; padding: clamp(15px, 5vw, 31px); border-radius: 6px; }
.book-footer { border: 0; }
@media (max-width: 750px) {
  .book-width { width: calc(100% - 36px); }
  .book-cover { padding-top: 185px; padding-bottom: 30px; align-items: end; }
  .cover-illustration { object-position: right center; }
  .visit-strip { grid-template-columns: 58px 1fr; padding: 16px; }
  .strip-symbol { width: 54px; height: 54px; }
  .strip-symbol svg { width: 38px; height: 38px; }
  .strip-action { grid-column: 2; }
}
@media (max-width: 450px) {
  .book-top nav > div { font-size: .875rem; }
  .cover-card h1 { font-size: clamp(2.55rem, 11.2vw, 3.3rem); }
  .story-letter { grid-template-columns: 1fr; }
  .visit-strip { grid-template-columns: 1fr; gap: 9px; }
  .strip-action { grid-column: 1; }
}
.request-status { margin-top: 6px; padding: .7rem .9rem; border-radius: 5px; background: #dfefdf; color: #183c31; }
.request-status.error { background: #f8ded4; color: #722c25; }

.story-letter .santa-photo { width: clamp(180px, 28vw, 270px); aspect-ratio: 529 / 466; height: auto; border-radius: 8px; object-fit: contain; }
