/* ===========================================================
   TYPE B — landing page
   Design: Figma f4y21zGTUApIYdqSHZMUZK, frame 136:1485.
   Fluid layout: sections flow, type and decorations scale
   with the viewport. No fixed canvas.
   =========================================================== */

@font-face{font-family:Structa;src:url(fonts/structa-regular.woff2)format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:StructaLight;src:url(fonts/structa-light.woff2)format('woff2');font-weight:300;font-display:swap}
@font-face{font-family:Janked;src:url(fonts/janked-script.woff2)format('woff2');font-weight:400;font-display:swap}

:root{
  --orange-honey:#FF9D0A;
  --treasure-brown:#85120B;
  --wax-paper:#FFF2DB;
  --dark-orange:#D96700;
  --tape-brown:#DAB98D;
  --bg:#FEFEFE;

  /* fluid type: phone → 1440 desktop */
  --fs-h:clamp(1.625rem, 1.05rem + 2.1vw, 2.625rem);      /* 26 → 42 */
  --fs-body:clamp(1.0625rem, .95rem + .45vw, 1.375rem);   /* 17 → 22 */
  --fs-script:clamp(3.75rem, 2.4rem + 5.2vw, 6.25rem);    /* 60 → 100 */
  --fs-btn:clamp(.9375rem, .86rem + .25vw, 1.125rem);     /* 15 → 18 */
  --pad:clamp(1.25rem, 5vw, 4.5rem);
  --torn:clamp(1.625rem, 4.3vw, 3.875rem);
  --edge:calc(100vw * .0905);                              /* height of a torn-edge strip (130 / 1437) */
}

*{box-sizing:border-box}
/* everything is sized in rem; past 1440 wide the root grows with the screen (16px → 26px at 2340),
   so large monitors get the same composition, bigger, instead of a small page in a big void */
