/* Hallmark v2.0.0 · locked system: premium/premium.css + spec 2026-11-10 (no theme dealt) · shape: Storytelling, photo-led first screen · signature: hands tracing Hanu's light (E0473, pinned) · pages: hanu-premium.html, shop-hanu-premium.html */
/* critique: one idea per screen; the figure framed, never full-bleed (source under 2400 px); one dark cinema section; type carries talk, status and models so photos never run two sections in a row */
/* waive 44b/58 (hero headline 9 words): the approved kids.html headline is kept; the page is cut to about 500 words (Fable round).
   waive 62: html.motion exists only once the head script has run (and is dropped if the page never boots), so with scripting off every word shows. waive 28b: the <img> under each video is its poster. */
/* Page rules for the Hanu pages over premium/premium.css (the Desk session's shared system: tokens, type scale, buttons, nav, Rise, Settle, Handoff, Press, FAQ,
   close, footer). Class names here never reuse the Desk ones that carry pinned or dark rules there (.hero, .beat, .steps, .try, .hint, .frame, .row). */
:root{
  --paper:var(--page); --pencil:var(--soft);   /* brand theme: the demo sheet and its pencil are the shared tokens */
  /* the demo's shape tones (owner 2026-11-15: "use different colors for all diagrams"): live-hairobo-theme.css slate, green and warm, plus a pink and a sea blue at their lightness and chroma (OKLCH 0.64 / 0.14, 0.62 / 0.11) */
  --tone-slate:#3B5F8A; --tone-slate-bright:#5A82AE; --tone-green:#2BA568; --tone-warm:#FF7A3D; --tone-pink:#CC6490; --tone-sea:#1F93B8;
  --tone-deep:#2E4C8C; --tone-teal:#1A9E94; --tone-gold:#E0A526; --tone-yellow:#F2C230; --tone-cream:#F3E2C0;   /* owner 2026-11-15: several colours in one drawing (warm, friendly: the live tones plus pink, yellow and teal) */
  --dur-draw:900ms;   /* motion plan 2: a picked outline draws on */
  --screen:min(100svh,900px);   /* one screen, capped: a very tall window (or a full-page capture) never stretches the hero, the pin or the paper */
}


/* ---------- first screen: headline, framed 4:5 figure, one button ---------- */
.hn-hero{padding:var(--s3) 0}
.hn-hero-g{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:var(--col-gap);align-items:center;min-height:min(calc(var(--screen) - var(--nav) - var(--s3) - var(--s4)),calc(100svh - var(--nav) - var(--s3) - var(--s4)))}
.hn-hero-copy{grid-column:1/8}
.hn-hero h1{overflow-wrap:break-word;min-width:0;text-wrap:balance}
.hn-hero .lead{max-width:24ch}
.hn-figure{grid-column:8/13;justify-self:end;position:relative;width:min(100%,calc((var(--screen) - var(--nav) - var(--s3) - var(--s4)) * 4 / 5));aspect-ratio:4/5;border-radius:var(--r-media);overflow:hidden;background:var(--page2)}
.hn-figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:var(--s3)}   /* owner 2026-11-14: Hanu with its beam, a cut-out shown whole on tan */
@media (max-width:1000px) and (min-width:761px){.hn-hero-copy{grid-column:1/7}.hn-figure{grid-column:7/13}}
/* phone: the copy on top, the framed figure filling what is left of the first screen at 4:5, centred */
@media (max-width:760px){
  .hn-hero{padding:var(--s2) 0 var(--s3)}
  .hn-hero-g{display:flex;flex-direction:column;align-items:stretch;row-gap:var(--s3);min-height:calc(var(--screen) - var(--nav) - var(--s2) - var(--s3))}
  .hn-hero .lead{margin-top:var(--s2)}
  .hn-hero .cta-row{margin-top:var(--s3);gap:var(--s1) var(--s2)}
  .hn-figure{flex:1 1 0;min-height:300px;width:auto;max-width:100%;align-self:center;justify-self:auto}
}




