/* ==========================================================================
   ELEVATE WITH SHREY — components
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: clamp(1.5rem, 3vh, 2.5rem);
  isolation: isolate;
}

/* ── Background treatment: used on tablet and phone, hidden on desktop ── */

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg-media {
  position: absolute;
  inset: -8% 0 -8% 0;
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0);
}

.hero__bg-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(14, 14, 14, 0.86) 0%,
      rgba(14, 14, 14, 0.42) 24%,
      rgba(14, 14, 14, 0.62) 55%,
      rgba(14, 14, 14, 0.97) 100%
    ),
    radial-gradient(
      120% 90% at 50% 100%,
      rgba(14, 14, 14, 0.92) 0%,
      transparent 62%
    );
}

.hero__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.hero__copy {
  width: 100%;
}

/* ── Portrait frame: desktop only ── */

.hero__frame {
  display: none;
  position: relative;
  flex: none;
  width: min(30vw, 400px);
  aspect-ratio: 9 / 16;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--bg-raised);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9);
}

.hero__frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__frame-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 90px 12px rgba(14, 14, 14, 0.55);
}

@media (min-width: 981px) {
  .hero {
    justify-content: center;
  }
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(2rem, 5vw, 6rem);
    align-items: center;
  }
  .hero__frame {
    display: block;
  }
  /* The frame carries the video on desktop, so the background copy is dimmed
     right down to a texture rather than competing with it. */
  .hero__bg-media {
    opacity: 0.22;
    filter: blur(3px) saturate(0.7);
  }
  .hero__scrim {
    background: linear-gradient(
        180deg,
        rgba(14, 14, 14, 0.9) 0%,
        rgba(14, 14, 14, 0.78) 40%,
        rgba(14, 14, 14, 0.96) 100%
      );
  }
}

@media (max-width: 980px) {
  /* Only one <video> should decode on small screens */
  .hero__frame {
    display: none;
  }
}

.hero__eyebrow {
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
}

.hero__title {
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.05em;
  max-width: 14ch;
  margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem);
}

.hero__sub {
  font-size: var(--fs-lead);
  color: var(--ink-dim);
  max-width: 56ch;
  line-height: 1.55;
  margin-bottom: clamp(2rem, 3vw, 2.75rem);
}

.hero__foot {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: clamp(2rem, 5vh, 4rem);
}

.hero__foot-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.hero__slots {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: var(--fs-small);
  color: var(--ink-faint);
  letter-spacing: -0.005em;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  position: relative;
  flex: none;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--blue);
  animation: pulse 2.4s var(--ease-out) infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-ghost);
}

.scroll-cue__line {
  width: 42px;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}

.scroll-cue__line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateX(-100%);
  animation: cue 2.6s var(--ease-in-out) infinite;
}

@keyframes cue {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

/* --------------------------------------------------------------------------
   2. Problem section + pull quote
   -------------------------------------------------------------------------- */

.pullquote {
  position: relative;
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.03em;
  max-width: 24ch;
  color: var(--ink);
  padding-left: clamp(1.25rem, 2vw, 2rem);
  border-left: 2px solid var(--blue);
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 6rem);
  align-items: center;
}

@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   3. Proof strip / transformation cards
   -------------------------------------------------------------------------- */

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(1rem, 1.6vw, 1.75rem);
}

.tcard {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.tcard:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

.tcard__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 4;
  padding: 0.5em 1em;
  border-radius: var(--r-pill);
  background: rgba(14, 14, 14, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.tcard__body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
}

.tcard__body p {
  color: var(--ink-dim);
  font-size: var(--fs-small);
  line-height: 1.6;
}

/* Before / after drag comparison */
.compare {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-elevated);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare__after {
  clip-path: inset(0 0 0 var(--pos, 50%));
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  background: var(--white);
  transform: translateX(-1px);
  z-index: 3;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  /* Grabbable in its own right. On touch this is the only thing that starts a
     drag — the rest of the card is left to the rail so you can still swipe
     between clients. `touch-action: none` stops the browser hijacking the
     gesture as a horizontal scroll the moment you move. */
  pointer-events: auto;
  touch-action: none;
  cursor: ew-resize;
}

/* Invisible 48px-wide grab strip so the 2px line is a realistic thumb target */
.compare__handle::before {
  content: "";
  position: absolute;
  inset: 0 -23px;
}

.compare__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  touch-action: none;
  cursor: ew-resize;
  transition: transform var(--dur-fast) var(--ease-out);
}

