/* scribblewink shared core: reset, the card object, dialogs, basket. Each version sets the tokens. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-behavior:smooth;overflow-x:clip}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:17px;line-height:1.6;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:clip}
img,svg{display:block;max-width:100%}
img{height:auto}
h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0;list-style:none}
h1,h2,h3{font-family:var(--display);font-weight:var(--display-w);text-wrap:balance}
p{text-wrap:pretty}
a{color:inherit}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px;border-radius:2px}
::selection{background:var(--select);color:var(--select-ink)}
[hidden]{display:none!important}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.wrap{width:min(100% - 2 * var(--gutter),var(--max));margin-inline:auto}
.skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--btn);color:var(--btn-ink);padding:10px 16px;border-radius:6px;text-decoration:none}
.skip:focus{top:12px}

/* ---------- the card ----------
   One folded card. .gc-in is the inside page with the message; .gc-cover turns on the spine at the left edge.
   Its front face is the design, its back face (.gc-left) is the blank inside left. The cover stays solid the whole
   way round, the light falls off it as it turns edge-on, the inside page sits in the cover's shadow until the cover
   lifts clear, and the crease springs the cover back a few degrees once it lands. Shading is flat tone (a lit flat
   panel is one tone), never a gradient. */
:root{
  --t-open:1.2s;--t-close:.95s;
  --e-open:cubic-bezier(.55,.06,.2,1);--e-close:cubic-bezier(.5,0,.25,1);--e-shift:cubic-bezier(.5,0,.2,1);
  --rest:-172deg;--shade:#1a130b;
}
@supports (transition-timing-function:linear(0, 1)){
  :root{--e-open:linear(0, .016 6%, .052 12%, .112 18%, .2 24%, .31 30%, .44 36%, .575 42%, .7 48%, .81 54%, .9 60%, .962 66%, 1.006 72%, 1.033 78%, 1.041 84%, 1.031 90%, 1.012 95%, 1)}
}
.gc{--w:300px;position:relative;width:var(--w);aspect-ratio:5/7;container-type:inline-size;perspective:var(--persp,2100px);flex:none}
.gc::before{content:"";position:absolute;inset:0;border-radius:3px;background:var(--paper-in);box-shadow:var(--card-shadow)}
.gc-in,.gc-cover,.gc-front,.gc-left{position:absolute;inset:0;border-radius:3px}
.gc-in{background:var(--paper-in);color:var(--card-ink);display:flex;flex-direction:column;justify-content:center;gap:.7em;padding:8cqw 8cqw 7cqw;text-align:left;font-family:var(--body);font-size:clamp(14px,4.5cqw,17px);line-height:1.45;visibility:hidden;transition:visibility 0s linear var(--t-close)}
.gc-in[data-long]{font-size:clamp(14px,4.15cqw,16px);gap:.5em;padding:7cqw 7cqw 6cqw;line-height:1.4}
.gc-in p{margin:0}
.gc-sign{font-family:var(--display);font-weight:var(--display-w);font-size:1.12em;line-height:1.25;margin-top:.2em}
.gc-cover{transform-origin:left center;transform-style:preserve-3d;transition:transform var(--t-close) var(--e-close);z-index:2}
.gc-front,.gc-left{backface-visibility:hidden;-webkit-backface-visibility:hidden}
.gc-front{background:var(--paper);color:var(--card-ink);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:9cqw}
.gc-left{background:var(--paper-in);transform:rotateY(180deg)}
/* light on each face: flat tone that comes and goes with the angle */
.gc-front::after,.gc-left::after,.gc-in::after{content:"";position:absolute;inset:0;border-radius:inherit;background:var(--shade);pointer-events:none}
.gc-front::after{opacity:0;transition:opacity calc(var(--t-close) * .5) cubic-bezier(.1,.5,.5,1) calc(var(--t-close) * .48)}
.gc-left::after{opacity:.32;transition:opacity calc(var(--t-close) * .48) cubic-bezier(.5,0,.9,.5)}
.gc-in::after{opacity:.26;transition:opacity calc(var(--t-close) * .4) ease-in calc(var(--t-close) * .58)}
/* the open cover's own shadow on the surface, left of the spine */
.gc::after{content:"";position:absolute;top:0;bottom:0;right:100%;width:100%;border-radius:3px;box-shadow:var(--card-shadow);opacity:0;pointer-events:none;transition:opacity calc(var(--t-close) * .22) ease}
.gc-star{width:9cqw;height:9cqw;color:var(--card-gold);margin-bottom:6cqw}
.gc-l{display:block;font-family:var(--display);font-weight:var(--card-w);text-transform:uppercase;font-size:calc(var(--fs) * var(--card-scale,1));line-height:1.1;letter-spacing:.01em;white-space:nowrap}
.gc-front{--fs:11cqw}.gc-front[data-fs="m"]{--fs:8.5cqw}.gc-front[data-fs="s"]{--fs:7.8cqw}
.gc-l.is-gold{color:var(--card-gold)}
.gc-rule{display:block;width:17cqw;height:max(2px,.7cqw);background:var(--card-gold);margin-top:7cqw}
/* open: the cover goes round to the left and lands. Where there is room the card is held: it slides right by half
   its width as it opens so the spread stays centred (--shift:50%). Where there is not, it lies on the table: the
   inside page stays put and the cover goes off to the left. */