/* ---------- the projector: the cinema section, Hanu on paper, then Pin and play ---------- */
.proj-head{max-width:calc(1080px + 2 * var(--gut));display:grid;grid-template-columns:fit-content(34rem) auto;justify-content:center;column-gap:var(--col-gap);align-items:center}   /* owner 2026-11-15 ("keep these close"): the text as wide as its words, the cut-out beside it (about 43% of the pair), the pair centred */
.proj-head>div{grid-column:1}
.proj-photo{grid-column:2;justify-self:start;width:min(435px,calc((var(--screen) - var(--nav) - 2 * var(--s5)) * 1280 / 1712));margin:0}   /* tall enough to read, never taller than the window, so the paper is never cut off */   /* the owner's cut-out (hanu_title_proj.png): alpha on the dark, no frame */
.proj-photo img{display:block;width:100%;height:auto;object-fit:contain}
.way>figure img,.model-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
@media (max-width:1000px){.proj-head{grid-template-columns:minmax(0,1fr);row-gap:var(--s4)}.proj-head>div,.proj-photo{grid-column:auto}.proj-photo{width:min(100%,420px);justify-self:start}}

.projector{padding-top:var(--s4);padding-bottom:var(--s5)}   /* owner gaps 2026-11-14: the dark panel starts and ends one gap from the content (not --sec, 168 px on desktop) */
.projector .wrap>.lead{max-width:40ch}
.pin-track{padding-top:var(--s5)}
.pin-stage{max-width:calc(1080px + 2 * var(--gut));display:grid;grid-template-columns:minmax(0,calc((var(--screen) - var(--nav) - var(--s5)) * 4 / 5)) minmax(0,1fr);column-gap:var(--col-gap);align-items:center}   /* the same centred block as the opener: the clip, then its captions */
.pin-media{grid-column:1;width:min(100%,calc((var(--screen) - var(--nav) - var(--s5)) * 4 / 5));aspect-ratio:4/5}
.caps{grid-column:2;display:grid;gap:var(--s5);list-style:none;margin:0;padding:0}
.cap h3{font-size:var(--fs-title);line-height:1;letter-spacing:-.035em}
.cap p{margin-top:var(--s2);font-size:var(--fs-lead);line-height:1.45;color:var(--deep-soft);max-width:45ch;text-wrap:balance}
@media (max-width:1000px){
  .pin-stage{grid-template-columns:minmax(0,1fr);row-gap:var(--s3)}
  .pin-media,.caps{grid-column:auto}
  .pin-media{justify-self:center;width:min(100%,calc((var(--screen) - var(--nav)) * .58 * 4 / 5))}
  .caps{gap:var(--s4)}
}
.pin-media .still{display:none}   /* the gada still is a pinned step only: the still page keeps the clip's last frame (and never fetches it) */
/* pinned: with motion and a window at least 601 px tall the stage holds and the captions share one place. Mirrored as the Dexy story (.st-copy):
   the old caption leaves upward, quicker and accelerating (240 ms), then the new one arrives from below (320 ms). The last caption, Paper games,
   swaps the clip for the real gada still (premium/hanu.js adds .games). */
