/* 2026-10-20, the lite launch: Home's testimonials now come after the steps, so they sit on the light (champagne) ground
   brighten.js leaves behind them, and reviews.css writes their text in white. Once the page is lit (html.q-lit) the cards
   take the page's dark ink (--q-ink-rgb, set by brighten.js). */
html.q-lit .page[data-route="home"] .rv__card,html.q-lit .page[data-route="home"] .rv__sm{color:rgba(var(--q-ink-rgb),.92);border-color:rgba(var(--q-ink-rgb),.16)}
html.q-lit .page[data-route="home"] .rv__name,html.q-lit .page[data-route="home"] .rv__sm-name{color:rgb(var(--q-ink-rgb))}
html.q-lit .page[data-route="home"] .rv__meta,html.q-lit .page[data-route="home"] .rv__src,html.q-lit .page[data-route="home"] .rv__when{color:rgba(var(--q-ink-rgb),.66)}
html.q-lit .page[data-route="home"] .rv__card blockquote,html.q-lit .page[data-route="home"] .rv__sm blockquote{color:rgba(var(--q-ink-rgb),.88);text-shadow:none}
html.q-lit .page[data-route="home"] .rv__pfp,html.q-lit .page[data-route="home"] .rv__sm-pfp{background-color:rgba(var(--q-ink-rgb),.08);box-shadow:0 0 0 1px rgba(var(--q-ink-rgb),.16)}
/* the one Daypass card (not pinned): its glow spills past the card instead of being cut at the scroller's edge
   (.reel__stage/.reel__scroller clip for the pinned reel); the page itself already clips sideways */
.page[data-route="home"] .reel:not(.is-pinned) .reel__stage,.page[data-route="home"] .reel:not(.is-pinned) .reel__scroller{overflow:visible}
/* the offer fades in and rises once "Experience Quantum" has faded (lite-reel.js toggles .is-up), and goes back down if you
   scroll back up to the title */
.page[data-route="home"] .reel.is-single{opacity:0;transform:translate3d(0,64px,0);transition:opacity 900ms cubic-bezier(.2,.7,.2,1),transform 1200ms cubic-bezier(.16,1,.3,1)}
.page[data-route="home"] .reel.is-single.is-up{opacity:1;transform:none}
html.motion-off .page[data-route="home"] .reel.is-single{opacity:1;transform:none;transition:none}
@media (prefers-reduced-motion:reduce){.page[data-route="home"] .reel.is-single{opacity:1;transform:none;transition:none}}
/* the daypass photos (every card, pinned or not): as tall as the card beside it, a bigger file, and edges that fade out over a fifth of the photo */
@media (min-width:1001px){
  .page[data-route="home"] .reel .rp__inner{align-items:stretch;grid-template-columns:minmax(330px,.84fr) minmax(0,1.16fr)}
  .page[data-route="home"] .reel .rp__plate{aspect-ratio:auto;max-height:none;align-self:stretch;min-height:420px;width:auto;justify-self:stretch;margin-right:calc(-1 * max(var(--q-gutter,24px),(100vw - var(--q-col,1184px)) / 2))}
  .page[data-route="home"] .reel .rp__img{object-position:50% 78%;-webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.16) 3%,rgba(0,0,0,.5) 7%,rgba(0,0,0,.84) 11%,#000 15%,#000 87%,rgba(0,0,0,.84) 91%,rgba(0,0,0,.5) 95%,rgba(0,0,0,.16) 98%,transparent 100%),linear-gradient(180deg,transparent 0,rgba(0,0,0,.16) 4%,rgba(0,0,0,.5) 9%,rgba(0,0,0,.84) 15%,#000 21%,#000 84%,rgba(0,0,0,.84) 89%,rgba(0,0,0,.5) 93%,rgba(0,0,0,.16) 97%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.16) 3%,rgba(0,0,0,.5) 7%,rgba(0,0,0,.84) 11%,#000 15%,#000 87%,rgba(0,0,0,.84) 91%,rgba(0,0,0,.5) 95%,rgba(0,0,0,.16) 98%,transparent 100%),linear-gradient(180deg,transparent 0,rgba(0,0,0,.16) 4%,rgba(0,0,0,.5) 9%,rgba(0,0,0,.84) 15%,#000 21%,#000 84%,rgba(0,0,0,.84) 89%,rgba(0,0,0,.5) 93%,rgba(0,0,0,.16) 97%,transparent 100%)}
}
/* membership: Franco's arcs (two families of circles, right and left) instead of the white glow. They draw in as the line
   arrives (lite-mjoin.js sets --mjp 0..1, each arc a little after the one before) and then turn slowly, the right family
   clockwise and the left one the other way, like the rings behind "Experience Quantum". Ink follows the page. */
