/* ============================================================
   ELYRIA BIO — THE HOMEPAGE, STEP B (2026-11-17)
   Linked from index.html only, after mobile.css and before palette.css (palette.css stays the last sheet).
   Every Step B rule lives here: the hero's two columns and the vial stage, and the new sections
   (weekly deals, lead, laboratories strip, pack band, released lots, how ordering works).

   COLOUR: tokens only (store.css and palette.css define them). No literal accent or deal colour.
   MOTION: there is no reduced-motion media query in this file, on purpose. Everything that moves by
   itself (the scan line, the rolling digits, a pulsing dot, the stage's own transitions) is written
   under html.home-motion, a class store.js sets (syncHomeMotion) only when the visitor has not asked
   for reduced motion, the page is not in the still mode (html.fx-lite) and the helix's watchdog has
   not sent it to the still. Without the class nothing here animates and home.js advances nothing.
   No backdrop-filter anywhere (tools/check-no-backdrop-filter.mjs).
   PHONES: 16px fields, 44px targets, an 11px type floor under 820px, hover styles only under (hover:hover).
   ============================================================ */

/* ---------- shared recipes ---------- */
.hb-in{max-width:1280px;margin:0 auto;padding-left:clamp(16px,3vw,28px);padding-right:clamp(16px,3vw,28px)}
.hb-eyebrow{display:block;font-family:var(--font-ui);font-size:12px;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--accent)}
.hb-h2{font-family:var(--font-display);font-stretch:125%;font-weight:200;text-transform:uppercase;letter-spacing:.14em;color:var(--paper);margin:0}
.hb-h2-l{font-size:clamp(1.55rem,3.5vw,3rem);line-height:1.2;margin-top:18px;max-width:15ch;text-wrap:balance}
.hb-h2-m{font-size:clamp(1.4rem,2.8vw,2.4rem);line-height:1.22;margin-top:14px;text-wrap:balance}
.hb-h2-s{font-size:clamp(1.15rem,2.2vw,1.8rem);line-height:1.3;margin-top:12px;text-wrap:balance}
.hb-name{font-family:var(--font-display);font-stretch:125%;font-weight:300;letter-spacing:.06em;text-transform:none}
.hb-mono{font-family:var(--font-num)}

/* THE ONE NEW STRUCK PRICE (store.js listWasHTML(), between its markers: the single-vial price times the quantity, from the
   price rail, beside a pack or deal price from the same rail). tools/check-no-fabrication.mjs holds who may draw it. */
.list-was{font-family:var(--font-num);color:var(--mist);text-decoration:line-through}
.you-save{color:var(--accent)}

/* ---------- section frames (the fills are near-opaque: these sections scroll over the fixed helix field, which has no cap for them) ---------- */
.wdeals{position:relative;scroll-margin-top:90px;border-top:1px solid rgba(var(--accent-rgb),.14);overflow:hidden;
  background:radial-gradient(70% 90% at 0% 0%,rgba(var(--accent-rgb),.09),rgba(var(--accent-rgb),0) 60%),rgba(var(--abyss-rgb),.94)}
.wdeals[hidden],.labs[hidden],.packband[hidden],.lots[hidden],.lead-card[hidden]{display:none}
.wdeals-in{padding-top:clamp(34px,5vw,64px);padding-bottom:clamp(34px,5vw,64px)}
.lead{position:relative;background:rgba(var(--abyss-rgb),.94);border-top:1px solid rgba(var(--accent-rgb),.14)}
.lead-in{padding-top:clamp(34px,6vw,84px);padding-bottom:clamp(34px,6vw,84px);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:clamp(28px,5vw,64px);align-items:center}
.labs{border-top:1px solid rgba(var(--accent-rgb),.14);border-bottom:1px solid rgba(var(--accent-rgb),.14);background:var(--abyss-2);overflow:hidden}
.packband{max-width:1280px;margin:0 auto;padding:0 clamp(16px,3vw,28px) clamp(48px,6vw,84px)}
.lots{padding-bottom:clamp(48px,6vw,84px)}
.lots-title{font-family:var(--font-display);font-stretch:125%;font-weight:300;font-size:14px;letter-spacing:.1em;text-transform:uppercase;color:var(--paper);margin:0}
.howto{position:relative;border-top:1px solid rgba(var(--accent-rgb),.14);background:rgba(var(--panel-rgb),.94)}
.howto-in{padding-top:clamp(40px,6vw,84px);padding-bottom:clamp(40px,6vw,84px)}

/* ============================================================
   THE HERO: two columns from 861px, the copy on the left and the vial stage on the right.
   Under 861px nothing here applies: the centred column and mobile.css's phone hero stand, and the stage is not drawn.
   #hero.no-stage (home.js: the rail answered and no product qualifies) is the centred column at every width.
   store.css's own hero lines are untouched; these override them by the id.
   ============================================================ */
.vstage{display:none}
.hero-deals[hidden],.hero-chip[hidden]{display:none}
/* the chip is lower than the button's one line of text (11px x 1.2 + 4px = 17.2px in a 20.25px line), so it never makes its button taller than its neighbours */
.hero-chip{margin-left:2px;padding:2px 9px;line-height:1.2;border-radius:100px;background:var(--fill);color:var(--on-fill);font-size:11px;font-weight:700;letter-spacing:.06em;white-space:nowrap}
/* NO THIRD BUTTON WHERE THE BUTTONS ARE A STACKED COLUMN (store.css, to 680px): there a third button is a third row, 62px, and the centred copy jumped
   31px when the deal arrived. The weekly deals section itself is the next thing down the page. (To 640px until the review of 2026-11-18.) */
@media(max-width:680px){.hero-deals{display:none}}
/* ONE ROW from 681px: it holds three buttons but not the chip too, so the chip is not drawn until the row can hold it (781px; from 861px the
   two-column hero below never draws it). The button's arrival then adds no row and moves no copy. */
@media(min-width:681px) and (max-width:780px){.hero-chip{display:none}}

