
/* The five actual book covers are displayed without cropping, rotation of image pixels, overlays, or AI redraws. */
html{scroll-behavior:smooth}
img{max-width:100%;height:auto}
.skip-link{position:absolute;left:-9999px;top:8px;background:white;color:#123d51;padding:10px 16px;z-index:1000}
.skip-link:focus{left:8px}
.main-nav{gap:15px}
.main-nav>a:not(.nav-feature){font-size:12px}
.main-nav a[aria-current="page"]{text-decoration:underline;text-underline-offset:6px}
.seo-hero{background:radial-gradient(circle at 73% 20%, #f1d7a4 0,transparent 40%),linear-gradient(115deg,#fff7e9 0%,#e5ede4 100%);overflow:hidden}
.seo-hero-grid{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;min-height:650px;gap:55px;padding:64px 0 74px}
.seo-hero-copy h1{font-size:clamp(48px,5.5vw,82px);line-height:1.09;letter-spacing:-.05em;color:#173f57;white-space:normal;margin:20px 0}
.seo-hero-copy h1 em{color:#ba7860;font-weight:500}
.seo-hero-copy>p{font-size:17px;line-height:1.85;max-width:520px;margin:0 0 30px}
.seo-hero-copy .hero-handwritten{display:block;font-size:23px;margin-top:38px}
.seo-hero-art{height:510px;position:relative;isolation:isolate}
.seo-hero-art:before{content:"";position:absolute;inset:10% 3%;background:#d3e0d7;border-radius:55% 45% 60% 40%;transform:rotate(-13deg);z-index:-1}
.hero-cover{position:absolute;display:block;width:56%;aspect-ratio:1;box-shadow:0 25px 40px #153b4930;border:6px solid #fff9ed;border-radius:9px;overflow:hidden;transition:transform .2s}
.hero-cover img{display:block;width:100%;height:100%;object-fit:contain}
.hero-cover-1{top:4%;left:24%;z-index:3;transform:rotate(5deg)}
.hero-cover-2{top:35%;left:0%;z-index:2;transform:rotate(-11deg)}
.hero-cover-3{top:42%;right:0%;z-index:1;transform:rotate(13deg)}
.hero-cover:hover{z-index:4;transform:translateY(-7px)}
.hero-sparkle{position:absolute;top:0;right:4%;font-size:62px;color:#cb9350}
.book-grid{gap:40px 27px}
.book-art-box{height:340px;aspect-ratio:auto!important;width:100%!important}
.book-cover{width:min(82%,275px)!important;height:auto!important;max-height:295px!important;object-fit:contain!important;aspect-ratio:auto!important;box-shadow:10px 16px 26px #203c462c;border-radius:5px}
.book-cover-link{display:flex;align-items:center;justify-content:center;width:100%;height:100%}
.book-cover-link img{display:block;width:auto!important;height:min(80%,270px)!important;max-width:calc(100% - 30px);max-height:unset!important}
.book-cover-link:hover{transform:translateY(-5px)}
.book-status{top:15px;left:15px}
.section-button{margin-top:32px}
.detail-art{min-height:580px}
.detail-art img{width:min(83%,450px)!important;height:auto!important;max-height:520px;object-fit:contain}
.more-card-visual img{max-width:94%;height:225px;width:auto;object-fit:contain}
.seo-split{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:center}
.seo-split-art{display:flex;align-items:center;gap:15px;justify-content:center;min-height:440px}
.seo-split-art a{width:46%;display:block}
.seo-split-art img{width:100%;height:auto;box-shadow:9px 13px 18px #173e462a;border-radius:6px}
.seo-split-art a:nth-child(2){transform:translateY(43px)}
.author-teaser{background:#fdf4e6}.author-teaser .container{max-width:850px;text-align:center}.author-teaser p{max-width:670px;margin:16px auto 20px}
.guide-section{background:#edf0e6}
.guide-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:30px 0}
.guide-card{display:flex;flex-direction:column;align-items:flex-start;background:#fffaf2;border:1px solid #e9decd;border-radius:16px;padding:30px;min-height:210px;box-shadow:0 9px 24px #1d3d4412}
.guide-card h3{font:600 25px/1.23 var(--serif);margin:13px 0 9px;color:#1c465b}
.guide-card p{font-size:13px;line-height:1.7;margin:0 0 20px}
.guide-card .text-link{margin-top:auto;font-size:13px}
.page-headline{font:600 clamp(40px,5vw,73px)/1.08 var(--serif);letter-spacing:-.045em;margin:16px 0 20px;color:#19435a}
.page-headline em{color:#b77a5b}
.page-lead{font-size:19px;line-height:1.75;max-width:820px;color:#52666b;margin:10px 0 30px}
.books-section>.container>.detail-breadcrumbs{padding:0}
.editorial-section{background:#fffaf1}
.editorial-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:8%;align-items:center;padding:30px 0 40px}
.editorial-hero p{line-height:1.9;margin-bottom:17px}
.editorial-cover-pair{display:flex;align-items:center;gap:18px}
.editorial-cover-pair img{width:100%;box-shadow:9px 15px 26px #19394925;border-radius:6px}
.editorial-cover-pair img:nth-child(2){transform:translateY(45px)}
.question-list{max-width:790px;line-height:1.9;padding-left:25px;margin:24px 0}
.question-list li{margin:10px 0;padding-left:5px}
.activity-callout{background:#fff9ef;border-left:5px solid #d2a260;padding:24px;line-height:1.85;max-width:810px}
.related-guide{background:#eaf0e6}
.related-guide h2,.guide-section h2{margin:15px 0 20px}
.guide-article{display:grid;grid-template-columns:1fr 300px;gap:9%;padding-top:16px}
.guide-article article{max-width:830px}
.guide-article h2{font:600 30px/1.2 var(--serif);margin:36px 0 12px}
.guide-article p{line-height:1.85}
.guide-aside{position:sticky;top:120px;align-self:start;text-align:center;background:#f3ecdd;padding:22px;border-radius:14px}
.guide-aside img{max-width:230px;border-radius:6px;box-shadow:8px 12px 20px #1d394829}
.guide-aside p{font-size:13px;margin:16px 0 0}
.guide-end{display:flex;flex-wrap:wrap;align-items:center;gap:20px;margin-top:30px}
.contact-public{min-height:570px}
.not-found{display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:80vh;padding:25px;text-align:center;background:#fff9eb}
.not-found h1{font:600 40px var(--serif)}
@media(max-width:1100px){.main-nav{gap:9px}.main-nav>a:not(.nav-feature){font-size:11px}.main-nav .nav-feature{padding:9px 11px}.seo-hero-grid{gap:20px}.seo-hero-art{height:430px}}
@media(max-width:850px){.seo-hero-grid{display:flex;flex-direction:column;align-items:stretch;gap:8px;padding:55px 0}.seo-hero-art{width:min(100%,550px);height:390px;margin:auto}.seo-hero-copy h1{font-size:clamp(43px,8vw,70px)}.seo-split,.editorial-hero,.guide-article{grid-template-columns:1fr}.seo-split-art{min-height:260px;max-width:450px}.editorial-cover-pair{max-width:460px}.guide-aside{position:static;max-width:360px}.guide-cards{grid-template-columns:repeat(2,1fr)}.detail-art{min-height:410px}}
@media(max-width:620px){.seo-hero-art{height:290px}.hero-cover{width:53%;border-width:4px}.seo-hero-copy h1{font-size:46px}.book-grid,.guide-cards{grid-template-columns:1fr}.book-art-box{height:365px}.book-cover-link img{height:280px!important}.guide-card{min-height:unset}.page-headline{font-size:43px}.editorial-cover-pair img:nth-child(2){transform:none}.seo-hero-grid{padding:38px 0 48px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Contact details are intentionally visible to families and search engines. */
.publisher-email { color: #164b5e; font-weight: 700; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.footer-email-link { overflow-wrap: anywhere; }

/* Phone and small-tablet refinements; desktop styles stay unchanged. */
@media (max-width: 850px) {
  body { overflow-wrap: anywhere; }
  :where(main, section, article, aside, .container) > * { min-width: 0; }
  :where(p, li, dt, dd, figcaption, label, input, select, textarea),
  .storybook-hero .hero-description, .section-heading-row p,
  .book-info p, .value-item p, .about-copy p, .author-copy > p,
  .contact-layout p, .guide-card p, .guide-aside p, .footer-brand p,
  .more-card p, .detail-description, .detail-disclaimer, .catalog-footnote {
    font-size: 16px;
  }
  :where(a, button, input, select, textarea, summary) {
    min-width: 44px;
    min-height: 44px;
  }
  :where(a) { display: inline-block; }
  .btn, .text-link, .book-read-more, .book-amazon-link,
  .footer-column a, .footer-bottom a, .detail-breadcrumbs a {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    font-size: 16px;
  }
  .btn, .text-link { white-space: normal; }
  .btn { text-align: center; }
  .book-info h3 a { display: inline-block; }
  .filter-pill { font-size: 16px; }
  .book-info p { min-height: 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; }
  .detail-breadcrumbs { flex-wrap: wrap; }
  .detail-breadcrumbs > * { min-width: 0; }
  .editorial-cover-pair { width: 100%; }
  .editorial-cover-pair img { width: calc((100% - 18px) / 2); min-width: 0; }
  .guide-aside img { width: 100%; max-width: 230px; margin-inline: auto; }
  :where(img, video, iframe, embed, object) { max-width: 100%; }
  :where(video, embed, object) { height: auto; }
  iframe { width: 100%; }
  iframe[width][height] { height: auto; aspect-ratio: var(--embed-ratio, 16 / 9); }
  .header-inner { height: 74px; gap: 8px; }
  .header-inner .brand { min-width: 0; flex-shrink: 1; }
  .mobile-toggle {
    display: flex;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .mobile-toggle span { width: 25px; height: 2px; background: var(--deep); }
  .main-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
    padding: 16px 20px 24px;
    background: #fff9ee;
    box-shadow: 0 15px 20px #253a321b;
  }
  .main-nav.open { display: flex; }
  .main-nav > a:not(.nav-feature), .main-nav .nav-feature {
    font-size: 16px;
    padding: 12px 16px;
  }
  .main-nav .nav-feature { margin-top: 12px; justify-content: space-between; }
}