.gc--opens{transition:transform var(--t-close) var(--e-shift)}
.gc--opens.is-open{transform:translateX(var(--shift,0px));transition:transform var(--t-open) var(--e-shift)}
.gc.is-open .gc-in{visibility:visible;transition-delay:0s}
.gc.is-open .gc-cover{transform:rotateY(var(--rest));transition:transform var(--t-open) var(--e-open)}
.gc.is-open .gc-front::after{opacity:.32;transition:opacity calc(var(--t-open) * .42) cubic-bezier(.5,0,.9,.5)}
.gc.is-open .gc-left::after{opacity:.03;transition:opacity calc(var(--t-open) * .5) cubic-bezier(.2,.6,.4,1) calc(var(--t-open) * .42)}
.gc.is-open .gc-in::after{opacity:0;transition:opacity calc(var(--t-open) * .45) ease-out calc(var(--t-open) * .04)}
.gc.is-open::after{opacity:1;transition:opacity calc(var(--t-open) * .3) ease calc(var(--t-open) * .66)}
/* a closed card that opens lifts its cover a little under the pointer */
@media (hover:hover){
  .gc--opens:not(.is-open):hover .gc-cover,.tile-card:hover .gc-cover{transform:rotateY(-16deg);transition:transform .6s cubic-bezier(.3,.7,.2,1)}
  .gc--opens:not(.is-open):hover .gc-front::after,.tile-card:hover .gc-front::after{opacity:.025;transition:opacity .6s ease}
  .gc--opens:not(.is-open):hover .gc-in{visibility:visible;transition-delay:0s}
}
/* the back of the card, as Luke prints it */
.gc-backface{position:absolute;inset:0;border-radius:3px;background:var(--paper);color:var(--card-ink);display:flex;flex-direction:column;align-items:center;justify-content:flex-end;padding:0 3cqw 12cqw;text-align:center}
.gc-backface img{width:54cqw}
.gc-backface span{display:block;font-family:var(--back-face,var(--body));text-transform:uppercase;letter-spacing:.04em;font-size:max(8px,3.3cqw);line-height:1.2;white-space:nowrap}
.gc-backface .t{margin-top:5cqw}
.gc-backface.is-mid{justify-content:center;padding-bottom:0}
.gc-backface i{display:block;width:12cqw;height:max(1.5px,.5cqw);background:var(--card-gold);margin-block:5cqw}
.gc-toggle{position:absolute;inset:0;z-index:3;border-radius:3px}
.gc-toggle:focus-visible{outline-offset:6px}
.gc.is-open .gc-toggle{left:-100%}

