/* The book has its own visual world; publisher and text pages retain main.css. */
.slowmoss-book {
  --night:#241e53; --cream:#f3e6c4; --lime:#abd237; --pink:#e8338b;
  --purple:#69337a; --aqua:#71cfc1; --lavender:#f0edf8;
  --paper:var(--night); --ink:var(--cream); --ink-soft:#d4cce8;
  --moss:var(--lime); --line:#514775;
  background:var(--night); color:var(--cream);
  font:400 1rem/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.slowmoss-book::before { display:none }
.slowmoss-book .wrap { width:100%; max-width:none }
.slowmoss-book .screen-reader-text { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }
.slowmoss-book .book-container,
.slowmoss-book .brand,
.slowmoss-book footer { width:min(100% - 7rem,74rem); margin-inline:auto }
.slowmoss-book .brand { display:flex; justify-content:space-between; align-items:center; padding:1.9rem 0; position:relative; z-index:2 }
.slowmoss-book .mark { gap:.65rem; color:var(--cream) }
.slowmoss-book .mark__leaf { width:2.7rem; height:2.7rem; color:var(--cream) }
.slowmoss-book .mark__name { font-size:1.55rem }
.slowmoss-book .mark__press { color:var(--cream); border-color:#8d81a4; font-size:.58rem; margin-top:.2rem; padding-top:.25rem }
.book-nav { display:flex; align-items:center; gap:2.2rem; font-size:.875rem }
.slowmoss-book .book-nav a { color:var(--cream); text-decoration:none }
.slowmoss-book .book-nav a:hover { text-decoration:underline; text-underline-offset:.3em }
.slowmoss-book .book-nav .book-nav__sample { padding:.65rem 1.1rem; border:1px solid #b5a9cc; border-radius:999px }
.slowmoss-book .book-skip { position:fixed; top:1rem; left:1rem; padding:.75rem 1rem; background:var(--lime); color:var(--night); z-index:10; transform:translateY(-200%) }
.slowmoss-book .book-skip:focus { transform:none }
.slowmoss-book :is(a,button,input,summary):focus-visible { outline:3px solid var(--pink); outline-offset:5px }
.book-main { overflow:clip }
.book-hero { position:relative; padding:1.7rem 0 6rem }
.book-hero__layout { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:2rem; min-height:38rem }
.book-hero__copy { position:relative; z-index:1; padding-bottom:1.5rem }
.book-title { font-size:.83rem; line-height:1.5; color:var(--aqua); margin:0 0 1.4rem }
.slowmoss-book h1 { font:600 clamp(3.7rem,6.2vw,5.7rem)/.99 Fraunces,Georgia,serif; letter-spacing:-.055em; margin:0 0 1.7rem; text-wrap:initial }
.book-hero__intro { font-size:1.05rem; line-height:1.75; color:#ddd5ec; max-width:26rem; margin:0 0 1.7rem }
.book-actions { display:flex; flex-wrap:wrap; align-items:center; gap:1rem }
.slowmoss-book .book-button { display:inline-flex; align-items:center; justify-content:space-between; gap:1.8rem; background:var(--lime); color:var(--night); padding:1rem 1.35rem; border:2px solid transparent; border-radius:6px; font:650 .95rem/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; text-decoration:none; text-align:left; cursor:pointer; transition:background .18s,box-shadow .18s }
.slowmoss-book .book-button > span[aria-hidden] { font-size:1.35rem; line-height:1 }
.slowmoss-book .book-button:hover { background:#c0e353; color:var(--night); box-shadow:0 4px 0 #08051e }
.slowmoss-book .book-button--outline { background:transparent; color:var(--cream); border-color:var(--cream) }
.slowmoss-book .book-button--outline:hover { background:var(--cream); color:var(--night) }
.slowmoss-book .book-actions .book-button { gap:1rem }
.book-hero__note { font-size:.75rem; margin:1.2rem 0 0; color:#bab0d0 }
.book-hero__art { position:relative; display:grid; place-items:center; min-width:0; aspect-ratio:1; isolation:isolate }
.book-orbit { position:absolute; width:132%; height:132%; max-width:none; top:-12%; left:-12%; z-index:-1; pointer-events:none }
.book-object { position:relative; width:86%; transform:rotate(-7deg); box-shadow:16px 28px 35px #0e082b70 }
.book-object::before { content:""; position:absolute; z-index:-1; inset:3px -8px -8px 7px; background:repeating-linear-gradient(0deg,#d5cbb8 0px,#d5cbb8 1px,#f3e6c4 1px,#f3e6c4 3px); border-radius:1px 4px 4px 1px; border-right:3px solid #ada18f; transform:skewY(1deg) }
.book-object::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#0004,transparent 2.5%,#fff2 3%,transparent 5%); pointer-events:none }
.book-object img { display:block; width:100%; height:auto; border-radius:1px }
.book-stamp { position:absolute; right:-.7rem; bottom:-1.3rem; width:8.9rem; height:8.9rem; border-radius:50%; background:var(--aqua); color:var(--night); transform:rotate(11deg); display:flex; flex-direction:column; align-items:center; justify-content:center; box-shadow:0 0 0 6px var(--night) }
.book-stamp strong { font:600 1.4rem/1.05 Fraunces,Georgia,serif; text-align:center; letter-spacing:-.03em }
.book-stamp svg { width:3.4rem; height:1.4rem; margin-top:.4rem }
.book-facts { display:flex; align-items:center; justify-content:space-between; gap:1.5rem; border-top:1px solid #ffffff29; margin-top:2.4rem !important; padding-top:1.5rem; position:relative }
.book-facts p { margin:0; font-size:.86rem; color:#d4cce8 }
.book-facts strong { color:var(--cream); font-weight:650 }
.book-wave { position:absolute; display:block; width:100%; height:5rem; bottom:-1px; left:0 }
.book-inside { background:var(--lavender); color:var(--night); padding:4.5rem 0 4.8rem; scroll-margin-top:1rem }
.book-section-heading { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; margin-bottom:3rem }
.slowmoss-book h2 { font:600 clamp(2.3rem,4.2vw,3.65rem)/1.08 Fraunces,Georgia,serif; letter-spacing:-.04em; margin:0 }
.book-section-heading > p { max-width:28rem; margin:0; font-size:1rem; color:#574f6e; justify-self:end }
.book-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.8rem }
.book-gallery-hint { display:none }
.book-sample { margin:0; min-width:0 }
.slowmoss-book .book-sample__image { display:block; position:relative; padding:.55rem; background:#fff; color:var(--night); box-shadow:0 3px 0 #241e5310,0 16px 24px -20px #241e5360; border:1px solid #d8d2e6; border-radius:3px; transition:transform .2s }
.book-sample:nth-child(1) .book-sample__image { transform:rotate(-2deg) }
.book-sample:nth-child(2) .book-sample__image { transform:rotate(1.4deg) }
.book-sample:nth-child(3) .book-sample__image { transform:rotate(-1deg) }
.slowmoss-book .book-sample__image:hover { transform:rotate(0) translateY(-4px) }
.book-sample__image img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain }
.book-sample__zoom { position:absolute; right:.8rem; bottom:.8rem; display:grid; place-items:center; width:2.65rem; height:2.65rem; background:var(--night); color:#fff; border:2px solid #fff; border-radius:50% }
.book-sample__zoom svg { width:1.25rem; height:1.25rem; stroke:currentColor; stroke-width:1.7; stroke-linecap:round }
.book-sample figcaption { padding:1.5rem .1rem 0 }
.slowmoss-book .book-sample h3 { font:600 clamp(1.15rem,1.5vw,1.4rem)/1.3 Fraunces,Georgia,serif; letter-spacing:-.02em; margin:0 0 .55rem }
.book-sample p { font-size:.86rem; line-height:1.65; color:#62596f; margin:0; max-width:19rem }
.book-inside__note { text-align:center; color:#62596f; font-size:.83rem; margin:2.6rem 0 0 }
.slowmoss-book .book-inside__note a { color:var(--night); font-weight:600; text-underline-offset:.25em }
.book-download { position:relative; background:var(--purple); padding:5.6rem 0; scroll-margin-top:1rem; color:var(--cream) }
.book-download__layout { display:grid; grid-template-columns:1fr 1fr; gap:5.5rem; align-items:center }
.book-gift-label { display:block; margin-bottom:1.5rem; color:#e7d7ec; font-size:.85rem }
.book-download h2 { color:var(--cream); font-size:clamp(2.8rem,4.7vw,4.2rem) }
.book-download__copy > p { font-size:1.03rem; color:#eee2ee; margin:1.5rem 0 0 }
.book-drawn-line { width:15rem; height:3rem; margin-top:1.4rem; color:var(--lime) }
.book-form-panel { padding:2.4rem; background:var(--lavender); color:var(--night); border-radius:12px; box-shadow:10px 10px 0 #241e533f; position:relative }
.book-form-panel p { font-size:.92rem; line-height:1.65; margin:0 0 1.35rem; color:#574f6e }
.book-form-panel p.book-form-panel__label { color:#69337a; font-size:.77rem; margin:0 0 .75rem; font-weight:600 }
.slowmoss-book .book-form-panel h3 { font:600 clamp(1.8rem,2.4vw,2.2rem)/1.15 Fraunces,Georgia,serif; letter-spacing:-.035em; margin:0 0 .8rem }
.book-form-panel label { display:block; font-size:.8rem; font-weight:600; margin:0 0 .45rem }
.slowmoss-book .book-form-panel input[type=email] { width:100%; padding:.9rem 1rem; border:1px solid #9990ac; border-radius:5px; background:#fff; color:var(--night); font:400 1rem/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; margin:0 0 .8rem }
.slowmoss-book .book-form-panel input::placeholder { color:#746b83; opacity:1 }
.slowmoss-book .book-form-panel input:focus { border-color:var(--purple); box-shadow:0 0 0 3px #69337a20 }
.slowmoss-book .book-form-panel .book-button { width:100%; font-size:.9rem }
.book-form-panel p.book-form-note { font-size:.75rem; text-align:center; margin:1rem 0 0 }
.book-form-panel p.book-form-privacy { font-size:.72rem; line-height:1.7; padding-top:1.2rem; margin:1.2rem 0 0; border-top:1px solid #d8d2e6 }
.slowmoss-book .book-form-panel a:not(.book-button) { color:var(--night); text-underline-offset:.2em }
.book-form-panel p.book-form-message { margin-top:1rem; padding:.75rem; border-left:3px solid #9b2464; background:#f9dce9; color:#72214c; font-size:.85rem }
.book-details { padding:4.5rem 0; background:var(--night) }
.book-details__layout { display:grid; grid-template-columns:1.1fr 1fr; gap:5rem }
.slowmoss-book .book-details h2 { font-size:clamp(2rem,2.9vw,2.7rem); margin:0 0 1.5rem }
.book-details__copy > p { font-size:.87rem; margin:0 0 .3rem; color:#e0d6ec }
.book-details__copy > p.book-details__subtitle { font-size:.78rem; color:#bcb2cf }
.slowmoss-book .book-button--paper { background:var(--cream); margin-top:1.6rem; font-size:.84rem }
.slowmoss-book .book-button--paper:hover { background:#fff4d5 }
.book-questions details { border-bottom:1px solid #514775 }
.book-questions summary { display:flex; align-items:center; justify-content:space-between; gap:1rem; list-style:none; padding:1.35rem 0; cursor:pointer; font-size:.9rem; font-weight:500 }
.book-questions summary::-webkit-details-marker { display:none }
.book-questions summary > span { color:var(--lime); font:400 1.6rem/1 sans-serif; transition:transform .15s }
.book-questions details[open] summary > span { transform:rotate(45deg) }
.book-questions details p { font-size:.86rem; color:#cec3df; margin:0 0 1.25rem; max-width:31rem }
.slowmoss-book footer { display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.6rem 0 2rem; font-size:.72rem; color:#bcb2cf }
.slowmoss-book footer a { color:#d4cce8 }
.slowmoss-book .book-preview { width:min(94vw,49rem); max-height:94dvh; border:0; border-radius:10px; padding:1rem; background:var(--lavender); color:var(--night); overscroll-behavior:contain }
.book-preview::backdrop { background:#120e35df; backdrop-filter:blur(5px) }
.book-preview__top { display:flex; align-items:center; justify-content:space-between; gap:1rem; margin:0 0 .8rem }
.slowmoss-book .book-preview h2 { font-size:1.2rem; letter-spacing:-.02em }
.slowmoss-book .book-preview__close { background:var(--night); color:var(--cream); padding:.65rem .9rem; border:0; border-radius:5px; font:500 .8rem/1.3 sans-serif; flex-shrink:0; min-height:44px }
.book-preview__close span { font-size:1.2rem; margin-left:.5rem }
.book-preview__image { width:100%; height:auto; max-height:calc(94dvh - 8rem); object-fit:contain; display:block; background:#fff }
.book-preview > p { margin:.75rem 0 0; text-align:center; font-size:.75rem; color:#62596f }
html:has(.book-preview[open]) { overflow:hidden }
@media (prefers-reduced-motion:no-preference) {
  .book-object { animation:book-arrive .9s cubic-bezier(.16,1,.3,1) both }
  @keyframes book-arrive { from { opacity:0; transform:translateY(22px) rotate(-3deg) } to { opacity:1; transform:translateY(0) rotate(-7deg) } }
}
@media (prefers-reduced-motion:reduce) { .slowmoss-book *, .slowmoss-book *::before, .slowmoss-book *::after { animation:none !important; transition:none !important } }
@media (min-width:90rem) { .book-hero { padding-top:2.2rem } .book-hero__layout { min-height:40rem } }
@media (max-width:64rem) {
  .slowmoss-book .book-container,.slowmoss-book .brand,.slowmoss-book footer { width:calc(100% - 4rem) }
  .book-hero__layout { min-height:34rem; gap:1rem }
  .slowmoss-book h1 { font-size:clamp(3.2rem,6.8vw,4.7rem) }
  .book-stamp { width:7rem; height:7rem; right:-.2rem }
  .book-stamp strong { font-size:1.15rem }
  .book-gallery { gap:1.3rem }
  .book-download__layout,.book-details__layout { gap:2.5rem }
  .book-form-panel { padding:1.75rem }
}
@media (max-width:47rem) {
  .slowmoss-book .book-container,.slowmoss-book .brand,.slowmoss-book footer { width:calc(100% - 2.5rem) }
  .slowmoss-book .brand { padding:1.25rem 0 }
  .slowmoss-book .mark__name { font-size:1.3rem }
  .slowmoss-book .mark__leaf { width:2.25rem; height:2.25rem }
  .book-nav { gap:0; font-size:.76rem }
  .book-nav a:first-child { display:none }
  .slowmoss-book .book-nav .book-nav__sample { padding:.65rem .85rem }
  .book-hero { padding:1.6rem 0 4.1rem }
  .book-hero__layout { display:flex; flex-direction:column; align-items:stretch; gap:0; min-height:auto }
  .book-hero__copy { display:contents }
  .book-title { order:0; font-size:.75rem; margin-bottom:1rem }
  .slowmoss-book h1 { order:1; font-size:clamp(3.4rem,12.8vw,5.6rem); margin-bottom:1.2rem }
  .book-hero__intro { order:3; font-size:.94rem; max-width:26rem; margin-bottom:1.4rem }
  .book-actions { order:4; gap:1rem }
  .book-actions .book-button { width:100% }
  .slowmoss-book .book-button { padding:.9rem 1.1rem; font-size:.87rem }
  .book-hero__note { order:5; font-size:.7rem; margin-top:1rem }
  .book-hero__art { order:2; width:83%; max-width:25rem; align-self:center; margin:1.4rem 0 3.4rem }
  .book-orbit { width:136%; height:136%; left:-14%; top:-19% }
  .book-object { width:91% }
  .book-stamp { right:-1.7rem; bottom:-1.3rem; width:5.6rem; height:5.6rem }
  .book-stamp strong { font-size:1rem }
  .book-stamp svg { width:2.7rem; height:1rem }
  .book-facts { gap:.8rem; justify-content:space-between; margin-top:.4rem !important; padding-top:1.2rem }
  .book-facts p { font-size:.7rem; line-height:1.5; max-width:7rem }
  .book-facts strong { display:block; font-size:.8rem }
  .book-wave { height:3rem }
  .book-inside { padding:3rem 0 }
  .book-section-heading { grid-template-columns:1fr; gap:1.2rem; margin-bottom:2.2rem }
  .slowmoss-book h2 { font-size:2.65rem }
  .book-section-heading > p { font-size:.94rem; max-width:30rem; justify-self:start }
  .book-gallery-hint { display:block; margin:-.7rem 0 1.3rem; font-size:.75rem; color:#62596f }
  .book-gallery { display:flex; overflow-x:auto; scroll-snap-type:x proximity; gap:1.3rem; margin:0 -1.25rem; padding:.6rem 1.25rem 1.3rem; scroll-padding-inline:1.25rem; scrollbar-color:#a69abf #e1daed; scrollbar-width:thin }
  .book-sample { flex:0 0 84%; scroll-snap-align:start }
  .book-sample__image { max-width:100% }
  .book-sample figcaption { padding-top:1.3rem }
  .slowmoss-book .book-sample h3 { font-size:1.35rem }
  .book-sample p { max-width:100% }
  .book-inside__note { margin-top:2rem; line-height:1.7 }
  .book-inside__note a { display:block; margin-top:.3rem }
  .book-download { padding:3rem 0 }
  .book-download__layout,.book-details__layout { grid-template-columns:1fr; gap:2rem }
  .book-gift-label { font-size:.77rem; margin-bottom:1.2rem }
  .book-download h2 { font-size:3rem }
  .book-download__copy > p { font-size:.94rem; margin-top:1.25rem }
  .book-drawn-line { display:none }
  .book-form-panel { padding:1.65rem 1.4rem; box-shadow:6px 6px 0 #241e533f }
  .book-details { padding:3rem 0 }
  .slowmoss-book .book-details h2 { font-size:2.15rem }
  .book-details__copy > p { font-size:.8rem }
  .slowmoss-book .book-button--paper { font-size:.8rem; gap:1rem }
  .slowmoss-book footer { flex-direction:column; align-items:flex-start; gap:.35rem; font-size:.69rem; padding:1.5rem 0 }
  .book-preview__top { gap:.5rem }
  .slowmoss-book .book-preview h2 { font-size:1rem }
}
@media (max-width:23rem) {
  .slowmoss-book .book-container,.slowmoss-book .brand,.slowmoss-book footer { width:calc(100% - 2rem) }
  .slowmoss-book .mark__name { font-size:1.15rem }
  .slowmoss-book .mark__leaf { width:1.9rem; height:1.9rem }
  .slowmoss-book .book-nav .book-nav__sample { font-size:.7rem; padding:.6rem }
  .book-form-panel { padding:1.4rem 1.1rem }
  .slowmoss-book .book-form-panel h3 { font-size:1.7rem }
}