@media (prefers-reduced-motion:no-preference){html.motion :is(#way-mat,#way-race) video{display:block}}   /* owner 2026-11-15: the game plays as the row scrolls by; the poster paints first */
@media (prefers-reduced-motion:no-preference) and (min-height:601px){
  html.motion .pin-track{height:calc(var(--screen) * 1.8);padding-top:0;margin-top:var(--s5)}
  html.motion .pin-stage{position:sticky;top:var(--pin-top,var(--nav))}   /* owner gaps: only as tall as its media and captions; hanu.js centres it in the window */
  html.motion .caps{gap:0}
  html.motion .cap{grid-area:1/1;opacity:0;visibility:hidden;translate:0 calc(-1 * var(--nudge));transition:opacity var(--dur-exit) var(--ease-in),translate var(--dur-exit) var(--ease-in),visibility 0s var(--dur-exit)}
  html.motion .cap.on ~ .cap{translate:0 var(--nudge)}
  html.motion .cap.on{opacity:1;visibility:visible;translate:0 0;transition:opacity var(--dur-state) var(--ease-out) var(--dur-exit),translate var(--dur-state) var(--ease-out) var(--dur-exit),visibility 0s var(--dur-exit)}
  html.motion .pin-media .still{display:block}
  html.motion .pin-media .still img{z-index:1;opacity:0;transition:opacity var(--dur-state) var(--ease-toggle)}
  html.motion .pin-media.games .still img{opacity:1}
  html.motion .pin-media.games .replay{opacity:0;visibility:hidden;pointer-events:none}
  /* #try pins briefly too (owner 2026-11-14 late): the same short track and sized, centred stage; its captions cross-fade by the rules above */
  html.motion .hn-try-track{height:calc(var(--screen) * 1.8);margin-top:var(--s4)}
  html.motion .hn-try-stage{position:sticky;top:var(--pin-top,var(--nav))}
}
@media (prefers-reduced-motion:no-preference) and (min-height:601px) and (max-width:1000px){
  html.motion .pin-track{margin-top:var(--s4)}
  html.motion .pin-media{aspect-ratio:2/3;width:min(100%,calc((var(--screen) - var(--nav) - 120px - var(--s3) - 2 * var(--s2)) * 2 / 3))}   /* the clip fills the stage (cropped a little at the sides); 120 px keeps a caption under it */
  html.motion .cap h3{font-size:var(--fs-heading)}
  html.motion .cap p{margin-top:var(--s1);font-size:var(--fs-body)}
}

/* ---------- five ways to play: the owner's scenes, framed at their own shape (sources 1448 to 1672 px wide, so never wider), ---------- */
.ways-list{display:grid;gap:var(--s6);list-style:none;margin:var(--s5) 0 0;padding:0}
.way{max-width:1080px;margin-inline:auto;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:var(--col-gap);align-items:center}   /* owner 2026-11-15: the photo and its words side by side in one centred block */
.way:nth-child(even){grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
.way>figure{grid-column:1;position:relative;width:100%;max-width:1448px;margin:0;aspect-ratio:16/9;border-radius:var(--r-media);overflow:hidden;background:var(--page2)}
/* real event frames (clean footage, no faces): trace and paper games are portrait, the maths wall 4:3; the two AI scenes (talk, story) keep 16:9, untagged (owner 2026-11-15) */
#way-trace>figure,#way-mat>figure{aspect-ratio:4/5;width:min(100%,480px)}
.way>figure video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:none}   /* the games clip: only with motion */
#way-race>figure{aspect-ratio:4/5;width:min(100%,480px)}   /* owner 2026-11-15: the reel's split, wall above, the girl below, portrait like trace and mat */
.way>figure{justify-self:end}
.way:nth-child(even)>figure{justify-self:start}   /* a narrow (portrait) photo sits against its words */
@media (max-width:1000px){.way>figure,.way:nth-child(even)>figure{justify-self:start}}
.way-copy{grid-column:2}
.way:nth-child(even)>figure{grid-column:2;grid-row:1}
.way:nth-child(even) .way-copy{grid-column:1;grid-row:1}
.way-copy p{margin-top:var(--s1);font-size:var(--fs-lead);line-height:1.45;color:var(--soft);text-wrap:pretty}
/* owner 2026-11-14: the owner's scene beside the matching caption, under the copy, at its own shape */
@media (max-width:1000px){.way,.way:nth-child(even){grid-template-columns:minmax(0,1fr);row-gap:var(--s3)}.way>figure,.way-copy,.way:nth-child(even)>figure,.way:nth-child(even) .way-copy{grid-column:auto;grid-row:auto}.ways-list{gap:var(--s5)}}

/* ---------- Hanu or Hanu 2.0: two cards, the renders (cut-outs) on linen ---------- */
.models-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s3);list-style:none;margin:var(--s5) 0 0;padding:0}   /* 2026-11-15 spacing pass (Dexy session): the section padding ends the block */
.model{display:flex;flex-direction:column;gap:var(--s2);padding:var(--s4);border-radius:var(--r-card);background:var(--page2)}
.model-img{position:relative;margin:0 0 var(--s1);aspect-ratio:1;border-radius:var(--r-media);overflow:hidden;background:var(--page)}
.model-img img{object-fit:contain;padding:var(--s3)}
.model h3{font-size:var(--fs-title);line-height:1;letter-spacing:-.035em}
.model{justify-content:flex-start}
/* owner 2026-11-15 ("how common and different things are"): the shared facts once, then the one difference (the brain), split under each model */
.cmp-same,.cmp-diff{margin-top:var(--s3);padding:var(--s3);border-radius:var(--r-card)}
.cmp-same{background:var(--page2)}
.cmp-diff{background:color-mix(in srgb,var(--accent) 12%,transparent)}   /* the tint: the difference jumps out */
.cmp-same h3,.cmp-diff h3{font:600 var(--fs-small)/1.3 var(--text);color:var(--soft)}
.cmp-same ul{list-style:none;margin:var(--s2) 0 0;padding:0;display:grid;gap:var(--s1)}
.cmp-same li{display:flex;gap:var(--s1)}
.cmp-same li::before{content:"\2713";color:var(--ink);font-weight:700}
.cmp-same b,.cmp-halves b{font-weight:600}
.cmp-halves{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s3);margin-top:var(--s2)}
.cmp-halves p{margin:0;color:var(--ink);font-weight:600}
.cmp-halves b{display:block;font-size:var(--fs-small);color:var(--soft)}
.cmp-buy{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--s3);margin-top:var(--s3)}
.cmp-buy .btn{width:100%}
.models .micro{display:flex;flex-wrap:wrap;align-items:center;gap:0 var(--s2)}
@media (max-width:760px){.models-g{grid-template-columns:minmax(0,1fr)}.model{padding:var(--s3)}}