/* ---------- tags, price ---------- */
.tag{display:inline-block;font-size:14px;font-weight:700;line-height:1;white-space:nowrap;padding:7px 11px;border-radius:999px;background:var(--tag-bg);color:var(--tag-ink)}
.tag.is-clean{background:transparent;box-shadow:inset 0 0 0 1px var(--line-2);color:var(--muted)}
.price{font-variant-numeric:tabular-nums;font-weight:700}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 26px;border-radius:var(--btn-r);background:var(--btn);color:var(--btn-ink);font-weight:700;font-size:16px;line-height:1.1;text-decoration:none;transition:transform .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease}
.btn:hover{background:var(--btn-hover)}
.btn:active{transform:scale(.97)}
.btn--ghost{background:transparent;color:var(--text);box-shadow:inset 0 0 0 1.5px var(--line-2)}
.btn--ghost:hover{background:var(--ghost-hover)}
.btn--block{width:100%}
.tlink{font-weight:700;text-decoration:underline;text-decoration-color:var(--gold);text-decoration-thickness:2px;text-underline-offset:5px;display:inline-flex;align-items:center;min-height:44px}
.tlink:hover{text-decoration-color:currentColor}

/* ---------- dialogs ---------- */
dialog{border:0;padding:0;color:var(--text);background:var(--surface);max-width:none;max-height:none}
dialog::backdrop{background:var(--scrim)}
body:has(dialog[open]){overflow:hidden}
.x{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;transition:background-color .18s ease}
.x:hover{background:var(--ghost-hover)}
.x svg{width:20px;height:20px}

/* basket */
.drawer{position:fixed;inset:0 0 0 auto;margin:0;width:min(440px,100%);height:100dvh;display:none;flex-direction:column}
.drawer[open]{display:flex;animation:drawer-in .38s cubic-bezier(.32,.72,0,1)}
@keyframes drawer-in{from{transform:translateX(40px);opacity:0}}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 14px 24px;border-bottom:1px solid var(--line)}
.drawer-head h2{font-size:26px;line-height:1.1}
.drawer-body{flex:1;overflow:auto;padding:8px 24px}
.drawer-empty{padding-block:40px;text-align:center;color:var(--muted)}
.line{display:grid;grid-template-columns:54px 1fr auto;gap:14px;align-items:center;padding-block:16px;border-bottom:1px solid var(--line)}
.line .gc{--w:54px;pointer-events:none}
.line .gc-l{letter-spacing:0}
.line-name{font-family:var(--display);font-weight:var(--display-w);font-size:19px;line-height:1.2}
.line-meta{font-size:14px;color:var(--muted)}
.qty{display:inline-flex;align-items:center;gap:2px;margin-top:6px}
.qty button{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;box-shadow:inset 0 0 0 1px var(--line-2)}
.qty button:hover{background:var(--ghost-hover)}
.qty svg{width:14px;height:14px}
.qty output{min-width:34px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}
.drawer-foot{padding:18px 24px max(22px,env(safe-area-inset-bottom));border-top:1px solid var(--line);display:grid;gap:12px}
.total{display:flex;justify-content:space-between;font-size:19px;font-weight:700}
.drawer-note{font-size:14px;color:var(--muted);text-align:center;min-height:21px}

/* privacy */
.sheet{width:min(680px,calc(100% - 28px));max-height:min(86dvh,820px);border-radius:var(--sheet-r);margin:auto;overflow:hidden}
.sheet[open]{display:flex;flex-direction:column;animation:sheet-in .3s ease}
@keyframes sheet-in{from{transform:translateY(14px);opacity:0}}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 14px 26px;border-bottom:1px solid var(--line)}
.sheet-head h2{font-size:26px}
.sheet-body{padding:8px 26px 28px;overflow:auto}
.sheet-body h3,.sheet-body h2{font-family:var(--body);font-size:17px;font-weight:700;line-height:1.35;letter-spacing:0;word-spacing:normal;margin-top:20px}
main.sec .sheet-body{max-width:66ch;margin-inline:auto}
main.sec .foot-logo{margin-bottom:36px}
.sheet-body p{margin-top:6px}