@media(min-width:861px){
  /* THE PADDING. The handoff wrote 96px / 44px for a hero that starts under a fixed header. Here the promo bar and the nav are in the flow above the
     hero and the stage is one window tall, so its last 108px are below the first screen (mobile.css makes the same correction for the phone hero): the
     copy is centred in the part of the hero that is on screen, and the trust cells and the vial stage's buttons are in the first screen. */
  #hero:not(.no-stage) .scroll-hint{display:none}
  #hero:not(.no-stage) .hero-overlay-in{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);grid-template-rows:auto auto;column-gap:clamp(24px,4vw,64px);row-gap:24px;align-content:center;justify-items:start;text-align:left;padding-top:32px;padding-bottom:calc(var(--promo-h,38px) + var(--nav-h,70px) + 36px)}
  #hero:not(.no-stage) .hero-top{grid-column:1;grid-row:1;align-items:flex-start;margin-bottom:0}
  #hero:not(.no-stage) .hero-bottom{grid-column:1;grid-row:2;align-items:flex-start}
  #hero:not(.no-stage) .hero-sub{margin-left:0;margin-right:0}
  #hero:not(.no-stage) .hero-cta{justify-content:flex-start}
  #hero:not(.no-stage) .hero-cta .hero-verify{justify-content:flex-start}
  #hero:not(.no-stage) .trust-row{justify-content:flex-start}
  /* THE STAGE'S PLACE. A zero-height box at the top of the copy's two rows, so it never adds to their height: the copy stands where it stood before the
     rail answered, and the helix's caps, measured at the six blocks, are not left behind when the stage arrives.
     ITS SIZE keeps it clear of what rests at the window's bottom right: the mini-cart pill (bottom 24px, about 60px tall) and the Text-us pill, which a
     cart lifts to bottom 106px (48px tall), so the card must end 160px above the window's bottom. The picture's height is what gives: each rule below is
     "window height, less where the stage starts, less the card, less 160px" for its window (the card is about 250px; about 276px under 1181px, where the
     read-out's second column wraps under the figure). Nothing is hidden and no pill is moved. */
  #hero:not(.no-stage) .vstage{display:block;grid-column:2;grid-row:1 / span 2;align-self:start;justify-self:stretch;height:0}
  #hero:not(.no-stage) .vstage[hidden]{display:none}
  #hero:not(.no-stage) .vstage-pic{height:clamp(110px,min(calc(41.4vh - 94px),calc(50vh - 152px)),330px)}
  /* THE STORY'S FRAME. The cinema (the lab, the specification sheet, the box, the truck) is centred on the whole hero by
     cinema.js; with two columns that centre is the gutter. It is kept, never hidden, and here the read-out (#synthHud) is
     its frame: a box of fixed height in the copy's own flow (88px: the 72.5px read-out and the 16px margin it had, so the
     copy keeps its height and no line of the read-out can move it), the picture's window on its left (208 x 88px) and the
     read-out's three lines on its right, wrapped where they are long and never cut. home.js measures the read-out's place
     inside the overlay and gives it to #hero as --cin-x (its left edge) and --cin-y (its middle); the cinema layer is laid
     exactly on the window, so its own overflow:hidden cuts a scene that slides in or out and no scene can reach the
     headline, the sub-line, a button or the words. The scenes are drawn to the window's height: the lab, the sheet and
     the truck are 198-200px tall as drawn and the box 300px. Before home.js runs: the middle. */
  #hero:not(.no-stage) .synth-hud{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;width:100%;max-width:600px;height:88px;margin-bottom:0;padding-left:224px;overflow:hidden}
  #hero:not(.no-stage) .synth-hud-row:not(.synth-verify){flex-wrap:wrap;row-gap:3px}
  #hero:not(.no-stage) .synth-verify{align-items:flex-start;line-height:1.4}
  #hero:not(.no-stage) .synth-verify .sv-dot{margin-top:4px}
  #hero:not(.no-stage) .synth-hud .shv{white-space:normal;overflow:visible;text-overflow:clip}
  #hero:not(.no-stage) .synth-bar{flex:none;margin:8px 0}
  #hero:not(.no-stage) .cinema{left:var(--cin-x,28px);right:auto;width:208px;top:calc(var(--cin-y,50%) - 44px);bottom:auto;height:88px;border-radius:8px}
  #hero:not(.no-stage) .cin-scene{zoom:.44}
  #hero:not(.no-stage) .cin-box{zoom:.29}
  #hero:not(.no-stage) .cin-coa{top:50%}
  /* THE HEADLINE KEEPS ITS FULL STRENGTH. cinema.js dims .hero-top to .2 while the story plays, because in one column the
     scene plays under the headline; here nothing is under it. cinema.js writes the value inline on every frame, so this
     is the one !important in this file: it is what beats that inline write. One column is untouched. */
  #hero:not(.no-stage) .hero-top{opacity:1!important}
  /* THREE BUTTONS, ONE ROW. With a deal the hero has a third button; its chip (the deal's name) is not drawn beside the
     stage, where the row has no room for it, so the button's arrival moves nothing. The narrower blocks below trim the
     buttons' side padding where the column is tight. */
  #hero:not(.no-stage) .hero-chip{display:none}
}
@media(min-width:861px) and (max-width:1180px){
  #hero:not(.no-stage) .hero-cta .btn{padding:13px 18px;font-size:11.5px;letter-spacing:.1em}
  #hero:not(.no-stage) .vstage-pic{height:clamp(110px,calc(50vh - 228px),330px)}
  /* the narrow card: the certificate's reference, laboratory and link run in one wrapped line under the figure, and the two buttons share a row */
  #hero:not(.no-stage) .vstage-meta{flex:1 1 100%;flex-direction:row;flex-wrap:wrap;align-items:baseline;justify-content:flex-start;gap:2px 12px;text-align:left;white-space:normal}
  /* TWO LINES FOR EVERY VIAL: the reference is a line of its own, and the laboratory and the link share the next. (Left to wrap, a short laboratory
     name gave one line and a long one two, and the card changed height as the stage turned.) */
  #hero:not(.no-stage) .vstage-ref{flex:1 1 100%}
  #hero:not(.no-stage) .vstage-add{flex:1 1 120px;padding:12px 14px;gap:8px;letter-spacing:.1em}
  #hero:not(.no-stage) .vstage-add3{padding:12px 13px;letter-spacing:.06em}
}
/* THE TIGHT COLUMNS. Three buttons need 488px at the padding above and the copy's column is 416px at 861px (it passes 488px
   near 1000px); at 1181px the full-size buttons need 598px of a 582px column (it passes 598px near 1215px). Only the side
   padding, the gap and the tracking give; every button keeps its 46px height and its one line.
   The read-out's words have 192px beside the picture at 861px: its long lines wrap to two, and the rows stand closer so
   three wrapped lines and the bar fit the 88px frame. No line is left out and none is cut. */
@media(min-width:861px) and (max-width:1040px){
  #hero:not(.no-stage) .hero-cta{gap:8px}
  #hero:not(.no-stage) .hero-cta .btn{padding:13px 9px;letter-spacing:.06em}
  #hero:not(.no-stage) .synth-hud-row{line-height:1.25}
  #hero:not(.no-stage) .synth-verify{line-height:1.3}
  #hero:not(.no-stage) .synth-bar{margin:6px 0}
}
@media(min-width:1181px) and (max-width:1240px){
  #hero:not(.no-stage) .hero-cta .btn{padding-left:22px;padding-right:22px}
}
/* a tall window: room to centre the stage on the copy */
@media(min-width:861px) and (min-height:1000px){
  #hero:not(.no-stage) .vstage{align-self:center}
  #hero:not(.no-stage) .vstage-in{transform:translateY(-50%)}
  #hero:not(.no-stage) .vstage-pic{height:clamp(110px,calc(100vh - 670px),330px)}
}
@media(min-width:861px) and (max-width:1180px) and (min-height:1000px){
  #hero:not(.no-stage) .vstage-pic{height:clamp(110px,calc(100vh - 696px),330px)}
}
@media(min-width:861px) and (max-height:760px){
  #hero:not(.no-stage) .hero-overlay-in{align-content:start;padding-top:20px;row-gap:14px}
  #hero:not(.no-stage) .hero-top{gap:8px}
  #hero:not(.no-stage) .hero-bottom{gap:12px}
  #hero:not(.no-stage) .hero-cta{margin-bottom:6px}
  #hero:not(.no-stage) .hero-sub{line-height:1.45}
  #hero:not(.no-stage) .vstage-pic{height:clamp(96px,calc(100vh - 520px),240px)}
}
@media(min-width:861px) and (max-width:1180px) and (max-height:760px){
  #hero:not(.no-stage) .vstage-pic{height:clamp(84px,calc(100vh - 566px),240px)}
}

