/* Homepage: Printed Pixels. The sleeve sheet, cards, and case are separate layers. */
body[data-page="home"] { background:#fcf9f2; }
body[data-page="home"] .site-header { background:#fcf9f2; border-bottom:1px solid #dfd2df; }
body[data-page="home"] .shop-nav { box-shadow:0 3px 0 #452653; }
#home .collection-entrance { background:#fcf9f2; background-image:none; border:0; min-height:calc(100svh - 76px); padding:0; overflow:clip; }
#home .collection-entrance::before { display:none; }
#home .printed-corner { position:absolute; width:clamp(300px,46vw,680px); height:auto; pointer-events:none; z-index:0; image-rendering:pixelated; animation:printed-breathe 9s steps(4,end) infinite; }
#home .printed-corner-start { top:0; left:0; }
#home .printed-corner-end { bottom:0; left:0; transform:rotate(-90deg); animation-delay:-4s; }
#home .background-card-backs {position:absolute;right:-115px;bottom:-115px;width:300px;height:auto;pointer-events:none;z-index:0;}
@keyframes printed-breathe { 0%,100%{opacity:.9;translate:0 0}50%{opacity:.7;translate:0 -4px} }
#home .collection-entrance .binder-section { position:relative; width:min(1460px,calc(100% - 64px)); padding:56px 0 22px; z-index:1; }
#home .collection-entrance .binder-stage,#home .collection-entrance .binder-foot { width:min(1280px,calc((100svh - 200px)*1.59879),100%); max-width:none; margin-inline:auto; }
#home .binder-stage { position:relative; container-type:inline-size; }
#home .binder-book { aspect-ratio:1586/992; padding:0; min-height:0; perspective:1600px; transform:translateX(calc((1 - var(--hinge)) * -24%)) translateY(var(--arrival-y,0px)) rotate(var(--arrival-rotate,0deg)); opacity:var(--arrival-opacity,1); filter:none; pointer-events:none; }
#home .binder-shell { inset:0; overflow:visible; }
#home .binder-shell img { width:100%;height:109%;object-fit:fill; filter:none; transform:translateY(-1%); }
#home .book-pages { position:absolute; inset:10.5% 4.6% 10%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:minmax(0,1fr); gap:3.7%; pointer-events:auto; }
#home .binder-leaf { position:relative; height:100%; min-height:0; background:none; }
#home .card-page { --hinge-reach:3.84216%; width:100%; padding:0; justify-self:center; filter:none; isolation:isolate; }
#home .page-hinge {position:absolute;top:0;bottom:0;right:calc(100% - 1px);width:calc(var(--hinge-reach) + 2px);z-index:-2;pointer-events:none;background-color:#292b2e;background-image:radial-gradient(ellipse at center,#70727438 .45px,transparent .9px),linear-gradient(90deg,#181a1d,#2b2d30 65%,#222427);background-size:2px 2px,100% 100%;box-shadow:inset 0 1px 0 #55575a60,inset 0 -1px 0 #0c0d0e;}
#home .page-left .page-hinge {right:auto;left:calc(100% - 1px);background-position:1px 1px,0 0;}
#home .sleeve-surface { position:absolute;inset:0;overflow:hidden;z-index:-1;background:#202225;border:1px solid #4a4b4b;border-radius:2px;box-shadow:1px 2px 0 #151719,2px 4px 0 #383a3b,2px 5px 2px #0008; }
#home .pocket-sheet { position:absolute;left:-4.6%;top:-3%;width:109.2%;max-width:none;height:106.2%;object-fit:fill;pointer-events:none; }
#home .pocket-grid { position:absolute; inset:1.3% 1.35% 1.3%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); column-gap:1.3%; row-gap:1.1%; height:auto; }
#home .book-pages .pocket { background:none; border:0; border-radius:0; box-shadow:none; padding:clamp(7px,.8cqw,12px); min-height:0; height:100%; }
#home .book-pages .pocket::before,#home .book-pages .pocket::after { display:none; }
#home .book-pages .binder-card { height:100%; width:100%; display:grid; grid-template-rows:minmax(0,1fr) 2.4em; padding:clamp(17px,1.9cqw,26px) 9% clamp(15px,1.6cqw,22px); gap:3px; font-size:clamp(13px,1.7cqw,22px); border:0; background:none; box-shadow:none; border-radius:0; filter:none; }
/* The two menu cards without captions reserve the same space as their neighbors. */
#home .book-pages .binder-card:is(.card-shop,.card-sell,:has(small)) {grid-template-rows:minmax(0,1fr) 1.35em 1.1em;}
#home .book-pages .binder-card small {font-size:clamp(9px,.95cqw,13px);line-height:1.1;}
#home .book-pages .card-art { width:100%;height:auto;min-height:0;padding:0; }
#home .book-pages .card-art img { width:100%;height:100%;object-fit:contain;image-rendering:pixelated; }
#home .book-pages .logo-card .card-art {grid-row:1/-1;padding:7%;}
#home .book-pages .social-card .card-art {padding:13%;}
#home .book-pages .card-title { font:inherit; font-family:Russo,Arial,sans-serif; line-height:1.16; align-self:center; }
#home .book-pages .card-arrow { right:8%;bottom:5%;width:14px; height:14px; font-size:15px;color:#7f269a; }
#home .book-pages .card-arrow .icon {width:13px;height:13px;}
#home .book-pages .corner-mark {width:clamp(10px,1.1cqw,15px);top:6.5%;left:10%;}
#home .book-pages .binder-card:hover,#home .book-pages .binder-card:focus-visible {transform:translateY(-3px); filter:none;box-shadow:none;}
#home .book-pages .binder-card:focus-visible {outline:2px solid #e5bd63;outline-offset:2px;}
#home .book-pages .turning-page {position:absolute;right:0;top:0; width:48.15%; height:100%; padding:0; transform-origin:calc(-1 * var(--hinge-reach)) center; z-index:4; backface-visibility:hidden; }
#home .book-pages .turning-back {left:0;right:auto;transform-origin:calc(100% + var(--hinge-reach)) center;}
#home .inside-branding {padding:3% 7%;display:flex;align-items:center;justify-content:flex-start;text-align:left;}
#home .inside-brand-copy {align-items:flex-start;justify-content:center; gap:0;}
#home .inside-seal {display:block;width:60%;height:auto;aspect-ratio:1; background:none; border:0;outline:0;box-shadow:none; margin:0 0 3%;border-radius:0;}
#home .inside-seal img {width:100%;height:100%;object-fit:contain;}
#home .inside-seal:hover {transform:translateY(-2px);box-shadow:none;}
#home .inside-wordmark {font:clamp(18px,3.25cqw,42px)/1.05 Russo,Arial,sans-serif;letter-spacing:-.7px;margin:0 0 5%;color:#fff;}
#home .inside-kicker {font:700 clamp(8px,1.04cqw,14px)/1.4 Arial,sans-serif;letter-spacing:.13em;color:#ddb343;margin:0 0 5.5%;}
#home .inside-branding h1 {font:clamp(26px,3.8cqw,49px)/1.09 Russo,Arial,sans-serif;letter-spacing:-.025em;margin:0;color:#fff;}
#home .inside-wordmark span {color:#c6a0e2;}
#home .inside-branding h1 em {font-style:normal;color:#c6a0e2;}
#home .binder-navigation,#home .binder-stage[data-spread=full] .binder-navigation {inset:-47px 7.5% auto 54.7%;z-index:1;}
#home .binder-navigation .page-controls {gap:6px;}
#home .binder-navigation .page-controls button,#home .binder-stage[data-spread=full] .binder-navigation .page-controls button {flex-direction:column;gap:5px;min-height:88px;padding:10px 4px 38px;border:1px solid #cbb7d1;border-bottom:0; border-radius:8px 8px 0 0;box-shadow:none; background:#eee4f1; color:#664176;}
#home .binder-navigation .page-controls button[aria-pressed=true],#home .binder-stage[data-spread=full] .binder-navigation .page-controls button[aria-pressed=true] {background:#7d3b9f;color:#fff;box-shadow:none;}
#home .binder-navigation .page-controls button:hover {background:#e1cee7;transform:translateY(-3px);}
#home .binder-navigation .page-controls button[aria-pressed=true]:hover,#home .binder-stage[data-spread=full] .binder-navigation .page-controls button[aria-pressed=true]:hover {background:#73328f;}
#home .binder-navigation .tab-copy strong {font:700 clamp(10px,1.06cqw,14px)/1.2 Arial,sans-serif;}
#home .binder-navigation .tab-icon,#home .binder-navigation .tab-icon svg {width:22px;height:22px;}
#home .binder-cover {background:url('assets/binder-cover-v4.webp') center/100% 100% no-repeat;left:50%;top:1%;bottom:1%;width:49%;border:0;box-shadow:none;filter:none;cursor:default;backface-visibility:hidden;pointer-events:auto;}
#home .binder-cover::after {display:none;}
#home .cover-brand {position:absolute;inset:23% 10% 21%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;backface-visibility:hidden;}
#home .cover-seal {display:block; background:none;border:0;border-radius:0;box-shadow:none;width:60%;aspect-ratio:1;}
#home .cover-brand .cover-seal img {width:100%;height:100%;object-fit:contain;filter:none;}
#home .cover-wordmark {font:clamp(18px,2.5cqw,32px)/1.15 Russo,Arial,sans-serif;color:#fff;}
#home .zip-route {stroke:#8b7b91;stroke-width:.25;opacity:.5;}
#home .zip-open-track {stroke:#251e29;stroke-width:.65;}
#home .zip-pull {position:absolute;width:10%;height:13%;object-fit:contain;background:none;border:0;border-radius:0;box-shadow:none;animation:none;transform:translate(-50%,-9%) rotate(calc(var(--zip-angle,0deg) - 90deg));transform-origin:50% 9%;}
#home .zip-pull::before,#home .zip-pull::after {display:none;}
#home .binder-foot {position:relative;justify-content:flex-end;gap:17px;margin-top:0;min-height:44px;padding-inline:5%;}
#home .binder-foot #replay-binder {display:block;margin-right:auto;font-size:12px;color:#795485;}
#home .binder-foot #page-status {font-size:12px;color:#74677a;}
#home .binder-foot .text-button {font-size:12px;min-height:44px;}
#home .home-highlights {display:none;}
.motion-paused #home .printed-corner {animation-play-state:paused;}
@media(max-width:899px){
 #home .collection-entrance {min-height:calc(100svh - 64px);}
 #home .collection-intro {display:block;padding:14px 0 10px;width:calc(100% - 40px);}
 #home .collection-intro .eyebrow {font-size:9px;letter-spacing:.15em;color:#a47d2d;margin:8px 0 0;}
 #home .collection-intro h1 {font:clamp(25px,6.5vw,33px)/1.13 Russo,Arial,sans-serif;letter-spacing:-.8px;}
 #home .collection-intro h1 em {color:#8a43a5;}
 #home .printed-corner {width:clamp(220px,65vw,480px);opacity:.7;}
 #home .background-card-backs {width:225px;right:-24px;bottom:-76px;}
 #home .collection-entrance .binder-section {width:calc(100% - 24px);padding:35px 0 18px;}
 #home .collection-entrance .binder-stage,#home .collection-entrance .binder-foot {width:min(425px,100%);}
 #home .binder-book {aspect-ratio:1122/1402;transform:translateY(var(--arrival-y,0px)) rotate(var(--arrival-rotate,0deg));}
 #home .binder-shell {overflow:hidden;}
 #home .binder-shell img {width:200%;max-width:none;height:109%;object-fit:fill;transform:translate(-50%,-1%);}
 #home .book-pages {inset:10.5% 8% 10%;grid-template-columns:1fr;gap:0;}
 #home .card-page {--hinge-reach:4%;width:100%;height:100%;}
 #home .pocket-grid {inset:1.3% 1.35% 1.3%;}
 #home .book-pages .pocket {padding:clamp(5px,1.5cqw,7px);}
 #home .book-pages .binder-card {font-size:clamp(13px,3.85cqw,17px);padding:14% 9% 10%;grid-template-rows:minmax(0,1fr) 2.4em;gap:2px;}
 #home .book-pages .binder-card .card-title {font-size:inherit;}
 #home .book-pages .binder-card:is(.card-shop,.card-sell,:has(small)){grid-template-rows:minmax(0,1fr) 1.2em 1em;}
 #home .book-pages .binder-card small{font-size:clamp(8px,2.4cqw,11px);}
 #home .book-pages .corner-mark {width:10px;}
 #home .book-pages .card-arrow {width:12px;height:12px;font-size:12px;bottom:5.5%;}
 #home .book-pages .turning-page,#home .book-pages .turning-back {width:100%;right:0;transform-origin:calc(-1 * var(--hinge-reach)) center;}
 #home .binder-navigation,#home .binder-stage[data-spread=full] .binder-navigation {inset:-43px 11% auto 9%;}
 #home .binder-navigation .page-controls {gap:5px;}
 #home .binder-navigation .page-controls button,#home .binder-stage[data-spread=full] .binder-navigation .page-controls button {min-height:74px;padding:8px 3px 29px;gap:4px;}
 #home .binder-navigation .tab-icon,#home .binder-navigation .tab-icon svg {width:19px;height:19px;}
 #home .binder-navigation .tab-copy strong {font-size:11px;}
 #home .binder-cover {inset:0;width:100%;height:100%;transform-origin:3% center;}
 #home .cover-wordmark {font-size:clamp(19px,6cqw,25px);}
 #home .binder-foot {padding:6px 5px 0;gap:8px;flex-wrap:nowrap;justify-content:space-between;margin-top:0;}
 #home .binder-foot #replay-binder {width:auto;order:0;max-width:72px;line-height:1.3;font-size:11px;margin:0;}
 #home .binder-foot #previous-page,#home .binder-foot #next-page {width:44px;min-width:44px;font-size:0;padding:8px;border:1px solid #d5c5da;border-radius:5px;background:#fcf9f2;}
 #home .binder-foot #page-status {font-size:11px;white-space:nowrap;}
}
@media(max-width:480px) and (max-height:740px){
 #home .collection-intro{padding-top:14px;padding-bottom:7px;}
 #home .collection-intro h1{font-size:25px;}
 #home .collection-entrance .binder-stage,#home .collection-entrance .binder-foot {width:min(100%,max(320px,calc((100svh - 257px)*.8)));}
 #home .collection-entrance .binder-section{padding-top:41px;}
}
@media(prefers-reduced-motion:reduce){#home .printed-corner,#home .card-pixel-sparks{animation:none;}#home .binder-book{transform:none!important;opacity:1!important;}}
/* Each sheet extends into the shared sewn hinge; the stitch follows the pivot. */
#home .page-binding {position:absolute;top:0;bottom:0;left:50%;width:clamp(6px,.7cqw,9px);transform:translateX(-50%);background:linear-gradient(90deg,#25272a,#121416 48%,#282a2c);pointer-events:none;z-index:3;}
#home .page-binding::after {content:'';position:absolute;inset:0;background:url('assets/binder-binding-v2.svg') center top / 100% 8px repeat-y;}
#home .open-zip-pull {position:absolute;left:50%;top:93%;width:5%;height:13%;object-fit:contain;transform:translateX(-50%);z-index:4;opacity:clamp(0,calc((var(--hinge) - .68)*3.125),1);pointer-events:none;}
#home .binder-foot {padding-top:12px;}
#home .binder-foot #page-status {min-width:140px;text-align:right;}
@media(min-width:900px) and (max-height:760px){
 #home .binder-navigation,#home .binder-stage[data-spread=full] .binder-navigation {top:-47px;}
}
@media(max-width:899px){
 #home .page-binding {left:-4%;width:6px;bottom:0;}
 #home .page-binding::after {background-size:100% 6px;}
 #home .open-zip-pull {left:4.64%;top:93%;width:11%;height:13%;}
 #home .binder-foot {padding-top:21px;}
 #home .binder-foot #page-status {min-width:0;text-align:center;}
}