.compare.is-dragging .compare__grip {
  transform: translate(-50%, -50%) scale(1.12);
}

@media (pointer: coarse) {
  /* Bigger, more obviously grabbable thumb on phones */
  .compare__grip {
    width: 52px;
    height: 52px;
  }
  .compare__handle::before {
    inset: 0 -28px;
  }
}

.compare__label {
  position: absolute;
  bottom: 1rem;
  z-index: 3;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.4em 0.85em;
  border-radius: var(--r-pill);
  background: rgba(14, 14, 14, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
}

.compare__label--before {
  left: 1rem;
}
.compare__label--after {
  right: 1rem;
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   4. Coach section
   -------------------------------------------------------------------------- */

.coach {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 5.5rem);
  align-items: center;
}

@media (max-width: 960px) {
  .coach {
    grid-template-columns: 1fr;
  }
}

.coach__media {
  position: relative;
}

.coach__primary {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--line);
}

.coach__primary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gentle bottom fade so the photo dissolves into the page rather than
   ending on a hard edge */
.coach__primary::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 62%,
    rgba(14, 14, 14, 0.45) 100%
  );
}

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
}

.cred {
  font-size: var(--fs-micro);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0.6em 1.1em;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  transition: border-color var(--dur) var(--ease-out),
    color var(--dur) var(--ease-out);
}

.cred:hover {
  border-color: var(--blue-faint);
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   5. Outcome cards
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(1rem, 1.4vw, 1.5rem);
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.card {
  position: relative;
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: border-color var(--dur) var(--ease-out),
    background var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 0%),
    var(--blue-ghost),
    transparent 70%
  );
  transition: opacity var(--dur) var(--ease-out);
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.card:hover::before {
  opacity: 1;
}

.card__num {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--blue);
  display: block;
  margin-bottom: 1.4rem;
}

.card__title {
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.card__text {
  color: var(--ink-dim);
  font-size: var(--fs-small);
  line-height: 1.62;
}

.card__icon {
  width: 34px;
  height: 34px;
  margin-bottom: 1.5rem;
  color: var(--blue);
}

/* --------------------------------------------------------------------------
   5b. Outcome — sticky photo, scrolling cards
   -------------------------------------------------------------------------- */

.outcome {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(1.5rem, 3.5vw, 4rem);
  align-items: start;
}

.outcome__aside {
  position: sticky;
  top: calc(var(--nav-h) + clamp(1.5rem, 5vh, 4rem));
}

.outcome__figure {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  aspect-ratio: 4 / 5;
}

.outcome__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Daylight green against a dark page — pulled back so it sits in the palette */
  filter: saturate(0.78) contrast(1.05) brightness(0.9);
}

.outcome__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
      130% 100% at 50% 35%,
      transparent 28%,
      rgba(14, 14, 14, 0.55) 100%
    ),
    linear-gradient(180deg, transparent 42%, rgba(14, 14, 14, 0.9) 100%);
}

.outcome__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: clamp(1.15rem, 2vw, 1.75rem);
  font-size: var(--fs-small);
  color: var(--ink-dim);
  line-height: 1.5;
}

.outcome__caption-label {
  display: block;
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.outcome__cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.3vw, 1.35rem);
}