/* ---------- the vial stage (drawn by home.js; desktop only) ---------- */
.vstage{position:relative;width:100%;max-width:560px;margin:0 auto;text-align:left;opacity:0}
.vstage.is-on{opacity:1}
html.home-motion .vstage{transition:opacity .5s ease}
.vstage-pic{position:relative;height:clamp(110px,calc(41.4vh - 94px),330px);
  background:radial-gradient(58% 62% at 50% 52%,rgba(var(--abyss-rgb),.92),rgba(var(--abyss-rgb),.6) 58%,rgba(var(--abyss-rgb),0))}
.vstage-floor{position:absolute;left:50%;bottom:0;z-index:2;width:58%;height:26px;transform:translateX(-50%);border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(var(--accent-rgb),.55),rgba(var(--accent-rgb),0))}
.vstage-vial{position:absolute;left:50%;top:0;height:100%;aspect-ratio:2/3;padding:0;border:0;background:none;cursor:pointer;
  transform:translateX(-50%) scale(.4);opacity:0;z-index:1;pointer-events:none;visibility:hidden}
.vstage-vial img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;
  -webkit-mask-image:radial-gradient(ellipse 46% 50% at 50% 52%,#000 68%,transparent 100%);mask-image:radial-gradient(ellipse 46% 50% at 50% 52%,#000 68%,transparent 100%)}
.vstage-vial[data-pos="cur"]{transform:translateX(-50%) scale(1);opacity:1;z-index:3;pointer-events:auto;visibility:visible;cursor:default}
.vstage-vial[data-pos="next"]{transform:translateX(16%) scale(.56);opacity:.42;z-index:2;pointer-events:auto;visibility:visible}
.vstage-vial[data-pos="prev"]{transform:translateX(-116%) scale(.56);opacity:.42;z-index:2;pointer-events:auto;visibility:visible}
html.home-motion .vstage-vial{transition:transform .8s cubic-bezier(.2,.7,.2,1),opacity .8s,visibility 0s linear .8s}
html.home-motion .vstage-vial[data-pos="cur"],html.home-motion .vstage-vial[data-pos="next"],html.home-motion .vstage-vial[data-pos="prev"]{transition:transform .8s cubic-bezier(.2,.7,.2,1),opacity .8s,visibility 0s}
.vstage-vial:focus-visible,.vstage-arrow:focus-visible,.vstage-add:focus-visible,.vstage-add3:focus-visible,.vstage-cert:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
/* the scan line: home.js makes one per change, and only under html.home-motion */
.vstage-scan{display:none}
html.home-motion .vstage-scan{display:block;position:absolute;left:50%;top:10%;width:30%;height:2px;margin-left:-15%;border-radius:2px;opacity:0;z-index:5;pointer-events:none;
  background:linear-gradient(90deg,rgba(var(--accent-rgb),0),var(--accent),rgba(var(--accent-rgb),0));box-shadow:0 0 16px 2px rgba(var(--accent-rgb),.6);
  animation:stageScan 1.6s ease-in-out .35s 1 both}
@keyframes stageScan{0%{top:10%;opacity:0}14%{opacity:1}86%{opacity:1}100%{top:88%;opacity:0}}
.vstage-arrow{position:absolute;top:50%;margin-top:-22px;z-index:6;width:44px;height:44px;padding:0 0 3px;border-radius:50%;border:1px solid rgba(255,255,255,.16);
  background:rgba(var(--abyss-rgb),.66);color:var(--fog);font-size:22px;line-height:1;cursor:pointer}
.vstage-arrow.prev{left:0}
.vstage-arrow.next{right:0}
.vstage-card{position:relative;z-index:4;margin-top:-10px;padding:16px 18px;border:1px solid rgba(var(--accent-rgb),.45);border-radius:20px;background:rgba(var(--panel-rgb),.92);
  box-shadow:0 -20px 54px -20px rgba(var(--accent-rgb),.5),0 30px 70px -40px rgba(0,0,0,.9)}
.vstage-dots{display:flex;justify-content:center;gap:6px;margin:-4px 0 12px}
.vstage-dots span{height:3px;width:10px;border-radius:2px;background:rgba(var(--accent-rgb),.25)}
.vstage-dots span.on{width:26px;background:var(--accent)}
html.home-motion .vstage-dots span{transition:width .4s,background .4s}
.vstage-read{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 14px}
.vstage-read>div:first-child{flex:none}
.vstage-label{font-size:10.5px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--accent-dim);white-space:nowrap}
.vstage-fig{display:flex;align-items:flex-start;height:1em;margin-top:6px;overflow:hidden;font-family:var(--font-num);font-size:clamp(34px,min(6.4vh,5.2vw),58px);font-weight:600;line-height:1;letter-spacing:-.02em;color:var(--accent)}
.vstage-fig>span{display:block;height:1em}
.vstage-dig{width:.6em;overflow:hidden}
.vstage-reel{display:flex;flex-direction:column}
.vstage-reel>span{display:block;height:1em}
.vstage-reel[data-d="1"]{transform:translateY(-1em)}
.vstage-reel[data-d="2"]{transform:translateY(-2em)}
.vstage-reel[data-d="3"]{transform:translateY(-3em)}
.vstage-reel[data-d="4"]{transform:translateY(-4em)}
.vstage-reel[data-d="5"]{transform:translateY(-5em)}
.vstage-reel[data-d="6"]{transform:translateY(-6em)}
.vstage-reel[data-d="7"]{transform:translateY(-7em)}
.vstage-reel[data-d="8"]{transform:translateY(-8em)}
.vstage-reel[data-d="9"]{transform:translateY(-9em)}
html.home-motion .vstage-reel{transition:transform 1.1s cubic-bezier(.16,.84,.24,1)}
html.home-motion .vstage-dig[data-k="1"] .vstage-reel{transition-delay:.09s}
html.home-motion .vstage-dig[data-k="2"] .vstage-reel{transition-delay:.18s}
html.home-motion .vstage-dig[data-k="3"] .vstage-reel{transition-delay:.27s}
html.home-motion .vstage-dig[data-k="4"] .vstage-reel{transition-delay:.36s}
.vstage-fig>span.vstage-pc{align-self:flex-end;height:auto;margin-left:.12em;font-size:.55em;line-height:1.35}
.vstage-meta{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:flex-end;gap:3px;font-family:var(--font-num);font-size:11.5px;color:var(--mist);text-align:right;white-space:nowrap}
.vstage-ref{color:var(--fog)}
.vstage-cert{padding:6px 0;margin:-3px 0 -6px;color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.vstage-id{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding-top:12px;border-top:1px solid rgba(var(--accent-rgb),.14)}
.vstage-id>div{flex:1;min-width:0}
.vstage-name{font-size:15px;line-height:20px;color:var(--paper);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vstage-size{font-size:12.5px;line-height:17px;color:var(--mist)}
.vstage-price{flex:none;font-family:var(--font-num);font-size:20px;font-weight:600;color:var(--paper)}
.vstage-acts{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.vstage-add{flex:1 1 170px;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 20px;border:1px solid var(--fill);border-radius:100px;
  background:var(--fill);color:var(--on-fill);font-family:var(--font-ui);font-size:12.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.vstage-add i{font-size:13px}
.vstage-add3[hidden],.vstage-cert[hidden]{display:none}
.vstage-add3{flex:0 1 auto;min-height:48px;padding:12px 18px;border-radius:100px;border:1px solid rgba(var(--accent-rgb),.5);background:rgba(var(--accent-rgb),.07);color:var(--accent-pale);
  font-family:var(--font-ui);font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;white-space:nowrap;cursor:pointer}
html.home-motion .vstage-arrow{transition:border-color .2s,color .2s}
html.home-motion .vstage-add{transition:box-shadow .25s}
html.home-motion .vstage-add3{transition:border-color .2s,background .2s}
@media(hover:hover){
  .vstage-arrow:hover{border-color:var(--accent);color:var(--accent)}
  .vstage-add:hover{box-shadow:0 10px 34px -8px rgba(var(--fill-rgb),.6)}
  .vstage-add3:hover{border-color:var(--accent);background:rgba(var(--accent-rgb),.13)}
}
/* A TOUCH SCREEN WIDE ENOUGH FOR THE STAGE (a tablet, a large phone on its side): the certificate link is a 44px target
   (49px: the padding grows and the margins take the same back, so the card keeps its height) and the label is at the
   11px floor. The arrows are 44px and the two buttons 48px at every width. */
@media(min-width:861px) and (hover:none),(min-width:861px) and (pointer:coarse){
  .vstage-cert{padding:15px 0;margin:-12px 0 -15px}
  .vstage-label{font-size:11px}
}

/* ============================================================
   THE SECTIONS UNDER THE HERO (builder 2): lead A, the laboratories strip, the catalogue's additions, the pack
   pricing band, released lots, how ordering works.
   THE GROUND. These sections scroll over the fixed helix field, which has no cap for them: each one's text stands
   on a near-opaque fill (.94 of the abyss or the panel, the opaque panel, or the opaque --abyss-2), measured in a
   browser in the motion mode (the grey --mist text included).
   ============================================================ */
.hb-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ---------- lead A ---------- */
.lead-sub{font-size:clamp(15px,1.5vw,18px);line-height:1.6;color:var(--mist);max-width:50ch;margin:22px 0 30px;text-wrap:pretty}
.lead-cta{display:flex;flex-wrap:wrap;gap:13px}
.lead-cta .btn{min-height:50px}
.lead-ticks{display:flex;flex-wrap:wrap;gap:10px 24px;margin:28px 0 0;padding:0;list-style:none;font-size:13px;color:var(--fog)}
.lead-ticks li{display:inline-flex;align-items:center;gap:8px}
.lead-ticks li[hidden]{display:none}
.lead-ticks i{font-size:11px;color:var(--accent)}
.lead-card{justify-self:end;width:100%;max-width:520px;padding:18px;border:1px solid rgba(var(--accent-rgb),.3);border-radius:22px;background:rgb(var(--panel-rgb));
  box-shadow:0 0 60px rgba(var(--accent-rgb),.1),0 40px 90px -40px rgba(0,0,0,.9)}
.lead-card-top{display:flex;gap:16px}
.lead-photo{flex:0 0 38%;display:block;aspect-ratio:3/4;border-radius:14px;overflow:hidden;background:var(--well)}
.lead-photo img{display:block;width:100%;height:100%;object-fit:cover}
.lead-photo:focus-visible,.lead-lot a:focus-visible,.lead-tier:focus-visible,.lead-add:focus-visible,.lots-all:focus-visible,.lots-go a:focus-visible,.card-pack3:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.lead-id{flex:1;min-width:0;display:flex;flex-direction:column}
.lead-name{font-size:19px;line-height:1.25;color:var(--paper);overflow-wrap:anywhere}
.lead-cas{margin-top:4px;font-size:12px;letter-spacing:.04em;color:var(--mist);overflow-wrap:anywhere}
.lead-cas-n{white-space:nowrap}   /* one CAS number: the line breaks before it, never inside it */
.lead-read{margin-top:auto;padding-top:14px}
.lead-fig{font-size:clamp(28px,3.4vw,38px);font-weight:500;line-height:1;letter-spacing:-.02em;color:var(--accent)}
.lead-lab{margin-top:9px;font-size:11px;font-weight:600;letter-spacing:.13em;line-height:1.5;text-transform:uppercase;color:var(--accent-dim)}
.lead-lab-rec{text-transform:none;letter-spacing:.05em}   /* the method and the laboratory's name and place: the record's own letters, not capitals */
.lead-lot{margin-top:6px;font-size:11.5px;line-height:1.5;color:var(--mist)}
.lead-lot a{display:inline-block;padding:14px 0;margin:-14px 0;color:var(--accent);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.lead-lot-sep{display:none}   /* the reference and the link never share a line (the card is 520px at its widest and the two need more), so the dot between them only ever hung at the end of the reference's line */
.lead-qhead{display:flex;justify-content:space-between;gap:10px;margin-top:18px;font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent-dim)}
.lead-qhead span:last-child{color:var(--mist)}
.lead-tiers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.lead-tiers[data-n="1"]{grid-template-columns:minmax(0,1fr)}
.lead-tiers[data-n="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.lead-tiers[data-n="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.lead-tier{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-height:60px;padding:11px 10px 10px;border-radius:12px;border:1px solid rgba(var(--accent-rgb),.18);
  background:rgba(var(--accent-rgb),.02);color:var(--paper);font-family:var(--font-ui);text-align:left;cursor:pointer}
.lead-tier[aria-pressed="true"]{border-color:var(--accent);background:rgba(var(--accent-rgb),.08)}
.lead-tier-q{font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.lead-tier-p{font-size:12px;line-height:1.35;color:var(--mist)}   /* "about" before a rounded figure; where the tile is too narrow for both it stands over the figure */
.lead-tier-p .mono{white-space:nowrap}
.lead-tier-save{position:absolute;top:-9px;right:7px;padding:2px 7px;border-radius:100px;background:var(--fill);color:var(--on-fill);font-size:11px;font-weight:700;line-height:1.3}
.lead-add{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin-top:14px;padding:14px 20px;border:1px solid var(--fill);border-radius:100px;
  background:var(--fill);color:var(--on-fill);font-family:var(--font-ui);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;cursor:pointer}
html.home-motion .lead-tier{transition:border-color .18s,background .18s}
html.home-motion .lead-add{transition:box-shadow .25s}
@media(hover:hover){
  .lead-tier:hover{border-color:rgba(var(--accent-rgb),.5)}
  .lead-add:hover{box-shadow:0 10px 34px -8px rgba(var(--fill-rgb),.6)}
}
/* NO CARD (home.js sets .lead-solo once that is settled: the price read came back without an answer, or with no product for the card): where the section
   would be two columns, the copy is one centred column and not a left half beside an empty one. Below that width the section is one column already. */
@media(min-width:768px){
  .lead.lead-solo .lead-in{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center}
  .lead.lead-solo .hb-h2-l{max-width:24ch;margin-left:auto;margin-right:auto}
  .lead.lead-solo .lead-sub{margin-left:auto;margin-right:auto}
  .lead.lead-solo .lead-cta,.lead.lead-solo .lead-ticks{justify-content:center}
}
@media(max-width:820px){
  /* a phone: the certificate's reference and its link are two lines under the photo, at the card's LEFT edge (from 681 to 820px the fixed Text us pill stands over the
     page's right edge; at the end of the reference's line, and at the left of the narrow column beside the photo, the link's middle lay under it. On a
     phone, to 680px, there is no pill since 2026-11-18, the owner: Text us is in the menu and the footer; the layout is kept as it is).
     The card's top is a grid for that: the photo beside the name, the size, the figure and its label, and the reference's two lines across the card
     below them. The same elements in the same order. The link is a 45px target. */
  .lead-card-top{display:grid;grid-template-columns:38% minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto;column-gap:16px}
  .lead-id,.lead-read{display:contents}
  .lead-photo{grid-column:1;grid-row:1 / span 4;align-self:start}
  .lead-name{grid-column:2;grid-row:1}
  .lead-cas{grid-column:2;grid-row:2}
  .lead-fig{grid-column:2;grid-row:3;align-self:end;padding-top:14px}
  .lead-lab{grid-column:2;grid-row:4}
  .lead-lot{grid-column:1 / -1;grid-row:5;margin-top:12px}
  .lead-lot a{position:relative;display:block;width:fit-content;margin:-8px 0 -14px}   /* positioned: its upper padding lies over the reference's line and must still answer a tap */
}
@media(max-width:420px){
  .lead-card{padding:14px}
  .lead-card-top{gap:12px;column-gap:12px}
  .lead-tiers,.lead-tiers[data-n="3"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px}
  .lead-cta .btn{flex:1 1 auto;padding-left:20px;padding-right:20px}
}

/* ---------- the laboratories strip ---------- */
.labs-in{padding-top:0;padding-bottom:0}
/* one row from 980px, however many cells are shown (a laboratory more in coa.js, or the dispatch cell switched off with every .dispatch-claim) */
.labs-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);margin:-1px 0 0 -1px}
.labs-cell{display:flex;flex-direction:column;gap:7px;padding:22px 20px;border-left:1px solid rgba(var(--accent-rgb),.14);border-top:1px solid rgba(var(--accent-rgb),.14)}
.labs-name{font-family:var(--font-display);font-stretch:125%;font-weight:200;font-size:17px;letter-spacing:.04em;line-height:1.2;color:var(--paper)}
.labs-note{font-size:11px;font-weight:600;letter-spacing:.1em;line-height:1.5;text-transform:uppercase;color:var(--accent-dim)}
@media(max-width:979px){.labs-grid{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:519px){.labs-grid{grid-template-columns:minmax(0,1fr)}.labs-cell{padding:18px 20px}}

/* ---------- the catalogue: the card's 3-pack row (store.js paintCardPacks) and the phone's search field ---------- */
/* ON A DESKTOP CARD the button stands in the price line, to the right of the price, in two lines: "3-pack · $X / vial" over "save N%" and "Add 3". It is
   no taller than the price beside it, so the card keeps its height: the Buy Now picker is a cover as tall as the card, and a full-width row under the
   price (52px more) put the picker's heading under the header in a 789px window (tools/check-qv-buy.mjs section 5). Where a card is too narrow for both,
   the price line wraps and the button takes the line under the price. */
.card-pack3{flex:0 1 auto;display:grid;grid-template-columns:auto auto;align-items:baseline;column-gap:12px;row-gap:1px;min-height:40px;margin:0 0 0 auto;padding:5px 11px;border-radius:10px;
  border:1px dashed rgba(var(--accent-rgb),.3);background:transparent;color:var(--accent-hi);font-family:var(--font-ui);font-size:12px;line-height:1.3;text-align:left;cursor:pointer}
.card-pack3-t{display:contents}
.card-pack3-a{grid-column:1 / -1;white-space:nowrap}
.card-pack3-sep{display:none}
.card-pack3-b{grid-column:1;white-space:nowrap}
.card-pack3-go{grid-column:2;justify-self:end;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap}
/* the price gives the button its place: alone in its line it is as wide as the line (its per-mg figure asks for a full line of its own); beside the button
   it takes what is left, and still breaks before the per-mg figure as it did */
@media(min-width:768px){.card-priceline.has-pack3 .card-price{flex:1 1 120px;min-width:0}}   /* the class is store.js paintCardPacks()'s, on while the button is there: no :has() */
html.home-motion .card-pack3{transition:background .2s,border-color .2s}
@media(hover:hover){.card-pack3:hover{background:rgba(var(--accent-rgb),.07);border-color:rgba(var(--accent-rgb),.6)}}
@media(max-width:767px){
  /* THE PHONE LIST: the card's boxes are display:contents there (store.css), so the button is a full-width line of the row's own grid, under the name and
     price and above what an opened row shows: one line of text and "Add 3" at its right, 44px. */
  body.dir-showcase #grid>.card .card-pack3{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:44px;margin:9px 0 0;padding:8px 14px;line-height:1.35}
  body.dir-showcase #grid>.card .card-pack3-t{display:block;min-width:0}
  body.dir-showcase #grid>.card .card-pack3-a,body.dir-showcase #grid>.card .card-pack3-b{white-space:normal}
  body.dir-showcase #grid>.card .card-pack3-sep{display:inline}
  body.dir-showcase #grid>.card .card-pack3-go{flex:none}
}
.cat-search{display:none}
@media(max-width:820px){
  .cat-search{display:flex;align-items:center;gap:10px;min-height:48px;margin:0 0 12px;padding:0 16px;border-radius:100px;background:rgba(var(--panel-rgb),.94);border:1px solid rgba(var(--accent-rgb),.2);cursor:text}
  .cat-search i{flex:none;font-size:14px;color:var(--accent)}
  .cat-search input{flex:1;min-width:0;height:46px;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--paper);font-family:var(--font-ui);font-size:16px;outline:none;-webkit-appearance:none;appearance:none}
  .cat-search input::placeholder{color:var(--mist);opacity:1}
  .cat-search input::-webkit-search-decoration{-webkit-appearance:none}
  .cat-search:focus-within{outline:2px solid rgba(var(--accent-rgb),.6);outline-offset:2px}
}

/* store.js addPack()'s "Not available" notice: .toast .t-sub is one clipped line (store.css); this one is a sentence and wraps */
.toast .t-sub.t-sub-wrap{white-space:normal;overflow:visible;text-overflow:clip}

/* ---------- the pack pricing band ---------- */
.packband-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:22px 36px;padding:clamp(20px,4vw,44px);border:1px solid rgba(var(--accent-rgb),.3);border-radius:24px;
  background:linear-gradient(135deg,rgba(var(--accent-rgb),.08),rgba(var(--deal-rgb),.06)),rgba(var(--panel-rgb),.94)}
.packband-copy{flex:1 1 340px;min-width:0}
.packband-text{margin:14px 0 0;max-width:54ch;font-size:15px;line-height:1.65;color:var(--mist)}
.packband-text[hidden]{display:none}
.packband-cells{flex:0 1 auto;display:flex;flex-wrap:wrap;gap:10px}
.packband-cell{flex:1 1 150px;min-width:150px;padding:14px;border:1px solid rgba(var(--accent-rgb),.22);border-radius:14px;background:rgba(var(--panel-rgb),.6)}
.packband-lbl{font-size:11px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--mist)}
.packband-fig{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin-top:6px}
.packband-total{font-size:20px;font-weight:500;color:var(--accent)}
.packband-free .packband-total{color:var(--paper)}
.packband-fig .list-was{font-size:12.5px}
.packband-per{margin-top:5px;font-size:12px;line-height:1.45;color:var(--fog)}
.packband-pv,.packband-pct{display:block;white-space:nowrap}   /* "about $X / vial" on one line and "save N%" on the next, so the cells' lines stand level */
.packband-save{margin-top:3px;font-size:12px;font-weight:600;white-space:nowrap}
.packband-save .you-save{font-family:var(--font-num)}
.packband-free{flex:0 1 auto;min-width:128px}
@media(max-width:520px){
  .packband-cells{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .packband-cell,.packband-free{min-width:0;padding:12px}
  .packband-per,.packband-save{font-size:11px}   /* two cells a row on a 360px phone: each line of a cell still fits on one line */
}
@media(max-width:359px){.packband-cells{grid-template-columns:minmax(0,1fr)}}

/* ---------- released lots ---------- */
.lots-card{margin-top:18px;border:1px solid rgba(var(--accent-rgb),.22);border-radius:18px;background:rgba(var(--panel-rgb),.94);overflow:hidden}
.lots-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 20px;padding:20px clamp(14px,2.5vw,24px);border-bottom:1px solid rgba(var(--accent-rgb),.14)}
.lots-sub{margin:4px 0 0;font-size:13px;color:var(--mist)}
.lots-all{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:11.5px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);white-space:nowrap}
.lots-all i{font-size:10px}
.lots-table{width:100%;border-collapse:collapse;text-align:left}
.lots-table th,.lots-table td{padding:13px 12px 13px 0;border-bottom:1px solid rgba(255,255,255,.06);font-size:14px;line-height:1.4;font-weight:400;vertical-align:baseline;color:var(--paper)}
.lots-table tr>:first-child{padding-left:clamp(14px,2.5vw,24px)}
.lots-table tr>:last-child{padding-right:clamp(14px,2.5vw,24px);text-align:right}
.lots-table thead th{padding-top:11px;padding-bottom:11px;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--mist);white-space:nowrap}
.lots-table tbody tr:last-child>*{border-bottom:0}
.lots-mg{margin-left:6px;font-size:12px;color:var(--mist);white-space:nowrap}
.lots-fig{font-size:13px;color:var(--accent)}
.lots-fig.lots-fig-plain{color:inherit}
.lots-method{margin-left:6px;font-size:11.5px;color:var(--mist)}
.lots-below{margin-left:6px;font-size:11.5px;color:var(--mist)}
.lots-table td.lots-ref,.lots-table td.lots-lab,.lots-table td.lots-date{color:var(--mist)}
.lots-table td.lots-ref,.lots-table td.lots-date{font-size:12.5px;white-space:nowrap}
.lots-table td.lots-lab{font-size:13px}
.lots-go a{display:inline-block;padding:12px 0;margin:-12px 0;font-size:11.5px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);white-space:nowrap}
@media(hover:hover){.lots-go a:hover,.lots-all:hover,.lead-lot a:hover{color:var(--accent-hi)}}
@media(max-width:820px){
  /* a phone: each lot is a block in two columns (the name and what identifies the certificate on the left, its figure and link on the right); the header row is read out, not drawn */
  .lots-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .lots-table,.lots-table tbody{display:block}
  .lots-table tbody tr{display:grid;grid-template-columns:auto minmax(0,1fr) auto;column-gap:0;row-gap:3px;align-items:baseline;padding:13px 14px;border-bottom:1px solid rgba(255,255,255,.06)}
  .lots-table tbody tr:last-child{border-bottom:0}
  .lots-table tbody th,.lots-table tbody td{display:block;padding:0;border:0}
  .lots-table tbody tr>:first-child{padding-left:0}
  .lots-table tbody tr>:last-child{padding-right:0}
  .lots-table tbody th{grid-column:1 / span 2;grid-row:1;padding-right:12px}
  .lots-table td.lots-pur{grid-column:3;grid-row:1;text-align:right;white-space:nowrap}
  /* a disclosed below-floor lot's tag is its own short line under the figure (it wraps), so the right column stays narrow at 390px */
  .lots-table td.lots-pur .lots-below{display:block;margin:2px 0 0;max-width:10em;margin-left:auto;white-space:normal;line-height:1.35}
  .lots-table td.lots-ref{grid-column:1 / span 2;grid-row:2;font-size:12px;white-space:normal}
  .lots-table td.lots-ref::before{content:attr(data-h) " ";font-family:var(--font-ui)}
  .lots-table td.lots-lab{grid-column:1;grid-row:3;font-size:12.5px}
  .lots-table td.lots-date{grid-column:2;grid-row:3;font-size:12px}
  .lots-table td.lots-date::before{content:"\00a0\00b7\00a0";font-family:var(--font-ui)}
  /* the link is its own line at the row's LEFT: from 681 to 820px the fixed Text us pill stands over the page's right edge, and a link in the right column lay
     wholly under it (on a phone, to 680px, there is no pill since 2026-11-18; the layout is kept as it is) */
  .lots-table td.lots-go{grid-column:1 / span 2;grid-row:4;justify-self:start;text-align:left}
  .lots-go a{min-width:44px;padding:16px 12px 16px 0;margin:-14px 0 -13px}
}
/* a touch screen wider than that (a tablet): the table's link is a 44px target too */
@media(min-width:821px) and (hover:none),(min-width:821px) and (pointer:coarse){
  .lots-go a{min-width:44px;padding:16px 0 16px 12px;margin:-16px 0}
  .wdeal-name a{display:inline-flex;align-items:center;min-height:44px}   /* the deal's name link, as under 821px */
}

