:root{
  --paper:#FFFAF0; --paper-2:#FFF4E0; --card:#FFFFFF; --sky:#E8F3FF; --mint-bg:#E4F7EF; --peach:#FFE9DE; --sun-bg:#FFF4CC; --pink:#E04A8B;
  --ink:#343A46; --ink-2:#4F5664; --muted:#646B78;
  --navy:#2674CC; --brass:#C24724; --brass-2:#FFC83D; --aqua:#1F9E7A;
  --line:rgba(52,58,70,.12); --destructive:#A3261B;
  --radius-sm:8px; --radius-md:14px; --radius-lg:22px; --radius-control:999px;
  --serif:"Fredoka","Nunito",system-ui,sans-serif;
  --sans:"Nunito",system-ui,-apple-system,"Segoe UI",sans-serif;
  --shadow:0 1px 2px rgba(52,58,70,.06),0 12px 32px -12px rgba(52,58,70,.18);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font:400 17px/1.6 var(--sans);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--serif);font-weight:600;letter-spacing:0;line-height:1.08;margin:0}
h1{font-size:clamp(2.6rem,6vw,5.2rem)}
h2{font-size:clamp(2rem,4vw,3.2rem)}
h3{font-size:1.35rem;line-height:1.25}
p{margin:0 0 1em}
.kicker{font:600 .78rem/1.2 var(--sans);letter-spacing:.16em;text-transform:uppercase;color:var(--brass)}
.wrap{padding-inline:clamp(20px,5vw,72px)}
.section{padding-block:clamp(64px,9vw,128px)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5em;padding:.95em 1.6em;border-radius:var(--radius-control);border:1.5px solid var(--navy);background:var(--navy);color:#fff;font:600 1rem/1 var(--sans);text-decoration:none;cursor:pointer;transition:transform .2s,background .2s,box-shadow .2s}
.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow)}
.btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}
.btn.ghost{background:transparent;color:var(--navy)}
.btn.ghost:hover{background:rgba(38,116,204,.06)}
.btn.small{padding:.65em 1.1em;font-size:.9rem}
.link{font-weight:600;text-decoration:none;border-bottom:1.5px solid var(--brass-2);padding-bottom:2px}
.link:hover{color:var(--brass)}
.site-header{position:sticky;top:0;z-index:40;background:rgba(246,239,226,.86);backdrop-filter:saturate(1.4) blur(12px);border-bottom:1px solid var(--line)}
.site-header .bar{display:flex;align-items:center;justify-content:space-between;height:74px}
.brand{display:flex;align-items:baseline;gap:.5em;text-decoration:none}
.brand b{font:600 1.55rem/1 var(--serif);letter-spacing:-.01em}
.brand span{font:600 .7rem/1 var(--sans);letter-spacing:.18em;text-transform:uppercase;color:var(--brass)}
.nav{display:flex;align-items:center;gap:clamp(14px,2.4vw,34px)}
.nav a{text-decoration:none;font-weight:500;color:var(--ink-2)}
.nav a:hover,.nav a[aria-current=page]{color:var(--ink)}
.nav a[aria-current=page]{box-shadow:inset 0 -2px 0 var(--brass-2)}
.cart-btn{background:none;border:0;cursor:pointer;display:flex;align-items:center;gap:6px;color:var(--ink);font:600 .95rem var(--sans);padding:6px}
.cart-btn svg{width:22px;height:22px}
.cart-count{min-width:20px;height:20px;border-radius:999px;background:var(--brass);color:#fff;font-size:.72rem;display:inline-grid;place-items:center;padding:0 6px}
.cart-count:empty{display:none}
.menu-btn{display:none;background:none;border:0;padding:6px;cursor:pointer;color:var(--ink)}
.nav-links{display:flex;gap:clamp(14px,2.4vw,34px)}
@media (max-width:760px){
  .menu-btn{display:block}
  .nav .nav-links{display:none;position:absolute;top:74px;left:0;right:0;background:var(--paper-2);flex-direction:column;padding:18px 24px;gap:14px;border-bottom:1px solid var(--line)}
  .nav.open .nav-links{display:flex}
}
.hero{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:clamp(24px,4vw,64px);min-height:calc(100vh - 74px);padding-block:clamp(40px,6vw,80px)}
.hero p.sub{font-size:clamp(1.05rem,1.4vw,1.25rem);color:var(--ink-2);max-width:36em;margin:1.4em 0 2em}
.hero .actions{display:flex;flex-wrap:wrap;gap:12px}
.hero figure{margin:0;position:relative}
.hero figure img{width:100%;height:auto;mix-blend-mode:multiply;-webkit-mask-image:radial-gradient(ellipse 54% 54% at 50% 50%,#000 62%,transparent 100%);mask-image:radial-gradient(ellipse 54% 54% at 50% 50%,#000 62%,transparent 100%)}
.hero h1 em{font-style:normal;color:var(--navy)}
@media (max-width:900px){.hero{grid-template-columns:1fr;min-height:0}.hero figure{order:-1;max-width:520px;margin-inline:auto}}
.ways{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.way{padding:clamp(28px,4vw,48px);text-decoration:none;border-right:1px solid var(--line);transition:background .25s}
.way:last-child{border-right:0}
.way:hover{background:var(--paper-2)}
.way h3{margin:.5em 0 .4em}
.way p{color:var(--ink-2);margin:0 0 1.2em}
.way .go{font-weight:600;color:var(--navy)}
@media (max-width:820px){.ways{grid-template-columns:1fr}.way{border-right:0;border-bottom:1px solid var(--line)}.way:last-child{border-bottom:0}}
.head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:clamp(28px,4vw,48px);flex-wrap:wrap}
.head p{max-width:34em;color:var(--ink-2);margin:.8em 0 0}
.collections{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(14px,2vw,24px)}
.coll{position:relative;border-radius:var(--radius-lg);overflow:hidden;background:var(--card);text-decoration:none;box-shadow:var(--shadow);display:flex;flex-direction:column}
.coll .img{aspect-ratio:4/3;overflow:hidden;background:var(--paper-2)}
.coll .img img{width:100%;height:100%;object-fit:cover;transition:transform .6s}
.coll:hover .img img{transform:scale(1.04)}
.coll .txt{padding:22px 24px 26px}
.coll h3{margin-bottom:.35em}
.coll p{color:var(--ink-2);margin:0}
@media (max-width:900px){.collections{grid-template-columns:1fr}}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:clamp(18px,2.4vw,32px)}
.tile{display:flex;flex-direction:column;text-decoration:none;color:inherit}
.tile .ph{position:relative;aspect-ratio:1;border-radius:var(--radius-md);overflow:hidden;background:var(--card);box-shadow:var(--shadow)}
.tile .ph img{width:100%;height:100%;object-fit:cover;transition:opacity .4s,transform .6s}
.tile .ph img.hover{position:absolute;inset:0;opacity:0}
.tile:hover .ph img.hover{opacity:1}
.tile:hover .ph img{transform:scale(1.02)}
.ribbon{position:absolute;bottom:12px;left:12px;background:var(--navy);color:#fff;font:600 .72rem/1 var(--sans);letter-spacing:.06em;padding:.5em .8em;border-radius:var(--radius-control)}
.tile .meta{padding:14px 2px 0;display:flex;flex-direction:column;gap:6px;flex:1}
.tile .name{font:500 1.08rem/1.3 var(--serif)}
.tile .row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto}
.price{font-weight:600}
.price s{color:var(--muted);font-weight:400;margin-left:.4em}
.dl{font-size:.8rem;color:var(--muted)}
.skeleton .ph{animation:pulse 1.4s ease-in-out infinite}
@keyframes pulse{50%{opacity:.55}}
.explorers{background:var(--sky);color:var(--ink)}
.explorers .kicker{color:#B03E1D}
.explorers .cols{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,80px);align-items:center}
.explorers p{color:var(--ink-2);font-size:1.12rem}
.explorers .pics{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.explorers .pics img{border-radius:var(--radius-md);width:100%;height:100%;object-fit:cover}
.explorers .pics img:first-child{grid-column:1/-1;aspect-ratio:16/9}
.explorers .pics img:not(:first-child){aspect-ratio:2/3}
@media (max-width:900px){.explorers .cols{grid-template-columns:1fr}}
.why{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(18px,3vw,40px)}
.why div{border-top:2px solid var(--brass-2);padding-top:18px}
.why h3{font-size:1.25rem;margin-bottom:.4em}
.why p{color:var(--ink-2);margin:0}
@media (max-width:900px){.why{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.why{grid-template-columns:1fr}}
.gift{display:grid;grid-template-columns:auto 1fr auto;gap:clamp(18px,3vw,40px);align-items:center;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);padding:clamp(24px,4vw,48px);box-shadow:var(--shadow)}
.gift img{width:160px;mix-blend-mode:multiply}
.gift p{color:var(--ink-2);margin:.5em 0 0}
@media (max-width:820px){.gift{grid-template-columns:1fr}.gift img{width:140px}}
.books{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(22px,3vw,40px)}
.book{display:flex;flex-direction:column;text-decoration:none}
.book .cov{aspect-ratio:3/4;display:flex;align-items:flex-end;justify-content:center;background:linear-gradient(180deg,transparent 30%,rgba(38,116,204,.06));border-radius:var(--radius-md);padding:18px 18px 0}
.book .cov img{max-height:100%;width:auto;box-shadow:0 18px 30px -14px rgba(52,58,70,.45),0 2px 4px rgba(52,58,70,.15);border-radius:2px 4px 4px 2px;transition:transform .4s}
.book:hover .cov img{transform:translateY(-6px) rotate(-1deg)}
.book h3{font-size:1.1rem;margin:16px 0 6px}
.book p{color:var(--ink-2);font-size:.95rem;margin:0 0 10px}
.book .go{font-weight:600;color:var(--navy);margin-top:auto}
.page-head{padding-block:clamp(40px,6vw,80px) clamp(20px,3vw,32px)}
.page-head p{color:var(--ink-2);max-width:40em;margin-top:1em;font-size:1.1rem}
.toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;padding-block:18px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:32px;position:sticky;top:74px;background:var(--paper);z-index:5}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{border:1.5px solid var(--line);background:var(--card);color:var(--ink);padding:.55em 1em;border-radius:var(--radius-control);font:500 .92rem var(--sans);cursor:pointer}
.chip[aria-pressed=true]{background:var(--navy);border-color:var(--navy);color:#fff}
.tools{display:flex;gap:10px;align-items:center}
.field{border:1.5px solid var(--line);background:var(--card);border-radius:var(--radius-control);padding:.6em 1em;font:500 .92rem var(--sans);color:var(--ink)}
.count{color:var(--muted);font-size:.92rem}
.state{padding:60px 0;text-align:center;color:var(--ink-2)}
.state .err{color:var(--destructive)}
.loading-dim{opacity:.55;transition:opacity .2s}
.pdp{display:grid;grid-template-columns:1.1fr 1fr;gap:clamp(28px,5vw,80px);padding-block:clamp(28px,4vw,56px) clamp(64px,8vw,110px)}
.crumbs{font-size:.9rem;color:var(--muted);margin-bottom:18px}
.crumbs a{text-decoration:none}
.gallery .main{aspect-ratio:1;border-radius:var(--radius-lg);overflow:hidden;background:var(--card);box-shadow:var(--shadow)}
.gallery .main img{width:100%;height:100%;object-fit:cover}
.thumbs{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin-top:12px}
.thumbs button{padding:0;border:2px solid transparent;border-radius:var(--radius-sm);overflow:hidden;cursor:pointer;background:none;aspect-ratio:1}
.thumbs button[aria-current=true]{border-color:var(--navy)}
.thumbs img{width:100%;height:100%;object-fit:cover}
.buy{position:sticky;top:100px;align-self:start}
.buy h1{font-size:clamp(2rem,3.4vw,3rem)}
.buy .price{font-size:1.6rem;font-family:var(--serif);font-weight:500;margin:18px 0 6px;display:block}
.buy .note{color:var(--muted);font-size:.95rem;margin-bottom:22px}
.buy .btn{width:100%;padding:1.1em}
.assure{list-style:none;padding:0;margin:22px 0 0;display:grid;gap:8px;color:var(--ink-2);font-size:.95rem}
.assure li::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--brass-2);margin-right:10px;vertical-align:middle}
.desc{margin-top:36px;padding-top:28px;border-top:1px solid var(--line);color:var(--ink-2)}
.desc p{margin:0 0 .55em}
.desc strong{display:block;margin-top:1.2em;color:var(--ink);font:600 .8rem/1.2 var(--sans);letter-spacing:.14em}
.error{color:var(--destructive);margin-top:10px}
@media (max-width:900px){.pdp{grid-template-columns:1fr}.buy{position:static}}
.prose{max-width:42em}
.prose p{font-size:1.12rem;color:var(--ink-2)}
.about{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,80px);align-items:start;padding-block:clamp(40px,6vw,90px)}
.about img{border-radius:var(--radius-lg);box-shadow:var(--shadow)}
@media (max-width:900px){.about{grid-template-columns:1fr}}
.site-footer{border-top:1px solid var(--line);padding-block:48px;display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center;color:var(--ink-2);font-size:.95rem}
.site-footer nav{display:flex;gap:22px;flex-wrap:wrap}
.site-footer a{text-decoration:none}
.site-footer a:hover{color:var(--ink)}
.drawer-bg{position:fixed;inset:0;background:rgba(52,58,70,.42);z-index:80;opacity:0;pointer-events:none;transition:opacity .25s}
.drawer-bg.on{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(440px,100vw);background:var(--paper-2);z-index:90;transform:translateX(100%);transition:transform .3s ease;display:flex;flex-direction:column;box-shadow:-20px 0 60px -20px rgba(52,58,70,.4)}
.drawer.on{transform:none}
.drawer header{display:flex;justify-content:space-between;align-items:center;padding:22px 24px;border-bottom:1px solid var(--line)}
.drawer header h2{font-size:1.6rem}
.x{background:none;border:0;font-size:1.6rem;line-height:1;cursor:pointer;color:var(--ink);padding:4px 8px}
.lines{flex:1;overflow:auto;padding:8px 24px}
.line{display:grid;grid-template-columns:72px 1fr auto;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);align-items:start}
.line img{width:72px;height:72px;object-fit:cover;border-radius:var(--radius-sm);background:var(--card)}
.line .n{font:500 1rem/1.3 var(--serif)}
.line .s{font-size:.82rem;color:var(--muted)}
.line .rm{background:none;border:0;padding:0;margin-top:6px;color:var(--muted);text-decoration:underline;cursor:pointer;font:500 .82rem var(--sans)}
.drawer footer{padding:20px 24px 26px;border-top:1px solid var(--line)}
.tot{display:flex;justify-content:space-between;font-weight:600;font-size:1.05rem;margin-bottom:6px}
.drawer footer .small{color:var(--muted);font-size:.85rem;margin-bottom:16px}
.drawer footer .btn{width:100%}
.empty{padding:40px 0;color:var(--ink-2)}
body.locked{overflow:hidden}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .8s ease,transform .8s ease}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}*{scroll-behavior:auto}}
:focus-visible{outline:2px solid var(--aqua);outline-offset:3px}
#featured{grid-template-columns:repeat(4,1fr)}
@media (max-width:1000px){#featured,.books{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){#featured{gap:14px}}

/* happy accents */
.ribbon{background:var(--brass)}
.why div:nth-child(1){border-top-color:#2674CC}.why div:nth-child(2){border-top-color:#E8613C}.why div:nth-child(3){border-top-color:#1F9E7A}.why div:nth-child(4){border-top-color:#FFC83D}
.way:nth-child(1):hover{background:var(--sky)}.way:nth-child(2):hover{background:var(--peach)}.way:nth-child(3):hover{background:var(--mint-bg)}
.chip:hover{background:var(--sun-bg);border-color:#FFC83D}
.btn:hover{filter:brightness(1.08)}
.sec-head h2{display:inline-block;padding-bottom:6px;border-bottom:5px solid #FFC83D;border-radius:2px}
.shop-sec:nth-of-type(6n+1) .sec-head h2{border-bottom-color:#2674CC}.shop-sec:nth-of-type(6n+2) .sec-head h2{border-bottom-color:#E8613C}.shop-sec:nth-of-type(6n+3) .sec-head h2{border-bottom-color:#1F9E7A}.shop-sec:nth-of-type(6n+4) .sec-head h2{border-bottom-color:#FFC83D}.shop-sec:nth-of-type(6n+5) .sec-head h2{border-bottom-color:#E04A8B}.shop-sec:nth-of-type(6n) .sec-head h2{border-bottom-color:#7C6CD9}
.hw-week{background:#fff;border-color:rgba(38,116,204,.18)}.hw-week:nth-child(5n+1){box-shadow:inset 6px 0 0 #2674CC}.hw-week:nth-child(5n+2){box-shadow:inset 6px 0 0 #E8613C}.hw-week:nth-child(5n+3){box-shadow:inset 6px 0 0 #1F9E7A}.hw-week:nth-child(5n+4){box-shadow:inset 6px 0 0 #FFC83D}.hw-week:nth-child(5n){box-shadow:inset 6px 0 0 #E04A8B}
.buy .hw-box{background:var(--sky);border-color:rgba(38,116,204,.2)}
.buy .hw-daylist .btn{width:auto;flex:0 0 auto;padding:7px 14px}
