:root{--navy:#153451;--muted:#52606b;--ink:#1f3544;--gold:#aa7937;--cream:#fbf8ef;--paper:#fffdf8;--green:#315c4a;--line:#e5dfd2;--serif:Georgia,'Times New Roman',serif;--sans:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px}a{text-decoration:none;color:inherit}button{font:inherit;cursor:pointer;color:inherit}button,a{ -webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #a57634;outline-offset:4px}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:var(--serif);color:var(--navy);font-weight:400}p{line-height:1.75;color:var(--muted)}.skip{position:absolute;top:-100px;background:var(--navy);color:white;z-index:99;padding:14px}.skip:focus{top:5px}.header{height:86px;padding:0 max(5vw,calc((100vw - 1340px)/2));display:flex;align-items:center;justify-content:space-between;gap:22px;background:#fffdf8f5;position:sticky;top:0;z-index:10;border-bottom:1px solid #eee9dd;backdrop-filter:blur(14px)}.brand{width:94px;flex-shrink:0;height:76px;display:flex;align-items:center}.brand img{height:72px;width:85px;object-fit:contain;mix-blend-mode:multiply}.header nav{display:flex;gap:34px;align-items:center;color:#35495a;font-weight:600;font-size:15px}.header nav a:hover,.footer-links a:hover{color:var(--gold)}.header-actions,.lang{display:flex;align-items:center;gap:15px}.lang{gap:2px;border:1px solid var(--line);border-radius:7px;padding:3px}.lang button{border:0;background:transparent;border-radius:4px;padding:7px 9px;font-size:13px;font-weight:700}.lang button[aria-pressed=true]{background:#ece4d2;color:var(--navy)}.button{display:inline-flex;justify-content:center;align-items:center;border:1px solid var(--navy);background:var(--navy);color:#fffdf8;border-radius:7px;padding:15px 23px;font-size:15px;font-weight:700;letter-spacing:.01em;min-height:50px;transition:background .18s,transform .18s;text-align:center}.button:hover{background:#244a69;transform:translateY(-1px)}.button.small{padding:10px 17px;min-height:42px}.hero{min-height:660px;position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;isolation:isolate;overflow:hidden;padding:70px max(6vw,calc((100vw - 1280px)/2));gap:30px;background:#f5ead5}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#fbf7ed 0%,#f9f2e5fa 37%,#f9f2e58c 57%,#f9f2e512 100%),url('assets/hero-landscape.webp') center / cover;z-index:-1}.hero-content{max-width:610px;position:relative;z-index:2}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2.4px;color:#8a622a;display:flex;align-items:center;gap:7px}.star{font-size:18px;line-height:1;color:#ba8a44}.hero h1{font-size:clamp(3.55rem,6vw,6.1rem);line-height:.99;letter-spacing:-.055em;margin:24px 0 25px}.hero h1 span{color:#b7803a}.hero p{font-size:19px;max-width:480px;line-height:1.65;color:#455767}.hero-actions{display:flex;gap:22px;align-items:center;margin-top:34px}.textlink{color:var(--navy);font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:5px;text-decoration-color:#b5a178;transition:color .18s}.textlink:hover{color:var(--gold)}.languages{border-top:1px solid #dcd4bf;margin-top:35px;padding-top:23px;max-width:470px}.languages>span{font-size:14px;color:#536170;font-weight:600}.languages>div{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.language-tag{padding:7px 11px;background:#fffdf6b8;border:1px solid #ded4c1;border-radius:100px;color:#43584f;font-size:13px;font-weight:650}.hero-art{height:465px;position:relative;display:grid;place-items:center;min-width:0}.hero-book{position:absolute;width:67%;max-width:370px;border-radius:4px 9px 9px 4px;overflow:hidden;box-shadow:10px 17px 32px #172b3653,-2px 0 2px #4c412a30;aspect-ratio:1;outline:1px solid #09354b35}.hero-book:after,.book-image:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#1724323b,transparent 5%,transparent 94%,#fff1bb10 100%);pointer-events:none}.hero-book img{width:100%;height:100%;object-fit:cover}.hero-book-main{transform:rotate(-8deg);left:6%;top:3%;z-index:2}.hero-book-secondary{width:58%;max-width:320px;transform:rotate(12deg);right:0;top:24%;z-index:1}.hero-note{position:absolute;right:10px;bottom:0;z-index:4;transform:rotate(-4deg);display:flex;align-items:center;gap:12px;background:#fdfbf1;padding:15px 21px;border:1px solid #ddcaa3;box-shadow:0 5px 15px #28312622;color:var(--navy);font-family:var(--serif);font-style:italic;font-size:18px;border-radius:6px}.hero-note>span:first-child{color:var(--gold);font-size:26px}.hero-sparkle{position:absolute;color:#fff0bf;font-size:44px;text-shadow:0 1px 8px #c29d4e}.first{right:8%;top:0}.second{left:0;bottom:10%}.promise-strip{display:flex;justify-content:center;align-items:center;gap:40px;flex-wrap:wrap;background:#eaf0e7;border-block:1px solid #dbe3d8;padding:19px 4%;color:#365447;font-size:14px;font-weight:650}.promise-strip>span{display:flex;align-items:center;gap:9px}.promise-strip b{color:#8e713f;font-size:20px;line-height:1}.section{max-width:1370px;margin:auto;padding:83px 5%}.section-intro{text-align:center;max-width:780px;margin:0 auto 38px}.section-intro .eyebrow{justify-content:center}.section-intro h2,.story h2,.closing h2{font-size:clamp(2.2rem,4vw,3.45rem);line-height:1.1;letter-spacing:-.035em;margin:16px 0}.section-intro p{font-size:17px}.filters{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px}.filter-group{display:flex;gap:9px;flex-wrap:wrap}.filter{border:1px solid var(--line);padding:10px 15px;border-radius:30px;background:transparent;font-size:14px;font-weight:650}.filter.active{background:var(--navy);border-color:var(--navy);color:#fff}.count{font-size:13px;color:#68736f}.book-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.book-card{border:1px solid #e2ded2;background:#fffefa;border-radius:13px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 5px 18px #353d3d05;transition:box-shadow .2s}.book-card:hover{box-shadow:0 10px 25px #353d3d12}.book-stage{height:auto;aspect-ratio:1.07;position:relative;display:grid;place-items:center;padding:34px 38px 35px;overflow:hidden;background:radial-gradient(ellipse at center,#e4e6d3,#e7e9dd 70%)}.book-card[data-id=carlo] .book-stage{background:radial-gradient(ellipse at center,#e3eaf0,#dbe5e9 70%)}.book-image{position:relative;isolation:isolate;width:min(100%,300px);aspect-ratio:1;box-shadow:7px 12px 20px #33352c38,1px 0 0 #3b3928a0;overflow:hidden;border-radius:3px 6px 6px 3px;transition:transform .25s}.book-image img{width:100%;height:100%;object-fit:cover}.book-card:hover .book-image{transform:scale(1.025)}.book-stage .badge{position:absolute;left:15px;top:15px;z-index:2;background:#fffdf5eb;color:#3a5b4b;padding:6px 10px;border-radius:20px;font-size:12px;font-weight:800;border:1px solid #d8dfd2}.image-caption{position:absolute;bottom:9px;left:0;right:0;text-align:center;color:#425362;font-size:11px;font-weight:650}.book-info{padding:22px;display:flex;flex-direction:column;gap:12px;flex:1}.book-info .theme{font-weight:700;font-size:12px;color:#86602b;letter-spacing:1.15px;text-transform:uppercase}.book-info h3{font-size:28px;line-height:1.1;letter-spacing:-.025em}.book-info p{font-size:15px;line-height:1.6}.ed-select{margin-top:auto;padding-top:10px}.edition-label{display:block;font-size:13px;font-weight:700;color:#4c5c63;margin-bottom:8px}.ed-options{display:flex;gap:5px}.edition{background:#f9f7ee;border:1px solid #e3dece;flex:1;padding:9px 6px;border-radius:6px;font-size:13px;line-height:1.25;color:#54675e;font-weight:600;text-align:center}.edition[aria-pressed=true]{background:#e8eee6;border-color:#8ca396;color:#2a5040}.book-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:5px}.book-actions .button{flex:1;padding:12px 8px;font-size:14px;min-height:44px}.button.outline{background:transparent;color:var(--navy);border-color:#c5c9c5}.button.outline:hover{background:#ebf0e9}.coming{font-size:14px;color:#8a652b;line-height:1.5;margin-top:auto;padding:10px 0;font-weight:650}.market-note{font-size:13px;margin:20px 0 0;text-align:center;color:#647069}.story{display:grid;grid-template-columns:1.06fr 1fr;gap:0;background:#f2ecdf;min-height:480px}.story-art{min-height:440px;position:relative;overflow:hidden}.story-art img{width:100%;height:100%;object-fit:cover;object-position:17% center}.art-caption{position:absolute;bottom:18px;left:22px;background:#fffaf2ec;padding:9px 13px;border-radius:5px;font-size:13px;font-weight:600;color:var(--navy)}.story-content{padding:60px max(5vw,calc((100vw - 1320px)/2)) 55px 55px;display:flex;flex-direction:column;justify-content:center}.story-content p+p{margin-top:15px}.story-content>p{font-size:16px}.review{display:flex;align-items:center;gap:13px;background:#faf7ee;padding:15px 16px;margin-top:24px;border-left:3px solid #b49257;border-radius:4px}.review-mark{font-size:25px;color:#a57836}.review p{font-size:14px;line-height:1.55}.reading{padding-top:70px;padding-bottom:67px}.reading-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:40px;text-align:center}.reading-grid article{padding:10px 15px}.illustration-icon{display:grid;place-items:center;margin:auto auto 16px;width:60px;height:60px;border-radius:50%;background:#e8eee4;color:#42634f;font-size:28px}.reading-grid h3{font-size:24px;margin-bottom:10px}.reading-grid p{font-size:15px}.faq{padding-top:53px;padding-bottom:76px;border-top:1px solid var(--line)}.faq-list{max-width:800px;margin:auto;border-top:1px solid var(--line)}details{border-bottom:1px solid var(--line);padding:18px 0}summary{font-weight:650;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:20px}summary::after{content:'+';font-size:25px;font-weight:400;color:var(--gold)}details[open] summary:after{content:'−'}details p{padding:12px 36px 0 0;font-size:15px}details .textlink{display:inline-block;margin-top:12px}.closing{background:#e6ede2;text-align:center;padding:57px 5%}.closing-inner{max-width:750px;margin:auto}.closing .eyebrow{justify-content:center}.closing .button{margin-top:23px}.closing p{font-size:17px}footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:25px;padding:35px 5%;background:#f9f5eb;border-top:1px solid #dfdbcf}.footer-brand{display:flex;gap:14px;align-items:center;color:var(--navy)}.footer-brand img{width:75px;height:75px;object-fit:contain;mix-blend-mode:multiply}.footer-brand div{display:flex;flex-direction:column;gap:6px}.footer-brand span,.copyright{color:#69746e;font-size:12px}.footer-links{display:flex;gap:18px;flex-wrap:wrap;font-size:14px;font-weight:600;color:#415161}dialog{width:min(840px,calc(100% - 24px));max-height:90vh;padding:0;border:0;border-radius:15px;background:#fffdf8;color:var(--ink);box-shadow:0 18px 60px #0d24336b}dialog::backdrop{background:#132c406f;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid var(--line);padding:20px 24px}.dialog-head h2{font-size:29px;margin-top:8px}.close{font-size:30px;border:1px solid var(--line);background:#f9f6ef;border-radius:50%;height:40px;width:40px;line-height:30px}.preview-image{background:#eee9dc;padding:20px;display:flex;flex-direction:column;align-items:center;gap:13px}.preview-image img{width:auto;max-width:100%;height:auto;max-height:52vh;object-fit:contain;box-shadow:0 5px 18px #28333d22}.preview-controls{display:flex;align-items:center;gap:16px;color:#536170;font-size:14px}.preview-controls button{height:38px;width:42px;font-size:27px;line-height:1;background:#fffdf5;border:1px solid #d4cbba;border-radius:6px}.preview-controls button:disabled{opacity:.35;cursor:default}#preview-caption{padding:16px 24px 0;font-size:14px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 24px 22px}
@media(max-width:1050px){.hero{min-height:550px;padding-block:55px}.hero-art{height:380px}.hero h1{font-size:clamp(3rem,6.4vw,5.7rem)}.promise-strip{gap:22px}.book-grid{gap:14px}.book-info{padding:16px}.book-stage{padding:31px 26px}.section{padding-inline:4%}.book-actions{flex-direction:column}.story-content{padding:38px}.header nav{gap:20px}}@media(max-width:760px){.header{height:73px;padding:0 4%;gap:10px}.brand{width:66px;height:64px}.brand img{height:60px;width:66px}.header nav{gap:15px;font-size:13px}.header nav a:nth-child(3){display:none}.header-actions{gap:6px}.header-actions .button{display:none}.lang button{padding:5px 7px}.hero{display:flex;flex-direction:column;align-items:stretch;gap:12px;padding:45px 6% 30px;min-height:0}.hero:before{background:linear-gradient(180deg,#fbf7ed 0%,#fbf5e8ec 45%,#f6ecd966 70%,#f6ecd914),url('assets/hero-landscape.webp') 76% center / cover}.hero h1{font-size:clamp(3.5rem,10vw,5rem);margin:17px 0}.hero p{font-size:17px}.hero-actions{gap:15px;margin-top:22px;flex-wrap:wrap}.hero-actions .button{padding:13px 18px}.languages{margin-top:22px;padding-top:15px}.hero-art{height:min(98vw,390px);max-width:450px;width:100%;align-self:center;margin-top:8px}.hero-note{font-size:15px;padding:11px 14px;bottom:9px}.hero-book-main{width:61%;left:9%;top:7%}.hero-book-secondary{width:53%;right:6%;top:23%}.promise-strip{justify-content:space-between;display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px 5%;font-size:12px}.promise-strip b{font-size:16px}.section{padding:56px 5%}.section-intro{margin-bottom:26px}.book-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.book-info h3{font-size:23px}.book-stage{padding:30px 18px 26px}.book-stage .badge{font-size:10px;top:9px;left:8px;padding:5px 8px}.book-info{padding:15px;gap:9px}.book-info p{font-size:14px}.filters{align-items:flex-start}.filter-group{gap:5px}.filter{font-size:12px;padding:8px 10px}.count{white-space:nowrap;align-self:center;font-size:12px}.ed-options{flex-direction:column}.story{grid-template-columns:1fr}.story-art{min-height:0;height:240px}.story-art img{object-position:center}.story-content{padding:34px 6% 40px}.reading-grid{grid-template-columns:1fr;gap:20px}.reading-grid article{padding:0}.reading-grid p{max-width:340px;margin:auto}.closing{padding:44px 5%}footer{align-items:flex-start;gap:18px;padding:25px 5%}.footer-links{width:100%}.dialog-head{padding:15px}.preview-image{padding:15px}.dialog-actions{padding:12px 15px 17px}.dialog-head h2{font-size:23px}}@media(max-width:470px){.book-grid{grid-template-columns:1fr}.book-stage{aspect-ratio:1.13;padding:32px 35px 29px}.book-image{width:72%}.book-info{padding:19px}.book-info h3{font-size:29px}.book-info p{font-size:15px}.ed-options{flex-direction:row}.book-actions{flex-direction:row}.header nav{gap:12px}.filter-group{gap:5px}.filters{flex-wrap:wrap}.count{margin-left:auto}.hero h1{font-size:3.4rem}.hero-art{height:77vw}.hero-note{right:0;bottom:-4px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.hero:before{background-color:#fbf7ed;background-image:linear-gradient(90deg,#fbf7ed 0%,#fbf7ed 36%,#fbf7edba 49%,#fbf7ed0d 75%),url('assets/hero-garden.webp');background-size:cover,64% auto;background-position:center,right center;background-repeat:no-repeat}.market-note p{font-size:13px;margin-bottom:10px}.market-note .textlink{display:inline-block;margin-bottom:3px}
@media(max-width:760px){.hero h1{overflow-wrap:normal}}
/* Featured editorial review statement — the first trust message visitors see. */
.hero-review{display:flex;align-items:center;gap:17px;margin:26px 0 0;padding:20px 22px 21px 19px;background:#fffdf6ed;border:1px solid #d3bb88;border-left:4px solid #ab7c3b;border-radius:8px;box-shadow:0 5px 16px #5b48240c;max-width:535px}
.review-emblem{display:grid;place-items:center;flex:0 0 53px;color:#96713a}
.review-label{color:#805b2a;font-size:12px;letter-spacing:1.9px;font-weight:800;margin-bottom:6px}
.hero .hero-review p{font-family:var(--serif);font-size:clamp(1.15rem,1.6vw,1.45rem);font-weight:600;line-height:1.35;color:var(--navy);max-width:none}
.hero-actions{margin-top:25px}.hero .languages{margin-top:26px;padding-top:19px}
@media(max-width:760px){.hero-review{gap:11px;margin-top:21px;padding:16px 15px 16px 12px;max-width:none}.review-emblem{flex-basis:39px}.review-emblem svg{width:37px;height:37px}.hero .hero-review p{font-size:1.15rem}.review-label{font-size:11px;letter-spacing:1.2px}.hero-actions{margin-top:23px}.hero .languages{margin-top:23px;padding-top:15px}}
/* Saint suggestion form */
.suggest-section{background:#edf0e7;border-block:1px solid #dce2d3;padding:70px 5%;scroll-margin-top:0}
.suggest-inner{max-width:1140px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}
.suggest-copy h2{font-size:clamp(2.2rem,4.2vw,3.7rem);line-height:1.06;letter-spacing:-.04em;margin:18px 0}
.suggest-copy>p{font-size:17px;max-width:500px}
.suggest-art{display:flex;align-items:center;gap:16px;margin-top:25px;color:var(--green);font:italic 1.1rem/1.5 var(--serif)}
.suggest-art img{width:108px;height:108px;object-fit:cover;object-position:center bottom;border-radius:50%;border:3px solid #fffdf8;box-shadow:0 2px 9px #434c2926}
.suggest-form{background:var(--paper);padding:28px;border:1px solid #d8dfd2;border-radius:12px;box-shadow:0 10px 28px #2846300c;display:flex;flex-direction:column;gap:12px}
.form-kicker{font:1.65rem var(--serif);color:var(--navy);margin-bottom:4px}.suggest-form label{font-size:15px;font-weight:650;color:var(--navy)}.suggest-form input,.suggest-form textarea{font:inherit;color:var(--ink);background:white;padding:12px 13px;border:1px solid #c8cfc4;border-radius:6px;min-width:0;width:100%}.suggest-form textarea{resize:vertical;min-height:90px}.suggest-form input:focus,.suggest-form textarea:focus{outline:2px solid #9caf91;outline-offset:1px}.suggest-form input::placeholder,.suggest-form textarea::placeholder{color:#7d847e}.suggest-form .privacy-note{font-size:13px;line-height:1.45}.suggest-form .button:disabled{opacity:.65;cursor:wait}.suggest-form #suggest-status{font-size:14px;font-weight:600;display:none}.suggest-form #suggest-status:not(:empty){display:block;padding:10px 12px;border-radius:5px}.suggest-form #suggest-status.success{background:#eaf2e7;color:#30543d}.suggest-form #suggest-status.error{background:#fae9e4;color:#9a4235}.suggest-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.footer-links a[hidden]{display:none}
@media(max-width:760px){.suggest-section{padding:49px 5%}.suggest-inner{grid-template-columns:1fr;gap:28px}.suggest-copy h2{font-size:2.5rem}.suggest-copy>p{font-size:16px}.suggest-art{gap:12px;margin-top:18px}.suggest-art img{width:80px;height:80px}.suggest-form{padding:20px}.header nav a:nth-child(4){display:none}}

.commitment {
  width: min(70rem, 90%);
  margin: 0 auto clamp(3.5rem, 6vw, 6rem);
  padding: clamp(1.5rem, 4vw, 3.25rem);
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  background: #eaf0e7;
  border: 1px solid #d0ddce;
  border-radius: 14px;
}
.commitment-cross {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: 1.25rem;
  border: 1px solid #a6b9a2;
  border-radius: 50%;
  color: var(--green);
  font: 1.8rem var(--serif);
}
.commitment .eyebrow { color: var(--green); }
.commitment h2 {
  margin-top: .9rem;
  font-size: clamp(2rem, 3.2vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -.035em;
}
.commitment h2 em, .story h2 em { color: var(--green); }
.commitment-copy { padding-left: clamp(1.5rem, 3vw, 2.5rem); border-left: 1px solid #c7d4c2; }
.commitment-statement {
  margin: 1.1rem 0;
  padding: 1rem 0;
  border-block: 1px solid #c7d4c2;
  color: var(--navy);
  font: 600 clamp(1.35rem, 2vw, 1.6rem)/1.4 var(--serif);
}
.story-content .story-closing { color: var(--green); font: italic 1.25rem/1.5 var(--serif); }
@media (max-width: 780px) {
  .commitment { grid-template-columns: 1fr; gap: 1.4rem; }
  .commitment-copy { padding-left: 0; border-left: 0; }
}

/* Keep the two current titles and their filters together. */
.collection .book-grid, .collection .filters {
  max-width: 62rem;
  margin-inline: auto;
}
.collection .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#empty-collection { text-align: center; padding: 2rem 1rem; }
@media (max-width: 600px) {
  .collection .book-grid { grid-template-columns: 1fr; }
}

#menu-toggle { display: none; }
body.reader-open { overflow: hidden; }
#preview-dialog {
  width: min(66rem, calc(100% - 2rem));
  max-height: 94vh;
  max-height: 94dvh;
  overscroll-behavior: contain;
}
.reader-stage {
  padding: .65rem;
  overflow: auto;
  background: #eee9dc;
  overscroll-behavior: contain;
}
.reader-stage:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
#spread-image {
  display: block;
  width: min(100%, 112vh);
  width: min(100%, 112dvh);
  max-width: none;
  height: auto;
  aspect-ratio: 2 / 1;
  margin-inline: auto;
  box-shadow: 0 2px 8px #28333d25;
}
.reader-stage.zoomed {
  height: min(54vh, 36rem);
  height: min(54dvh, 36rem);
}
.reader-stage.zoomed #spread-image {
  width: max(180%, 72rem);
  margin-inline: 0;
}
.spread-tabs { display: flex; gap: .35rem; padding: .4rem 1.4rem .5rem; }
.spread-tabs button {
  min-height: 44px;
  padding: .5rem .9rem;
  background: transparent;
  color: var(--navy);
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: .9375rem;
  font-weight: 650;
}
.spread-tabs button[aria-pressed=true] { background: #e5ede3; border-color: #abbda8; color: #2b4c3e; }
.reader-toolbar .textlink { min-height: 44px; display: inline-flex; align-items: center; }
.reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .65rem 1.4rem;
  border-top: 1px solid var(--line);
}
.reader-toolbar button, #menu-toggle {
  min-height: 44px;
  padding: 0 .75rem;
  color: var(--navy);
  border: 1px solid #cec8ba;
  border-radius: .5rem;
  background: var(--paper);
}
#zoom-page { font-size: .9375rem; font-weight: 650; }
#zoom-page[aria-pressed=true] { background: #e7eee4; border-color: #819c89; }
.dialog-head .close { width: 44px; height: 44px; flex-shrink: 0; }

@media (max-width: 760px) {
  .header { height: 68px; padding-inline: max(4%, env(safe-area-inset-left)); }
  .header-actions { gap: .75rem; }
  #menu-toggle { display: inline-flex; align-items: center; font-weight: 650; }
  .lang button { min-width: 44px; min-height: 44px; font-size: .875rem; }
  .header #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 14px #15345114;
    padding: .3rem 5% .65rem;
  }
  .header #main-nav.menu-open { display: grid; gap: 0; }
  .header #main-nav a { display: flex; align-items: center; min-height: 46px; font-size: 1rem; }
  .header #main-nav a + a { border-top: 1px solid var(--line); }
  .hero h1 { font-size: clamp(2.7rem, 10.5vw, 4rem); text-wrap: balance; }
  .hero-content, .story-content, .suggest-copy, .book-info { min-width: 0; }
  .hero { padding-top: 2rem; }
  .hero .eyebrow, .section-intro .eyebrow { letter-spacing: .12em; }
  .hero-actions .textlink { display: inline-flex; align-items: center; min-height: 44px; }
  .section-intro h2, .story-content h2, .commitment h2 { text-wrap: balance; }
  .suggest-copy h2 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .book-info p, .story-content p, .suggest-form label { font-size: 1rem; }
  .filter, .edition { min-height: 44px; font-size: .875rem; }
  .book-actions .button, .footer-links a { min-height: 44px; }
  .footer-links { gap: .25rem 1rem; }
  .footer-links a { display: inline-flex; align-items: center; }
  .story-art { height: auto; }
  .story-art img { object-fit: contain; height: auto; }
  .art-caption { position: static; display: block; background: transparent; padding: .5rem 6%; }
}

@media (max-width: 600px) {
  .filters { align-items: flex-start; flex-wrap: wrap; gap: .5rem; }
  .filter-group { gap: .35rem; }
  .count { margin-left: auto; }
  .ed-options { flex-direction: row; }
  .book-stage { padding: 1.25rem; aspect-ratio: auto; }
  .book-image { width: min(75%, 17.5rem); }
  .book-actions { flex-direction: row; }
  .commitment { padding: 1.25rem; }
  #preview-dialog { width: calc(100% - .75rem); max-height: calc(100dvh - .75rem); }
  .dialog-head { padding: .6rem .8rem; }
  .dialog-head h2 { margin-top: .18rem; font-size: 1.4rem; }
  .reader-stage { padding: .22rem; max-height: 65dvh; }
  .spread-tabs { padding: .25rem .6rem .45rem; }
  .spread-tabs button { flex: 1; }
  #preview-dialog { max-width: none; padding: 0; }
  .reader-toolbar { padding: .55rem .65rem; }
  .dialog-actions { padding: .5rem .65rem max(.6rem, env(safe-area-inset-bottom)); }
  .dialog-actions .button { font-size: .9rem; min-height: 44px; padding: .55rem .75rem; }
}
@media (max-width: 365px) {
  .filter { padding-inline: .55rem; font-size: .8125rem; }
}
@media (max-height: 500px) and (orientation: landscape) {
  #preview-dialog { max-height: 96dvh; }
  .dialog-head { padding: .3rem .75rem; }
  .dialog-head h2 { font-size: 1.2rem; margin: 0; }
  .reader-stage { padding: .25rem; max-height: 52dvh; }
  #spread-image { width: min(100%, 90dvh); }
  .spread-tabs { padding-block: 0; }
  .reader-stage.zoomed { height: 45dvh; }
  .reader-toolbar, .dialog-actions { padding-block: .25rem; }
}
.reader-toolbar button { white-space: nowrap; }
@media (max-width: 760px) {
  html { scroll-padding-top: .75rem; }
  .header {
    position: relative;
    top: auto;
    background: var(--paper);
    backdrop-filter: none;
  }
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 1.75rem max(5.5%, calc((100% - 32rem) / 2)) 2rem;
    background: #fbf7ed;
  }
  .hero:before { content: none; }
  .hero-content { display: contents; }
  .hero-content > .eyebrow { grid-row: 1; }
  .hero-content > h1 { grid-row: 2; margin: .75rem 0; }
  .hero-content > p { grid-row: 3; }
  .hero-art {
    grid-row: 4;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: .6rem 6%;
    width: min(100%, 29rem);
    max-width: none;
    height: auto;
    margin: .25rem auto .8rem;
    padding: clamp(1.4rem, 6vw, 2.5rem) 5% 1.2rem;
    isolation: isolate;
  }
  .hero-art::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 calc((100% - 100vw) / 2);
    background:
      linear-gradient(to bottom, #fbf7ed 0%, #fbf7ed12 24%, transparent 64%, #fbf7ed80 88%, #fbf7ed 100%),
      url("assets/hero-garden.webp") center 66% / cover no-repeat;
  }
  .hero-art .hero-book {
    position: relative;
    inset: auto;
    width: 100%;
    box-shadow: 3px 9px 15px #293a3340;
  }
  .hero-book-main { grid-area: 1 / 1; transform: rotate(-7deg); }
  .hero-book-secondary { grid-area: 1 / 2; transform: rotate(7deg); margin-top: 16%; }
  .hero-art .hero-note {
    position: relative;
    inset: auto;
    grid-area: 2 / 1 / 3 / 3;
    justify-self: end;
    gap: .5rem;
    margin-right: 2%;
    padding: .4rem .85rem;
    font-size: clamp(.88rem, 3.2vw, 1rem);
    line-height: 1.2;
    transform: rotate(-3deg);
  }
  .hero-art .hero-sparkle { font-size: 1.65rem; }
  .hero-art .first { top: 4%; right: 4%; }
  .hero-art .second { bottom: 15%; left: 2%; }
  .hero-review .review-emblem { display: none; }

  .hero-content > .hero-review {
    grid-row: 5;
    display: block;
    margin: 0;
    padding: .25rem 0 .25rem 1rem;
    border: 0;
    border-left: 3px solid #b48b49;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .hero-review .review-label { margin-bottom: .4rem; font-size: .75rem; letter-spacing: .11em; }
  .hero .hero-review p { font-size: clamp(1.08rem, 3.9vw, 1.25rem); line-height: 1.4; font-weight: 500; }
  .hero-actions { grid-row: 6; gap: .3rem 1.25rem; margin: 1.25rem 0 0; }
  .hero-actions .button { min-height: 48px; }
  .hero .languages { grid-row: 7; max-width: none; margin: 1rem 0 0; padding: .9rem 0 0; }
  .hero .languages > span { color: #405345; }
  .languages > div { gap: .3rem .5rem; margin-top: .35rem; align-items: baseline; }
  .language-tag { padding: 0; border: 0; border-radius: 0; background: none; color: #405345; font-size: .875rem; }
  .language-tag + .language-tag:before { content: "·"; margin-right: .5rem; color: #856733; }
}
@media (max-width: 480px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; justify-items: center; }
  .hero-actions .button { width: 100%; }
}
@media (min-width: 761px) {
  .hero-art { height: auto; aspect-ratio: 1.35; }
  .hero-book-main { width: 47%; left: 2%; top: 9%; }
  .hero-book-secondary { width: 44%; right: 2%; top: 29%; transform: rotate(9deg); }
  .story-art {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: clamp(1.25rem, 3vw, 3rem);
  }
  .story-art img {
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: contain;
    box-shadow: 0 5px 15px #4337241c;
  }
  .story-art .art-caption {
    position: static;
    padding: .75rem 0 0;
    background: transparent;
  }
}

.cover-placeholder { display: grid; place-items: center; }
.cover-placeholder::before {
  content: "";
  position: absolute;
  inset: -8%;
  background: linear-gradient(#253c30ad, #253c30c7), url("assets/hero-garden.webp") center / cover;
  filter: blur(12px);
}
.placeholder-title {
  position: relative;
  z-index: 1;
  padding: .5em;
  text-align: center;
  color: #fffaf0;
  font: 600 clamp(1.6rem, 3.3vw, 2.85rem)/1.1 Georgia, serif;
}
.placeholder-title small {
  display: block;
  margin-bottom: .5em;
  font-size: .52em;
  letter-spacing: .04em;
}
@media (min-width: 1024px) {
  .collection .book-grid:has(> :nth-child(3)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.header .brand {
  width: auto;
  min-width: 0;
  flex-shrink: 1;
  gap: .45rem;
  color: var(--navy);
  font: 600 clamp(1rem, 1.5vw, 1.35rem)/1.12 var(--serif);
}
.header .brand img { width: 3rem; height: auto; }
.header .brand [data-t="siteName"] { max-width: 8.5em; }
@media (max-width: 420px), (min-width: 761px) and (max-width: 925px) {
  .header .brand [data-t="siteName"] { max-width: 6em; }
  .header .brand img { width: 2.4rem; }
}

.brand-copy { display: grid; gap: .15rem; }
.brand-copy small {
  font: 500 .8125rem/1.15 var(--sans);
  color: var(--muted);
}

/* Give the longer French title and navigation room at intermediate widths. */
html:lang(fr) .header {
  height: auto;
  min-height: 86px;
  padding-block: .5rem;
}
html:lang(fr) .brand {
  height: auto;
}
html:lang(fr) .header .brand [data-t="siteName"] {
  max-width: none;
  text-wrap: balance;
}
html:lang(fr) .header-actions {
  flex-shrink: 0;
}
html:lang(fr) .hero-content {
  min-width: 0;
  container-type: inline-size;
}
html:lang(fr) .hero h1 {
  font-size: clamp(1.875rem, 11.4cqi, 4.6rem);
  line-height: 1.05;
}
html:lang(fr) .hero-actions {
  flex-wrap: wrap;
}
@media (min-width: 761px) and (max-width: 1120px) {
  html:lang(fr) .header-actions .button { display: none; }
  html:lang(fr) .header nav { gap: clamp(.75rem, 2vw, 1.5rem); }
}
@media (max-width: 760px) {
  html:lang(fr) .header { min-height: 68px; }
  html:lang(fr) .brand-copy { min-width: 0; }
  html:lang(fr) .hero { container-type: inline-size; }
  html:lang(fr) .hero-content { container-type: normal; }
}
@media (max-width: 420px) {
  html:lang(fr) .header { gap: .5rem; padding-inline: .65rem; }
  html:lang(fr) .header-actions { gap: .25rem; }
}
@media (max-width: 360px) {
  html:lang(fr) .header-actions {
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
  }
  html:lang(fr) #menu-toggle { justify-content: center; }
}