/* ---------- try it: the drawing demo (premium/hanu-demo.js) ---------- */
.hn-try{background:var(--page2)}
.hn-try-head{min-width:0}.hn-try-head :is(h2,.lead){overflow-wrap:break-word}   /* owner 2026-11-14: never wider than the window, whatever the zoom */
.hn-try-head .lead{max-width:40ch}
.hn-try-track{margin-top:var(--s5)}
.hn-try-stage{max-width:calc(1080px + 2 * var(--gut))}   /* owner 2026-11-15: the paper and its captions in the same centred block as the projector */
/* the stage: the paper and its controls on the left, the four captions beside them (on a phone under the paper) */
.demo{--shape:var(--accent);display:grid;grid-template-columns:minmax(0,max(300px,calc(var(--screen) - 360px))) minmax(0,1fr);column-gap:var(--col-gap);row-gap:var(--s4);justify-items:start;align-items:start}
.demo>.paper{grid-column:1;grid-row:1/span 2}
.demo>:not(.paper){grid-column:2}
.demo>.caps{align-self:end}   /* the caption above the picker and the button, beside the paper: the stage is only as tall as the paper */
.hn-try .cap p{color:var(--soft)}
.paper{position:relative;width:min(100%,max(300px,calc(var(--screen) - 360px)));aspect-ratio:1;border-radius:var(--r-media);overflow:hidden;
  background:radial-gradient(58% 52% at 50% 46%,color-mix(in srgb,var(--shape) 10%,transparent),transparent 72%),radial-gradient(130% 120% at 50% 42%,transparent 55%,color-mix(in srgb,var(--soft) 7%,transparent)),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .27 0 0 0 0 .21 0 0 0 .11 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),var(--paper)}
