/* Rise redesign layer (Oct 2026). Loaded after rise.css on every page.
   Effects come from the Sellz Scroll FX Library, recoloured for Rise:
   #45 brushed button = primary CTAs, #39 light-catch outline = secondary buttons,
   #24 pinned steps, #46 pinned offer reveal, #50 review wall. See /assets/fx.js for the motion. */

:root { --rise-yellow: #FFFF00; }

/* Smooth scrolling (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* ---------- #45 Primary CTA: oval, brushed Rise yellow with a moving sheen ---------- */
.btn-rise-primary {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  isolation: isolate; overflow: hidden; border: 0; border-radius: 999px;
  padding: 1rem 2.4rem; color: #0a0a0a;
  font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; line-height: 1.1;
  background: linear-gradient(100deg, #d4d400 0%, #ffff00 26%, #ffffc4 42%, #ffff00 62%, #d4d400 100%);
  background-size: 180% 100%; background-position: 0% 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 210, .45) inset, 0 16px 44px -16px rgba(255, 255, 0, .55);
  transition: background-position .8s ease, box-shadow .4s ease, transform .2s ease;
  animation: none;
}
.btn-rise-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .9) 50%, transparent 65%);
  transform: translateX(-130%); animation: rise-sheen 5s cubic-bezier(.5, 0, .3, 1) .8s infinite;
}
.btn-rise-primary::after { content: "\2192"; font-family: Barlow, sans-serif; font-weight: 700; font-size: 1.15em; line-height: 1; transition: transform .25s ease; }
.btn-rise-primary:hover, .btn-rise-primary:focus-visible {
  background-color: transparent; background-position: 100% 0; transform: translateY(-1px); animation: none;
  box-shadow: 0 0 0 1px rgba(255, 255, 210, .6) inset, 0 20px 60px -12px rgba(255, 255, 0, .75);
}
.btn-rise-primary:hover::after { transform: translateX(4px); }
.btn-rise-primary:active { transform: scale(.98); }
.btn-rise-primary:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Dark version for yellow backgrounds */
.btn-rise-primary.btn-rise-dark {
  color: var(--rise-yellow);
  background: linear-gradient(100deg, #000 0%, #262626 26%, #4a4a4a 42%, #262626 62%, #000 100%); background-size: 180% 100%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 16px 40px -16px rgba(0, 0, 0, .6);
}
.btn-rise-primary.btn-rise-dark::before { background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, .28) 50%, transparent 65%); }
@keyframes rise-sheen { 0% { transform: translateX(-130%); } 30%, 100% { transform: translateX(130%); } }

