/* TMPL effects layer (2026-11-14). Each block stands alone: delete it to remove that effect.
   Rules marked .fx only apply once fx.js has loaded Motion and reduced motion is off. */

/* 1. Steps: gold connector between the numbered badges (Component Gallery "stepper") */
.hw li{position:relative}
.hw li:not(:last-child)::after{content:"";position:absolute;z-index:1;left:calc(var(--fx-pl,16px) + 21px);top:calc(var(--fx-pt,16px) + 48px);bottom:calc(-8px - var(--fx-pt,16px) + 4px);width:2px;border-radius:1px;background:linear-gradient(rgba(201,168,106,.55),rgba(201,168,106,.18));transform-origin:top;transform:scaleY(var(--fx-line,1))}
.hw li{align-items:start}
.hw li>div{padding-top:10px}
.pt .hw li{--fx-pt:8px;--fx-pl:0px}
.fx .hw li.rv{transition:none}
.fx .hw li.rv:not(.fx-done){--fx-line:0}

/* 2. Cart count and box: spring bump instead of the CSS keyframe */
.fx .cart b.bump{animation:none}

/* 3. Member card: slow gold light running round the border (Magic UI "border beam") */
@property --fx-a{syntax:"<angle>";inherits:false;initial-value:0deg}
#rewards .mcard::after{content:"";position:absolute;inset:0;z-index:2;border-radius:inherit;padding:1.5px;pointer-events:none;background:conic-gradient(from var(--fx-a),transparent 0 66%,rgba(226,198,142,.12) 76%,rgba(226,198,142,.75) 87%,rgba(255,240,210,.95) 90%,transparent 95%);-webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);animation:fx-beam 7s linear infinite}
@keyframes fx-beam{to{--fx-a:360deg}}
@media (prefers-reduced-motion:reduce){#rewards .mcard::after{animation:none;opacity:.5}}

/* 4. "$50" count-up: fixed width so the headline never reflows while it counts */
.fx-n{display:inline-block;font-variant-numeric:tabular-nums;text-align:left}

/* 5. Shelf tilt: mouse and trackpad only, never on touch (it would fight the swipe) */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .shelf .sv{transform-style:preserve-3d;transition:opacity .5s var(--ease),transform .5s var(--ease)}
  .shelf .sv.fx-tilt{transition:opacity .5s var(--ease),transform .12s linear}
}

/* 6. Notify me: a gold switch that turns on when you're on the list (Uiverse-style toggle) */
#alf .btn{gap:12px}
.fx-sw{position:relative;flex:none;width:34px;height:20px;border-radius:10px;box-shadow:inset 0 0 0 1.5px rgba(19,18,9,.55);transition:background .35s var(--ease)}
.fx-sw i{position:absolute;top:4px;left:4px;width:12px;height:12px;border-radius:50%;background:rgba(19,18,9,.6);transition:transform .45s cubic-bezier(.34,1.56,.64,1),background .35s var(--ease)}
#alf .btn.fx-on .fx-sw{background:var(--gold-ink)}
#alf .btn.fx-on .fx-sw i{transform:translateX(14px);background:var(--gold-hi)}
@media (prefers-reduced-motion:reduce){.fx-sw,.fx-sw i{transition:none}}