.paper svg{position:absolute;inset:0;width:100%;height:100%}
.paper .tag{position:absolute;left:var(--s2);top:var(--s2);z-index:3;padding:4px 12px;border-radius:var(--r-pill);background:var(--page);font:500 var(--fs-label)/1.3 var(--text);color:var(--ink)}
.demo-hint{position:absolute;left:0;right:0;bottom:var(--s2);text-align:center;font-size:var(--fs-small);color:var(--soft)}
.demo .piece{transform-box:view-box;transform-origin:50% 55%}
.demo .light{fill:none;stroke:color-mix(in srgb,var(--shape) 50%,var(--page));stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round;opacity:0;mix-blend-mode:multiply}
.demo .core{fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;opacity:0;mix-blend-mode:multiply}   /* WCAG 1.4.11: the core line keeps the outline over 3:1 on the paper (ink; brand orange is 2.91:1 on cream, so it stays on the glow, fill, cut guide and the child's own strokes) */
.demo[data-step] :is(.light,.core){opacity:1}
.demo[data-step=craft] :is(.light,.core){opacity:0}
.demo .fill{opacity:0}
/* coloured in part by part, like a child with crayons (hanu-demo.js: tone, parts); the outline stays ink over every colour */
.demo .t-orange{fill:color-mix(in srgb,var(--tone-warm) 70%,var(--page))}.demo .t-pink{fill:color-mix(in srgb,var(--tone-pink) 62%,var(--page))}
.demo .t-yellow{fill:color-mix(in srgb,var(--tone-yellow) 80%,var(--page))}.demo .t-gold{fill:color-mix(in srgb,var(--tone-gold) 80%,var(--page))}
.demo .t-green{fill:color-mix(in srgb,var(--tone-green) 62%,var(--page))}.demo .t-teal{fill:color-mix(in srgb,var(--tone-teal) 72%,var(--page))}
.demo .t-deep{fill:color-mix(in srgb,var(--tone-deep) 72%,var(--page))}.demo .t-blue{fill:color-mix(in srgb,var(--tone-sea) 62%,var(--page))}
.demo .t-slate{fill:color-mix(in srgb,var(--tone-slate-bright) 55%,var(--page))}.demo .t-cream{fill:var(--tone-cream)}
.demo .t-ink{fill:var(--ink)}.demo .t-ember{fill:color-mix(in srgb,var(--accent) 45%,var(--page))}
.demo:is([data-step=colour],[data-step=cut],[data-step=craft]) .fill{opacity:1}
.demo .seg{fill:none;opacity:0}
.demo .pencil{mix-blend-mode:multiply}
.demo .pencil :is(.seg,.trail){stroke:var(--pencil);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.demo .trail{fill:none;opacity:0;stroke-width:2.6}   /* the child's pencil round the outline (hanu-demo.js wobble) */
.demo:is([data-step=trace],[data-step=colour],[data-step=cut]) .core{opacity:.35}   /* once traced, the pencil is the line you see (it carries the 3:1 itself) */
.demo .cutline .seg{stroke:var(--shape);stroke-width:16;stroke-dasharray:8 6}
.demo:is([data-step=trace],[data-step=colour],[data-step=cut],[data-step=craft]) .pencil :is(.seg,.trail),.demo[data-step=cut] .cutline .seg{opacity:1}
.demo .ink{fill:none;stroke:var(--accent);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.demo[data-mode=draw] svg{touch-action:none;cursor:crosshair}   /* only while drawing: otherwise a phone scrolls past the paper */
.demo[data-mode=draw] .paper{-webkit-user-select:none;user-select:none}
.shapes{display:flex;flex-wrap:wrap;gap:var(--s1);margin:0;padding:0;border:0}
.shapes legend{margin-bottom:12px;padding:0;font-weight:600}
.shape{display:inline-flex;align-items:center;gap:var(--s1);min-height:44px;padding:0 var(--s2);border-radius:var(--r-pill);box-shadow:inset 0 0 0 1px var(--hair);font:500 var(--fs-small)/1 var(--text);cursor:pointer;touch-action:manipulation}
.shape:has(input:checked){background:var(--ink);color:var(--page);box-shadow:none}
.shape input{margin:0;accent-color:var(--accent)}
@supports selector(:has(*)){.shape input:focus-visible{outline:none}.shape:has(input:focus-visible){outline:3px solid var(--focus);outline-offset:3px}}
@media (hover:hover){.shape:not(:has(input:checked)):hover{box-shadow:inset 0 0 0 1px var(--soft)}}
.demo-ui{display:grid;gap:var(--s3);justify-items:start}
.demo-steps{display:flex;flex-wrap:wrap;gap:var(--s1) var(--s2);list-style:none;margin:0;padding:0;font:600 var(--fs-small)/1.2 var(--text);color:var(--soft)}
.demo[data-step=light] .demo-steps li:nth-child(-n+1),.demo[data-step=trace] .demo-steps li:nth-child(-n+2),.demo[data-step=colour] .demo-steps li:nth-child(-n+3),.demo[data-step=cut] .demo-steps li:nth-child(-n+4),.demo[data-step=craft] .demo-steps li{color:var(--ink)}
.js .js-off{display:none}
.js .no-demo .js-off{display:block}
@media (max-width:1000px){.demo{grid-template-columns:minmax(0,1fr);row-gap:var(--s3)}.demo>.paper,.demo>:not(.paper){grid-column:1;grid-row:auto}}
@media (prefers-reduced-motion:no-preference){
  html.motion .demo[data-step=craft] .piece{transform:translateY(-12px) scale(.96);filter:drop-shadow(0 16px 12px color-mix(in srgb,var(--ink) 30%,transparent))}
  html.motion .demo :is(.light,.core){transition:opacity var(--dur-fade) var(--ease-out)}
  /* motion plan 2: the picked outline draws on, 900 ms, its pieces 60 ms apart and at most 300 ms; colour 320 ms; the cut line 240 ms; the old shape leaves in 160 ms */
  html.motion .demo :is(.light,.core) path{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset var(--dur-draw) var(--ease-out) calc(min(var(--p),5) * 60ms)}
  html.motion .demo[data-step] :is(.light,.core) path{stroke-dashoffset:0}
  html.motion .demo .cutline .seg{transition:opacity var(--dur-exit) var(--ease-out)}
  html.motion .demo .piece.out{opacity:0;transition:opacity var(--dur-fade) var(--ease-in)}
  html.motion .demo .seg{transition:opacity var(--dur-fade) var(--ease-out) calc(var(--i) * var(--stagger) / 2)}
  html.motion .demo .fill{transition:opacity var(--dur-state) var(--ease-in-out)}
  html.motion .demo .piece{transition:transform var(--dur-reveal) var(--ease-out),filter var(--dur-state) var(--ease-out)}
  html.motion .demo .trail{stroke-dasharray:1;stroke-dashoffset:1;transition:opacity var(--dur-fade) var(--ease-out),stroke-dashoffset var(--dur-draw) var(--ease-in-out)}
  html.motion .demo:is([data-step=trace],[data-step=colour],[data-step=cut],[data-step=craft]) .trail{stroke-dashoffset:0}
  /* scrolled (#demo[data-scroll], hanu.js initTry): the eased vars draw every part directly, so no transition lags behind the scroll and it reverses as it came */
  html.motion .demo[data-scroll] .light{opacity:1;transition:none}
  html.motion .demo[data-scroll] .core{opacity:calc(1 - var(--trace) * .65);transition:none}
  html.motion .demo[data-scroll] :is(.light,.core) path{transition:none;stroke-dashoffset:calc(1 - clamp(0, var(--light) * var(--n) - var(--p), 1))}
  html.motion .demo[data-scroll] .trail{opacity:1;transition:none;stroke-dashoffset:calc(1 - var(--trace))}
  html.motion .demo[data-scroll] .pencil .seg{transition:none;opacity:clamp(0, var(--trace) * 40 - var(--i), 1)}
  html.motion .demo[data-scroll] .fill{transition:none;opacity:var(--fill)}
  html.motion .demo[data-scroll] .cutline .seg{transition:none;opacity:clamp(0, var(--cut) * 40 - var(--i), 1)}
  html.motion .demo[data-scroll] .piece:not(.out){transition:none;transform:translateY(calc(var(--lift) * -12px)) scale(calc(1 - var(--lift) * .04));filter:drop-shadow(0 calc(var(--lift) * 16px) calc(var(--lift) * 12px) color-mix(in srgb,var(--ink) calc(var(--lift) * 30%),transparent))}
  html.motion .shape{transition:background-color var(--dur-hover) var(--ease-out),color var(--dur-hover) var(--ease-out),scale var(--dur-back) var(--ease-out)}
  html.motion .shape:active{scale:.97;transition-duration:var(--dur-press)}
}
/* without motion the made piece lifts by a shadow only, still */
.demo[data-step=craft] .piece{filter:drop-shadow(0 16px 12px color-mix(in srgb,var(--ink) 30%,transparent))}





/* ---------- shop: the premium shop layout (spec 6 Shop pages) ---------- */
.shop{padding:var(--s4) 0 var(--sec)}
.sh-g{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);column-gap:var(--col-gap);align-items:start}
.sh-gallery{position:sticky;top:calc(var(--nav) + var(--s4))}
.sh-stage{position:relative;display:grid;aspect-ratio:4/5;max-height:calc(var(--screen) - var(--nav) - 2 * var(--s4));border-radius:var(--r-media);overflow:hidden;background:var(--page2)}
.sh-media{position:relative;grid-area:1/1;margin:0}
.sh-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:var(--s4)}   /* both renders are cut-outs: shown whole on tan */
.shop h1{font-size:var(--fs-title);line-height:1;letter-spacing:-.035em}
.shop .lead{margin-top:var(--s2)}
.sh-picker{margin:var(--s4) 0 0;padding:0;border:0}
.sh-picker legend{margin-bottom:12px;padding:0;font-weight:600}
.sh-picker .opts{display:flex;flex-wrap:wrap;gap:var(--s1)}
.sh-panels{display:grid;margin-top:var(--s3)}
.sh-panel{grid-area:1/1}
.sh-panel h2{margin-top:var(--s4)}   /* audit 2: Pre-order first, the details after it */
.sh-panel h2,.sh-more h2{font-size:var(--fs-heading);line-height:1.15;letter-spacing:-.02em}
.sh-panel ul,.sh-more ul{list-style:none;margin:var(--s2) 0 0;padding:0;border-bottom:1px solid var(--hair)}
.sh-panel li,.sh-more li{padding:12px 0;border-top:1px solid var(--hair);color:var(--soft)}
.sh-panel li b,.sh-more li b{font-weight:600;color:var(--ink)}
.sh-panel .btn{width:100%}
.sh-more{margin-top:var(--s5)}
.sh-more .link{margin-top:var(--s2)}
/* the choice: Hanu shows by default (and without :has); Hanu 2.0 swaps the photo and the details in place, no layout shift */
.m-hanu-2{opacity:0;visibility:hidden}
.shop:has([value=hanu-2]:checked) .m-hanu{opacity:0;visibility:hidden}
.shop:has([value=hanu-2]:checked) .m-hanu-2{opacity:1;visibility:visible}
@media (prefers-reduced-motion:no-preference){
  html.motion :is(.sh-media,.sh-panel){transition:opacity var(--dur-state) var(--ease-toggle),visibility var(--dur-state)}
}
@media (max-width:1000px) and (min-width:761px){.sh-g{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:var(--col-gap)}}
/* phone: a 4:3 photo, so the name, the picker and Pre-order sit in the first screen; nothing sticks */
@media (max-width:760px){
  .shop{padding-top:var(--s2)}
  .sh-g{grid-template-columns:minmax(0,1fr);row-gap:var(--s3)}
  .sh-gallery{position:static}
  .sh-stage{aspect-ratio:4/3;max-height:none}   /* audit 2: about 270 px high, so Pre-order sits in the first screen under the picker */
  .sh-media img{padding:var(--s2)}
  .sh-picker{margin-top:var(--s3)}
}