/* ---------- #39 Secondary: oval outline whose border catches yellow light ---------- */
.btn-rise-outline {
  position: relative; display: inline-flex; align-items: center; justify-content: center; isolation: isolate;
  border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; background: transparent; color: #fff;
  padding: 1rem 2.6rem; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; line-height: 1.1;
  transition: color .3s ease, background-color .3s ease; animation: none; box-shadow: none;
}
.btn-rise-outline:hover, .btn-rise-outline:focus-visible { color: var(--rise-yellow); background: rgba(255, 255, 0, .04); box-shadow: none; animation: none; }
.btn-rise-outline:focus-visible { outline: 2px solid var(--rise-yellow); outline-offset: 3px; }
.fx39-ring { position: absolute; inset: -1px; padding: 1px; border-radius: inherit; overflow: hidden; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.fx39-spin { position: absolute; inset: 0; }
.fx39-light { position: absolute; left: 50%; top: 50%; width: 200%; aspect-ratio: 1; transform: translate(-50%, -50%) rotate(135deg);
  background: conic-gradient(from -70deg, transparent 0deg, rgba(255, 255, 0, .85) 50deg, #ffffd0 70deg, rgba(255, 255, 0, .85) 90deg, transparent 140deg, transparent 360deg); }

@media (prefers-reduced-motion: reduce) { .btn-rise-primary::before { animation: none; } }

/* ---------- Hero (centered) ---------- */
.rh { position: relative; isolation: isolate; min-height: 680px; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; background: #0a0a0a; }
@media (min-width: 768px) { .rh { min-height: 100vh; } }
.rh-bg { position: absolute; inset: 0; z-index: -1; }
.rh-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; display: block; }
.rh-bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(0, 0, 0, .26), rgba(0, 0, 0, .42) 75%), linear-gradient(180deg, rgba(0, 0, 0, .38), rgba(0, 0, 0, .04) 35%, rgba(0, 0, 0, .05) 70%, #0d0d0d 100%); }
.rh-eyebrow, .rh-title, .rh-sub, .rh-rating { text-shadow: 0 2px 4px rgba(0, 0, 0, .55), 0 4px 28px rgba(0, 0, 0, .55); }
.rh-inner { width: 100%; max-width: 1280px; padding: 128px 20px 110px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; }
.rh-eyebrow { margin: 0 0 1.1rem; color: var(--rise-yellow); font-family: Barlow, sans-serif; font-weight: 700; font-size: clamp(.8rem, 1.6vw, 1.05rem); letter-spacing: .28em; text-transform: uppercase; }
.rh-title { margin: 0; font-family: "Barlow Condensed", sans-serif; font-weight: 900; text-transform: uppercase; line-height: .92; letter-spacing: .005em; display: flex; flex-direction: column; align-items: center; }
.rh-l1 { color: var(--rise-yellow); font-size: clamp(2.6rem, 10vw, 8.6rem); }
.rh-l2 { display: flex; align-items: center; gap: .55em; color: #fff; font-size: clamp(1.3rem, 3.4vw, 3rem); margin: .16em 0 .08em; width: 100%; max-width: 13em; }
.rh-l2::before, .rh-l2::after { content: ""; flex: 1; height: 2px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85) 25%, rgba(255, 255, 255, .85) 75%, transparent); }
.rh-l3 { color: #fff; font-size: clamp(2.6rem, 10vw, 8.6rem); }
.rh-sub { margin: 1.4rem auto 2.2rem; max-width: 62ch; color: rgba(255, 255, 255, .92); font-family: Barlow, sans-serif; font-weight: 500; font-size: clamp(1.05rem, 2.1vw, 1.45rem); line-height: 1.45; }
.rh .btn-rise-primary { font-size: clamp(1.05rem, 1.9vw, 1.35rem); padding: 1.15em 2.4em; }
.rh-rating { margin: 1.6rem 0 0; color: #fff; font-family: Barlow, sans-serif; font-size: clamp(1rem, 1.8vw, 1.3rem); }
.rh-rating b { font-weight: 700; }
.rh-rating .rh-star { color: var(--rise-yellow); margin-right: .25em; }
.rh-down { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(255, 255, 255, .5); background: none; border: 0; cursor: pointer; animation: rh-bounce 2s infinite; }
.rh-down:hover { color: var(--rise-yellow); }
@keyframes rh-bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
.rh-in { opacity: 0; transform: translateY(18px); animation: rh-in .9s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes rh-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .rh-in { opacity: 1; transform: none; animation: none; } .rh-down { animation: none; } }

/* ---------- Shared section heading ---------- */
.rx-head { text-align: center; max-width: 760px; margin: 0 auto; }
.rx-head .section-label { display: inline-block; }
.rx-head h2 { margin: .6rem 0 0; color: #fff; font-family: "Barlow Condensed", sans-serif; font-weight: 900; text-transform: uppercase; line-height: 1; font-size: clamp(2.3rem, 5vw, 3.6rem); }
.rx-head p { margin: 1rem auto 0; max-width: 36rem; color: rgba(255, 255, 255, .6); font-family: Barlow, sans-serif; font-size: 1.1rem; line-height: 1.6; }

/* ---------- #24 Pinned steps (How to Get Started) ---------- */
.fx24 { background: #111; color: #fff; padding: clamp(64px, 9vw, 120px) 20px; }
.fx24-head { margin-bottom: clamp(32px, 5vw, 56px); }
.fx24-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; display: grid; gap: clamp(40px, 6vw, 64px); }
.fx24-step { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; }
.fx24-visual { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: #1a1a1a; }
.fx24-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fx24-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .65), transparent 55%); }
.fx24-num { position: absolute; left: 22px; bottom: 14px; z-index: 1; color: var(--rise-yellow); font-family: "Barlow Condensed", sans-serif; font-weight: 900; font-size: clamp(3.4rem, 7vw, 5.5rem); line-height: 1; }
.fx24-text h3 { margin: 0 0 .5em; font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.02; color: #fff; }
.fx24-text p { margin: 0; max-width: 40ch; color: rgba(255, 255, 255, .65); font-family: Barlow, sans-serif; font-size: 1.1rem; line-height: 1.65; }
.fx24-step-label { display: block; margin-bottom: .7rem; color: var(--rise-yellow); font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; }
.fx24-cta { margin-top: 1.8rem; }
.fx24-bar { display: none; }
@media (min-width: 768px) { .fx24-step { grid-template-columns: 1.1fr 1fr; gap: 6vw; } }
.fx24.fx24-on { height: 100vh; min-height: 640px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(28px, 5vh, 64px); padding-bottom: clamp(28px, 5vh, 64px); }
.fx24-on .fx24-head { margin-bottom: clamp(22px, 4vh, 44px); }
.fx24-on .fx24-head p { display: none; }
.fx24-on .fx24-steps { width: 100%; }
.fx24-on .fx24-steps, .fx24-on .fx24-bar { max-width: min(1100px, 125vh); }
.fx24-on .fx24-step { grid-area: 1 / 1; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 5vw; }
.fx24-on .fx24-bar { display: block; width: 100%; margin: clamp(18px, 3.5vh, 34px) auto 0; height: 3px; background: rgba(255, 255, 255, .12); border-radius: 3px; overflow: hidden; }
.fx24-bar span { display: block; height: 100%; background: var(--rise-yellow); transform-origin: left center; }

/* ---------- #46 Pinned offer reveal (Unlimited Personal Training) ---------- */
.fx46 { --fx46-accent: #FFFF00; position: relative; overflow: hidden; isolation: isolate; background: #0b0b0b; color: #fff; font-family: "Barlow Condensed", sans-serif; }
.fx46-bg { position: absolute; inset: 0; z-index: -1; }
.fx46-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; display: block; }
.fx46-bg::after { content: ""; position: absolute; inset: 0; background: rgba(6, 6, 6, .7); }
.fx46-inner { max-width: 1180px; margin: 0 auto; padding: clamp(64px, 10vh, 110px) 5vw; text-align: center; }
.fx46-eyebrow { margin: 0 0 1em; color: var(--fx46-accent); font-size: .85rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.fx46-title { margin: 0 auto .9em; max-width: 24ch; font-size: clamp(2.3rem, 5.6vw, 4.6rem); font-weight: 900; line-height: .98; text-transform: uppercase; }
.fx46-title em { font-style: normal; color: var(--fx46-accent); }
.fx46-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fx46-point { display: flex; align-items: center; gap: 16px; text-align: left; padding: 24px 20px; background: rgba(14, 14, 14, .8); border: 1px solid rgba(255, 255, 255, .13); border-radius: 12px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 1.15rem; font-weight: 700; line-height: 1.15; text-transform: uppercase; letter-spacing: .02em; }
.fx46-icon { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 0, .12); color: var(--fx46-accent); }
.fx46-icon svg { width: 22px; height: 22px; }
.fx46-price { margin: 1.2em 0 .8em; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.fx46-price b { font-size: 1.75em; font-weight: 900; color: var(--fx46-accent); vertical-align: -.08em; }
.fx46-on { min-height: 100vh; display: flex; align-items: center; }
.fx46-on .fx46-inner { width: 100%; box-sizing: border-box; }
@media (max-width: 1023px) { .fx46-points { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .fx46-inner { padding: 36px 18px; }
  .fx46-eyebrow { font-size: .72rem; margin-bottom: .7em; }
  .fx46-title { font-size: 2rem; margin-bottom: .6em; }
  .fx46-points { grid-template-columns: 1fr; gap: 6px; }
  .fx46-point { padding: 9px 12px; gap: 12px; font-size: .9rem; border-radius: 8px; }
  .fx46-icon { width: 30px; height: 30px; border-radius: 7px; }
  .fx46-icon svg { width: 16px; height: 16px; }
  .fx46-price { font-size: 1.3rem; line-height: 1.1; margin: .8em 0 .6em; }
}

/* ---------- #50 Review wall with rating header ---------- */
.fx50 { --fx50-lines: 7; background: #0d0d0d; color: #f4f4f2; padding: clamp(72px, 10vw, 128px) 20px; text-align: center; }
.fx50-rating { margin: 1rem 0 clamp(30px, 4vw, 44px); color: #a9a9a6; font-family: Barlow, sans-serif; font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.3; }
.fx50-rating b { color: #fff; font-weight: 700; font-size: 1.25em; }
.fx50-rating .fx50-star { color: var(--rise-yellow); font-size: 1.15em; }
.fx50-wall { columns: 3 280px; column-gap: 16px; max-width: 1140px; margin: 0 auto; text-align: left; }
.fx50-card { break-inside: avoid; margin: 0 0 16px; background: #151515; border: 1px solid #2a2a2a; border-radius: 14px; padding: 20px 22px; display: grid; gap: 12px; font-family: Barlow, sans-serif; }
.fx50-card header { display: flex; gap: 12px; align-items: center; }
.fx50-card header div { display: grid; line-height: 1.3; }
.fx50-card strong { font-weight: 700; color: #fff; }
.fx50-card small { font-size: .85rem; color: #a9a9a6; }
.fx50-stars { color: var(--rise-yellow); letter-spacing: .06em; white-space: nowrap; }
.fx50-av { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: var(--rise-yellow); color: #0a0a0a; }
.fx50-card p { margin: 0; color: rgba(255, 255, 255, .82); line-height: 1.6; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: var(--fx50-lines); line-clamp: var(--fx50-lines); -webkit-box-orient: vertical; overflow: hidden; }
.fx50-actions { display: flex; flex-direction: column; align-items: center; margin-top: clamp(30px, 4vw, 44px); }
.fx50-actions p { margin: 2.6rem 0 1.4rem; color: rgba(255, 255, 255, .5); font-family: Barlow, sans-serif; font-size: .9rem; }
@media (max-width: 600px) { .fx50-wall { columns: 1; } }

/* Smaller primary button in the header and mobile menu */
.btn-rise-primary.text-sm { font-size: .9rem; padding: .7rem 1.35rem; letter-spacing: .07em; }
.btn-rise-primary.w-full { display: flex; }
/* Keep Tailwind's responsive "hidden" working on the header button */
.btn-rise-primary.hidden { display: none; }
@media (min-width: 768px) { .btn-rise-primary.hidden.md\:inline-flex { display: inline-flex; } }
@media (min-width: 768px) { .rh-l1, .rh-l3 { white-space: nowrap; } }
.btn-rise-primary { text-align: center; }
.fx50-card.fx50-open p { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.fx50-more { justify-self: start; margin-top: -4px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--rise-yellow); font-family: Barlow, sans-serif; font-weight: 600; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.fx50-more:hover { color: #fff; }
.fx50-more:focus-visible { outline: 2px solid var(--rise-yellow); outline-offset: 3px; }
.fx50-attrib { margin: 6px 0 0; font-family: Barlow, sans-serif; font-size: .8rem; color: rgba(255, 255, 255, .45); }
.fx50-attrib a { color: inherit; }
.fx50-card header a { color: inherit; text-decoration: none; }
.fx50-card header a:hover strong { color: var(--rise-yellow); }

/* ---------- Back to top button (all pages) ---------- */
.rise-top { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer;
  background: rgba(10, 10, 10, .88); color: var(--rise-yellow, #ff0); border: 2px solid var(--rise-yellow, #ff0);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .45); opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s, background-color .2s, color .2s; }
.rise-top.is-on { opacity: 1; visibility: visible; transform: none; }
.rise-top:hover, .rise-top:focus-visible { background: var(--rise-yellow, #ff0); color: #0a0a0a; }
.rise-top:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.rise-top svg { width: 24px; height: 24px; }
@media (max-width: 767px) { .rise-top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .rise-top { transition: opacity .01s, visibility .01s; transform: none; } }
/* Slide-in animations start off to the side; clip them so phones never get sideways scrolling */
html, body { overflow-x: clip; }