.mjoin__rings{position:absolute;left:50%;top:50%;z-index:0;height:min(92vh,860px);width:auto;aspect-ratio:1080 / 1500;transform:translate(-50%,-50%);overflow:visible;pointer-events:none;color:rgb(var(--q-ink-rgb,238,242,248))}
.mjoin__in>:not(.mjoin__rings){position:relative;z-index:1}
.mjoin__arc{stroke-opacity:.8;stroke-width:1.4;stroke-dasharray:1 2;stroke-dashoffset:calc(1 - clamp(0,(var(--mjp,1) - var(--k) * .1) / .4,1));transform-box:view-box}
.mjoin__arc--r{transform-origin:739.5px 750px}
.mjoin__arc--l{transform-origin:339.5px 750px}
@media (max-width:1000px),(pointer:coarse){.mjoin__rings{height:min(70svh,640px)}}
/* less blind scroll between the steps and the membership line: no padding between them, and on desktop the membership
   section starts over the swirl's tail */
.page[data-route="home"] #visit{padding-bottom:0}
.page[data-route="home"] .mjoin-sec{padding-top:0}
/* (the membership section used to start 22vh up over the swirl's tail, to cut blind scroll while it was pinned; with no pin
   that put its arcs against the last step - Franco, 2026-10-20 - so it starts where the steps end) */
/* Home's membership line no longer holds the screen (index.html pins .mjoin for 55vh on desktop): it scrolls like any
   section, its arcs free to reach past it (they fade out as it leaves, lite-mjoin.js) */
@media (min-width:1001px) and (prefers-reduced-motion:no-preference){
  .page[data-route="home"] .mjoin{display:grid;place-content:center;height:auto;min-height:min(86vh,780px);padding:var(--ds-space-3xl) 24px;overflow:visible}
  .page[data-route="home"] .mjoin__in{position:relative;top:auto;height:auto}
}
.page[data-route="home"] .mjoin{overflow:visible}
.page[data-route="home"] .mjoin-sec{overflow-x:clip}
.page[data-route="home"] #daypasses{overflow-x:clip}
/* the closing photo: a taller section, the photo anchored at 40% (it was 70%, then 18%: Franco wanted her between), and
   an eased fade in over the top 36%; the bottom runs clean to the footer line (Franco) */