/* ---------- how ordering works ---------- */
.howto-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:18px 40px}
.howto-chiplist{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none}
.howto-chip{padding:7px 12px;border:1px solid rgba(var(--accent-rgb),.22);border-radius:100px;font-size:12px;color:var(--fog);white-space:nowrap}
.howto-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px;margin:clamp(22px,3vw,34px) 0 0;padding:0;list-style:none}
.howto-step{padding:24px;border:1px solid rgba(var(--accent-rgb),.22);border-radius:18px;background:rgba(var(--panel-rgb),.62)}
.howto-num{display:block;font-size:34px;font-weight:500;line-height:1;color:var(--accent)}
.howto-ttl{margin:18px 0 0;font-family:var(--font-display);font-stretch:125%;font-weight:300;font-size:14px;letter-spacing:.1em;line-height:1.4;text-transform:uppercase;color:var(--paper)}
.howto-step p{margin:10px 0 0;font-size:14.5px;line-height:1.6;color:var(--mist);text-wrap:pretty}

/* ============================================================
   THE WEEKLY DEALS SECTION (builder 3): #weeklyDeals, drawn by home.js from weekly-deal.js's one answer and its own words.
   The frame (.wdeals, .wdeals-in) is above. The deal's colour is the palette's deal token. The vial is the popup's own
   (.wd-vis, sized by weekly-deal.css, which weekly-deal.js loads before it draws one). Nothing is struck here: the one
   struck figure a tier may carry is store.js listWasHTML()'s .list-was, ruled at the top of this file.
   Motion: the clock's dropping digit, today's pulse, the card's lean and its highlight, all under html.home-motion only.
   ============================================================ */