.ocard {
  position: relative;
  padding: clamp(1.5rem, 2.2vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  overflow: hidden;
  isolation: isolate;
  transition: border-color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.ocard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: radial-gradient(
    320px circle at var(--mx, 50%) var(--my, 0%),
    var(--blue-ghost),
    transparent 70%
  );
  transition: opacity var(--dur) var(--ease-out);
}

.ocard:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.ocard:hover::before {
  opacity: 1;
}

.ocard__num {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: 1.15rem;
}

.ocard__title {
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.ocard__text {
  color: var(--ink-dim);
  font-size: var(--fs-small);
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .outcome {
    grid-template-columns: 1fr;
  }
  .outcome__aside {
    position: static;
  }
  .outcome__figure {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 620px) {
  .outcome__cards {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   6. Pillars — sticky scroll
   -------------------------------------------------------------------------- */

.pillars {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: start;
}

.pillars__sticky {
  position: sticky;
  top: calc(var(--nav-h) + clamp(2rem, 8vh, 6rem));
}

.pillars__list {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.4vw, 1.5rem);
}

@media (max-width: 960px) {
  .pillars {
    grid-template-columns: 1fr;
  }
  .pillars__sticky {
    position: static;
  }
}

.pillar {
  position: relative;
  padding: clamp(1.75rem, 2.6vw, 2.75rem);
  border-radius: var(--r-lg);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease-out),
    background var(--dur) var(--ease-out);
}

.pillar.is-active {
  border-color: var(--blue-faint);
  background: var(--bg-elevated);
}

.pillar__head {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pillar__num {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.1em;
  flex: none;
}

.pillar__name {
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1;
}

.pillar__tagline {
  color: var(--blue);
  font-size: var(--fs-body);
  font-style: italic;
  margin-bottom: 1.1rem;
  letter-spacing: -0.01em;
}

.pillar__text {
  color: var(--ink-dim);
  font-size: var(--fs-small);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   7. Included list
   -------------------------------------------------------------------------- */

.included {
  border-top: 1px solid var(--line);
}

.inc {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(1rem, 2vw, 2.5rem);
  align-items: baseline;
  padding-block: clamp(1.5rem, 2.4vw, 2.4rem);
  border-bottom: 1px solid var(--line);
  transition: background var(--dur) var(--ease-out),
    padding-inline var(--dur) var(--ease-out);
}

.inc:hover {
  background: linear-gradient(
    90deg,
    var(--blue-ghost),
    transparent 55%
  );
}

.inc__num {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-ghost);
  transition: color var(--dur) var(--ease-out);
}

.inc:hover .inc__num {
  color: var(--blue);
}

.inc__title {
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.inc__text {
  color: var(--ink-dim);
  font-size: var(--fs-small);
  line-height: 1.6;
}

@media (max-width: 800px) {
  .inc {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }
  .inc__text {
    grid-column: 2;
  }
}

/* --------------------------------------------------------------------------
   8. App showcase
   -------------------------------------------------------------------------- */

/* Six app screens, full-bleed horizontal rail */

.screens {
  display: flex;
  gap: clamp(0.6rem, 1.1vw, 1.15rem);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-inline: var(--rail-pad);
  padding-block: clamp(3rem, 6vw, 5.5rem) 1rem;
  margin-top: clamp(0.5rem, 1vw, 1rem);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  perspective: 1800px;
}

.screens::-webkit-scrollbar {
  display: none;
}

.pscreen {
  flex: none;
  width: clamp(168px, 15.5vw, 216px);
  scroll-snap-align: center;
}

.pscreen__device {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border-radius: clamp(22px, 2.4vw, 32px);
  background: var(--bg-elevated);
  border: 2px solid rgba(255, 255, 255, 0.13);
  overflow: hidden;
  box-shadow: 0 40px 80px -34px rgba(0, 0, 0, 0.9),
    0 0 70px -28px var(--blue-glow);
  transform-style: preserve-3d;
  /* --lift / --rot fan the row into an arc; --py is scroll-driven drift.
     Transform only, so captions below stay on a straight baseline. */
  transform: translateY(calc(var(--lift, 0px) + var(--py, 0px)))
    rotate(var(--rot, 0deg)) rotateY(var(--yaw, 0deg));
  transition: transform var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out),
    box-shadow var(--dur) var(--ease-out);
}

/* The arc: outer phones sit lower and tilt outward, centre pair sits proud */
.pscreen:nth-child(1) .pscreen__device { --lift: 46px;  --rot: -5deg;   --yaw: 13deg; }
.pscreen:nth-child(2) .pscreen__device { --lift: 16px;  --rot: -3deg;   --yaw: 8deg; }
.pscreen:nth-child(3) .pscreen__device { --lift: -6px;  --rot: -1deg;   --yaw: 3deg; }
.pscreen:nth-child(4) .pscreen__device { --lift: -6px;  --rot: 1deg;    --yaw: -3deg; }
.pscreen:nth-child(5) .pscreen__device { --lift: 16px;  --rot: 3deg;    --yaw: -8deg; }
.pscreen:nth-child(6) .pscreen__device { --lift: 46px;  --rot: 5deg;    --yaw: -13deg; }

/* Centre pair reads as the hero of the row */
.pscreen:nth-child(3),
.pscreen:nth-child(4) {
  z-index: 2;
}
.pscreen:nth-child(2),
.pscreen:nth-child(5) {
  z-index: 1;
}

.pscreen:hover .pscreen__device {
  --lift: -22px;
  --rot: 0deg;
  --yaw: 0deg;
  z-index: 5;
  border-color: var(--blue-faint);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 90px -22px var(--blue-glow);
}

.pscreen:hover {
  z-index: 6;
}

@media (max-width: 860px) {
  /* Flat row on phones — an arc at this size just reads as broken alignment.
     Note the :nth-child(n) — it matches every card while carrying the same
     specificity as the arc rules above, so this actually overrides them.
     A plain `.pscreen .pscreen__device` loses to `.pscreen:nth-child(1) …`
     and the phones stay fanned, which is what was pushing them down over
     their own captions. */
  .pscreen:nth-child(n) .pscreen__device {
    --lift: 0px;
    --rot: 0deg;
    --yaw: 0deg;
  }
  .screens {
    padding-block: 1.5rem 1rem;
    gap: 1rem;
    perspective: none;
  }
  .pscreen {
    width: min(58vw, 230px);
  }
}

.pscreen__device img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.pscreen__notch {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 32%;
  height: 16px;
  border-radius: var(--r-pill);
  background: rgba(0, 0, 0, 0.88);
  z-index: 3;
}

/* Captions sit on a common baseline, clear of the lowest phone in the arc */
.pscreen__cap {
  margin-top: calc(46px + 1.35rem);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-right: 0.75rem;
}

@media (max-width: 860px) {
  .pscreen__cap {
    margin-top: 1.15rem;
    padding-right: 0;
    gap: 0.25rem;
  }
  .pscreen__desc {
    /* Two lines max, so captions across the row stay on a level baseline */
    font-size: 0.8125rem;
    line-height: 1.35;
  }
}

.pscreen__label {
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}

.pscreen__desc {
  font-size: var(--fs-small);
  color: var(--ink-dim);
  line-height: 1.45;
}

.app-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* --------------------------------------------------------------------------
   9. Video rail
   -------------------------------------------------------------------------- */

/* Full-bleed rails whose first item still lines up with the .wrap content edge.
   Using a padding-inline that matches the container offset, rather than
   justify-content:center, which makes overflow unreachable on the left. */
.rail,
.screens {
  --rail-pad: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
}

.rail {
  display: flex;
  gap: clamp(0.85rem, 1.4vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-block: 0.5rem;
  padding-inline: var(--rail-pad);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.rail::-webkit-scrollbar {
  display: none;
}

.vcard {
  position: relative;
  flex: none;
  width: clamp(230px, 26vw, 330px);
  aspect-ratio: 9 / 14;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  scroll-snap-align: center;
  cursor: pointer;
  isolation: isolate;
  transition: border-color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.vcard:hover {
  border-color: var(--blue-faint);
  transform: translateY(-4px);
}

.vcard video,
.vcard img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.vcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 14, 0.15) 0%,
    rgba(14, 14, 14, 0.05) 45%,
    rgba(14, 14, 14, 0.92) 100%
  );
}

/* No titles — the clips speak for themselves. Just an index and a play cue. */
.vcard__num {
  position: absolute;
  left: clamp(1rem, 1.8vw, 1.4rem);
  bottom: clamp(1rem, 1.8vw, 1.4rem);
  z-index: 2;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--white);
  opacity: 0.55;
  font-variant-numeric: tabular-nums;
  transition: opacity var(--dur) var(--ease-out);
}

.vcard:hover .vcard__num {
  opacity: 0.9;
}

/* Play affordance, fades once the clip is running */
.vcard::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 52px;
  height: 52px;
  margin: -26px 0 0 -26px;
  border-radius: 50%;
  background: rgba(14, 14, 14, 0.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5.5v13l11-6.5z'/%3E%3C/svg%3E")
    center / 18px no-repeat;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 1;
  transition: opacity var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
  pointer-events: none;
}

.vcard.is-playing::before {
  opacity: 0;
  transform: scale(1.4);
}

.vcard__sound {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(14, 14, 14, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  color: var(--white);
  transition: background var(--dur-fast) var(--ease-out);
}

.vcard__sound:hover {
  background: var(--blue);
  color: var(--black);
}

.vcard__sound svg {
  width: 16px;
  height: 16px;
}

.rail-nav {
  display: flex;
  gap: 0.6rem;
}

.rail-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--ink-dim);
  transition: background var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.rail-btn:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.rail-btn svg {
  width: 17px;
  height: 17px;
}

/* --------------------------------------------------------------------------
   10. Message wall (WhatsApp screenshots)
   -------------------------------------------------------------------------- */

.msg-wall {
  columns: 3;
  column-gap: clamp(0.85rem, 1.4vw, 1.5rem);
}

@media (max-width: 1000px) {
  .msg-wall {
    columns: 2;
  }
}

@media (max-width: 620px) {
  .msg-wall {
    columns: 1;
  }
}

.msg {
  break-inside: avoid;
  margin-bottom: clamp(0.85rem, 1.4vw, 1.5rem);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  transition: border-color var(--dur) var(--ease-out),
    transform var(--dur) var(--ease-out);
}

.msg:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.msg img {
  width: 100%;
}

/* --------------------------------------------------------------------------
   11. Fit section
   -------------------------------------------------------------------------- */

.fit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(1rem, 2vw, 2rem);
}

.fit {
  padding: clamp(1.75rem, 2.6vw, 2.75rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: var(--bg-raised);
}

.fit--yes {
  border-color: var(--blue-faint);
  background: linear-gradient(
    170deg,
    var(--blue-ghost) 0%,
    var(--bg-raised) 55%
  );
}

.fit__title {
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.fit__title svg {
  width: 22px;
  height: 22px;
  flex: none;
}

.fit--yes .fit__title svg {
  color: var(--blue);
}
.fit--no .fit__title svg {
  color: var(--ink-ghost);
}

.fit__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fit__item {
  display: flex;
  gap: 0.85rem;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: var(--ink-dim);
}

.fit__item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
  margin-top: 0.62em;
}

.fit--no .fit__item::before {
  background: var(--ink-ghost);
}

/* --------------------------------------------------------------------------
   12. FAQ
   -------------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(1.25rem, 2vw, 1.85rem);
  text-align: left;
  font-size: var(--fs-h4);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--ink);
  transition: color var(--dur-fast) var(--ease-out);
}

.faq__q:hover {
  color: var(--blue);
}

.faq__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur) var(--ease-out);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__item.is-open .faq__icon::after {
  transform: rotate(0deg);
}

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease-out);
}

.faq__item.is-open .faq__a {
  grid-template-rows: 1fr;
}

.faq__a > div {
  overflow: hidden;
}

.faq__a p {
  color: var(--ink-dim);
  font-size: var(--fs-small);
  line-height: 1.68;
  max-width: 68ch;
  padding-bottom: clamp(1.25rem, 2vw, 1.85rem);
}

/* --------------------------------------------------------------------------
   13. Final CTA
   -------------------------------------------------------------------------- */

.final {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.final__title {
  font-size: var(--fs-h1);
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 5rem) 2.5rem;
  background: var(--bg-deep);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 5rem);
  padding-bottom: 3rem;
}

@media (max-width: 760px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

.footer__logo img {
  height: auto;
  width: clamp(170px, 18vw, 210px);
  margin-bottom: 1.25rem;
}

.footer__tag {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.footer__creds {
  font-size: var(--fs-small);
  color: var(--ink-faint);
  line-height: 1.9;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--ink-ghost);
}

.footer__links {
  display: flex;
  gap: 1.75rem;
}

.footer__links a:hover {
  color: var(--ink-dim);
}

/* --------------------------------------------------------------------------
   15. Intro video (Shrey on Elevate) — directly under the hero
   -------------------------------------------------------------------------- */

.intro-v {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
}

.filmstrip {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-raised);
  aspect-ratio: 16 / 9;
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.95);
}

.filmstrip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.filmstrip__play {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: clamp(1rem, 2vw, 1.75rem);
  padding: clamp(1.25rem, 3vw, 2.75rem);
  text-align: left;
  background: linear-gradient(
    180deg,
    rgba(14, 14, 14, 0.15) 0%,
    rgba(14, 14, 14, 0.1) 45%,
    rgba(14, 14, 14, 0.88) 100%
  );
  transition: opacity var(--dur) var(--ease-out),
    visibility var(--dur) var(--ease-out);
}

.filmstrip__play.is-gone {
  opacity: 0;
  visibility: hidden;
}

.filmstrip__icon {
  flex: none;
  width: clamp(52px, 6vw, 72px);
  height: clamp(52px, 6vw, 72px);
  border-radius: 50%;
  background: var(--blue);
  color: var(--black);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 40px -10px var(--blue-glow);
  transition: transform var(--dur) var(--ease-spring);
}

.filmstrip__icon svg {
  width: 44%;
  height: 44%;
  margin-left: 8%;
}

.filmstrip__play:hover .filmstrip__icon {
  transform: scale(1.08);
}

.filmstrip__label {
  font-size: var(--fs-h4);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--white);
  padding-bottom: 0.35rem;
}