.page[data-route="home"] #closing{min-height:min(96vh,880px)}
.page[data-route="home"] #closing .closing__bg{object-position:50% 40%}
html.q-lit .page[data-route="home"] .closing picture{-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,0.000) 0.0%,rgba(0,0,0,0.028) 3.6%,rgba(0,0,0,0.104) 7.2%,rgba(0,0,0,0.216) 10.8%,rgba(0,0,0,0.352) 14.4%,rgba(0,0,0,0.500) 18.0%,rgba(0,0,0,0.648) 21.6%,rgba(0,0,0,0.784) 25.2%,rgba(0,0,0,0.896) 28.8%,rgba(0,0,0,0.972) 32.4%,rgba(0,0,0,1.000) 36.0%,#000 100%);mask-image:linear-gradient(to bottom,rgba(0,0,0,0.000) 0.0%,rgba(0,0,0,0.028) 3.6%,rgba(0,0,0,0.104) 7.2%,rgba(0,0,0,0.216) 10.8%,rgba(0,0,0,0.352) 14.4%,rgba(0,0,0,0.500) 18.0%,rgba(0,0,0,0.648) 21.6%,rgba(0,0,0,0.784) 25.2%,rgba(0,0,0,0.896) 28.8%,rgba(0,0,0,0.972) 32.4%,rgba(0,0,0,1.000) 36.0%,#000 100%)}
/* the membership heading and button fade in and rise as the heading enters (lite-mjoin.js), instead of the router's reveal */
html .page[data-route="home"] .mjoin.mjoin .mjoin__q{opacity:var(--mjq,1);transform:translate3d(0,calc((1 - var(--mjq,1)) * 44px),0);transition:none}
html .page[data-route="home"] .mjoin.mjoin .mjoin__cta{opacity:var(--mjc,1);transform:translate3d(0,calc((1 - var(--mjc,1)) * 24px),0);transition:none}
/* Home's testimonials band (a paper section, 84% paper site-wide) is far lighter: 20% (Franco, 2026-10-20) */
.page[data-route="home"] #proof.bb-section--paper{background:color-mix(in srgb,var(--ds-color-paper) 20%,transparent)}
/* the blue glow under the hero ends without a line: its fade into the ground is twice as long and eased (was a straight
   ramp over the band's bottom 40%, solid at 92%) */
.page[data-route="home"] #daypasses .qg-band .qg-fade{height:78%;background:linear-gradient(to bottom,rgba(var(--q-rgb),0.000) 0.0%,rgba(var(--q-rgb),0.015) 7.1%,rgba(var(--q-rgb),0.055) 14.3%,rgba(var(--q-rgb),0.118) 21.4%,rgba(var(--q-rgb),0.198) 28.6%,rgba(var(--q-rgb),0.292) 35.7%,rgba(var(--q-rgb),0.394) 42.9%,rgba(var(--q-rgb),0.500) 50.0%,rgba(var(--q-rgb),0.606) 57.1%,rgba(var(--q-rgb),0.708) 64.3%,rgba(var(--q-rgb),0.802) 71.4%,rgba(var(--q-rgb),0.882) 78.6%,rgba(var(--q-rgb),0.945) 85.7%,rgba(var(--q-rgb),0.985) 92.9%,rgba(var(--q-rgb),1.000) 100.0%)}
/* each daypass photo framed on its people: the Mini Daypass class from the top (faces, not laps), the Daypass plunge from
   the bottom (the guests in the water), Daypass Plus (the facial) a little below centre, on the guest's face */
@media (min-width:1001px){
  .page[data-route="home"] .reel .rp[data-rp="0"] .rp__img{object-position:50% 8%}
  .page[data-route="home"] .reel .rp[data-rp="2"] .rp__img{object-position:50% 55%}
}
/* ...and the section's own shading (.closing::before, which blends its bottom 260px into the ground) is off on the lit
   page, so the photo meets the footer line in a clean edge */
html.q-lit .page[data-route="home"] .closing::before{background:none}
/* 2026-10-21, Home testimonials (Franco): the four cards rotate beside the title as before; then the wall of reviews takes
   the whole inner width, centred (it was the right column only), with bigger, readable cards, and the title fades out and
   lifts as it rises (lite-rv.js sets --rvo 0..1). Same drift as before (router.js). Desktop only - phones never show the wall. */
@media (min-width:1001px){
  .page[data-route="home"] .rvsec__in>.rvf{grid-column:1 / -1;height:150vh}
  .page[data-route="home"] .rvsec__in>.rvf .rvf__cols{gap:20px}
  .page[data-route="home"] .rvsec__in>.rvf .rvf__run{gap:20px;padding-bottom:20px}
  .page[data-route="home"] .rvsec__in>.rvf .rv__sm{gap:6px 12px;padding:18px 20px 20px;border-radius:12px}
  .page[data-route="home"] .rvsec__in>.rvf .rv__sm-pfp{width:36px;height:36px}
  .page[data-route="home"] .rvsec__in>.rvf .rv__sm-name{font-size:1rem}
  .page[data-route="home"] .rvsec__in>.rvf .rv__sm blockquote{font-size:1rem;line-height:1.5}
  .page[data-route="home"] .rvsec__side{opacity:calc(1 - var(--rvo,0));transform:translate3d(0,calc(var(--rvo,0) * -56px),0)}
}
/* the closing's text sits in the middle of the section, not on its bottom edge (was align-items:flex-end, 160px over it) */
.page[data-route="home"] #closing{align-items:center;padding-top:clamp(96px,12vh,160px);padding-bottom:clamp(96px,12vh,160px)}

