/* The shop shares the book site's paper, ink, blue, and local typefaces. */
.store-page{--paper:#faf8f2;--ink:#101010;--blue:#3279b2;--pale:#e8f2f8;--muted:#53565a;--line:#c4d9e7;--body:Alike,Georgia,serif;margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 var(--body)}
@font-face{font-family:Alike;src:url('/assets/alike.ttf') format('truetype');font-display:swap;font-weight:400}@font-face{font-family:CoverTitle;src:url('/assets/bodoni-title.ttf') format('truetype');font-display:swap;font-weight:400}@font-face{font-family:CoverHeading;src:url('/assets/boston-light.ttf') format('truetype');font-display:swap;font-weight:400}
.store-page *{box-sizing:border-box}.store-page a{color:inherit}.store-page button,.store-page input,.store-page select{font:inherit}.store-page .wrap{width:min(1160px,88%);margin:auto}.store-page .masthead{border-bottom:1px solid var(--line);background:var(--paper)}.store-page nav{min-height:90px;display:flex;justify-content:space-between;align-items:center;gap:20px}.store-page .wordmark{font:400 33px/.78 CoverTitle,Georgia,serif;text-decoration:none;letter-spacing:-1px}.store-page .wordmark span{display:block;color:var(--blue)}.store-page .navlinks{display:flex;gap:28px;align-items:center}.store-page .navlinks a{text-decoration:none;font-size:14px}.store-page .navlinks a[aria-current]{color:var(--blue);border-bottom:1px solid var(--blue)}.store-page .eyebrow,.store-showcase .eyebrow{font-size:12px;letter-spacing:2px;text-transform:uppercase;color:var(--blue)}
.store-page .button,.store-dialog .button,.store-showcase .button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;padding:12px 24px;border:1px solid var(--blue);background:var(--blue);color:var(--paper);font:16px/1.4 Alike,Georgia,serif;text-decoration:none;cursor:pointer}.store-page .button:hover,.store-dialog .button:hover,.store-showcase .button:hover{background:#255e83}.store-page .button.secondary,.store-dialog .button.secondary{background:transparent;color:var(--blue)}.store-page button:disabled,.store-dialog button:disabled{opacity:.5;cursor:not-allowed}.store-page :focus-visible,.store-showcase :focus-visible,.store-dialog :focus-visible{outline:3px solid var(--blue);outline-offset:4px}.store-page .skip{position:absolute;top:-100px;background:var(--ink);color:white;padding:10px;z-index:20}.store-page .skip:focus{top:0}
.store-bag-button{background:transparent;border:1px solid var(--line);padding:8px 14px;color:var(--blue);font:14px/1.5 Alike,Georgia,serif;cursor:pointer;white-space:nowrap;min-height:44px}.store-bag-button:hover{border-color:var(--blue)}
.store-hero{position:relative;overflow:hidden;border-bottom:1px solid var(--line);background:radial-gradient(ellipse at 95% 0,#fff1c7aa,transparent 45%),linear-gradient(120deg,var(--paper) 35%,#e5f1f8)}.store-hero:after{content:'';position:absolute;width:650px;height:400px;border:1px solid #94bdd466;border-radius:50%;right:-220px;bottom:-360px;pointer-events:none}.store-hero .wrap{padding:65px 0 55px;display:grid;grid-template-columns:1.1fr .9fr;gap:65px;align-items:end}.store-hero h1{font:400 clamp(55px,6vw,82px)/1.08 CoverHeading,Georgia,serif;letter-spacing:-1px;margin:18px 0 0}.store-hero h1 span{color:var(--blue)}.store-hero p{margin:0;color:var(--muted);max-width:420px}.store-section{padding:48px 0 75px}.store-toolbar{display:flex;justify-content:space-between;gap:25px;align-items:center;margin:0 0 30px}.store-toolbar h2{font:400 26px/1.4 var(--body);margin:0}.store-toolbar p{font-size:14px;color:var(--muted);margin:0}.store-filters{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:32px}.store-filter{font:14px/1.5 var(--body);min-height:44px;padding:9px 18px;background:transparent;border:1px solid var(--line);cursor:pointer;color:var(--ink)}.store-filter[aria-pressed=true]{background:var(--blue);color:var(--paper);border-color:var(--blue)}
.store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 28px}.store-card{min-width:0}.store-card>a{text-decoration:none;display:block}.store-card-visual{aspect-ratio:1;background:#edf1ef;overflow:hidden;border:1px solid #d7e0df}.store-card-visual img{width:100%;height:100%;object-fit:contain;display:block;transition:transform .25s ease}.store-card>a:hover img{transform:scale(1.035)}.store-card-meta{display:flex;gap:16px;justify-content:space-between;align-items:baseline;padding-top:15px}.store-card h3{font:400 20px/1.4 Alike,Georgia,serif;margin:0}.store-card-price{white-space:nowrap;color:var(--blue);font:15px/1.5 Alike,Georgia,serif}.store-card-category{font:14px/1.6 Alike,Georgia,serif;color:var(--muted);margin:5px 0 10px}.store-card .store-details{display:inline-block;font:14px/1.5 Alike,Georgia,serif;color:var(--blue);border-bottom:1px solid var(--line);text-decoration:none;padding-bottom:3px}.store-caption{font-size:14px;color:var(--muted);margin:28px 0 0}.store-load-note{font:14px/1.6 Alike,Georgia,serif;color:var(--muted);margin:0 0 25px}.store-load-note:empty{display:none}.store-closing{border-top:1px solid var(--line);padding:40px 0;background:var(--pale)}.store-closing .wrap{display:flex;justify-content:space-between;align-items:center;gap:35px}.store-closing h2{font:400 28px/1.3 var(--body);margin:0 0 12px}.store-closing p{margin:0;color:var(--muted);font-size:15px}.store-closing a{white-space:nowrap}.store-page footer{padding:32px 0}.store-page .footer-inner{display:flex;justify-content:space-between;align-items:center;gap:25px;font-size:14px;color:var(--muted)}.store-page footer .wordmark{font-size:25px}.store-page .footer-links{display:flex;gap:24px}.store-page .footer-links a{font-size:14px}
.store-showcase{border-top:1px solid var(--line);background:linear-gradient(145deg,#edf5f9,var(--paper) 65%)}.store-showcase .store-showcase-inner{padding:65px 0}.store-showcase-head{display:flex;justify-content:space-between;gap:35px;align-items:end;margin-bottom:32px}.store-showcase h2{margin-bottom:15px}.store-showcase-head p{font-size:16px;color:var(--muted);margin:0;max-width:560px}.store-showcase-head>a{flex-shrink:0}.store-showcase .store-grid{gap:28px}.store-showcase .store-bag-button{margin-top:25px}
.store-dialog{box-sizing:border-box;width:min(960px,94vw);max-height:90dvh;margin:auto;padding:0;border:1px solid var(--line);background:var(--paper);color:var(--ink);font:16px/1.65 Alike,Georgia,serif;overflow:auto;box-shadow:0 20px 80px #163d5033}.store-dialog::backdrop{background:#172b3a77;backdrop-filter:blur(3px)}.store-dialog *{box-sizing:border-box}.store-dialog button,.store-dialog select,.store-dialog input{font:inherit}.store-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 28px;border-bottom:1px solid var(--line)}.store-dialog-head h2{font:400 26px/1.3 Alike,Georgia,serif;letter-spacing:-.5px;margin:0}.store-close{border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer;min-height:44px;padding:7px 14px}.store-product-body{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:28px}.store-product-image{aspect-ratio:1;background:#edf1ef;align-self:start}.store-product-image img{width:100%;height:100%;object-fit:contain;display:block}.store-product-info .product-price{font-size:28px;color:var(--blue);margin:0 0 18px}.store-product-info .product-description{color:var(--muted);margin:0 0 24px}.store-product-form{display:grid;gap:18px}.store-product-form label{display:grid;gap:6px;font-size:14px}.store-product-form select,.store-product-form input{border:1px solid #8caabc;border-radius:0;min-height:48px;padding:10px;background:var(--paper);color:var(--ink);width:100%}.store-product-form input{max-width:110px}.store-product-form button{width:100%}.store-product-info .fulfillment-note{font-size:14px;color:var(--muted);margin:18px 0 0}.store-cart-body{padding:24px 28px}.store-cart-line{display:grid;grid-template-columns:84px 1fr auto;gap:20px;padding:20px 0;border-bottom:1px solid var(--line);align-items:start}.store-cart-line img{width:84px;height:84px;object-fit:contain;background:#edf1ef}.store-cart-line h3{font:400 18px/1.4 Alike,Georgia,serif;margin:0 0 5px}.store-cart-line p{font-size:14px;color:var(--muted);margin:0 0 10px}.store-cart-quantity{display:flex;align-items:center;gap:12px}.store-cart-quantity button{width:38px;min-height:38px;border:1px solid var(--line);background:transparent;color:var(--ink);cursor:pointer}.store-cart-remove{display:block;background:transparent;border:0;border-bottom:1px solid var(--line);padding:2px 0;font-size:14px!important;cursor:pointer;color:var(--muted);margin-top:12px}.store-cart-total{display:flex;justify-content:space-between;gap:20px;font-size:22px;padding:24px 0 8px}.store-cart-footer{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:16px 0 0}.store-cart-empty{padding:35px 0;text-align:center}.store-cart-error{font-size:14px;color:#9b2d25}.store-cart-note{font-size:14px;color:var(--muted);margin:0 0 15px}.store-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:30;background:var(--ink);color:var(--paper);font:15px/1.5 Alike,Georgia,serif;padding:12px 22px;max-width:90vw;text-align:center;box-shadow:0 5px 25px #10101022}.store-toast:empty{display:none}html:has(dialog.store-dialog[open]){overflow:hidden}
@media(max-width:900px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.store-hero .wrap{gap:35px}.store-showcase .store-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.store-showcase .store-card-meta{display:block}.store-showcase .store-card-price{display:block;margin-top:5px}.store-page .navlinks{gap:18px}.store-page .navlinks a{font-size:14px}}
@media(max-width:620px){.store-page nav{min-height:88px;gap:16px}.store-page .wordmark{font-size:28px}.store-page .navlinks{gap:14px;flex-wrap:wrap;justify-content:end}.store-page .navlinks .store-home-book{display:none}.store-hero .wrap{grid-template-columns:1fr;padding:42px 0;gap:25px}.store-hero h1{font-size:58px}.store-hero p{font-size:16px}.store-section{padding:32px 0 45px}.store-toolbar{align-items:start;flex-direction:column;gap:8px}.store-toolbar h2{font-size:24px}.store-grid{gap:28px 16px}.store-card h3{font-size:17px}.store-card-meta{display:block}.store-card-price{display:block;margin-top:5px}.store-card-category,.store-card .store-details{font-size:14px}.store-showcase-head{display:block}.store-showcase-head>a{margin-top:22px}.store-showcase .store-showcase-inner{padding:48px 0}.store-showcase .store-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px}.store-showcase .store-card:last-child{display:none}.store-closing .wrap{display:block}.store-closing a{display:inline-block;margin-top:20px}.store-page .footer-inner{align-items:start;flex-wrap:wrap}.store-page .footer-links{gap:15px}.store-dialog{max-height:94dvh;width:94vw}.store-dialog-head{padding:16px 18px}.store-dialog-head h2{font-size:22px}.store-product-body{grid-template-columns:1fr;padding:18px;gap:24px}.store-product-image{max-height:280px;width:100%}.store-product-info .product-price{margin-bottom:12px}.store-cart-body{padding:16px 18px}.store-cart-line{grid-template-columns:60px 1fr auto;gap:12px}.store-cart-line img{width:60px;height:60px}.store-cart-line>strong{font-size:14px}.store-cart-footer{align-items:stretch;flex-direction:column}.store-cart-footer .button{width:100%}.store-toast{bottom:16px}}
@media(prefers-reduced-motion:reduce){.store-card-visual img{transition:none}}
/* Keep every navigation destination available on narrow home screens. */
@media(max-width:620px){body:not(.store-page) .masthead nav{height:auto;min-height:94px;padding:16px 0;align-items:center}body:not(.store-page) .navlinks{justify-content:flex-end;gap:8px 16px;flex-wrap:wrap;max-width:235px}body:not(.store-page) .navlinks a{font-size:12px}body:not(.store-page) .navlinks a:first-child{display:inline}}

/* Color-specific product photography, with every Fourthwall angle available. */
.store-product-gallery{min-width:0;align-self:start}.store-gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}.store-gallery-controls button{background:transparent;border:1px solid var(--line);color:var(--ink);cursor:pointer;min-height:44px;padding:7px 11px;font-size:14px}.store-gallery-status{font-size:13px;color:var(--muted);text-align:center}.store-gallery-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.store-gallery-thumb{display:block;padding:3px;border:1px solid var(--line);background:#edf1ef;cursor:pointer;aspect-ratio:1;min-width:0}.store-gallery-thumb[aria-pressed=true]{border:2px solid var(--blue);padding:2px;background:var(--pale)}.store-gallery-thumb img{display:block;width:100%;height:100%;object-fit:contain}.store-product-gallery .store-product-image{width:100%;touch-action:pan-y}.store-product-gallery .store-product-image img{object-fit:contain}.store-product-gallery .store-gallery-thumb:hover{border-color:var(--blue)}
@media(max-width:620px){.store-gallery-thumbs{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.store-product-gallery .store-product-image{height:270px;aspect-ratio:auto;max-height:none}.store-gallery-controls{gap:8px;margin:10px 0}.store-gallery-controls button{font-size:14px;padding:6px 10px}.store-gallery-status{font-size:13px}.store-product-body{gap:25px}}
.store-dialog-head{position:sticky;top:0;z-index:2;background:var(--paper)}