html{scroll-behavior:smooth;overflow-x:clip;font-size:max(100%, min(1.1111vw, 26px))}
body{margin:0;background:var(--bg);color:#000;overflow-x:clip;
  font-family:Structa,-apple-system,sans-serif;font-weight:400;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
img,video,canvas{display:block}
h1,h2,p{margin:0;font-weight:400}

.frame{position:relative;max-width:90rem;margin:0 auto;padding:0 var(--pad)}
.measure{max-width:66.3125rem;margin-inline:auto}
/* decorations: placed in % of their block, sized in vw, capped at the Figma size */
.d{position:absolute;height:auto;pointer-events:none;user-select:none}

/* ---------- type ---------- */
.t-h1{font-size:var(--fs-h);line-height:1.19;letter-spacing:-.02em;text-align:center}
.t-script{font-family:Janked,cursive;font-size:var(--fs-script);line-height:1.03;
  color:var(--orange-honey);text-align:center}
.t-script.br{color:var(--treasure-brown)}
.t-script .k{margin-right:-.4em}
.t-script-sm{font-family:Janked,cursive;font-size:clamp(3rem, 2rem + 4vw, 5rem);line-height:1;text-align:center}
.ast{color:#000}
.t-sub{font-size:var(--fs-body);line-height:1.4;color:var(--wax-paper);text-align:center}
.t-h2{font-size:var(--fs-h);line-height:1.4;text-align:center;text-wrap:balance}
.t-h2.left{text-align:left;line-height:1.33}
.light{font-family:StructaLight,Structa;font-weight:300}
.t-body{font-size:var(--fs-body);line-height:1.4;text-align:center;text-wrap:pretty}
.t-body.left{text-align:left}
.t-body p{margin:0 0 1.4em}
.t-body p:last-child{margin:0}
.t-body em{font-style:normal;color:var(--treasure-brown)}
.t-24{font-size:1.09em}
.big-b{font-size:var(--fs-h);line-height:1.5;color:var(--treasure-brown)}
/* same gap above and below the B (the paragraph margin above is 1.4em of the body text) */
.t-body p.big-b{line-height:1;margin:clamp(2rem, 3.2vw, 2.75rem) 0}
.t-note{font-family:StructaLight,Structa;font-weight:300;font-size:1rem;line-height:1.4;text-align:center}
.t-noemail{font-family:Janked,cursive;font-size:clamp(2.25rem, 1.8rem + 1.6vw, 3rem);line-height:1;
  color:var(--dark-orange);transform:rotate(4.28deg)}

/* running text is set in Light; headings, labels and buttons stay Regular */
.t-body,.t-sub,.lists,.s-body,.get-price,.foot-find,.acc-body p:not(.acc-lead),.reader-text p{
  font-family:StructaLight,Structa,-apple-system,sans-serif;font-weight:300}
.t-body .big-b{font-family:Structa,-apple-system,sans-serif;font-weight:400}

/* ---------- hexagon button: one shape, brushed-honey finish; on hover a dark
   hexagon opens from the centre ---------- */
.btn{--h:2.875rem;position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:center;
  height:var(--h);padding:0 calc(var(--h) / 2 + 1rem);
  background:linear-gradient(180deg, #FFCB70 0%, #FFAA24 34%, #FF9D0A 58%, #E98708 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(110,45,0,.28);
  color:#000;text-decoration:none;white-space:nowrap;
  font-size:var(--fs-btn);letter-spacing:.06em;text-transform:uppercase;line-height:1;
  -webkit-mask:url(assets/el/cap-l.svg) left center/calc(var(--h) / 2) 100% no-repeat,
       url(assets/el/cap-r.svg) right center/calc(var(--h) / 2) 100% no-repeat,
       linear-gradient(#000 0 0) center/calc(100% - var(--h) + 2px) 100% no-repeat;
  mask:url(assets/el/cap-l.svg) left center/calc(var(--h) / 2) 100% no-repeat,
       url(assets/el/cap-r.svg) right center/calc(var(--h) / 2) 100% no-repeat,
       linear-gradient(#000 0 0) center/calc(100% - var(--h) + 2px) 100% no-repeat;
  transition:color .55s ease}
.btn::before{content:"";position:absolute;z-index:-1;left:50%;top:50%;width:100%;aspect-ratio:1.1547;
  background:#1B1205;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);
  transform:translate(-50%,-50%) scale(0);transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.btn:hover,.btn:focus-visible{color:#FFB93B;outline:0}
.btn:hover::before,.btn:focus-visible::before{transform:translate(-50%,-50%) scale(1.2)}
.btn s{text-decoration-line:line-through}
.topbar .btn{--h:2.375rem;padding:0 calc(var(--h) / 2 + 0.625rem)}

/* ---------- topbar: logo and button float, no bar behind them ---------- */
.topbar{position:fixed;top:0;left:0;right:0;z-index:60;display:flex;align-items:center;
  justify-content:space-between;padding:clamp(1rem, 2.8vw, 2.5rem) clamp(1rem, 3.3vw, 3rem);
  pointer-events:none}
.topbar > *{pointer-events:auto}
.logo{width:clamp(5.75rem, 8.6vw, 7.6875rem);height:auto;filter:brightness(0);transition:filter .3s}
.topbar.on-dark .logo{filter:none}

/* ---------- hero ---------- */
.hero{--hx:clamp(3rem, 8vh, 5.5rem);position:relative;height:calc(100svh + var(--hx));min-height:calc(32.5rem + var(--hx));background:#000;overflow:hidden;
  display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 var(--pad)}
/* The video keeps its own 16:9 shape and its bottom edge sits on the bottom of the hero, under the
   paper, so the drips are never cut. --fh is its height. The honeycomb's centre is at 48% across and
   44% down the frame: the video is shifted so that point is centred, and the copy is placed on it. */
.hero{--fh:calc(100% - (100% - var(--hx)) * .05)}
.hero-video{position:absolute;left:50%;bottom:0;height:var(--fh);width:auto;max-width:none;aspect-ratio:16/9;translate:-48% 0}
.hero-copy{position:absolute;z-index:2;left:var(--pad);right:var(--pad);top:calc(100% - var(--fh) * .56);translate:0 -50%}
/* the lines must fit inside the honeycomb, which is about .75 x the video height wide */
.hero-copy .t-h1{font-size:min(var(--fs-h), calc((95svh + var(--hx)) * .05))}
/* under the comb (its lowest edge sits at 25% of the frame from the bottom), on the black; a dark halo keeps the drips behind the letters quiet */
.hero-sub{position:absolute;left:var(--pad);right:var(--pad);top:calc(100% - var(--fh) * .25 + clamp(1rem, 2.4vh, 2rem));z-index:2;
  text-shadow:0 0 .9rem #000, 0 0 1.8rem #000, 0 1px 3px #000}

/* ---------- cream sheet: chamfered (hexagon) top corners, as in Figma ---------- */
.sheet{--edge-t:calc(100vw * .0946);
  position:relative;z-index:2;margin-top:calc(var(--edge-t) * -.75);
  padding:calc(var(--edge-t) + clamp(0.25rem, 1vw, 1rem)) 0 calc(var(--edge) + clamp(2.5rem, 5vw, 5rem));
  background:url(assets/el/paper1-top.webp) left top/100% auto no-repeat,
    url(assets/el/paper1-bottom.webp) left bottom/100% auto no-repeat}
.sheet::before,.tan::before{content:"";position:absolute;left:0;right:0;pointer-events:none}
.sheet::before{top:calc(var(--edge-t) - 2px);bottom:calc(var(--edge) - 2px);background:url(assets/el/paper1-mid.webp) left top/100% auto repeat-y}
.sheet .frame{position:static}
.block{position:relative}
.block > :not(.d){position:relative;z-index:1}
.block .t-h2{margin:clamp(0.875rem, 1.5vw, 1.375rem) 0 clamp(1.5rem, 2.9vw, 2.625rem)}
.block-pow{margin-top:clamp(3.5rem, 4vw, 4.5rem)}
.but-also{margin-bottom:clamp(1.75rem, 4vw, 3.625rem)}
.lists{display:flex;justify-content:center;gap:0 2.875rem;flex-wrap:wrap;
  font-size:var(--fs-body);line-height:1.4;text-align:left;margin-bottom:clamp(2.25rem, 5.6vw, 5.0625rem)}
.lists ul{margin:0;padding-left:1.5em;list-style:disc}

/* honey drips: masked by the torn edge so they start from the paper's rim. Two layers, as in Figma:
   one multiplied into the paper, one plain on top at half strength — that is what reads as translucent */
.drips{--dw:clamp(8.125rem, 19.4vw, 17.5rem);position:absolute;z-index:1;top:0;left:calc(86.25vw - var(--dw));
  width:var(--dw);height:auto;pointer-events:none;
  -webkit-mask:url(assets/el/paper1-top.webp) calc(var(--dw) - 86.25vw) 0/100vw auto no-repeat,
       linear-gradient(#000 0 0) left bottom/100% calc(100% - var(--edge-t) + 1px) no-repeat;
  mask:url(assets/el/paper1-top.webp) calc(var(--dw) - 86.25vw) 0/100vw auto no-repeat,
       linear-gradient(#000 0 0) left bottom/100% calc(100% - var(--edge-t) + 1px) no-repeat}
.drips-a{mix-blend-mode:multiply}
.drips-b{opacity:.5}
/* the loose drops are multiplied into the paper */
.d-blob-1,.d-blob-2,.d-drop-1,.d-drop-2{mix-blend-mode:multiply}
.d-blob-1{left:-1%;top:2%;width:clamp(6rem, 12.8vw, 11.5rem)}
.d-stamp{right:-4.5%;top:20%;width:clamp(6rem, 11.7vw, 10.5rem);mix-blend-mode:multiply}
.d-note{left:-2.4%;top:-12%;width:clamp(9.375rem, 18.1vw, 16.3125rem)}
.d-daisies{right:-5%;top:-12.5%;width:clamp(13.75rem, 31.7vw, 28.5rem)}
/* the bee-farm drop comes from Figma (node 212:1827); its white frame vanishes with multiply */
.d-blob-2{left:1.5%;top:68%;width:clamp(5rem, 9.9vw, 9rem);height:auto}

/* ---------- why bees: sticky stage driven by scroll ---------- */
.why{position:relative;height:620vh;background:var(--bg);margin-top:calc(var(--edge) * -.55)}
.why-sticky{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;
  display:grid;place-items:center}
.why-comb{--w:min(70vw, 96vh);position:absolute;left:50%;top:50%;width:var(--w);height:auto;
  margin:calc(var(--w) * -.375) 0 0 calc(var(--w) * -.5);opacity:0;will-change:transform,opacity}
.why-dark{position:absolute;inset:0;background:#090909;opacity:0}
/* where you are in the sequence: six short bars that fill as you scroll */
.why-prog{position:absolute;z-index:5;top:clamp(4.625rem, 9vh, 6.5rem);left:50%;transform:translateX(-50%);
  display:flex;gap:0.375rem;opacity:0;transition:opacity .5s ease}
.why.live .why-prog{opacity:1}
.why-prog i{position:relative;width:clamp(1.375rem, 3vw, 2.125rem);height:0.1875rem;border-radius:2px;overflow:hidden;
  background:rgba(140,120,100,.32)}
.why-prog i::after{content:"";position:absolute;inset:0;background:var(--orange-honey);border-radius:2px;
  transform-origin:left center;transform:scaleX(var(--f, 0))}
.why-stage{position:relative;z-index:3;width:100%;height:100%;padding:0 var(--pad);
  display:grid;place-items:center;text-align:center}
.why-step,.why-thats{grid-area:1/1;opacity:0;transform:translateY(0.875rem);
  transition:opacity .55s ease, transform .7s cubic-bezier(.2,.7,.2,1);color:var(--wax-paper)}
.why-step.on{opacity:1;transform:none}
.why-step.s-script.on{transform:translateY(clamp(4.375rem, 12vh, 7.375rem))}
.s-script{font-family:Janked,cursive;font-size:clamp(4rem, 2.6rem + 6.6vw, 7.5rem);line-height:1.08;
  color:var(--orange-honey)}
.why-thats{font-size:var(--fs-script)}
/* "That's why!" arrives one scroll after the sentence, then stays for the bee */
.why[data-beat="4"] .why-thats{opacity:1;transform:translateY(clamp(7.5rem, 21vh, 11.25rem))}
.why[data-beat="5"] .why-thats{opacity:1;transform:translateY(clamp(4.375rem, 12vh, 7.375rem))}
.why[data-beat="4"] .s-big{transform:translateY(clamp(-2.5rem, -4vh, -1.25rem))}
.s-h2{font-size:var(--fs-h);line-height:1.5;text-shadow:0 1px .75rem rgba(40,15,0,.6)}
.s-body{font-size:var(--fs-body);line-height:1.4;max-width:60.6875rem;text-wrap:balance}
.s-body span{display:block;margin-top:1.4em}
.s-big{font-size:clamp(1.5rem, 1rem + 2vw, 2.5rem);line-height:1.4;max-width:47.5rem;text-wrap:balance}

/* the bee: video keyed to transparency on a canvas; scroll flies it up and away, and back */
.why-bee{position:absolute;z-index:4;left:50%;top:calc(50% - clamp(3.5rem, 9vh, 5.75rem));width:clamp(33.75rem, 62vw, 56.25rem);
  aspect-ratio:16/9;margin:calc(clamp(33.75rem, 62vw, 56.25rem) * -.28125) 0 0 calc(clamp(33.75rem, 62vw, 56.25rem) * -.5);
  opacity:0;pointer-events:none;will-change:transform,opacity}
.why-bee canvas{width:100%;height:100%}
.why-bee video{position:absolute;left:0;top:0;width:100%;height:100%;opacity:0}
.why-bee.no-key canvas{display:none}
.why-bee.no-key video{opacity:1;mix-blend-mode:multiply;filter:brightness(1.12) contrast(1.1);
  -webkit-mask:radial-gradient(closest-side, #000 45%, transparent 85%);
  mask:radial-gradient(closest-side, #000 45%, transparent 85%)}

/* ---------- why type B: a strip of tape that unrolls a torn sheet ---------- */
.typeb{position:relative;z-index:1;padding:clamp(2.5rem, 4vw, 4rem) var(--pad) clamp(8rem, 16vw, 14.75rem);
  background:var(--bg)}
.accordion{max-width:87.0625rem;margin:0 auto;display:flex;flex-direction:column;align-items:center}
.tab{position:relative;z-index:2;border:0;background:none;cursor:pointer;color:#000;
  font:inherit;display:inline-flex;align-items:center;gap:clamp(1.125rem, 2.4vw, 2.125rem);
  padding:clamp(1rem, 1.6vw, 1.375rem) clamp(2.125rem, 4.4vw, 4rem) clamp(1.1875rem, 1.9vw, 1.625rem);
  transform:rotate(-1.4deg);transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.tab:hover,.tab:focus-visible{transform:rotate(0) translateY(-2px);outline:0}
.tab:focus-visible .acc-label{text-decoration:underline;text-underline-offset:.25em}
.tape{position:absolute;inset:0;width:100%;height:100%;filter:drop-shadow(0 2px 0.3125rem rgba(60,30,0,.16));
  transition:filter .35s}
.tab:hover .tape{filter:drop-shadow(0 0.375rem 0.625rem rgba(60,30,0,.2))}
.clover{position:absolute;right:calc(100% + clamp(0.5rem, 7vw, 6.875rem));top:50%;
  width:clamp(6.875rem, 19vw, 17.25rem);height:auto;transform:translateY(-56%) rotate(1.4deg);
  transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.tab:hover .clover{transform:translateY(-56%) rotate(-7deg)}
.acc-label{position:relative;font-size:var(--fs-body);line-height:1.5;white-space:nowrap}
/* plus that turns into a minus */
.acc-sign{position:relative;width:1.25rem;height:1.25rem;flex:none}
.acc-sign::before,.acc-sign::after{content:"";position:absolute;left:0;right:0;top:50%;
  height:1.5px;margin-top:-.75px;background:#000;transition:transform .45s cubic-bezier(.2,.7,.2,1)}
.acc-sign::after{transform:rotate(90deg)}
.accordion.open .acc-sign::before{transform:rotate(180deg)}
.accordion.open .acc-sign::after{transform:rotate(180deg)}

.acc-panel{width:100%;display:grid;grid-template-rows:0fr;margin-top:clamp(-4.875rem, -5.6vw, -2.875rem);
  transition:grid-template-rows .7s cubic-bezier(.2,.7,.2,1)}
.accordion.open .acc-panel{grid-template-rows:1fr}
.acc-clip{overflow:hidden;min-height:0}
.acc-body{padding:clamp(5.5rem, 12vw, 10.75rem) clamp(1.75rem, 9vw, 9.375rem) clamp(7.5rem, 16vw, 15rem);
  text-align:center;background:url(assets/el/acc-paper.webp) center/100% 100% no-repeat;
  opacity:0;transform:translateY(-1.125rem);transition:opacity .45s ease, transform .7s cubic-bezier(.2,.7,.2,1)}
.accordion.open .acc-body{opacity:1;transform:none;transition-delay:.12s}
.acc-body p{font-size:var(--fs-body);line-height:1.4;margin:0 auto 1.4em;max-width:47.5rem;text-wrap:pretty}
.acc-body p:last-child{margin-bottom:0}
.acc-body .acc-lead{font-size:var(--fs-h);line-height:1.4;letter-spacing:-.02em;
  max-width:62.3125rem;margin-bottom:clamp(1.75rem, 4vw, 3.5625rem);text-wrap:balance}

/* ---------- the book (tan paper) ---------- */
.tan{position:relative;z-index:2;margin-top:calc(var(--edge) * -.45);
  padding:calc(var(--edge) + clamp(2.5rem, 4vw, 3.75rem)) 0 calc(var(--edge) + clamp(9rem, 12vw, 12rem));
  background:url(assets/el/paper2-top.webp) left top/100% auto no-repeat,
    url(assets/el/paper2-bottom.webp) left bottom/100% auto no-repeat}
.tan::before{top:calc(var(--edge) - 2px);bottom:calc(var(--edge) - 2px);
  background:url(assets/el/paper2-mid.webp) left top/100% auto repeat-y}
.tan .frame > :not(.d){position:relative;z-index:1}
.book-grid{display:grid;grid-template-columns:minmax(0, 31.25rem) minmax(0, 36.8125rem);
  justify-content:center;align-items:center;gap:clamp(1.5rem, 3.6vw, 3.25rem);
  margin-top:clamp(1.25rem, 2.6vw, 2.375rem)}
/* the book breathes open: the cover lifts, a few leaves follow, pages show beneath */
.book3d{perspective:100rem;padding:4% 12% 4% 6%}
.book-body{position:relative;aspect-ratio:636/900;perspective:93.75rem;perspective-origin:20% 50%;transform:rotateY(-8deg) rotateX(2deg);
  filter:drop-shadow(1.125rem 1.375rem 1.625rem rgba(60,25,0,.28))}
.book-front,.leaf{position:absolute;inset:0;width:100%;height:100%;transform-origin:left center;
  border-radius:0.1875rem 0.75rem 0.75rem 0.1875rem;backface-visibility:hidden}
.book-front{overflow:hidden}
.book-front img{width:100%;height:100%;object-fit:cover}
/* the hinge: a pressed line a finger's width from the spine */
.book-front::after{content:"";position:absolute;left:0;top:0;bottom:0;width:4.2%;
  background:linear-gradient(90deg, rgba(60,20,0,.16), rgba(60,20,0,.03) 70%, rgba(60,20,0,.10));
  border-right:1px solid rgba(255,235,210,.42)}
.leaf{background:
    linear-gradient(90deg, rgba(90,60,20,.22) 0, rgba(90,60,20,0) 9%),
    repeating-linear-gradient(180deg, transparent 0 1.3125rem, rgba(60,40,20,.11) 1.3125rem 1.375rem) 14% 16%/72% 62% no-repeat,
    #FBF4E4;
  box-shadow:inset 0 0 0 1px rgba(120,90,50,.16)}
.leaf-base{transform:translateZ(-0.375rem);box-shadow:inset 0 0 0 1px rgba(120,90,50,.16), 0.3125rem 0.1875rem 0 -1px #efe4cd, 0.5625rem 0.375rem 0 -2px #e6d9bf}
.leaf-3{animation:leaf3 7s ease-in-out infinite}
.leaf-2{animation:leaf2 7s ease-in-out infinite}
.leaf-1{animation:leaf1 7s ease-in-out infinite}
.book-front{animation:cover 7s ease-in-out infinite;box-shadow:inset 0.3125rem 0 0.5rem -0.25rem rgba(0,0,0,.35)}
@keyframes cover{0%,12%,92%,100%{transform:rotateY(0)}48%,62%{transform:rotateY(-46deg)}}
@keyframes leaf1{0%,16%,90%,100%{transform:rotateY(0)}50%,62%{transform:rotateY(-34deg)}}
@keyframes leaf2{0%,20%,88%,100%{transform:rotateY(0)}52%,62%{transform:rotateY(-22deg)}}
@keyframes leaf3{0%,24%,86%,100%{transform:rotateY(0)}54%,62%{transform:rotateY(-11deg)}}
.book-copy .t-h2{margin-bottom:clamp(1.375rem, 4.3vw, 3.875rem)}
.book-cta{display:flex;flex-direction:column;align-items:center;gap:1.25rem;
  margin-top:clamp(1.75rem, 2.4vw, 2.25rem)}
.cta-wrap{position:relative;display:inline-flex}
.arrow{position:absolute;height:auto;pointer-events:none}
.arrow-1{right:calc(100% + 1.25rem);bottom:-14%;width:clamp(4.8rem, 8.8vw, 7.5rem)}
.book-cta .t-noemail{margin:0 0 -0.375rem clamp(7.5rem, 20vw, 18.75rem)}
.d-drop-1{left:2.2%;top:-1%;width:clamp(4rem, 7.6vw, 6.875rem)}
.d-drop-2{right:4.2%;top:7%;width:clamp(5rem, 9.4vw, 8.4375rem)}
.d-dipper{right:-8%;bottom:-4%;width:clamp(9.375rem, 21.6vw, 19.4375rem)}

/* ---------- get the book: campaign card + reward cards (Kickstarter-style, Type B paper) ---------- */
/* band.webp is 1437×811: torn top edge = rows 0–134, torn bottom edge = rows 569–811.
   The two edges keep their real proportions; only the solid middle stretches with the content. */
.get{--pb:clamp(7.5rem, 15vw, 13.75rem);--artw:clamp(9rem, 17.5vw, 15.75rem);
  position:relative;z-index:3;margin-top:calc(var(--edge) * -1 - 6.5rem);
  padding:clamp(6.875rem, 15vw, 13.125rem) 0 var(--pb);
  background:url(assets/el/band-craft.webp) left top/100% auto no-repeat,
    url(assets/el/band-craft.webp) left bottom/100% auto no-repeat}
.get::before{content:"";position:absolute;left:0;right:0;z-index:0;pointer-events:none;
  top:calc(100vw * 170 / 1437);bottom:calc(100vw * 280 / 1437);
  /* real paper (fibre texture from the project's paper scans), tiled at the same grain size as
     the torn band; the ends fade so there is no visible seam with the band */
  background:url(assets/el/paper-tan.webp) 0 0/53.33vw auto repeat;
  -webkit-mask-image:linear-gradient(transparent, #000 5vw, #000 calc(100% - 5vw), transparent);
          mask-image:linear-gradient(transparent, #000 5vw, #000 calc(100% - 5vw), transparent)}
.get .frame{position:relative;z-index:1;max-width:82rem}
.camp{max-width:40rem;margin:0 auto;text-align:center}
.camp-copy .t-script{font-size:clamp(3.4rem, 1.6rem + 4.6vw, 5.6rem);text-align:center}
/* the couple sits on the torn bottom edge of the section, as in the Figma: the torn line (~9.4vw
   above the section bottom) crosses the drawing at 60% of its height, legs hang over the edge.
   t = how far it is pushed down; the negative margin keeps the gap above it small. */
.get-art{--t:calc(var(--pb) - 9.4vw + var(--artw) * .6);display:block;position:relative;z-index:4;
  width:var(--artw);height:auto;margin:calc(clamp(1.5rem, 3vw, 2.5rem) - var(--t)) auto 0;transform:translateY(var(--t))}
.get-price{font-size:var(--fs-body);line-height:1.4;margin-top:.5em}
.camp-line{font-family:StructaLight,Structa;font-weight:300;font-size:1rem;line-height:1.5;margin:.6em auto 0;
  color:#5a3d22;max-width:26rem}

.hive{position:relative;z-index:1;max-width:52rem;margin:clamp(2rem, 4vw, 3rem) auto 0;
  background:rgba(255,248,232,.78);border:1px solid rgba(133,18,11,.18);border-radius:1.25rem;
  padding:clamp(1.25rem, 2.6vw, 2rem);box-shadow:0 1.25rem 2.5rem -1.5rem rgba(90,40,0,.45)}
.hive-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:1rem 2rem}
.hive-label{font-size:.8125rem;letter-spacing:.1em;text-transform:uppercase;color:var(--treasure-brown)}
.hive-raised{font-size:clamp(2rem, 1.4rem + 1.8vw, 2.75rem);line-height:1.1;margin-top:.3rem;color:#1B1205;
  font-variant-numeric:tabular-nums;white-space:nowrap}
.hive-unit{font-size:.45em;letter-spacing:.06em;text-transform:uppercase;color:var(--treasure-brown)}
.hive-fiat{font-family:StructaLight,Structa;font-weight:300;font-size:.9375rem;color:#5a3d22;min-height:1.4em}
.hive-bar{position:relative;height:.75rem;margin:1.1rem 0 1rem;border-radius:1rem;overflow:hidden;
  background:rgba(133,18,11,.12);box-shadow:inset 0 1px 2px rgba(0,0,0,.12)}
.hive-bar i{position:absolute;inset:0 auto 0 0;width:0;border-radius:inherit;
  background:linear-gradient(90deg, var(--orange-honey), var(--dark-orange));transition:width 1.4s cubic-bezier(.2,.7,.2,1)}
.hive-stats{display:flex;gap:clamp(1.25rem, 3vw, 2.5rem)}
.hive-stats div{display:flex;flex-direction:column-reverse;align-items:flex-start;text-align:left}
.hive-fiat:empty{display:none}
.hive{text-align:left}
.hive-stats dd{margin:0;font-size:clamp(1.125rem, 1rem + .4vw, 1.375rem);color:#1B1205;white-space:nowrap;font-variant-numeric:tabular-nums}
.hive-stats dt{font-family:StructaLight,Structa;font-weight:300;font-size:.75rem;letter-spacing:.06em;
  text-transform:uppercase;color:#5a3d22;white-space:nowrap}
.hive-stretch{font-family:StructaLight,Structa;font-weight:300;font-size:.9375rem;line-height:1.45;color:#5a3d22}
.hive-stretch b{font-family:Structa;font-weight:400;color:#1B1205}
.hive-star{color:#F47B2F}
.hive-demo{margin-left:.6em;text-transform:none;letter-spacing:0;padding:.1em .5em;border-radius:.3em;background:#5a3d22;color:#fff;font-size:.9em}

.rewards-title{font-size:clamp(2.6rem, 1.6rem + 3vw, 4rem);text-align:center;color:var(--treasure-brown);
  margin:clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.25rem)}
.rewards{display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:clamp(1rem, 2vw, 1.5rem)}
/* tier cards: real paper, a stitched inner border, gentle life on hover */
.rw{position:relative;display:flex;flex-direction:column;border-radius:1.25rem;
  background:#FFF9EE url(assets/el/paper1-mid.webp) center/cover;
  border:1px solid rgba(133,18,11,.13);padding:clamp(1.35rem, 2vw, 1.75rem);
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset, 0 1rem 2rem -1.3rem rgba(90,40,0,.5), 0 .1rem .3rem rgba(90,40,0,.08);
  transition:transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s cubic-bezier(.2,.8,.2,1), opacity .4s ease}
.rw::after{content:"";position:absolute;inset:.45rem;border:1px dashed rgba(133,18,11,.17);border-radius:.9rem;
  pointer-events:none;transition:border-color .4s ease}
.rw:hover,.rw:focus-within{transform:translateY(-6px) rotate(-.35deg);
  box-shadow:0 1px 0 rgba(255,255,255,.8) inset, 0 1.9rem 2.8rem -1.4rem rgba(90,40,0,.55), 0 0 0 1px rgba(255,157,10,.35)}
.rw:nth-child(even):hover,.rw:nth-child(even):focus-within{transform:translateY(-6px) rotate(.35deg)}
.rw:hover::after,.rw:focus-within::after{border-color:rgba(217,103,0,.45)}
.rw-art{transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.rw:hover .rw-art,.rw:focus-within .rw-art{transform:translateY(-3px) rotate(-4deg) scale(1.06)}
.rw-sats{transition:color .4s ease}
.rw:hover .rw-sats{color:var(--treasure-brown)}
/* choosing: the card glows, the others step back, the button says what is happening */
.rewards.choosing .rw:not(.going){opacity:.45;transform:scale(.98)}
.rw.going{transform:translateY(-6px);box-shadow:0 1.9rem 2.8rem -1.4rem rgba(90,40,0,.55), 0 0 0 2px var(--orange-honey)}
.rw.going .rw-btn{pointer-events:none}
.rw-spin{display:inline-block;width:.85em;height:.95em;margin-right:.55em;vertical-align:-.1em;background:currentColor;
  clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);animation:rw-spin 1s linear infinite}
@keyframes rw-spin{to{transform:rotate(360deg)}}
.rw-top{display:flex;align-items:flex-start;justify-content:space-between;min-height:5rem}
.rw-art{width:auto;height:5rem;object-fit:contain;margin-left:-.35rem}
.rw-badge{padding:.35em .75em;border-radius:2rem;background:var(--treasure-brown);color:#FFF2DB;
  font-size:.6875rem;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.rw-name{margin-top:.9rem;font-size:.875rem;letter-spacing:.12em;text-transform:uppercase;color:var(--treasure-brown)}
.rw-price{margin-top:.2rem;font-size:1rem;color:#5a3d22;letter-spacing:.04em}
.rw-sats{font-size:clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem);letter-spacing:0;color:#1B1205}
.rw-fiat{display:block;font-family:StructaLight,Structa;font-weight:300;font-size:.875rem;min-height:1.3em}
.rw-note{margin-top:.85rem;font-family:StructaLight,Structa;font-weight:300;font-size:1rem;line-height:1.5;color:#2b1d10}
.rw-incl{list-style:none;margin:1rem 0 0;padding:1rem 0 0;border-top:1px dashed rgba(133,18,11,.28);
  display:flex;flex-direction:column;gap:.45rem;font-size:.875rem;color:#2b1d10}
.rw-incl li{display:flex;align-items:center;gap:.55rem}
.rw-incl li::before{content:"";flex:none;width:.5rem;height:.575rem;background:#F3CF97;
  clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);transition:background .3s ease, transform .3s ease}
/* on hover the little hexagons fill with honey one after the other */
.rw:hover .rw-incl li::before,.rw:focus-within .rw-incl li::before{background:var(--orange-honey);transform:scale(1.15)}
.rw-incl li:nth-child(2)::before{transition-delay:45ms}
.rw-incl li:nth-child(3)::before{transition-delay:90ms}
.rw-incl li:nth-child(4)::before{transition-delay:135ms}
.rw-incl li:nth-child(5)::before{transition-delay:180ms}
.rw-incl li:nth-child(6)::before{transition-delay:225ms}
.rw-incl li:nth-child(7)::before{transition-delay:270ms}
.rw-incl li:nth-child(8)::before{transition-delay:315ms}
.rw-incl li:nth-child(9)::before{transition-delay:360ms}
.rw-incl li:nth-child(10)::before{transition-delay:405ms}
.rw-incl li:nth-child(11)::before{transition-delay:450ms}
.rw-incl li:nth-child(12)::before{transition-delay:495ms}
.rw-foot{margin-top:auto;padding-top:1.4rem;display:flex;flex-direction:column;align-items:stretch;gap:.7rem}
.rw-count{font-family:StructaLight,Structa;font-weight:300;font-size:.8125rem;color:#5a3d22;text-align:center;min-height:1.2em}
.rw-btn{--h:2.75rem;width:100%;padding:0 calc(var(--h) / 2 + .5rem)}
.rw.sold-out{opacity:.55}
.rw.sold-out .rw-btn{pointer-events:none}
.pay-note{margin-top:clamp(1.75rem, 3vw, 2.5rem);text-align:center;font-size:.8125rem;letter-spacing:.1em;
  text-transform:uppercase;color:var(--treasure-brown)}

@media (max-width:1100px){
  .rewards{grid-template-columns:repeat(2, minmax(0, 1fr))}
}
@media (max-width:700px){
  .hive-main{width:100%}
  .hive-stats{width:100%;display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:.75rem}
  .hive-stats dd{font-size:1.0625rem}
  .rewards{grid-template-columns:1fr}
}

/* ---------- faq ---------- */
.faq{position:relative;background:var(--bg);padding:clamp(2.5rem, 4vw, 3.75rem) 0 clamp(3.75rem, 7vw, 6.25rem)}
.faq-row{display:grid;grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr);align-items:center;
  gap:clamp(0.75rem, 2vw, 1.875rem);margin-top:clamp(-2.5rem, -2vw, 0px)}
.faq-left{width:min(100%, 29.375rem);height:auto;justify-self:end}
.faq-right{width:min(100%, 18.1875rem);height:auto;justify-self:start;margin-top:clamp(2.5rem, 9vw, 8.125rem)}
.t-faq{font-size:var(--fs-h);line-height:1.5;text-align:center}
.t-faq p + p{margin-top:.75em}

/* ---------- footer ---------- */
.footer{background:var(--bg);overflow:hidden;padding-bottom:clamp(2.25rem, 4vw, 3.5rem)}
.foot-grid{display:grid;grid-template-columns:minmax(0, 1.3fr) minmax(0, 1fr);align-items:center;
  max-width:73.75rem;gap:clamp(1rem, 3vw, 2.75rem)}
.foot-comb{width:78%;height:auto;justify-self:center}
.foot-link{display:inline-flex;flex:none;border-radius:.25rem;transition:opacity .2s}
.foot-link:hover{opacity:.7}
.foot-motto{font-size:var(--fs-h);line-height:1.5;margin-bottom:clamp(2.25rem, 3.4vw, 3.25rem)}
.foot-find{display:flex;align-items:center;gap:.875rem;white-space:nowrap;font-size:clamp(.9375rem, .85rem + .3vw, 1.125rem);
  line-height:1.5;margin-bottom:.875rem}
.foot-find img{height:1.5rem;width:auto;flex:none}
.foot-find-t{font-size:clamp(.9375rem, .85rem + .3vw, 1.125rem);margin-bottom:1rem}
.foot-find{margin-bottom:1.5rem}
.foot-mail{font-size:.9375rem;line-height:1.5;margin-bottom:clamp(2.25rem, 3.6vw, 3rem)}
.foot-mail a{position:relative;color:inherit;text-decoration:none;cursor:copy;transition:color .25s}
.foot-mail a:hover,.foot-mail a.copied{color:var(--treasure-brown)}
/* the tag floats next to the address, so it never pushes it off centre */
.mail-tip{position:absolute;left:calc(100% + .6rem);top:50%;margin-top:-.75rem;white-space:nowrap;padding:.15rem .55rem;border-radius:1rem;font-size:.75rem;letter-spacing:.04em;
  background:var(--orange-honey);color:#000;opacity:0;translate:0 .25rem;transition:opacity .25s, translate .25s;pointer-events:none}
.mail-tip.on{opacity:1;translate:0 0}
.npub{display:flex;align-items:center;gap:0.5rem;max-width:100%;margin-bottom:1.25rem}
.npub code{font-family:ui-monospace,Menlo,monospace;font-size:0.6875rem;color:#555;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:14.6875rem}
.copy-btn{border:0;cursor:pointer;background:var(--orange-honey);color:#000;
  font-family:Structa;font-size:0.6875rem;letter-spacing:.36px;text-transform:uppercase;
  padding:0.25rem 0.5625rem;border-radius:0.1875rem}
.copy-btn.done{background:var(--treasure-brown);color:#fff}
.inclusion{max-width:77.5rem;margin:clamp(4.5rem, 7vw, 6.5rem) auto 0;padding:0 var(--pad);
  font-family:StructaLight,Structa;font-weight:300;font-size:.8125rem;line-height:1.55;
  color:#5a4a3e;text-align:center;text-wrap:pretty}
.inclusion-title{font-family:Structa;font-weight:400;font-size:.75rem;letter-spacing:.08em;
  text-transform:uppercase;color:var(--treasure-brown);margin-bottom:.6em}

/* ---------- chapter reader ---------- */
.reader{position:fixed;inset:0;z-index:200;background:rgba(10,6,3,.82);
  backdrop-filter:blur(0.375rem);overflow-y:auto;padding:3.5rem clamp(0.875rem, 3vw, 1.5rem);
  opacity:0;transition:opacity .75s ease}
.reader.open{opacity:1}
/* the book settles in first, the page follows; both leave the same way, a touch quicker */
.reader-cover,.reader-text{opacity:0;transition:opacity .6s ease, transform .7s cubic-bezier(.3,.1,.2,1)}
.reader-cover{transform:translateY(1.625rem)}
.reader-text{transform:translateY(2.5rem)}
/* the close button and the progress line sit next to the reader, not inside it: its backdrop blur would make them scroll away */
.reader-close{opacity:0;visibility:hidden;transform:scale(.8);transition:opacity .6s ease, transform .7s cubic-bezier(.3,.1,.2,1), visibility 0s linear .6s}
.reader.open ~ .reader-close{opacity:1;visibility:visible;transform:none;transition:opacity 1.1s ease .7s, transform 1.3s cubic-bezier(.16,.8,.2,1) .7s, visibility 0s}
.reader.open .reader-cover,.reader.open .reader-text{opacity:1;transform:none;
  transition:opacity 1.1s ease, transform 1.3s cubic-bezier(.16,.8,.2,1)}
.reader.open .reader-cover{transition-delay:.15s}
.reader.open .reader-text{transition-delay:.32s}
.reader[hidden]{display:none}
/* reading aids: a thin honey progress line, and words that settle in as each paragraph arrives */
.reader-progress{position:fixed;top:0;left:0;right:0;z-index:211;height:3px;background:rgba(255,248,232,.07);
  opacity:0;transition:opacity .6s ease .5s;pointer-events:none}
.reader.open ~ .reader-progress{opacity:1}
.reader-progress span{display:block;height:100%;background:linear-gradient(90deg, #F7B04A, #F08A24);
  transform:scaleX(0);transform-origin:0 50%;transition:transform .18s linear;box-shadow:0 0 .5rem rgba(240,138,36,.45)}
.reader-text p.soft .w{opacity:.06;transition:opacity .7s ease var(--d, 0ms)}
.reader-text p.soft.in .w{opacity:1}
.reader-inner{display:grid;grid-template-columns:minmax(0, 25rem) minmax(0, 38.75rem);
  gap:clamp(1.5rem, 4vw, 3.5rem);justify-content:center;align-items:start}
.reader-cover{position:sticky;top:0}
.reader-cover .book3d{padding:2% 14% 2% 2%}
.reader-cover .book-body{filter:drop-shadow(-1.125rem 0.875rem 1.875rem rgba(0,0,0,.5))}
.reader-text{background:#FBF5DE url(assets/el/page.webp) left top/100% auto repeat-y;
  border-radius:clamp(0.875rem, 2vw, 1.375rem);box-shadow:0 1.875rem 4.375rem rgba(0,0,0,.35);
  padding:clamp(2rem, 5vw, 4rem) clamp(1.375rem, 5.5vw, 4.5rem)}
.reader-text .reader-title{font-family:Janked,cursive;font-size:clamp(3.6rem, 2.6rem + 3.4vw, 5.4rem);
  line-height:1;color:var(--orange-honey);margin:0 0 .55em}
.reader-text p{font-size:clamp(1.0625rem, 1rem + .2vw, 1.1875rem);line-height:1.6;margin:0 0 1.15em}
.reader-end{margin-top:3.25rem;padding-top:2.5rem;text-align:center;
  border-top:1px dashed rgba(133,18,11,.32)}
.reader-text .reader-end-script{font-family:Janked,cursive;font-size:clamp(2.4rem, 1.7rem + 1.6vw, 3.1rem);line-height:1.1;
  color:var(--treasure-brown);margin:0 0 .55em}
.reader-end .btn{--h:3.25rem}
.reader-text .reader-end-note{font-family:StructaLight,Structa;font-weight:300;font-size:.875rem;line-height:1.7;
  letter-spacing:.04em;margin:1.6em 0 0;color:#5a4a3e}
.reader-close{position:fixed;top:1.375rem;right:1.75rem;z-index:210;width:2.875rem;height:2.875rem;
  border:0;border-radius:50%;cursor:pointer;background:var(--orange-honey);
  display:grid;place-items:center}
.reader-close img{width:0.9375rem;height:0.9375rem}
.reader.open ~ .reader-close:hover{background:#fff;transform:rotate(90deg);transition:background .2s, transform .35s;transition-delay:0s}
body.reading{overflow:hidden}

/* ---------- tablet and phone ---------- */
@media (max-width:900px){
  .d-blob-1,.d-blob-2,.d-stamp,.d-note{display:none}
  /* the daisies stand whole in the corner under the list, nothing cut by the screen edge */
  .d-daisies{left:50%;right:auto;top:auto;bottom:-2rem;width:clamp(6.5rem, 25vw, 9.5rem);transform:translateX(-50%) rotate(-5deg)}
  .block-pow{padding-bottom:clamp(7.5rem, 28vw, 11rem)}
  .d-drop-2{display:none}
}
@media (max-width:440px){
  .btn{--h:2.75rem;padding:0 calc(var(--h) / 2 + 0.5rem);font-size:.8125rem;letter-spacing:.04em;max-width:100%}
  .topbar .btn{--h:2.125rem}
  .t-script{font-size:clamp(2.9rem, 15vw, 3.75rem);text-wrap:balance}
  .tab{padding-inline:1.75rem}
  .acc-label{font-size:1rem}
  .why-prog i{width:1.125rem}
}
@media (max-width:700px){
  .hero-sub br{display:none}
  .lists{display:block;width:max-content;max-width:100%;margin-inline:auto}
  .book-grid{grid-template-columns:minmax(0, 20rem)}
  .book-copy .t-h2,.book-copy .t-body{text-align:center}
  .book-cta .t-noemail{margin:0 0 -0.25rem}
  .arrow{display:none}

  .d-dipper{display:none}
  /* phone: the collage sits above the F.A.Q. heading, nothing between heading and question */
  .faq .frame{display:flex;flex-direction:column;align-items:center}
  .faq-row{display:contents}
  .faq-left{order:-1;width:min(64%, 18.75rem);margin-bottom:.5rem}
  .t-faq{margin-top:1.5rem}
  .faq-right{display:none}
  .foot-grid{grid-template-columns:1fr;text-align:center}
  .foot-find{justify-content:center}
  .book3d{padding:4% 14% 4% 8%}
  .npub{justify-content:center}
  /* the clover stands clear above the tape instead of hiding behind it */
  .clover{right:auto;left:2%;top:auto;bottom:calc(100% - .5rem);width:5.25rem;transform:rotate(1.4deg)}
  .tab:hover .clover{transform:rotate(-7deg)}
  .typeb{padding-top:8.25rem;padding-bottom:9.75rem}
  .why-comb{--w:min(128vw, 96vh)}
  .get{--pb:9rem;padding-top:11rem}
  .reader-inner{grid-template-columns:minmax(0, 38.75rem)}
  .reader-cover{position:static;width:min(60%, 15rem);margin:0 auto}
}

/* ---------- reveals on scroll (only when JS is running) ---------- */
.js .rv{opacity:0;translate:0 1.375rem;transition:opacity .8s ease, translate .9s cubic-bezier(.2,.7,.2,1);
  transition-delay:var(--rv-delay, 0ms)}
.js .rv.in{opacity:1;translate:0 0}
.js .btn.rv{transition:opacity .8s ease, translate .9s cubic-bezier(.2,.7,.2,1), color .55s ease}
.js .rw.rv{transition:opacity .8s ease, translate .9s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s cubic-bezier(.2,.8,.2,1);
  transition-delay:var(--rv-delay, 0ms), var(--rv-delay, 0ms), 0s, 0s}
.js .t-faq > p.rv{transition-duration:1.9s, 2.1s;transition-delay:.25s}
.js .t-faq > p.rv + p.rv{transition-delay:2.8s}
/* script headings are written on, left to right */
.js .rv-write{opacity:0}
.js .rv-write.in{opacity:1;animation:write 1.25s cubic-bezier(.45,.05,.2,1) both;
  animation-delay:var(--rv-delay, 0ms)}
@keyframes write{from{clip-path:inset(-30% 100% -30% -6%)}to{clip-path:inset(-30% -6% -30% -6%)}}

@media (prefers-reduced-motion:reduce){
  .book-front,.leaf{animation:none}
  .js .rv,.js .rv-write,.js .rv-write.in{opacity:1;translate:none;animation:none}
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms !important}
}

/* ---------- shop pages: /thanks, /gift, /queen (rendered by functions/) ---------- */
body.shop{min-height:100vh;background:#ECD2A9 url(assets/el/paper-tan.webp) 0 0/min(53.33vw, 46rem) auto repeat}
.shop-page{max-width:40rem;margin:0 auto;padding:clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem) 4rem;text-align:center}
.shop-logo{display:block;width:max-content;margin:0 auto}
.shop-logo img{display:block;width:7rem;height:auto;margin:0 auto;filter:brightness(0)}
.shop-page .t-script{color:var(--treasure-brown);margin:clamp(1.5rem, 5vw, 3rem) 0 .5rem}
.shop-lead{font-size:var(--fs-body);line-height:1.45;color:#1B1205}
.shop-text{font-family:StructaLight,Structa;font-weight:300;font-size:1rem;line-height:1.55;color:#2b1d10;margin-top:.75rem}
.shop-page{position:relative}
.shop-page a{color:var(--treasure-brown)}
.shop-files{list-style:none;padding:0;margin:1.75rem 0;display:flex;flex-wrap:wrap;justify-content:center;gap:.75rem}

/* receipt: a paper ticket taped to the page */
.ticket{position:relative;margin:clamp(1.75rem, 4vw, 2.5rem) auto 0;max-width:34rem;padding:1.6rem 1.5rem 1.25rem;
  background:#FFF9EE url(assets/el/paper1-mid.webp) center/cover;border-radius:.35rem;transform:rotate(-1deg);
  box-shadow:0 1px 0 rgba(255,255,255,.7) inset, 0 .9rem 1.6rem -.9rem rgba(80,40,0,.45), 0 .15rem .35rem rgba(80,40,0,.12);
  animation:ty-in .9s cubic-bezier(.2,.9,.25,1.15) 1.7s both}
.ticket::before,.ticket::after{content:"";position:absolute;top:-.85rem;width:5.5rem;height:1.6rem;
  background:url(assets/el/tape-cut.webp) center/100% 100% no-repeat;opacity:.92}
.ticket::before{left:-.9rem;transform:rotate(-24deg)}
.ticket::after{right:-.9rem;transform:rotate(21deg)}
.ticket-row{display:grid;grid-template-columns:repeat(4, auto);justify-content:space-between;gap:.75rem 1.25rem;text-align:left}
.ticket-row div{display:flex;flex-direction:column-reverse}
.ticket-row dt{font-family:StructaLight,Structa;font-weight:300;font-size:.6875rem;letter-spacing:.12em;text-transform:uppercase;color:#7a5532}
.ticket-row dd{margin:0;font-size:1rem;color:#1B1205;white-space:nowrap}
.ticket-note{margin-top:1.1rem;padding-top:.9rem;border-top:2px dashed rgba(133,18,11,.22);
  font-family:StructaLight,Structa;font-weight:300;font-size:.9375rem;line-height:1.5;color:#2b1d10}
.ticket-note strong{font-family:Structa;font-weight:400}

.ty-h{margin:clamp(2.25rem, 5vw, 3rem) 0 .9rem;font-size:.8125rem;letter-spacing:.14em;text-transform:uppercase;color:var(--treasure-brown)}
.dl-list{list-style:none;padding:0;margin:0 auto;max-width:34rem;display:grid;gap:.65rem}
.dl{display:flex;align-items:center;gap:1rem;padding:.8rem .9rem .8rem .8rem;text-align:left;text-decoration:none;color:#1B1205;
  background:linear-gradient(rgba(255,250,238,.66), rgba(255,250,238,.66)), url(assets/el/paper1-mid.webp) center/cover;border:1px solid rgba(133,18,11,.14);border-radius:1rem;
  box-shadow:0 .6rem 1.2rem -1rem rgba(80,40,0,.6);transition:transform .25s ease, box-shadow .25s ease, background .25s}
.shop-page a.dl{color:#1B1205}
.dl:hover{transform:translateY(-2px);box-shadow:0 1rem 1.6rem -1rem rgba(80,40,0,.6)}
.dl-ico{flex:none;width:2.75rem;height:2.75rem;padding:.55rem;border-radius:.8rem;background:#FCE3B8;color:#85120B}
.dl-txt{flex:1;display:flex;flex-direction:column;gap:.15rem;min-width:0}
.dl-name{font-size:1.0625rem}
.dl-meta{font-family:StructaLight,Structa;font-weight:300;font-size:.8125rem;color:#6b4a2a}
.dl-go{flex:none;display:grid;place-items:center;width:2.6rem;height:2.252rem;font-size:1.1rem;color:#1B1205;
  background:linear-gradient(#FFB43A, #F08A10);clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%)}
.dl:hover .dl-go{animation:ty-nudge .6s ease-in-out}
.kindle{max-width:34rem;margin-left:auto;margin-right:auto}
.shop-page > .shop-box{max-width:34rem;margin-left:auto;margin-right:auto}
.ty-art{display:block;width:8.5rem;height:auto;margin:2.5rem auto 0}

/* the donation moment: a drop falls into the hive-fund jar, then the honey rises */
.give{margin:.25rem auto 0}
.give-jar{display:block;width:clamp(9.5rem, 30vw, 12.5rem);height:auto;margin:0 auto;overflow:visible}
.give-still{display:none}
.give-plus{margin-top:.9rem;font-size:clamp(1.375rem, 1.1rem + 1vw, 1.75rem);color:#1B1205;animation:ty-pop .6s cubic-bezier(.2,.9,.3,1.4) 1.9s both}
.give-plus span{font-family:StructaLight,Structa;font-weight:300;font-size:.6em;color:#6b4a2a}
.give-total{margin-top:.35rem;font-family:StructaLight,Structa;font-weight:300;font-size:.875rem;color:#6b4a2a;animation:ty-fade .8s ease 2.5s both}
@keyframes ty-pop{from{opacity:0;transform:scale(.7)} to{opacity:1;transform:none}}
@keyframes ty-fade{from{opacity:0} to{opacity:1}}

@keyframes ty-in{from{opacity:0;transform:translateY(-1.2rem) rotate(-4deg)} to{opacity:1;transform:rotate(-1deg)}}
@keyframes ty-nudge{50%{transform:translateY(3px)}}
@media (max-width:560px){
  .ticket-row{grid-template-columns:repeat(2, auto)}
  .ticket::before,.ticket::after{width:4.25rem}
}
@media (prefers-reduced-motion: reduce){
  .rw-spin{animation:none}
  .ticket,.give-plus,.give-total{animation:none}
  .give-drop,.give-live{display:none}
  .give-still{display:inline}
  .ticket{transform:rotate(-1deg)}
}
.shop-box{margin-top:1.5rem;padding:1.25rem 1.25rem 1.4rem;text-align:left;background:linear-gradient(rgba(255,250,238,.66), rgba(255,250,238,.66)), url(assets/el/paper1-mid.webp) center/cover;
  border:1px solid rgba(133,18,11,.18);border-radius:1.1rem}
.shop-h{font-size:.8125rem;letter-spacing:.1em;text-transform:uppercase;color:var(--treasure-brown)}
.shop-link code,.shop-npub code{display:block;margin-top:.6rem;padding:.6rem .75rem;border-radius:.6rem;
  background:rgba(255,255,255,.7);font-size:.8125rem;word-break:break-all;user-select:all}
.shop-back{margin-top:2.25rem;font-size:.875rem}
.shop-back a{color:var(--treasure-brown)}

/* ---------- demo receipt bar (preview only: /thanks?demo=<tier>) ---------- */
.demo-bar{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.375rem;margin:0 auto 1.5rem;
  padding:.5rem .75rem;border:1.5px dashed rgba(27,18,5,.35);border-radius:999px;font-size:.8125rem}
.demo-bar span{opacity:.6;margin-right:.25rem}
.demo-bar a{padding:.25rem .75rem;border-radius:999px;color:#1B1205;text-decoration:none}
.demo-bar a:hover{background:rgba(27,18,5,.08)}
.demo-bar a[aria-current]{background:#1B1205;color:#FFF8E8}

/* ---------- phone: the "Why type B" paper is built from three pieces (torn top, tiled middle, torn
   bottom) so it grows with the text instead of stretching one strip ---------- */
@media (max-width:700px){
  .acc-panel{container-type:inline-size}
  .acc-body{position:relative;isolation:isolate;
    background:url(assets/el/acc-top.webp) left top/100% auto no-repeat,
      url(assets/el/acc-bottom.webp) left bottom/100% auto no-repeat;
    padding:clamp(5rem, 24vw, 6.5rem) 1.75rem clamp(4rem, 18vw, 5.5rem)}
  .acc-body::before{content:"";position:absolute;z-index:-1;left:0;right:0;top:calc(8.33cqw - 1px);bottom:calc(10.48cqw - 1px);
    background:url(assets/el/acc-mid.webp) left top/100% auto repeat-y}
  /* hero: the white line sits on the black under the honeycomb, not on the honey */
  .hero-sub{top:calc(100% - var(--fh) * .25 + .875rem);bottom:auto;font-size:.9375rem;text-shadow:0 1px 10px rgba(0,0,0,.85)}
}


/* ---------- /book: the book-only landing page (built by tools/build-book-page.py) ---------- */
.logo-link{display:inline-flex}
@font-face{font-family:JankedSans;src:url(fonts/janked-sans.woff2)format('woff2');font-weight:400;font-display:swap}
/* hero: deep red paper, honey dripping from the top edge, the title big, the book taped on */
.bk2{position:relative;z-index:1;min-height:100svh;display:grid;align-items:center;overflow:hidden;color:var(--wax-paper);
  padding:clamp(6.5rem, 11vw, 9rem) var(--pad) calc(var(--edge) + clamp(7.5rem, 12vw, 11rem));
  background:radial-gradient(120% 90% at 70% 40%, #9a1a0f, var(--treasure-brown) 60%, #6c0d07)}
.bk2::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:.35;mix-blend-mode:multiply;
  background:url(assets/el/paper-tan.webp) 0 0/53.33vw auto repeat}
.bk2-grid{position:relative;width:100%;max-width:78rem;margin:0 auto;display:grid;grid-template-columns:1.1fr .9fr;
  align-items:center;gap:clamp(2rem, 5vw, 5rem)}
.bk2-title{margin:0;font-weight:400}
.bk2-script{display:block;font-family:Janked,cursive;font-size:clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem);line-height:1;
  color:#FFB93B;transform:rotate(-5deg);transform-origin:left bottom;margin:0 0 .1em -.05em}
.bk2-l{display:block;font-family:JankedSans,Structa,sans-serif;text-transform:uppercase;
  font-size:clamp(3.4rem, 1.2rem + 7.4vw, 9rem);line-height:.86;letter-spacing:.005em}
.bk2-o{color:var(--orange-honey)}
.bk2-line{font-family:StructaLight,Structa;font-weight:300;font-size:var(--fs-body);margin:clamp(1.25rem, 2.4vw, 2rem) 0 0;opacity:.92}
.bk2-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.75rem;margin-top:clamp(1.5rem, 2.6vw, 2.25rem)}
.bk2 .btn{--h:3.25rem}
.bk2-read{font-size:1rem;color:var(--wax-paper);text-decoration:none;padding-bottom:.2rem;
  background:linear-gradient(var(--orange-honey), var(--orange-honey)) left bottom/100% 2px no-repeat;transition:background-size .3s ease}
.bk2-read:hover{background-size:40% 2px}
.bk2-small{font-family:StructaLight,Structa;font-weight:300;font-size:.875rem;letter-spacing:.04em;margin:1.25rem 0 0;opacity:.7}
.bk2-book{position:relative;width:min(100%, 29rem);justify-self:center;transform:rotate(3deg)}
.bk2-book .book3d{position:relative;z-index:1;padding:4% 10% 4% 6%}
.bk2-book .book-body{filter:drop-shadow(1.25rem 1.75rem 1.75rem rgba(30,0,0,.55))}
.bk2-glow{position:absolute;inset:-18% -22%;border-radius:50%;
  background:radial-gradient(closest-side, rgba(255,157,10,.42), rgba(255,157,10,.12) 55%, transparent)}
.bk2-tape{position:absolute;z-index:3;width:40%;height:auto;opacity:.93}
.bk2-tape-a{top:6%;left:-6%;transform:rotate(-38deg)}
.bk2-tape-b{bottom:0;right:-3%;transform:rotate(-38deg)}
/* taped down: the cover stays shut here, the whole book floats instead */
.bk2-book .book-front,.bk2-book .leaf{animation:none}
.bk2-book{animation:bk2float 7s ease-in-out infinite}
@keyframes bk2float{0%,100%{transform:rotate(3deg) translateY(0)}50%{transform:rotate(2deg) translateY(-.6rem)}}
.bk2-drop{position:absolute;z-index:3;left:-12%;bottom:-6%;width:24%;height:auto;transform:rotate(-12deg)}
.bookpage .bk-get{padding-top:clamp(5.5rem, 11vw, 9rem)}
.bk-camp{margin-top:clamp(1.5rem, 3vw, 2.5rem)}
@media (prefers-reduced-motion:reduce){.bk2-book{animation:none}}
.foot-home{margin:0 0 1.5rem;font-size:1rem}
.foot-home a{color:var(--treasure-brown);text-decoration:none;border-bottom:1px solid currentColor}
@media (max-width:900px){
  .bk2{align-items:start;padding-top:5.5rem;padding-bottom:calc(var(--edge) + 8.5rem)}
  .bk2-grid{grid-template-columns:1fr;gap:1.25rem;text-align:center}
  .bk2-book{order:-1;width:min(58vw, 15rem)}
  .bk2-script{transform-origin:center bottom;margin-left:0}
  .bk2-l{font-size:clamp(3rem, 14.5vw, 5rem)}
  .bk2-ctas{justify-content:center;flex-direction:column;gap:1rem}
}


@media (max-width:900px){
  .mail-tip{left:50%;top:100%;margin:.4rem 0 0 -2.6rem}
  .foot-motto{margin-bottom:2.25rem}
}

/* ---------- from v2 (10 Nov 2026) ---------- */
/* v2: sharper paper. A 2400 px seamless tile from the original scan, shown at 1200 css px
   (2x on retina) instead of a 1200 px image stretched to the full width. */
.sheet{background:url(/assets/el/paper1-top-hd.webp) left top/100% auto no-repeat,
  url(/assets/el/paper1-bottom-hd.webp) left bottom/100% auto no-repeat}
.tan{background:url(/assets/el/paper2-top-hd.webp) left top/100% auto no-repeat,
  url(/assets/el/paper2-bottom-hd.webp) left bottom/100% auto no-repeat}
.sheet::before,.tan::before{background:url(/assets/el/paper-hd.webp) center top/1200px auto repeat}
.rw{background-image:url(/assets/el/paper-hd.webp);background-size:1200px auto;background-position:center}
/* footer motto: three lines at most */
.foot-motto{font-size:clamp(1.25rem, .95rem + 1.2vw, 2rem);line-height:1.35}
.foot-motto .nw{white-space:nowrap}
/* book blurb: the three lines the client chose stay three lines on wide screens */
.book-copy .t-body p:first-child{font-size:.93em}
@media (max-width:1250px){.book-copy .t-body p:first-child br{display:none}.book-copy .t-body p:first-child{font-size:1em}}
/* book page: crowdfunding line + hive bar under the tier title */
.bookpage .bk-rewards-title{margin-bottom:.25rem}
.bk-fund{font-family:JankedSans,Structa,sans-serif;text-transform:uppercase;text-align:center;color:var(--treasure-brown);
  font-size:clamp(1.25rem, .9rem + 1.2vw, 1.875rem);letter-spacing:.02em;margin:0}
.bookpage .bk-fund + .hive{margin:clamp(1.25rem, 2.5vw, 2rem) auto clamp(2rem, 4vw, 3rem)}

/* receipt: share the donation on Nostr and X */
.share{max-width:34rem;margin:clamp(1.75rem, 4vw, 2.5rem) auto 0;padding:1.25rem 1.25rem 1.35rem;text-align:center;
  background:linear-gradient(rgba(255,250,238,.66), rgba(255,250,238,.66)), url(assets/el/paper-hd.webp) center/1200px auto;
  border:1px solid rgba(133,18,11,.14);border-radius:1rem;box-shadow:0 .6rem 1.2rem -1rem rgba(80,40,0,.6);
}
.share-h{font-family:Janked,cursive;font-size:clamp(2rem, 1.6rem + 1.4vw, 2.6rem);line-height:1;color:var(--treasure-brown);margin:0}
.share-sub{font-family:StructaLight,Structa;font-weight:300;font-size:.875rem;color:#6b4a2a;margin:.35rem 0 .9rem}
.share-text{display:block;width:100%;box-sizing:border-box;resize:vertical;min-height:9.5rem;padding:.8rem .9rem;
  font:300 1rem/1.45 StructaLight,Structa,sans-serif;color:#1B1205;background:#FFFBF2;
  border:1px dashed rgba(133,18,11,.35);border-radius:.75rem}
.share-text:focus{outline:2px solid #FF9D0A;outline-offset:1px;border-color:transparent}
.share-btns{display:flex;flex-wrap:wrap;justify-content:center;gap:.65rem;margin-top:.9rem}
.share-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-width:10.5rem;padding:.75rem 1.2rem;
  font:400 .9375rem/1 Structa,sans-serif;letter-spacing:.02em;border:0;border-radius:999px;cursor:pointer;text-decoration:none;
  transition:transform .2s ease, box-shadow .2s ease, background .2s}
.share-btn svg{width:1.05rem;height:1.05rem;flex:none}
.share-btn:hover{transform:translateY(-2px);box-shadow:0 .7rem 1.2rem -.7rem rgba(40,10,0,.55)}
.share-nostr{background:#662482;color:#fff}
.share-nostr.is-done{background:#2E8B57}
.shop-page a.share-x,.share-x{background:#0F0F0F;color:#fff}
.share-hint{font-family:StructaLight,Structa;font-weight:300;font-size:.875rem;color:#2E6B45;margin:.75rem 0 0}
.share-tmp{position:fixed;left:-9999px;top:0;opacity:0}
@media (prefers-reduced-motion:reduce){.share{animation:none}}