.filmstrip__eyebrow {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

@media (max-width: 620px) {
  .filmstrip {
    aspect-ratio: 4 / 3;
  }
  .filmstrip__play {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.9rem;
  }
}

/* --------------------------------------------------------------------------
   16. Transformation rail — all six in one swipeable row
   -------------------------------------------------------------------------- */

.trail {
  --rail-pad: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  display: flex;
  gap: clamp(0.85rem, 1.4vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: var(--rail-pad);
  padding-block: 0.5rem 1rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.trail::-webkit-scrollbar {
  display: none;
}

.trail .tcard {
  flex: none;
  width: clamp(268px, 27vw, 372px);
  scroll-snap-align: center;
}

/* --------------------------------------------------------------------------
   17. Method — the result card
   -------------------------------------------------------------------------- */

.result-card {
  padding: clamp(1.75rem, 2.6vw, 2.75rem);
  border-radius: var(--r-lg);
  border: 1px solid var(--blue-faint);
  background: linear-gradient(170deg, var(--blue-ghost) 0%, var(--bg-raised) 60%);
}

.result-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 1.5rem 0 1.75rem;
}

.result-list li {
  font-size: var(--fs-h4);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.25;
  display: flex;
  gap: 0.85rem;
}

.result-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
  margin-top: 0.6em;
}

.result-close {
  color: var(--ink-dim);
  font-size: var(--fs-small);
  line-height: 1.7;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.result-close strong {
  color: var(--ink);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   18. Mobile spacing + overflow containment
   -------------------------------------------------------------------------- */

/* Nothing on the page should create horizontal scroll. The glow orbs are
   absolutely positioned well outside their sections, which is what was adding
   the extra scrollable width. */
.section {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  .section {
    overflow-x: hidden;
  }
}

@media (max-width: 900px) {
  /* Caption needs real breathing room under each phone on small screens */
  .pscreen__cap {
    margin-top: 1.5rem;
    padding-right: 0;
  }
  .screens {
    padding-block: 2rem 1.25rem;
  }
  .app-foot {
    margin-top: 2rem;
  }
}
