/* Destination Hydration, the 11 drip pages: five touches from the home page (Ian approved them 2026-11-12, asking for the
   drip pages to look more like the home page). Loaded after pg-runs.css on the drip pages only (body.pg-drip); the menu
   page and the town pages are untouched.
   1. the opening's picture is the home page's mountain, this drip's bag big at its own spot, the other ten small and faint
   2. "Base to top, in four stops" is the home page's lift ride (dh.css draws it, dh.js moves the chair)
   3. the mountain band halfway down carries its line in big white words, as on the home page, not on a white card
   4. the bottom of the page is the home page's climb in small: every bag a link to its page, this one lit
   5. "Add NAD+ to any drip" shows the NAD+ bag itself, as the home page's card does */

/* ---------- 1. the opening ---------- */
/* first light, as on the home page: a cool sky, warming behind the mountain (their sand) */
.pg-drip .pg-top--bag{background:radial-gradient(40% 56% at 76% 34%,rgba(216,193,159,.24) 0%,rgba(216,193,159,.09) 46%,rgba(216,193,159,0) 74%),
  linear-gradient(180deg,#E3EEF3 0%,#F2F8FA 46%,#F6F9F8 64%,#F3FBFB 100%)}
.pg-drip .pg-top--bag .pg-top__grid>.dr-top{background:none;container-type:size;overflow:hidden}
/* the drawing keeps the home page's shape (its phone drawing, 1000 x 1060), as big as fits under room for "You're here";
   on phones and tablets it stands just above the price tag, so the tag never covers a bag */
.dr-top{--foot:56px}
.dr-top__stage{position:absolute;left:0;right:0;bottom:var(--foot);margin:0 auto;width:min(100cqw,calc((100cqh - var(--foot) - 38px) * 1000 / 1060));aspect-ratio:1000/1060}
.dr-top__mtn{position:absolute;z-index:0;top:0;left:-70%;width:240%;max-width:none;height:108.49%;pointer-events:none}
.dr-top__mtn--front{z-index:4}
/* the snow carries on under the drawing, down to the foot of the picture */
.pg-drip .pg-top--bag .pg-top__grid>.dr-top::after{content:"";position:absolute;z-index:0;left:0;right:0;bottom:0;height:calc(var(--foot) + 2px);background:#F3FBFB}
/* the other ten, small and faint at their own spots; each still opens its page */
.dr-top__bags{list-style:none;margin:0;padding:0}
.dr-top__bag{position:absolute;z-index:2;left:calc(var(--px) / 10 * 1%);top:calc(var(--py) / 10.6 * 1%);width:8.2%;transform:translate(-50%,-100%)}
.dr-top__bag>a,.dr-top__bag>span{display:block;border-radius:8px;opacity:.42;transition:opacity .25s,transform .3s cubic-bezier(.2,.8,.2,1)}
/* a neighbour standing mostly behind the big bag is only drawn (the climb below links every drip) */
.dr-top__bag--behind{pointer-events:none}
.dr-top__bag img{display:block;width:100%;height:auto}
.dr-top__bag a:focus-visible{opacity:1}
@media (hover:hover) and (pointer:fine){.dr-top__bag a:hover{opacity:.95;transform:translateY(-6px)}}
/* this drip: big, at its spot, with the summit's sun behind it */
.pg-drip .pg-top--bag .dr-top .dr-top__here{position:absolute;z-index:3;left:calc(var(--hpx) / 10 * 1%);top:calc(var(--hpy) / 10.6 * 1%);bottom:auto;
  width:auto;height:44%;margin:0;transform:translate(-50%,-100%);filter:drop-shadow(0 24px 22px rgba(13,62,91,.2))}
.dr-top__glow{position:absolute;z-index:1;left:calc(var(--hpx) / 10 * 1%);top:calc(var(--hpy) / 10.6 * 1% - 23%);width:78%;aspect-ratio:1;border-radius:50%;
  transform:translate(-50%,-50%);background:radial-gradient(closest-side,#FFFDF8 0%,rgba(250,240,222,.94) 30%,rgba(232,212,180,.42) 62%,rgba(216,193,159,0) 100%);pointer-events:none}
.dr-top__you{position:absolute;z-index:5;left:calc(var(--hpx) / 10 * 1%);top:calc(var(--hpy) / 10.6 * 1% - 44% - 12px);transform:translate(-50%,-100%);
  padding:8px 13px;border-radius:999px;background:var(--navy);color:#fff;font:700 11px/1 Montserrat,system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap}
.dr-top__you::after{content:"";position:absolute;left:50%;top:100%;border:6px solid transparent;border-top-color:var(--navy);transform:translateX(-50%)}
.pg-drip .pg-top--bag .dr-top .pg-bag__pill{z-index:6}

/* phones: a taller picture, so the bag is big and the faint ten still read as bags */
@media (max-width:640px){
  .pg-drip .pg-top--bag .pg-top__grid>.dr-top{aspect-ratio:10/11;max-height:none}
  .dr-top{--foot:50px}
  .pg-drip .pg-top--bag .dr-top .dr-top__here{height:50%}
  .dr-top__you{top:calc(var(--hpy) / 10.6 * 1% - 50% - 10px);padding:7px 11px;font-size:10px}
}
/* computers: the right half of the window, standing on the snow above the ridge at the foot of the opening */
@media (min-width:1100px){
  .pg-drip .pg-top--bag .pg-top__grid>.dr-top{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%);mask-image:linear-gradient(90deg,transparent 0,#000 7%)}
  .dr-top{--foot:calc(clamp(60px,8vw,150px) * .5)}
}

/* ---------- 3. the mountain band: big white words on the photo, as on the home page (computers; phones keep the
   home page's stacked band, words under the photo) ---------- */
@media (min-width:1000px){
  .pg-drip .oa-peak--card .oa-peak__fig::after{display:block;background:linear-gradient(24deg,rgba(9,32,48,.78) 0%,rgba(9,32,48,.5) 30%,rgba(9,32,48,.14) 54%,rgba(9,32,48,0) 70%)}
  .pg-drip .oa-peak--card .oa-peak__words{bottom:clamp(44px,4.6vw,96px);width:min(900px,52%);padding:0;border-radius:0;background:none;box-shadow:none;color:#fff;text-shadow:0 2px 26px rgba(9,32,48,.4)}
  .pg-drip .oa-peak--card .oa-peak__words .oa-k{color:#fff}
  .pg-drip .oa-peak--card .oa-peak__h{font-size:clamp(36px,3.5vw,74px);line-height:1.04;color:#fff!important}
  .pg-drip .oa-peak--card .oa-peak__sub{margin-top:20px;font-size:clamp(17px,1.2vw,22px);color:#fff}
  .pg-drip .oa-peak--card .oa-peak__sub span{display:inline-block;margin:0 0 0 10px;color:#fff}
}

/* ---------- 5. Add NAD+: its own bag ---------- */
.rn-plus__bag{display:block;align-self:center;border-radius:10px}
.rn-plus__bag img{display:block;width:clamp(86px,7.2vw,140px);height:auto;filter:drop-shadow(0 22px 18px rgba(13,62,91,.16));transition:transform .35s cubic-bezier(.2,.8,.2,1)}
@media (hover:hover) and (pointer:fine){.rn-plus__bag:hover img{transform:translateY(-8px)}}
@media (max-width:640px){.rn-plus__bag img{width:96px}}

/* ---------- 4. the bottom of the page: the home page's climb in small ---------- */
/* the row is the shared kit's sideways row (it glides on its own wherever it is wider than the screen); here it gets
   its look: eleven equal steps up the slope, the climb centred and no wider than 1720px, the snow running edge to edge */
.dr-climb{overflow:hidden;--k:1;--pad:clamp(16px,4vw,72px)}
.dr-climb .pg-head{margin-bottom:clamp(6px,1.2vw,22px)}
.dr-climb .skp-row{--skp-gap:0px;--side:max(var(--pad),calc((100% - 1720px) / 2 + var(--pad)))}
.dr-climb .skp-row .skp-row__track{position:relative;align-items:flex-end;padding:0 var(--side);overscroll-behavior-x:contain}
/* the slope meets each bag's foot: under it, the name and price (74px) on the snow; --k flattens it on phones */
.dr-climb .skp-row .skp-row__track>.dr-climb__hill{position:absolute;z-index:0;left:var(--side);bottom:78px;width:calc(11 * max(92px,calc((100% - 2 * var(--side)) / 11)));max-width:none;height:calc(var(--R) * var(--k) * 1px);overflow:visible;pointer-events:none;transform:none;opacity:1;transition:none;scroll-snap-align:none}
/* the snow fades into the band's colour at the foot of the row, all the way along it */
.dr-climb .skp-row__track::after{content:"";position:absolute;z-index:0;left:0;bottom:0;width:calc(2 * var(--side) + 11 * max(92px,calc((100% - 2 * var(--side)) / 11)));height:56px;background:linear-gradient(180deg,rgba(243,251,251,0),var(--ice));pointer-events:none}
.dr-climb__bag{position:relative;z-index:1;display:flex;justify-content:center;width:max(92px,calc(100% / 11));padding-bottom:calc(var(--r) * var(--k) * 1px)}
.dr-climb .skp-row .skp-row__track>.dr-climb__bag{scroll-snap-align:center}
/* this site's entrance: the bags rise onto the slope, one after another */
.dr-climb .skp-row[data-entrance]:not(.is-in) .skp-row__track>.dr-climb__bag{transform:translateY(34px)}
.dr-climb .skp-row.is-in .skp-row__track>.dr-climb__bag{transition-delay:calc(var(--d,0) * 80ms)}
.dr-climb .skp-row__arrows{padding:0 var(--pad)}
@media (min-width:1100px){.dr-climb .skp-row__arrows{display:none}}
.dr-climb__bag a{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;padding:8px 3px 0;border-radius:14px;color:var(--navy);text-decoration:none;text-align:center}
.dr-climb__bag img{display:block;width:min(clamp(60px,3.9vw,80px),72%);height:auto;filter:drop-shadow(0 14px 12px rgba(13,62,91,.15));transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.dr-climb__lab{display:flex;flex-direction:column;align-items:center;gap:5px;height:64px;margin-top:10px}
.dr-climb__name{font:700 14px/1.15 Montserrat,system-ui,sans-serif;text-wrap:balance}
.dr-climb__price{display:inline-flex;align-items:center;gap:5px;font:700 15px/1 Montserrat,system-ui,sans-serif;font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
.dr-climb__price .oa-mk{flex:0 0 auto;width:13px;height:13px}.dr-climb__price .oa-mk--wide{width:21px}
@media (hover:hover) and (pointer:fine){
  .dr-climb__bag a:hover img{transform:translateY(-8px)}
  .dr-climb__bag a:hover .dr-climb__name{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;text-decoration-color:var(--teal)}
}
/* this drip: bigger, the sun behind it, "You're here" over it */
.dr-climb__bag.is-here img{width:min(clamp(80px,5.2vw,104px),90%)}
.dr-climb__bag.is-here a::before{content:"";position:absolute;z-index:-1;left:50%;top:44%;width:230px;aspect-ratio:1;border-radius:50%;transform:translate(-50%,-50%);
  background:radial-gradient(closest-side,#FFFDF8 0%,rgba(250,240,222,.95) 32%,rgba(232,212,180,.45) 64%,rgba(216,193,159,0) 100%);pointer-events:none}
.dr-climb__you{margin:0 0 10px;padding:7px 10px;border-radius:999px;background:var(--navy);color:#fff;font:700 10.5px/1 Montserrat,system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
.dr-climb__hint{display:none;margin:12px 0 0;font:600 14px/1.3 Montserrat,system-ui,sans-serif;color:#40545F;text-align:center}
.dr-climb__all{display:flex;justify-content:center;margin-top:clamp(22px,2.2vw,36px)}
/* narrower than the eleven: the climb slides sideways, opening on this drip */
@media (max-width:1099px){
  .dr-climb .skp-row__track{-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 20px,#000 calc(100% - 20px),transparent 100%)}
  .dr-climb__hint{display:block}
}
@media (max-width:640px){.dr-climb{--k:.5;--pad:30px}}
@media (prefers-reduced-motion:reduce){
  .dr-top__bag a,.rn-plus__bag img,.dr-climb__bag img{transition:none}
  /* calmer, never frozen (the kit keeps the row gliding): all eleven rise together, quickly */
  .dr-climb .skp-row.is-in .skp-row__track>.dr-climb__bag{transition-delay:0s}
}