.wdeals-head{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:24px clamp(28px,5vw,64px);align-items:end}
.wdeals-intro{min-width:0}
.wdeals-clock{justify-self:stretch;width:100%;max-width:470px;min-width:0}
@media(min-width:720px){.wdeals-clock{justify-self:end}}
.wdeals-clock-top{display:flex;align-items:center;justify-content:space-between;gap:6px 14px;flex-wrap:wrap;margin-bottom:10px;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
.wdeals-clock-l{display:inline-flex;align-items:center;gap:8px;color:var(--deal)}
.wdeals-clock-l i{width:7px;height:7px;border-radius:50%;background:var(--deal);box-shadow:0 0 10px var(--deal)}
.wdeals-ends{font-family:var(--font-num);font-weight:500;letter-spacing:.04em;color:var(--fog)}
.wdeals-timer{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(6px,1vw,10px)}
.wdeals-unit{display:flex;flex-direction:column;align-items:center;gap:7px;padding:clamp(9px,1.2vw,14px) 4px 9px;border-radius:14px;background:var(--well);border:1px solid rgba(var(--deal-rgb),.28)}
.wdeals-unit.sec{border-color:rgba(var(--deal-rgb),.6)}
.wdeals-num{display:flex;height:1em;overflow:hidden;font-family:var(--font-num);font-weight:600;font-size:clamp(30px,4.4vw,54px);line-height:1;letter-spacing:-.02em;color:var(--paper)}
.wdeals-unit.sec .wdeals-num{color:var(--deal)}
.wdeals-num span{display:block;width:.62em;text-align:center}
.wdeals-unit-l{font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;color:var(--fog)}
.wdeals-week{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:5px;margin-top:12px}
.wdeals-day{display:flex;flex-direction:column;align-items:center;gap:6px}
.wdeals-day .bar{position:relative;display:block;width:100%;height:4px;border-radius:2px;background:var(--deal)}
.wdeals-day.past .bar{background:rgba(var(--deal-rgb),.16)}
.wdeals-day .pulse{display:none;position:absolute;inset:0;border-radius:2px}
.wdeals-day .day{font-family:var(--font-num);font-size:11px;line-height:1;color:var(--paper)}
.wdeals-day.past .day{color:var(--fog)}
.wdeals-day.today .day{color:var(--deal);font-weight:600}
html.home-motion .wdeals-num span.in{animation:wdealsIn .32s cubic-bezier(.2,.8,.2,1) both}
html.home-motion .wdeals-day.today .pulse{display:block;animation:wdealsPulse 1.8s ease-out infinite}
@keyframes wdealsIn{0%{transform:translateY(-55%);opacity:0}100%{transform:none;opacity:1}}
@keyframes wdealsPulse{0%{box-shadow:0 0 0 0 rgba(var(--deal-rgb),.6)}70%,100%{box-shadow:0 0 0 9px rgba(var(--deal-rgb),0)}}

.wdeals-cards{display:grid;gap:16px;margin-top:clamp(24px,3vw,36px)}
.wdeal-card{position:relative;isolation:isolate;display:grid;gap:16px;min-width:0;padding:16px;border:1px solid rgba(var(--deal-rgb),.34);border-radius:20px;background:rgba(var(--panel-rgb),.94)}
.wdeal-shine{position:absolute;inset:0;z-index:2;border-radius:20px;pointer-events:none;opacity:0;
  background:radial-gradient(240px circle at var(--mx,50%) var(--my,0%),rgba(255,255,255,.1),rgba(var(--deal-rgb),.07) 38%,rgba(var(--deal-rgb),0) 68%)}
.wdeal-top{display:flex;align-items:center;gap:16px;min-width:0}
.wdeal-vis{flex:none;width:110px;height:120px}
.wdeal-vis .wd-vis{margin:0;width:110px;height:120px}
.wdeal-id{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.wdeal-tag{padding:5px 10px;border-radius:100px;background:rgba(var(--deal-rgb),.16);border:1px solid rgba(var(--deal-rgb),.55);color:var(--deal);font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
.wdeal-name{margin:0;font-size:clamp(19px,2vw,24px);line-height:1.25;color:var(--paper)}
.wdeal-name a{color:inherit;text-decoration:none}
.wdeal-name a:focus-visible{outline:2px solid rgba(var(--deal-rgb),.8);outline-offset:3px;border-radius:4px}
.wdeal-limit,.wdeal-ends,.wdeal-preview{margin:0;font-size:13px;line-height:1.5;color:var(--fog)}
.wdeal-preview{padding:8px 12px;border-radius:10px;border:1px solid rgba(var(--deal-rgb),.5);color:var(--paper)}
.wdeal-tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,176px),1fr));gap:10px;margin:0;padding:0;list-style:none;min-width:0}
.wdeal-tier{display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px;border-radius:14px;background:var(--well);border:1px solid rgba(var(--deal-rgb),.28)}
.wdeal-t-head{display:flex;align-items:baseline;justify-content:space-between;gap:4px 10px;flex-wrap:wrap}
.wdeal-t-name{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--deal)}
.wdeal-t-vials{font-size:12.5px;color:var(--fog)}
.wdeal-t-price{display:flex;align-items:baseline;gap:4px 10px;flex-wrap:wrap;margin-top:6px}
.wdeal-t-total{font-size:26px;font-weight:600;line-height:1;color:var(--paper)}
.wdeal-t-price .list-was{font-size:13px}
.wdeal-t-per{font-size:12.5px;color:var(--fog)}
.wdeal-t-save{margin-top:4px;font-size:12.5px;line-height:1.4;color:var(--paper)}
.wdeal-t-ship{font-size:12px;line-height:1.4;color:var(--fog)}
.wdeal-t-save .mono,.wdeal-t-ship .mono{white-space:nowrap}
.wdeal-t-save .you-save{font-family:var(--font-num)}
.wdeal-t-out{font-size:12.5px;line-height:1.4;color:var(--deal)}
.wdeal-tier.out .wdeal-t-total,.wdeal-tier.out .wdeal-t-per,.wdeal-tier.out .wdeal-t-save,.wdeal-tier.out .wdeal-t-ship,.wdeal-tier.out .wdeal-t-head{opacity:.6}
.wdeal-add{margin-top:auto;min-height:44px;padding:10px 12px;border:1px solid var(--fill);border-radius:100px;background:var(--fill);color:var(--on-fill);
  font-family:var(--font-ui);font-size:11.5px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}