/* faq */
.faq{display:grid;gap:0;text-align:left}
.faq details{border-bottom:1px solid var(--line)}
.faq details:first-child{border-top:1px solid var(--line)}
.faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 4px;font-family:var(--display);font-weight:var(--display-w);font-size:clamp(19px,2.1vw,23px);line-height:1.25}
.faq summary::-webkit-details-marker{display:none}
.faq summary i{flex:none;width:36px;height:36px;border-radius:50%;box-shadow:inset 0 0 0 1.5px var(--line-2);position:relative;transition:transform .3s ease,background-color .2s ease}
.faq summary i::before,.faq summary i::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;background:currentColor;border-radius:1px}
.faq summary i::after{transform:rotate(90deg);transition:transform .3s ease}
.faq details[open] summary i::after{transform:rotate(0)}
.faq summary:hover i{background:var(--ghost-hover)}
.faq details p{padding:0 56px 22px 4px;max-width:62ch}

/* the post, drawn: shared geometry (each version colours it) */
.post-list li{display:flex;flex-direction:column;align-items:center}
.pi-art{width:100%;max-width:300px;aspect-ratio:5/4;container-type:inline-size;display:grid;place-items:center}
.pi-art>.gc{--w:40cqw}
.pi-env{width:68cqw}
.pi-mail{width:74cqw}
.pi-sleeve{position:relative;padding:2.6cqw 2.4cqw 2cqw;margin-top:6cqw}
.pi-sleeve .gc{--w:37cqw}
.pi-sleeve i{position:absolute;pointer-events:none}
.pi-sleeve .film{inset:0;background:var(--film);border-radius:2px}
.pi-sleeve .flap{left:0;right:0;bottom:100%;height:6cqw;background:var(--film-2);border-radius:3px 3px 0 0}
.pi-sleeve .shine{display:none}
.post-list p{max-width:24ch;margin-inline:auto}

/* the shop filter: one row of plain choices, the chosen one filled */
.filter{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:28px}
.filter button{min-height:44px;padding:0 18px;border-radius:var(--btn-r);font-weight:700;font-size:15px;line-height:1;color:var(--text);box-shadow:inset 0 0 0 1.5px var(--line-2);transition:background-color .18s ease,color .18s ease,box-shadow .18s ease}
.filter button:hover{background:var(--ghost-hover)}
.filter button[aria-pressed="true"]{background:var(--chip-on,var(--text));color:var(--chip-on-ink,var(--bg));box-shadow:none}
@media (max-width:479px){.filter{display:grid;grid-template-columns:1fr 1fr;max-width:330px;margin-inline:auto}}
.more{margin-top:44px;color:var(--muted)}
.with{color:var(--muted);font-size:16px}

/* two sides: each card laid open as two panels, the cover line set like the cover, the inside line like the inside */
.sides{display:grid;gap:14px;max-width:1040px;margin-inline:auto;text-align:left}
.side{display:grid;border-radius:4px;overflow:hidden}
.side-front,.side-in{padding:26px 22px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}
.side-front p{font-family:var(--display);font-weight:var(--card-w);text-transform:uppercase;font-size:clamp(23px,2.5vw,32px);line-height:1.08;letter-spacing:.01em;text-wrap:balance}
.side-front .is-gold{color:var(--gold-text,var(--card-gold))}
.side-in p{font-size:clamp(18px,1.6vw,21px);line-height:1.45}
.side-in .tlink{font-size:16px}
@media (min-width:760px){
  .side{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}
  .side-front,.side-in{padding:36px 40px}
}

/* reveals: cards and rows rise once as they arrive; the script only adds .rv below the first screen */
.rv{opacity:0;translate:0 22px;transition:opacity .28s ease-out,translate .28s ease-out}
.rv.is-in{opacity:1;translate:none}