/* ===== 2026-10-21 audit fixes (AUDIT-2026-10-21.md) ===== */
/* phones: less flare, more usability */
@media (max-width:760px){
  /* 5. the closing: the photo sits above the words instead of under them (her face was behind the headline) */
  .page[data-route="home"] #closing{display:block;min-height:0;padding:0 0 var(--ds-space-2xl)}
  .page[data-route="home"] #closing picture{position:relative;display:block;height:min(78vw,340px);inset:auto;margin-bottom:var(--ds-space-lg)}
  .page[data-route="home"] #closing .closing__bg{object-position:50% 30%}
  html.q-lit .page[data-route="home"] .closing picture{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 22%,#000 72%,transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 22%,#000 72%,transparent 100%)}
  .page[data-route="home"] #closing::after,.page[data-route="home"] #closing::before{display:none}
  /* 8. the peeking headline keeps its ghost line but drops the label that crowded the review line */
  .page[data-route="home"] #daypasses .rintro>.bb-label{display:none}
  /* 7. the stacked daypass cards: shorter photos, so all three prices are within reach */
  .page[data-route="home"] .reel .rp__plate{aspect-ratio:auto;height:clamp(150px,42vw,190px);max-height:none}
}
@media (max-width:1000px),(pointer:coarse){
  /* 6. the name/price chips only make sense for the pinned carousel; stacked, they read as tabs */
  .page[data-route="home"] .reel:not(.is-pinned) .reel__rail,.page[data-route="home"] .reel:not(.is-pinned) .reel__hint{display:none}
}
/* 10. tap targets: 44px hit areas without changing the look (padding, cancelled by an equal negative margin) */
.bb-nav__brand{padding-block:15px;margin-block:-15px}
/* padding grows the hit area; the equal negative margin keeps every line where it was (no display change) */
.hero .rating,.hero-meta a,.closing .trust a{padding-block:13px;margin-block:-13px}
@media (max-width:1000px),(pointer:coarse){
  .bb-footer a{padding-block:3px;margin-block:-3px}
  .bb-footer .social a,.bb-footer [class*="social"] a{padding:3px 12px;margin:-3px -12px}
}
/* 11. the menu button keeps its ring on dark grounds (the light-nav border was dark on dark on Memberships) */
html:not(.q-lit) .bb-nav--light:not(.is-open) .bb-nav__menu{border-color:rgba(238,242,248,.35);background:rgba(255,255,255,.08)}
/* 17. glows and drifts pause while their section is off screen (lite.js sets data-off) */
[data-off] *{animation-play-state:paused!important}
/* 2026-10-21: hover/active contrast in the Quantum palette (Franco: the reviews link went dark on dark). The night theme
   inverts the token names (--ds-color-paper is a dark navy), so hovers that asked for "paper" went dark on dark. Measured
   on every link and button, every page, 390 and 1440, hover/active/focus-visible. */
.hero .rating:hover,.hero .rating:active{color:#fff}
/* "Try Quantum" in the header: one hover wherever the pill is light (the light nav on dark pages, Home once lit) - deep ember #A93F0F (the orange buttons' own hover), white: 6:1 */
html .bb-nav.bb-nav--light .bb-nav__cta:hover,html .bb-nav.bb-nav--light .bb-nav__cta:active,html.q-lit .bb-nav .bb-nav__cta:hover,html.q-lit .bb-nav .bb-nav__cta:active{background:#A93F0F;background-image:none;border-color:#A93F0F;color:#fff;opacity:1}
html.q-lit .bb-btn--ghost:hover,html.q-lit .bb-btn--ghost:active{color:var(--ds-color-text);border-color:var(--ds-color-text);background:rgba(var(--q-ink-rgb),.06)}