/* 7. FAQ: answers open and close smoothly (Component Gallery "accordion") */
.faq details p{overflow:hidden}
@media (max-width:400px){#alf .btn{padding:0 16px;gap:9px}#alf .fx-sw{width:30px;height:18px}#alf .fx-sw i{width:10px;height:10px}#alf .btn.fx-on .fx-sw i{transform:translateX(12px)}}


/* ---- chalk note under the hero fleet: "wth is this?" + arrow at the front vial; tap opens that peptide's page.
   Yellow chalk is an exception to the gold-only rule, asked for by Julio 2026-11-14. Delete this block to remove it. */
/* the chalk note: a yellow hand-drawn arrow pointing up at the front vial; tap it to read about that peptide */
.fleet{--nb:36px}
.fnote{display:block;position:absolute;z-index:7;left:max(14px,calc(50% - var(--vw)*.62 - 7.4em));bottom:6px;transform:rotate(-5deg);transform-origin:0 50%;margin:0;padding:6px 4px;border:0;background:none;color:#F4D35E;font:400 clamp(19px,5.6vw,23px)/1 'Gochi Hand','Comic Sans MS',cursive;letter-spacing:.01em;white-space:nowrap;cursor:pointer;filter:url(#chalk);-webkit-tap-highlight-color:transparent;animation:fnwig 3.2s ease-in-out infinite}
.fnote .fnt{text-shadow:none}
.fnote .fna{position:absolute;left:96%;bottom:58%;width:60px;height:46px;overflow:visible}
.fnote .fna path{fill:none;stroke:#F4D35E;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.fnote .fnp{stroke-dasharray:90;stroke-dashoffset:90;animation:fndraw .9s .9s cubic-bezier(.4,0,.2,1) forwards}
.fnote .fnh{stroke-dasharray:32;stroke-dashoffset:32;animation:fndraw .35s 1.7s ease-out forwards}
.fnote:active{transform:rotate(-5deg) scale(.96)}
@keyframes fndraw{to{stroke-dashoffset:0}}
@keyframes fnwig{0%,100%{rotate:0deg}50%{rotate:1.6deg}}
@media (prefers-reduced-motion:reduce){.fnote{animation:none}.fnote .fnp,.fnote .fnh{animation:none;stroke-dashoffset:0}}

/* unslop 2026-11-15: the member card keeps a still gold edge, no running beam */
#rewards .mcard::after{animation:none;display:none}
.fnote{animation:none}

/* lux (Julio 2026-11-16): the two buttons that take money, Check out and Place order.
   Glass fill, a bright light that runs round the outside edge, a soft breathing halo, a slow sheen.
   Delete this block to remove it. */
@property --lux-a{syntax:'<angle>';inherits:false;initial-value:0deg}
.btn.lux{overflow:visible;isolation:isolate;background:linear-gradient(180deg,#EBD3A0 0%,#D2B176 48%,#B9965B 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(0,0,0,.22),0 0 0 1px rgba(226,198,142,.35),0 8px 24px -8px rgba(201,168,106,.35);
  animation:luxhalo 2.8s ease-in-out infinite}
.btn.lux:hover{background:linear-gradient(180deg,#F1DDB0 0%,#DCBC82 48%,#C3A063 100%)}
.btn.lux::before{content:"";position:absolute;inset:-2px;border-radius:16px;padding:2px;pointer-events:none;z-index:-1;
  background:conic-gradient(from var(--lux-a),transparent 0deg 220deg,rgba(226,198,142,.35) 260deg,#FFF8E6 318deg,#FFFFFF 330deg,rgba(226,198,142,.35) 345deg,transparent 360deg);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
  animation:luxspin 3s linear infinite}
.btn.lux::after{display:block;inset:0;border-radius:inherit;transform:none;z-index:0;pointer-events:none;
  background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.42) 50%,transparent 60%) no-repeat;background-size:250% 100%;background-position:150% 0;
  animation:luxsheen 4.5s var(--ease) infinite}
@keyframes luxspin{to{--lux-a:360deg}}
@keyframes luxsheen{0%,55%{background-position:150% 0}85%,100%{background-position:-50% 0}}
@keyframes luxhalo{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(0,0,0,.22),0 0 0 1px rgba(226,198,142,.35),0 8px 24px -8px rgba(201,168,106,.35)}
  50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(0,0,0,.22),0 0 0 1px rgba(226,198,142,.5),0 8px 26px -6px rgba(226,198,142,.4)}}
@media (prefers-reduced-motion:reduce){.btn.lux{animation:none}.btn.lux::before{animation:none;--lux-a:200deg}.btn.lux::after{animation:none;display:none}}

/* shelf hint (2026-11-16): the same yellow chalk as the hero note; gone after the first vial tap */
.shtap{font:400 20px/1.1 'Gochi Hand',cursive;color:#F4D35E;transform:rotate(-2deg);white-space:nowrap}
.shtap .sha{display:inline-block;width:22px;height:26px;margin-right:6px;vertical-align:-4px;overflow:visible;animation:shup 1.6s ease-in-out infinite}
.shtap .sha path{fill:none;stroke:#F4D35E;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
@keyframes shup{50%{transform:translateY(-4px)}}
@media (prefers-reduced-motion:reduce){.shtap .sha{animation:none}}

/* The angled TMPL box (Julio 2026-11-16): a cut-out render that sits on the page. No card, frame, mask or rounded edge.
   Every layer (base, vials per slot) is the same 1204x1040 alpha image, so they stack exactly. */
html .bx3,html .sci .bx3,html .spanel .bx3{aspect-ratio:1204/1040;overflow:visible;border-radius:0;background:none;-webkit-mask-image:none;mask-image:none;perspective:1400px} /* html: beats the edge fade in responsive.css, the cut-out has no edges */
.bx3 img,.sci .bx3 img{aspect-ratio:auto;height:auto;transform:none}
.bx3 .bxt{position:absolute;inset:0;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.22,1,.36,1)}
.bx3 .lay.drop{animation:bxdrop2 .75s cubic-bezier(.3,1.35,.5,1) both}
.bx3 .lay.landed{animation:bxland2 .5s cubic-bezier(.22,1,.36,1) both}
@keyframes bxdrop2{from{transform:translateY(-14%);opacity:0}45%{opacity:1}to{transform:none;opacity:1}}
@keyframes bxland2{from{opacity:0;transform:translateY(-2%)}to{opacity:1;transform:none}}
.bx3.pulse{animation:bxpulse2 .6s ease}
@keyframes bxpulse2{40%{filter:drop-shadow(0 0 18px rgba(201,168,106,.35))}100%{filter:none}}
.bx3 .more{bottom:4%;right:6%}
html .unbox img{aspect-ratio:1204/1040;object-fit:contain;border-radius:0;background:none;-webkit-mask-image:none;mask-image:none}
@media (prefers-reduced-motion:reduce){.bx3 .lay.drop,.bx3 .lay.landed{animation:none}.bx3 .bxt{transition:none}}
@media (min-width:1000px){html .spanel .bx3{transform:scale(1.2);transform-origin:40% 45%}}
@media (max-width:999px){html .spanel .bx3{transform:none}}   /* full width on phones now (design review 2026-11-19), no blow-up needed */
@media (max-width:380px){html .spanel .bx3{transform:scale(1.12)}}

/* the vial's flight into the box (VF in index.html) draws its landing over the box untilted: the box eases flat while a vial flies in */
.bx3.vf .bxt{transform:none!important}

/* "What should we add next?" (index.html #vote): the members' ballot. One card, two faces: the ballot, then the standings once you vote.
   Both faces sit in the same grid cell so the card is as tall as the taller face; the flip is a real 3D turn (reduced motion: a fade). */
.ballot{padding-top:72px;padding-bottom:72px}
.ballot>.in{display:grid;gap:26px}
.ballot .lede{margin-top:12px;max-width:34ch}
@media (min-width:1000px){.ballot>.in{grid-template-columns:1fr minmax(0,520px);align-items:center;gap:56px}}
.ballotc{perspective:1600px;width:100%;max-width:520px}
.bin{display:grid;transform-style:preserve-3d;transition:transform .8s var(--ease)}
.bin.turned{transform:rotateY(180deg)}
.bf{grid-area:1/1;backface-visibility:hidden;-webkit-backface-visibility:hidden;border-radius:20px;background:#0B0A07;box-shadow:inset 0 0 0 1px rgba(201,168,106,.4),0 30px 60px rgba(0,0,0,.5);padding:20px 18px 18px}
.bback{transform:rotateY(180deg)}
/* hide each face outright at the turn's midpoint (backface-visibility alone is not reliable); a hidden face takes no taps */
.bf{transition:visibility 0s linear .4s}
.bin.turned .bfront,.bin:not(.turned) .bback{visibility:hidden}
.bt{display:flex;justify-content:space-between;align-items:baseline;font:500 13px/1 var(--font);color:var(--ink-3);padding:0 4px 14px;border-bottom:1px solid var(--s3)}
.bt .bn{color:var(--gold-hi);font-variant-numeric:tabular-nums}
.bl{display:grid;padding:6px 0}
.bo{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:12px;min-height:48px;padding:0 4px;background:none;border:0;border-bottom:1px solid var(--s3);color:var(--ink);text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.bo:last-child{border-bottom:0}
.bo b{font:500 18px/1.2 var(--font);letter-spacing:-.01em}
.bo .ds{font:500 13px/1 var(--font);color:var(--ink-3);font-variant-numeric:tabular-nums}
.bx{width:24px;height:24px;border-radius:50%;box-shadow:inset 0 0 0 1.5px rgba(201,168,106,.55);display:grid;place-items:center;transition:background .25s var(--ease),box-shadow .25s var(--ease),transform .35s cubic-bezier(.3,1.6,.5,1)}
.bx svg{width:14px;height:14px;fill:none;stroke:var(--gold-ink);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:24;stroke-dashoffset:24;transition:stroke-dashoffset .3s var(--ease) .05s}
.bo.on .bx{background:var(--gold);box-shadow:none;transform:scale(1.08)}
.bo.on .bx svg{stroke-dashoffset:0}
.bo.on b{color:var(--gold-hi)}
.bo:focus-visible{outline:none}.bo:focus-visible .bx{box-shadow:0 0 0 2px var(--gold-hi)}
.bf2{padding:14px 0 0}
.bf2 .fine{margin:10px 2px 0;text-align:center;font:400 13px/20px var(--font);color:var(--ink-3)}
.bf2 .btn[disabled]{opacity:.45;cursor:default}
.blead{display:grid;grid-template-columns:64px 1fr;gap:14px;align-items:center;padding:14px 4px;border-bottom:1px solid var(--s3)}
.blead img{width:64px;height:auto;display:block}
.blead small{display:block;font:500 13px/1 var(--font);color:var(--ink-3)}
.blead b{display:block;font:500 24px/1.1 var(--font);letter-spacing:-.03em;margin:6px 0 4px}
.blead span{font:500 14px/1.3 var(--font);color:var(--gold-hi)}
.bs{list-style:none;margin:0;padding:6px 4px 0;display:grid;gap:12px}
.bs li{display:grid;grid-template-columns:1fr auto;gap:6px 10px;align-items:baseline}
.bs .nm{font:500 16px/1.2 var(--font);display:flex;align-items:center;gap:7px}
.bs .nm i{width:6px;height:6px;border-radius:50%;background:var(--gold);flex:none}
.bs li.me .nm{color:var(--gold-hi)}
.bs .pc{font:600 14px/1 var(--font);color:var(--gold-hi);font-variant-numeric:tabular-nums}
.bs .bar{grid-column:1/-1;height:4px;border-radius:4px;background:var(--s3);overflow:hidden}
.bs .bar span{display:block;height:100%;width:var(--w,0%);background:var(--gold);border-radius:4px;transition:width 1s cubic-bezier(.22,1,.36,1)}
.bs li:nth-child(2) .bar span{transition-delay:.05s}.bs li:nth-child(3) .bar span{transition-delay:.1s}.bs li:nth-child(4) .bar span{transition-delay:.15s}.bs li:nth-child(n+5) .bar span{transition-delay:.2s}
@media (prefers-reduced-motion:reduce){.bin{transition:none}.bin.turned{transform:none}.bback{transform:none}.bf{transition:opacity .2s linear,visibility 0s}.bin.turned .bfront,.bin:not(.turned) .bback{opacity:0;pointer-events:none}.bx,.bx svg,.bs .bar span{transition:none}}

/* audit 2026-11-17: the lux light plays a few times when the button appears, then rests.
   It plays again on hover, press or keyboard focus. Delete this block to loop forever again. */
.btn.lux{animation-iteration-count:3}
.btn.lux::before{animation-iteration-count:2}
.btn.lux::after{animation-iteration-count:2}
.btn.lux:hover,.btn.lux:focus-visible,.btn.lux:active{animation-name:luxhalo2}
.btn.lux:hover::before,.btn.lux:focus-visible::before,.btn.lux:active::before{animation-name:luxspin2;animation-iteration-count:1}
.btn.lux:hover::after,.btn.lux:focus-visible::after,.btn.lux:active::after{animation-name:luxsheen2;animation-iteration-count:1}
@keyframes luxspin2{to{--lux-a:360deg}}
@keyframes luxsheen2{0%{background-position:150% 0}100%{background-position:-50% 0}}
@keyframes luxhalo2{0%,100%{box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(0,0,0,.22),0 0 0 1px rgba(226,198,142,.35),0 8px 24px -8px rgba(201,168,106,.35)}
  50%{box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -1px 0 rgba(0,0,0,.22),0 0 0 1px rgba(226,198,142,.5),0 8px 26px -6px rgba(226,198,142,.4)}}
/* audit 2026-11-17: the plain gold button sheen passes twice, then rests; it passes again on hover or press. */
.btn::after{animation-iteration-count:2}
.btn:not(.lux):hover::after,.btn:not(.lux):active::after,.btn:not(.lux):focus-visible::after{animation-name:sheen2;animation-iteration-count:1}
@keyframes sheen2{0%,62%{transform:translateX(-120%)}100%{transform:translateX(120%)}}

/* 2026-11-18 (David Feldman "10 niche design hacks" reel, tips 9 + 10):
   9. the swipeable vial shelf fades at both edges, so people see there is more to swipe.
   10. every small control gives a tiny press, not just the big buttons. Text links dim instead of shrinking. */
@media (max-width:999px){.shelf{-webkit-mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,transparent,#000 28px,#000 calc(100% - 28px),transparent)}}
.qty button,.cart,.x,.gx,.lookx,.cp,.gref-t,.dvchips button,.bo,.iabn button{transition:transform .16s cubic-bezier(.22,1,.36,1)}
.qty button:active,.cart:active,.x:active,.gx:active,.lookx:active,.cp:active,.gref-t:active,.dvchips button:active,.bo:active,.iabn button:active{transform:scale(.94);transition-duration:.06s}
.dlink{transition:opacity .16s ease-out}.dlink:active{opacity:.55;transition-duration:.06s}
@media (prefers-reduced-motion:reduce){.qty button:active,.cart:active,.x:active,.gx:active,.lookx:active,.cp:active,.gref-t:active,.dvchips button:active,.bo:active,.iabn button:active{transform:none}}

/* Reading line under the top bar (fx.js "Reading line") */
.fx-read{position:absolute;left:0;right:0;bottom:0;height:2px;pointer-events:none}
.fx-read i{position:absolute;inset:0;background:var(--gold);transform:scaleX(0);transform-origin:0 50%}
.fx-read b{position:absolute;right:max(12px,env(safe-area-inset-right,0px));top:-7px;width:16px;height:16px;border-radius:50%;background:var(--gold);display:grid;place-items:center;opacity:0;transform:scale(.4);transition:opacity .2s cubic-bezier(.22,1,.36,1),transform .35s cubic-bezier(.22,1,.36,1)}
.fx-read b::after{content:"";width:4px;height:8px;border:solid var(--gold-ink,#000);border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}
.fx-read.full b{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.fx-read b{transition:none}}

/* Order placed seal (fx.js block 9) */
.fx-placed{display:grid;justify-items:center;gap:6px;padding:8px 0 22px;text-align:center;overflow:hidden;transition:height .6s cubic-bezier(.22,1,.36,1),opacity .4s,padding .6s}
.fx-placed svg{width:64px;height:64px;fill:none;stroke:var(--gold,#C9A86A);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.fx-placed .c{stroke-dasharray:176;stroke-dashoffset:176;transform:rotate(-90deg);transform-origin:32px 32px}
.fx-placed .k{stroke-dasharray:36;stroke-dashoffset:36}
.fx-placed b{font:600 24px/1.1 var(--font);color:var(--ink);opacity:0;transform:translateY(6px)}
.fx-placed span{font-size:16px;color:var(--ink-2);opacity:0}
.fx-placed.on .c{transition:stroke-dashoffset .7s cubic-bezier(.65,0,.35,1);stroke-dashoffset:0}
.fx-placed.on .k{transition:stroke-dashoffset .35s cubic-bezier(.22,1,.36,1) .6s;stroke-dashoffset:0}
.fx-placed.on b{transition:opacity .35s .8s,transform .45s cubic-bezier(.22,1,.36,1) .8s;opacity:1;transform:none}
.fx-placed.on span{transition:opacity .35s 1s;opacity:1}
.fx-placed.out{opacity:0;padding-block:0}
/* design review 2026-11-19: no hairlines or outlined, shadowed cards; rows are separated by a tone step */
.bf{box-shadow:none;background:#12110C}
.bt{border-bottom:0;padding-bottom:10px}
.bl{gap:4px}
.bo,.bo:last-child{border-bottom:0;border-radius:12px;padding:0 12px;background:rgba(237,235,231,.035)}
.bo.on{background:rgba(201,168,106,.1)}
.floor{background:none!important}

/* 10. Tap timing (Julio, 2026-11-19, "UI under 300 ms"): anything that answers a tap settles in 300 ms or less.
   Scene moves (gate, look-inside, hero, reveals, the order seal) keep their longer, calmer timing on purpose. */
.btn{transition:transform .2s var(--ease),background .3s var(--ease)}
.plain summary svg,.faq summary svg{transition:transform .25s var(--ease)}
.toast{transition:opacity .2s var(--ease),transform .3s var(--ease)}
.gtk{transition:opacity .15s var(--ease),transform .25s var(--ease)}
.fx-sw{transition:background .25s var(--ease)}
.fx-sw i{transition:transform .3s cubic-bezier(.34,1.56,.64,1),background .25s var(--ease)}
.bx{transition:background .2s var(--ease),box-shadow .2s var(--ease),transform .3s cubic-bezier(.3,1.6,.5,1)}
.bx svg{transition:stroke-dashoffset .25s var(--ease) .05s}
.dots i,.tpip i,.lookp i{transition-duration:.3s}

/* 11. Place order wind-up (anticipation): the button gathers in for a beat, then pushes forward as "Placing your order…" appears.
   Pure feedback: the order request is sent at the same moment, nothing waits on the animation. */
@keyframes fx-windup{0%{transform:scale(1)}35%{transform:scale(.94)}70%{transform:scale(1.015)}100%{transform:scale(1)}}
#ck-go.fx-wind{animation:fx-windup .28s var(--ease) both}
@media (prefers-reduced-motion:reduce){#ck-go.fx-wind{animation:none}}
/* desktop: the ballot is wide and in two columns, so it sits level with its heading instead of running half a screen below it (design review 2026-11-19) */
@media (min-width:1000px){.ballot>.in{grid-template-columns:minmax(0,1fr) minmax(0,720px)}.ballotc{max-width:720px}#bfront .bl{grid-template-columns:1fr 1fr;column-gap:8px}}

/* 12. Reel polish (2026-11-20): rules from 75 design reels, see research_notes/reels75/tmpl_change_list.md (item numbers in brackets) */
/* [1][11][19] buttons: 150 ms ease-out press, optically centred label, radius 16 to match the 16 px inputs beside them */
.btn{transition:transform 150ms ease-out,background .3s var(--ease);border-radius:16px;text-box-trim:trim-both;text-box-edge:cap alphabetic}
/* [30] the endless shine stays on the hero Shop button only */
.btn::after{animation:none;opacity:0}.hero .btn::after{animation:sheen 4.5s var(--ease) infinite;opacity:1}
/* [2] the bottom sheet: in 250 ms, out 200 ms (exits ~20% shorter), one curve; backdrop matches */
.sci .pn{transition:transform 200ms cubic-bezier(.32,.72,0,1)}.sci.in .pn{transition-duration:250ms}
.sci .bk{transition:opacity 200ms ease-out}.sci.in .bk{transition-duration:250ms}
/* [27] depth from lighter surfaces, not shadows: cards and rows on --s2, the sheet on --s3 */
.faq details,.plain details{background:var(--s2)}
.sci .pn,.sci .hd{background:var(--s3)}.sci .x{background:var(--s4)}
.sci .act{background:linear-gradient(to top,var(--s3) 70%,transparent)}   /* fade matches the grey panel; the old #0C0C0C fade read as a black shadow behind the Add button (Julio, 2026-11-20) */
/* [28] black shadows on black do nothing */
.mcard{box-shadow:none}
/* [4] list rows arrive 30 ms apart in 250 ms (section headlines keep their slower reveal) */
.faq .rv,.plain .rv,.grid .rv,.cards .rv,.vbl .rv{transition-duration:250ms;transition-timing-function:ease-out;transition-delay:calc(var(--i,0)*30ms)}
/* [12] link underlines clear the descenders */
a,.dlink{text-underline-offset:.2em}
/* [15] headlines wrap evenly; section titles scale with the screen up to their old desktop size */
h1,h2,h3{text-wrap:balance}
.h2{font-size:clamp(2rem,1rem + 5vw,2.125rem)}
@media (min-width:1000px){.h2{font-size:clamp(2.125rem,1rem + 3vw,3.25rem)}}
/* [16] product names never push a card taller than two lines */
.card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
/* [17] every changing number keeps its width */
.cpl,.sum,.cartp,.pbar,#cc,.spn,.qty span{font-variant-numeric:tabular-nums}
/* [19] nested corners: inner = outer - padding (cart thumbnails sit inside 16 px controls) */
.cpl img{border-radius:8px}
/* [20] gold is the only accent: the "added" check and the online dots were green */
.adok{background:var(--gold);color:var(--gold-ink)}
.top .credit::before,.hero .cnorm .online .dot,.online .dot{background:var(--gold);box-shadow:0 0 0 3px rgba(201,168,106,.2)}
/* [22] the members' ballot is pick-several: square checkboxes, not radio circles */
.bo .bx{border-radius:6px}
/* [25] phones: the lab report link sits with the batch line, above the box */
@media (max-width:999px){.spanel{grid-template-areas:"h" "m" "z" "a" "n" "l" "b" "c"}}
/* [26] small controls get a 44 px tap area without growing the icon */
.lang{min-height:44px}.sci .x,.cartp .x,[data-sx].x{min-width:44px;min-height:44px}

/* 13. Phones: the collection and the box on one screen (Julio, 2026-11-20: "fit it all ... without scrolling up and down").
   The shelf is a little shorter; the box moves up beside the name, price and sizes, so the vial drops a short way
   straight from the shelf into the box instead of flying down over the Add button and the text. All copy stays. */
@media (max-width:999px){
  .shelf{--sw:min(30vw,170px,max(80px,calc((100svh - 600px)*9/23)))}
  .spanel{grid-template-columns:minmax(0,1fr) minmax(0,37%);column-gap:12px;
          grid-template-areas:"h b" "m b" "z b" "a a" "n n" "l l" "c c"}
  .spanel .sp-h{flex-wrap:wrap;column-gap:10px;row-gap:0;align-items:baseline}
  .spanel .bx3{aspect-ratio:1080/830;margin:0;align-self:center;border-radius:16px}
  .spanel .bx3 img{transform:translateY(-2.5%)}
  .spanel .meta{min-height:0;font-size:13.5px;line-height:20px;letter-spacing:-.01em}
  .spanel .ybc{margin:0}
}

/* 2026-11-20 Fitts's law pass: text links get a 44 px tap area without changing how they look */
#sp-rep::after{inset:-6px -8px!important}
.dlink{position:relative}
.dlink::before{content:"";position:absolute;inset:-5px -8px}
/* 2026-11-20 empty "My orders": the next step reads as an action */
#acol [data-go]{color:var(--gold-hi);min-height:44px}

/* Phone polish (2026-11-20, Julio: "ship all three"): $25 strip, tighter section rhythm, soft fade under the sticky tabs */
/* 2: tighter rhythm on phones (sections were 72px top + bottom = 144-238px of black between them) */
@media (max-width:999px){section{padding-block:48px}}
/* 3: the sticky tabs fade into the page instead of cutting the content under them with a hard edge */
@media (max-width:999px){
  .tabs{-webkit-mask-image:none!important;mask-image:none!important}
  .tabs::after{content:"";position:absolute;left:0;right:0;top:100%;height:22px;background:linear-gradient(#000,rgba(0,0,0,0));pointer-events:none}
}
/* 1: the $25 offer starts as a slim strip above the bottom bar; a tap opens the full card */
.ulk-s{position:fixed;left:10px;right:10px;z-index:29;bottom:var(--ulk-b,calc(10px + env(safe-area-inset-bottom,0px)));display:flex;align-items:center;gap:10px;height:52px;padding:0 6px 0 16px;border-radius:16px;background:#16140f;border:1px solid rgba(201,168,106,.35);box-shadow:0 12px 30px rgba(0,0,0,.55);color:#EDEBE7;font:600 15px var(--font);transform:translateY(calc(100% + 30px));opacity:0;transition:transform .5s cubic-bezier(.22,1,.36,1),opacity .35s ease,bottom .5s cubic-bezier(.22,1,.36,1)}
.ulk-s.on{transform:none;opacity:1}
.ulk-s .o{flex:1;min-width:0;display:flex;align-items:center;gap:10px;height:100%;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;padding:0}
.ulk-s .o i{margin-left:auto;font-style:normal;height:36px;display:inline-flex;align-items:center;padding:0 14px;border-radius:999px;background:#C9A86A;color:#131209;font-size:14px}
.ulk-s .sx{flex:none;width:40px;height:40px;border:0;border-radius:50%;background:none;color:#8A847A;font-size:18px;cursor:pointer}
@media (prefers-reduced-motion:reduce){.ulk-s{transition:none}}
/* the chat bubble steps up while the strip is showing */
html.ulks .tc-b{--tcu:-62px}

/* 2026-11-22 pro audit (Julio OK): skip link, 44px targets, 13px floor, proof row, desktop offer strip */
.skip{position:absolute;left:-999px;top:8px;z-index:2147483000;background:#EDEBE7;color:#000;padding:12px 16px;border-radius:10px;font:600 15px var(--font)}
.skip:focus{left:12px}
.hsign,.dlink{min-height:44px;display:inline-flex;align-items:center}
.dlink[hidden],.hsign[hidden],button[hidden]{display:none!important} /* 2026-11-24 a11y: hidden buttons were still Tab stops */
.tc-b{min-width:44px;min-height:44px}
#langb{min-width:44px}
.tc-fine{font-size:13px}
.hero .cnorm .fspec .fs b{font-size:22px;color:var(--ink)}
.hero .cnorm .fspec .fs:first-child b{color:var(--gold-hi)}
.hero .cnorm .fspec .fs small{font-size:13px;color:var(--ink-2)}
@media (min-width:700px){.ulk-s{left:auto;right:24px;width:420px}}
@media (forced-colors:active){.bo:focus-visible .bx{outline:2px solid CanvasText}}
@media (max-height:480px) and (orientation:landscape){header.top{position:static}}
html{scroll-padding-top:72px}
.tag .w{color:rgba(237,235,231,.5)}
.tag .w.g.on{color:var(--ink)}
@media (prefers-reduced-motion:reduce){.tag .w{color:var(--ink)}}
#ocred[hidden],#rprog[hidden]{display:none!important}
.hero .cnorm .fspec #gp-l{font-size:16px;white-space:normal;line-height:1.2}
.hero .cnorm .fspec .fs:last-child{flex:1 1 auto;min-width:0}
.hero .cnorm .fspec #gp-l{font-size:15px;overflow:visible;text-overflow:clip}
.hero .cnorm .fspec .fs{padding:0 14px}
/* FAQ tabs (faqtabs.js) */
.ftabs{display:none}
html.ftabsOn .ftabs{display:flex;gap:8px;margin:0 0 14px;flex-wrap:wrap}
.ftabs button{min-height:44px;padding:0 18px;border:0;border-radius:999px;background:var(--s2);color:var(--ink-2);font:500 15px var(--font);cursor:pointer}
.ftabs button[aria-pressed="true"]{background:var(--ink);color:#000}
.faq details[hidden]{display:none}
.hero .fspec{transition:opacity .35s var(--ease)}
.hero .fspec.nopur{opacity:0;pointer-events:none}
.ftabs button{transition:background .2s var(--ease),color .2s}
.ftabs button:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
html.ftabsOn #faq .faq{min-height:560px}
@media (min-width:900px){html.ftabsOn #faq .faq{min-height:420px}}

/* Ask TMPL question cards (2026-11-23): the FAQ opens the concierge with the question preloaded; the full answers stay under "All answers". */
.askq{display:grid;gap:10px;margin:0 0 18px}
.aq{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:56px;padding:12px 18px;border:0;border-radius:16px;background:var(--s1);color:var(--ink);font:500 16px/1.35 var(--font);text-align:left;cursor:pointer;transition:background .2s var(--ease)}
.aq svg{flex:none;width:18px;height:18px;color:var(--ink-3);transition:transform .2s var(--ease),color .2s var(--ease)}
.aq:hover{background:var(--s2)}.aq:hover svg{transform:translateX(3px);color:var(--ink)}
.aq-own{box-shadow:inset 0 0 0 1px rgba(237,235,231,.22);background:none}
.aq:focus-visible{outline:2px solid var(--gold-hi);outline-offset:3px}
.faq-all{background:none;border-radius:16px}
.faq-all>summary{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 18px;border-radius:16px;color:var(--ink-2);font-weight:500;cursor:pointer;list-style:none}
.faq-all>summary::-webkit-details-marker{display:none}
.faq-all>summary svg{width:20px;height:20px;transition:transform .25s var(--ease)}
.faq-all[open]>summary svg{transform:rotate(45deg)}
@media (min-width:760px){.askq{grid-template-columns:1fr 1fr}}