/* sticky phone bar */
.bar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 10px max(8px,env(safe-area-inset-bottom));background:var(--bar-bg);border-top:1px solid var(--line);transform:translateY(110%);transition:transform .35s cubic-bezier(.32,.72,0,1)}
.bar.is-on{transform:none}
.bar a,.bar button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:var(--btn-r);font-weight:700;font-size:16px;text-decoration:none;box-shadow:inset 0 0 0 1.5px var(--line-2)}
.bar .is-main{background:var(--btn);color:var(--btn-ink);box-shadow:none}
.bar svg{width:20px;height:20px}
@media (min-width:860px){.bar{display:none}}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-delay:0s!important;transition-duration:.01ms!important;transition-delay:0s!important}
}
.bar [data-count]{min-width:22px;height:22px;border-radius:11px;background:var(--btn);color:var(--btn-ink);font-size:13px;display:grid;place-items:center;padding-inline:6px}

/* scribblewink V1: the card. Cream, ink and gold, set the way the card is set. */
@font-face{font-family:"Young Serif";src:url("fonts/young-serif.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Lato";src:url("fonts/lato-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Lato";src:url("fonts/lato-700.woff2") format("woff2");font-weight:700;font-display:swap}
:root{
  --bg:#fcf6ee;--oat:#f2e8d6;--surface:#fffdf8;--paper:#fffdf8;--paper-in:#fbf5ea;
  --text:#17110a;--muted:#5a4f41;--card-ink:#17110a;--gold:#b58336;--card-gold:#b58336;--gold-deep:#84601f;
  --line:rgba(23,17,10,.13);--line-2:rgba(23,17,10,.32);
  --btn:#17110a;--btn-ink:#fcf6ee;--btn-hover:#3a2f22;--btn-r:6px;--ghost-hover:rgba(23,17,10,.06);
  --tag-bg:#17110a;--tag-ink:#fcf6ee;--focus:#84601f;--select:#e9d3a8;--select-ink:#17110a;
  --bar-bg:#fcf6ee;--sheet-r:10px;--scrim:rgba(12,9,5,.62);--lift:#fffdf8;
  --card-shadow:0 1px 1px rgba(23,17,10,.07),0 14px 30px -10px rgba(23,17,10,.28);
  --film:rgba(255,255,255,.5);--film-2:rgba(255,255,255,.72);--film-shine:rgba(255,255,255,.55);
  --display:"Young Serif",Georgia,"Times New Roman",serif;--display-w:400;--card-w:400;
  --body:"Lato","Helvetica Neue",Arial,sans-serif;
  --gold-text:#84601f;--ink-2:#2a2015;--on-ink-muted:#cfc4b2;--gold-on-ink:#c9974a;--focus-on-ink:#e3b96f;
  --gutter:20px;--max:1180px;--pad:76px;
}
@media (min-width:860px){:root{--gutter:40px;--pad:120px}}
h1{font-size:clamp(37px,4.6vw,68px);line-height:1.04;letter-spacing:-.02em}
h2{font-size:clamp(31px,3.7vw,50px);line-height:1.08;letter-spacing:-.015em}
h3{font-size:24px;line-height:1.2}
.sec{padding-block:var(--pad);text-align:center}
.sec + .sec{border-top:1px solid var(--line)}
.sides-sec,.sides-sec + .sec,.post + .sec{border-top:0}
.sec-head{max-width:640px;margin-inline:auto}
.sec-head p{margin-top:14px;color:var(--muted)}

/* header */
.head{position:sticky;top:0;z-index:50;background:var(--bg);transition:transform .32s ease,box-shadow .2s ease}
.head.is-stuck{box-shadow:0 1px 0 var(--line)}
.head.is-away{transform:translateY(-100%)}
.head-in{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;height:64px}
.logo{grid-column:2;justify-self:center;display:block;padding-block:6px}
.logo img{width:138px}
.nav,.bag{display:none}
.burger{grid-column:3;width:44px;height:44px;display:grid;place-content:center;gap:6px;border-radius:50%}
.burger span{display:block;width:22px;height:2px;border-radius:1px;background:currentColor;transition:transform .28s ease}
.menu-open .burger span:first-child{transform:translateY(4px) rotate(45deg)}
.menu-open .burger span:last-child{transform:translateY(-4px) rotate(-45deg)}
.menu{position:fixed;inset:64px 0 0;z-index:45;background:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:24px}
.menu a{font-family:var(--display);font-size:34px;line-height:1.2;text-decoration:none;padding:10px 16px}
.menu .btn{margin-top:22px;font-family:var(--body);font-size:16px}
@media (min-width:860px){
  .head-in{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);height:78px}
  .logo{grid-column:1;justify-self:start}
  .logo img{width:168px}
  .nav{display:flex;gap:34px;grid-column:2}
  .nav a{text-decoration:none;font-weight:700;font-size:16px;padding-block:12px;position:relative}
  .nav a::after{content:"";position:absolute;left:0;right:0;bottom:7px;height:2px;background:var(--gold);transform:scaleX(0);transform-origin:left;transition:transform .3s ease}
  .nav a:hover::after{transform:scaleX(1)}
  .bag{grid-column:3;justify-self:end;display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:0 16px 0 14px;border-radius:var(--btn-r);box-shadow:inset 0 0 0 1.5px var(--line-2);font-weight:700;font-size:16px;transition:background-color .18s ease}
  .bag:hover{background:var(--ghost-hover)}
  .bag svg{width:20px;height:20px}
  .bag [data-count]{min-width:22px;height:22px;border-radius:11px;background:var(--text);color:var(--bg);font-size:13px;display:grid;place-items:center;padding-inline:6px}
  .burger,.menu{display:none}
}

/* hero: the card sits between the two halves of the headline. It lies on the table: when it opens, the inside page
   stays where it is and the cover goes over to the left (on a phone, off the edge of the panel). */
.hero{padding:8px var(--gutter) 0}
.hero-panel{background:var(--oat);border-radius:22px;padding:28px 16px 0;text-align:center;max-width:1360px;margin-inline:auto;overflow:clip}
.hero-stage{display:grid;justify-items:center;gap:6px}
.hero h1 span{display:block}
.hero .gc{--w:min(66vw,270px);margin-top:18px}
.hero-sub{max-width:34em;margin:22px auto 0;font-size:17px}
.hero-act{display:flex;flex-wrap:wrap;gap:8px 26px;justify-content:center;align-items:center;margin-top:16px;padding-bottom:30px}
@media (min-width:600px){
  .hero-panel{padding:44px 24px 0}
  .hero .gc{--w:min(56vw,300px);margin-top:26px}
  .hero-sub{margin-top:30px;font-size:18px}
  .hero-act{margin-top:22px;padding-bottom:44px}
}
@media (min-width:980px){
  .hero-panel{padding:64px 40px 0}
  .hero-stage{--cw:clamp(270px,21.5vw,320px);align-items:center;gap:0}
  .hero h1,.hero .gc{grid-area:1/1}
  .hero h1{display:grid;grid-template-columns:minmax(0,1fr) var(--cw) minmax(0,1fr);column-gap:clamp(28px,4vw,64px);align-items:center;width:100%}
  .hero h1 .h1-a{grid-column:1;justify-self:end;text-align:right;white-space:nowrap}
  .hero h1 .h1-b{grid-column:3;justify-self:start;text-align:left;max-width:6.4em}
  .hero .gc{--w:var(--cw);margin-top:0;justify-self:center}
  .hero-sub{margin-top:44px;font-size:19px}
  .hero-act{padding-bottom:60px}
  /* the open cover lands where "Lovely card." sits, so the words step aside first and come back after it leaves */
  .hero .h1-a{transition:opacity .5s ease calc(var(--t-close) * .5),translate .7s cubic-bezier(.2,.7,.2,1) calc(var(--t-close) * .42)}
  .hero.is-open .h1-a{opacity:0;translate:-32px 0;transition:opacity .3s ease,translate .5s cubic-bezier(.4,0,.6,1)}
}
/* between 980 and 1240 the side columns are narrow: a smaller headline keeps the second half on two lines */
@media (min-width:980px) and (max-width:1239px){.hero h1{font-size:3.8vw}.hero-stage{--cw:clamp(250px,24vw,290px)}}
/* entrance */
.hero h1 span,.hero-sub,.hero-act{animation:rise .9s cubic-bezier(.22,1,.36,1) backwards}
.hero h1 .h1-b{animation-delay:.12s}
.hero .gc{animation:card-in 1.1s cubic-bezier(.22,1,.36,1) .18s backwards}
.hero-sub{animation-delay:.34s}.hero-act{animation-delay:.44s}
@keyframes rise{from{opacity:0;transform:translateY(22px)}}
@keyframes card-in{from{opacity:0;transform:translateY(34px)}}

/* cards: the card is the way in; under it the name, what it is for, whether it swears, and one button */
.tiles{--gap:16px;--n:2;display:flex;flex-wrap:wrap;justify-content:center;gap:44px var(--gap);margin-top:36px}
.tile{flex:0 0 calc((100% - (var(--n) - 1) * var(--gap)) / var(--n));min-width:0;display:flex;flex-direction:column;align-items:center}
.tile-card{position:relative;display:block;width:100%;max-width:250px;border-radius:3px;transition:transform .45s cubic-bezier(.22,1,.36,1)}
.tile-card .gc{--w:100%}
@media (hover:hover){.tile-card:hover{transform:translateY(-5px)}}
.tile h3{margin-top:20px}
.tile-occ{color:var(--muted);font-size:16px;line-height:1.35;margin-top:4px}
.flag{margin-top:4px;font-size:15px;font-weight:700;line-height:1.35}
.flag.is-clean{font-weight:400;color:var(--muted)}
.tile-buy{margin-top:auto;padding-top:16px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 14px}
.tile .price{font-size:18px}
.btn--add{min-height:44px;padding:10px 18px;font-size:15px;gap:0}
.wide{display:none;margin-left:.28em}
@media (min-width:900px){.tiles{--gap:28px;--n:4;margin-top:44px}.wide{display:inline}}

/* two sides: an ink band, the cover panel in paper, the inside panel a step up from the ink */
.sides-sec{background:var(--text);color:var(--bg);--focus:var(--focus-on-ink)}
.sides-sec .sec-head p{color:var(--on-ink-muted)}
.sides{margin-top:44px}
.side-front{background:var(--paper);color:var(--card-ink)}
.side-in{background:var(--ink-2)}
.side-in .tlink{text-decoration-color:var(--gold-on-ink)}
@media (min-width:860px){.sides{margin-top:60px}}

/* reader: the card opens itself. Wide enough for the spread, it is held: it slides right as it opens so the open card
   stays centred on its stage. On a phone it lies on the table and the cover goes off to the left. */
.reader{width:min(760px,calc(100% - 20px));max-height:calc(100dvh - 20px);border-radius:12px;margin:auto;overflow:auto;background:var(--oat)}
.reader[open]{animation:sheet-in .3s ease}
.reader .x{position:absolute;right:8px;top:8px;z-index:5}
.reader-item{display:grid;gap:24px;justify-items:center;text-align:center;padding:56px 20px 28px}
.reader-stage{display:flex}
.reader-item .gc{--w:min(82vw,340px)}
.reader-info{display:grid;gap:10px;justify-items:center;max-width:320px}
.reader-info h2{font-size:34px}
.reader-info .price{font-size:20px}
.reader-info .with{font-size:15px}
.reader-info .btn{margin-top:8px;width:100%}
@media (min-width:720px){
  .reader-item{padding:56px 40px 40px}
  .reader-stage{width:600px}
  .reader-item .gc{--w:300px;margin-left:150px;--shift:50%}
}
@media (min-width:1100px){
  .reader{width:min(1120px,calc(100% - 48px))}
  .reader-item{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:48px;padding:48px 56px 48px 48px}
  .reader-stage{width:660px}
  .reader-item .gc{--w:330px;margin-left:165px}
}

/* in the post: the four things, drawn */
.post{background:var(--oat)}
.post-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 16px;margin-top:44px}
/* the same soft contact shadow on all four, so they read as things lying on the table */
.pi-art .gc::before{box-shadow:none}
.pi-art>.gc,.pi-sleeve,.pi-env,.pi-mail{filter:drop-shadow(0 1px 1px rgba(23,17,10,.07)) drop-shadow(0 9px 12px rgba(23,17,10,.16))}
.pi-env .t0{fill:#fffdf8}.pi-env .t1{fill:#f7eee0}.pi-env .t2{fill:#ece0c9}.pi-env .t3{fill:#e2d2b5}
.pi-mail .m0{fill:#d9c5a1}.pi-mail .m1{fill:#ccb690}.pi-mail .m2{fill:#fffdf8}.pi-mail .m3{fill:#b58336}.pi-mail .m4{fill:#fffdf8}
.post-list h3{font-size:clamp(22px,2.4vw,30px);line-height:1.15;margin-top:16px}
.post-list p{margin-top:10px;color:var(--muted)}
@media (min-width:900px){.post-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin-top:60px}}

/* story */
.story-in{display:grid;gap:44px;justify-items:center;align-items:center}
.story-cards{display:flex;justify-content:center;align-items:flex-start;gap:clamp(12px,2vw,24px);width:100%}
.story-cards .gc{--w:min(calc(50% - 12px),220px)}
.story-cards .gc:last-child{margin-top:clamp(20px,3vw,40px)}
.story-text{max-width:34em}
.story-text p{margin-top:16px}
.story-text .tlink{margin-top:16px}
@media (min-width:900px){.story-in{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:72px}.story-cards{justify-content:flex-end}.story-text{justify-self:start}}

/* faq + closing */
.faq{max-width:780px;margin:44px auto 0}
.cta{padding:0 var(--gutter) var(--pad)}
.cta-panel{background:var(--text);color:var(--bg);border-radius:22px;padding:64px 24px;text-align:center;max-width:1360px;margin-inline:auto}
.cta-panel svg{width:34px;height:34px;color:var(--gold);margin:0 auto 20px}
.cta-panel .btn{margin-top:28px;background:var(--bg);color:var(--text)}
.cta-panel .btn:hover{background:var(--lift)}
@media (min-width:860px){.cta-panel{padding:104px 40px}}

/* footer */
.foot{border-top:1px solid var(--line);padding:64px 0 110px;text-align:center}
.foot-logo{width:min(70vw,360px);margin-inline:auto}
.foot-tag{margin-top:18px;text-transform:uppercase;letter-spacing:.05em;font-size:15px}
.foot-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 28px;margin-top:30px}
.foot-nav a,.foot-low a{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-decoration-color:var(--line-2);text-decoration-thickness:1px;text-underline-offset:5px}
.foot-nav a:hover,.foot-low a:hover{text-decoration-color:currentColor}
.foot-soc{display:flex;justify-content:center;gap:12px;margin-top:22px}
.foot-soc a{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;box-shadow:inset 0 0 0 1px var(--line-2);transition:background-color .2s ease,color .2s ease}
.foot-soc a:hover{background:var(--text);color:var(--bg)}
.foot-soc svg{width:20px;height:20px}
.foot-made{margin-top:30px;text-transform:uppercase;letter-spacing:.05em;font-size:14px}
.foot-made::before{content:"";display:block;width:54px;height:2px;background:var(--gold);margin:0 auto 22px}
.foot-low{margin-top:18px;font-size:15px;color:var(--muted);display:grid;gap:0;justify-items:center}
.foot-low p{min-height:30px}
.foot-low .cmm{text-decoration:underline;text-decoration-color:var(--line-2);text-underline-offset:4px;min-height:0;display:inline}
@media (min-width:860px){.foot{padding-bottom:64px}}