.wdeal-tier > :nth-last-child(3){margin-bottom:10px}   /* the line above the button */
.wdeal-add:focus-visible{outline:2px solid var(--paper);outline-offset:2px}
.wdeal-add[disabled]{background:none;border-color:rgba(var(--deal-rgb),.3);color:var(--fog);cursor:default}
.wdeal-t-msg{font-size:12.5px;line-height:1.4;color:var(--paper)}
.wdeal-t-msg:empty{display:none}
.wdeals-foot{display:grid;gap:4px;margin-top:16px}
.wdeals-note{margin:0;font-size:12.5px;line-height:1.55;color:var(--fog);max-width:86ch}
.wdeals-codes{color:var(--paper)}
@media(hover:hover){
  .wdeal-card:hover{border-color:rgba(var(--deal-rgb),.8);box-shadow:0 0 54px rgba(var(--deal-rgb),.16),0 30px 60px -30px rgba(0,0,0,.9)}
  .wdeal-add:not([disabled]):hover{border-color:var(--fill-hi);box-shadow:0 0 24px rgba(var(--fill-rgb),.5)}
  .wdeal-name a:hover{text-decoration:underline;text-underline-offset:4px}
  html.home-motion .wdeal-card .wdeal-shine{opacity:var(--sh,0)}
}
html.home-motion .wdeal-card{transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .6s cubic-bezier(.2,.8,.2,1),border-color .25s,box-shadow .3s}
html.home-motion .wdeal-card.tilting{transition:transform .1s linear,border-color .25s,box-shadow .3s}
html.home-motion .wdeal-shine{transition:opacity .35s}
html.home-motion .wdeal-add{transition:border-color .2s,box-shadow .25s}
@media(min-width:900px){
  .wdeals-cards[data-n="2"],.wdeals-cards[data-n="3"]{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* one deal: its card is the width of the section, the vial and the title on the left and the tiers in a row beside them */
  .wdeals-cards[data-n="1"] .wdeal-card{grid-template-columns:minmax(0,300px) minmax(0,1fr);align-items:stretch;gap:20px;padding:20px}
  .wdeals-cards[data-n="1"] .wdeal-top{flex-direction:column;align-items:flex-start;justify-content:center}
  .wdeals-cards[data-n="1"] .wdeal-vis,.wdeals-cards[data-n="1"] .wdeal-vis .wd-vis{width:150px;height:168px}
}
@media(max-width:820px){
  .wdeal-add{min-height:48px;font-size:12px}
  .wdeal-name a{display:inline-flex;align-items:center;min-height:44px}
}
@media(max-width:380px){
  .wdeal-top{flex-direction:column;align-items:flex-start;gap:10px}   /* the title gets the card's width: a name is not broken at its hyphen */
}

/* ============ THE SHIPS-TODAY CLOCK IN THE PROMO BAR (builder 4) ============
   #promoShip: one line of text from shipclock.js, put there by store.js (its ELYRIA:SHIPCLOCK block). It sits in .promo-msg before the
   tape and never shrinks; the tape (flex:1, min-width:0) gives way. Cream on the ribbon: .promobar re-points --paper and --line
   (palette.css). No animation. Under 1024px the clock and the tape cannot share one row (at 320px the clock alone fills it; at 768px the
   Research Use Only tag leaves the tape 17px beside it), so they are two short rows inside the same 38px bar: the clock above, the tape
   below at its full width. The bar does not grow. */
.promo-ship{flex:none;white-space:nowrap;font-size:12px;font-weight:500;line-height:1;color:var(--paper);padding-right:12px;border-right:1px solid var(--line)}
.promo-ship[hidden]{display:none}
/* THE TAPE BESIDE THE CLOCK. The moving tape is cut where its window ends (store.css, overflow:hidden). With the clock shown that edge is new: 10px
   after the clock's rule on one row, and both ends of the short second row on a phone, so a half letter stood beside the rule or at the row's ends.
   There the tape fades in (and, on the second row, out) over 22px instead: a mask on the 17-21px window, no layout change, and only while the clock is
   shown and under html.home-motion (the tape stands still in the still mode and for a reduced-motion request: it starts whole at its left there and
   is not masked). With the clock hidden the tape is production's, untouched by this file. */
@media(min-width:1024px){
  html.home-motion .promo-ship:not([hidden])+.promo-vp{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22px);mask-image:linear-gradient(90deg,transparent 0,#000 22px)}
}
/* THE TAPE STANDING STILL (the still mode, a reduced-motion request: no html.home-motion) starts whole at its left and is cut where its window ends,
   which with the clock shown is mid-sentence at every width: its right edge fades out over 22px. The window still scrolls sideways (store.css). */
html:not(.home-motion) .promo-ship:not([hidden])+.promo-vp{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent 100%);mask-image:linear-gradient(90deg,#000 calc(100% - 22px),transparent 100%)}
@media(max-width:1023px){
  /* the two rows exist only while the clock is shown: with it hidden the bar is laid out as it was before the clock (store.css), to the pixel */
  /* .has-ship is on #promobar exactly while the clock is shown (store.js paintShipClock()): a class, so the two rows ask nothing of :has() */
  .promobar.has-ship .promo-msg{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto;align-content:center;column-gap:10px;row-gap:0}
  .promobar.has-ship .promo-msg>.pdot{grid-column:1;grid-row:1 / span 2;align-self:center}
  .promo-ship{grid-column:2;grid-row:1;font-size:11px;line-height:14px;padding-right:0;border-right:0}
  .promo-ship:not([hidden])+.promo-vp{grid-column:2;grid-row:2;line-height:17px}
  html.home-motion .promo-ship:not([hidden])+.promo-vp{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 22px,#000 calc(100% - 22px),transparent 100%)}
}
