/* ══ Client page: Whop ══════════════════════════════════════════════════════
   Same language as the rest of the site (Inter, the page tint, the blue CTA, the black island) with
   Whop's orange as the only accent. Desktop values are artboard px (1920 wide, scaled like every
   page); phones get their own block at the bottom. Everything that moves is driven by whop.js. */

.wh-page { --wh: #FA4616; --wh-deep: #E03A0B; --wh-soft: #FFF1EB; --wh-mark: #FCF6F5; }

.wh {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 97px;
}

/* ---------- back to all projects (SwiftUI nav button) ---------- */
.wh-back {
  position: absolute;
  left: 97px;
  top: 30px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 56px;
  padding: 0 24px 0 16px;
  border-radius: 28px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1c1c1c;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  animation: wh-fade-in 0.9s cubic-bezier(.22, .8, .25, 1) 0.3s backwards;
  transition: transform 0.45s cubic-bezier(.34, 1.56, .64, 1), background 0.25s ease;
}
.wh-back svg { width: 24px; height: 24px; transition: transform 0.4s cubic-bezier(.34, 1.56, .64, 1); }
.wh-back:hover { background: rgba(255, 255, 255, 0.85); }
.wh-back:hover svg { transform: translateX(-4px); }
.wh-back:active { transform: scale(0.96); }
@keyframes wh-fade-in { from { opacity: 0; filter: blur(8px); transform: translateY(-10px); } }

/* ---------- hero ---------- */
.wh-hero {
  position: relative;
  height: 1000px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 190px;
}
/* a warm glow behind the icon that slowly breathes */
.wh-glow {
  position: absolute;
  left: 50%;
  top: 120px;
  width: 980px;
  height: 620px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(250, 70, 22, 0.22), rgba(250, 70, 22, 0.08) 55%, rgba(250, 70, 22, 0));
  filter: blur(30px);
  pointer-events: none;
  animation: wh-breathe 7s ease-in-out infinite alternate, wh-fade-in 1.4s ease 0.2s backwards;
}
@keyframes wh-breathe { to { transform: scale(1.12) translateY(-16px); opacity: 0.8; } }

/* the app icon: a toy. Drag it (rubber band), tap it (it whops) */
.wh-icon {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 300px;
  padding: 0;
  border: 0;
  background: none;
  
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  animation: wh-icon-in 1.5s cubic-bezier(.16, 1, .3, 1) 0.15s backwards;   /* eases out softly, no bounce, no linear */
  will-change: transform;
}
@keyframes wh-icon-in {
  0%   { opacity: 0; transform: translateY(46px) scale(0.84); filter: blur(26px); }
  35%  { opacity: 1; }
  75%  { filter: blur(0); }
  100% { opacity: 1; transform: none; filter: none; }
}
.wh-icon-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 68px;                       /* iOS icon corner: ~22.5% of the side */
  background:
    radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0) 55%),
    linear-gradient(160deg, #FF7246 0%, var(--wh) 45%, var(--wh-deep) 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 8px rgba(120, 20, 0, 0.18),
    0 24px 48px rgba(0, 0, 0, 0.12),
    0 6px 14px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.4s ease;
}
.wh-icon:hover .wh-icon-face { box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.4), inset 0 -3px 8px rgba(120, 20, 0, 0.18), 0 32px 60px rgba(0, 0, 0, 0.15), 0 8px 18px rgba(0, 0, 0, 0.09); }
.wh-mark { width: 62%; height: auto; aspect-ratio: 209 / 115; overflow: visible; fill: var(--wh-mark); }
/* the three chevrons land one after another */
.wh-mark path { transform-box: fill-box; transform-origin: 50% 100%; animation: wh-chev 1.1s cubic-bezier(.16, 1, .3, 1) backwards; }
.wh-c1 { animation-delay: 0.75s !important; }
.wh-c2 { animation-delay: 0.85s !important; }
.wh-c3 { animation-delay: 0.95s !important; }
@keyframes wh-chev { from { opacity: 0; transform: translateY(-28%) scale(0.85); filter: blur(6px); } }
/* hovering: a little wave runs through them */
.wh-icon:hover .wh-mark path { animation: wh-wave 0.9s ease-in-out; }
.wh-icon:hover .wh-c2 { animation-delay: 0.08s !important; }
.wh-icon:hover .wh-c3 { animation-delay: 0.16s !important; }
@keyframes wh-wave { 35% { transform: translateY(-14%); } 70% { transform: translateY(3%); } }
/* tapped: JS adds .is-whop for one beat */
.wh-icon.is-whop .wh-mark path { animation: wh-hop 0.6s cubic-bezier(.34, 1.56, .64, 1); }
.wh-icon.is-whop .wh-c2 { animation-delay: 0.05s !important; }
.wh-icon.is-whop .wh-c3 { animation-delay: 0.1s !important; }
@keyframes wh-hop { 30% { transform: translateY(-34%) scale(1.08); } }

/* whop counter: appears after the first tap */
.wh-count {
  position: absolute;
  z-index: 3;
  left: calc(50% + 120px);
  top: 168px;
  height: 52px;
  padding: 0 20px;
  border-radius: 26px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #1c1c1c;
  background: rgba(255, 255, 255, 0.6);
  opacity: 0;
  transform: translateY(10px) scale(0.6) rotate(-8deg);
  transition: opacity 0.3s ease, transform 0.55s cubic-bezier(.34, 1.56, .64, 1);
  pointer-events: none;
}
.wh-count.is-on { opacity: 1; transform: rotate(6deg); }
.wh-count b { font-weight: 700; color: var(--wh); font-variant-numeric: tabular-nums; display: inline-block; }
.wh-count b.bump { animation: wh-bump 0.45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes wh-bump { 40% { transform: translateY(-6px) scale(1.35); } }

/* flying mini marks from a tap (whop.js) */
.wh-bit { position: absolute; left: 0; top: 0; z-index: 1; width: 46px; height: 26px; fill: var(--wh); pointer-events: none; will-change: transform, opacity; }

.wh-title {
  margin: 70px 0 0;
  display: flex;
  align-items: center;
  gap: 0.18em;
  font-size: 150px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.05em;
  color: #0e0e0e;
}
.wh-w { display: inline-block; animation: wh-word 1.1s cubic-bezier(.22, .8, .25, 1) backwards; transition: transform 0.85s cubic-bezier(.6, 0, .2, 1); will-change: transform; }   /* eases in and out, so the glide (and its blur) can be seen */
.wh-w:first-child { animation-delay: 0.45s; }
.wh-w:last-child { animation-delay: 0.62s; }
@keyframes wh-word { from { opacity: 0; filter: blur(14px); translate: 0 30px; } }   /* (translate, not transform: the swap owns transform) */
.wh-orange { color: var(--wh); }
/* the × spins and swaps the two names around */
/* a drawn ×, square and centred on its own box, so spinning it never moves it up or down;
   the box sits on the middle of the capital letters */
.wh-x {
  font-size: inherit;               /* (a button doesn't take the title's size by itself) */
  width: 0.46em;
  height: 0.46em;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(0, 0, 0, 0.28);
  
  display: block;
  flex: none;
  position: relative;
  top: 0.0245em;                    /* line-box centre → centre of the capitals (measured on Inter 500) */
  transform-origin: 50% 50%;
  animation: wh-x-in 1s cubic-bezier(.34, 1.56, .64, 1) 0.55s backwards;
  transition: transform 0.85s cubic-bezier(.6, 0, .2, 1), scale 0.4s cubic-bezier(.34, 1.56, .64, 1), color 0.25s ease,
    translate 0.7s cubic-bezier(.34, 1.56, .64, 1), rotate 0.7s cubic-bezier(.34, 1.56, .64, 1);   /* (the cursor pull springs back) */
  will-change: transform;
}
.wh-x svg { display: block; width: 100%; height: 100%; overflow: visible; }
.wh-x:hover { color: var(--wh); scale: 1.12; }
.wh-x.is-near { transition-property: transform, scale, color, translate, rotate; transition-duration: 0.85s, 0.4s, 0.25s, 0.18s, 0.18s; transition-timing-function: cubic-bezier(.6, 0, .2, 1), cubic-bezier(.34, 1.56, .64, 1), ease, cubic-bezier(.22, 1, .36, 1), cubic-bezier(.22, 1, .36, 1); }   /* follows the cursor closely */   /* (the spin itself is whop.js: it keeps adding up, never snaps back) */
@keyframes wh-x-in { from { opacity: 0; rotate: -180deg; scale: 0.3; } }
.wh-sub {
  margin: 26px 0 0;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.5);
  animation: wh-word 1.1s cubic-bezier(.22, .8, .25, 1) 0.8s backwards;
}
.wh-hint {
  position: absolute;
  bottom: 70px;
  left: 50%;
  width: 50px;
  height: 50px;
  margin-left: -25px;
  color: rgba(0, 0, 0, 0.3);
  animation: wh-fade-in 1s ease 1.4s backwards, wh-bob 2.2s ease-in-out 2.4s infinite;
}
@keyframes wh-bob { 50% { transform: translateY(10px); } }

/* ---------- the videos ---------- */
.wh-videos { position: relative; padding: 209px 0 120px; }   /* 220px from the orange to the top of "6 videos", same as under the last button */
.wh-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 56px; }
.wh-h2 { position: relative; margin: 0; font-size: 70px; line-height: 1; font-weight: 500; letter-spacing: -0.045em; color: #0e0e0e; }
/* hovering its letters turns them into Whop logos, like "A lot more projects" on /projects/ */
.wh-h2, .wh-end-title { position: relative; }
/* the letter under the cursor turns Whop orange, then fades back to black — a soft trail */
.wh-swap .ch { display: inline-block; transition: color 0.9s cubic-bezier(.22, 1, .36, 1); }
.wh-swap .ch.is-lit { color: var(--wh); transition-duration: 0.12s; }

/* segmented control: a knob that slides under the chosen option */
.wh-seg {
  position: relative;
  display: flex;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04),
    inset 0 0 0 1px rgba(0, 0, 0, 0.04),
    0 10px 30px rgba(0, 0, 0, 0.07),
    0 2px 6px rgba(0, 0, 0, 0.04);
}
.wh-seg button {
  position: relative;
  z-index: 1;
  width: 130px;
  height: 50px;
  border: 0;
  background: none;
  border-radius: 999px;
  font: 500 19px/1 var(--font, Inter, sans-serif);
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.55);
  
  transition: color 0.25s ease;
}
.wh-seg button.is-on { color: #000; }
.wh-seg-knob {
  position: absolute;
  z-index: 0;
  top: 5px;
  left: 5px;
  width: 130px;
  height: 50px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 1px rgba(0, 0, 0, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.06);
  transition: transform 0.55s cubic-bezier(.34, 1.3, .5, 1), scale 0.35s cubic-bezier(.34, 1.56, .64, 1), background-color 0.3s ease;
}
.wh-seg[data-view="stack"] .wh-seg-knob { transform: translateX(130px); }
/* while it slides it lifts off the track like a lens (iOS 26), then settles back in */
.wh-seg.is-moving .wh-seg-knob { scale: 1.14 1.22; background-color: rgba(255, 255, 255, 0.45); }
.wh-seg button:active { scale: 0.96; }
.wh-seg button { transition: color 0.25s ease, scale 0.3s cubic-bezier(.34, 1.56, .64, 1); }

/* the board: cards are placed by whop.js (grid or pile) and glide between the two */
.wh-board { position: relative; transition: height 0.7s cubic-bezier(.32, 1.1, .4, 1); }
.wh-card {
  position: absolute;
  left: 0;
  top: 0;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 34px;
  
  -webkit-tap-highlight-color: transparent;
  transform-origin: 50% 50%;
  transition:
    left 0.75s cubic-bezier(.32, 1.12, .4, 1),
    top 0.75s cubic-bezier(.32, 1.12, .4, 1),
    width 0.75s cubic-bezier(.32, 1.12, .4, 1),
    height 0.75s cubic-bezier(.32, 1.12, .4, 1),
    transform 0.75s cubic-bezier(.32, 1.12, .4, 1),
    opacity 0.5s ease;
  will-change: transform;
}
.wh-card.is-tilt { transition-property: left, top, width, height, opacity; }   /* the tilt follows the pointer directly */
/* entrance: the cards rise in one after another once the board is on screen */
.wh-board:not(.is-in) .wh-card { opacity: 0; }
.wh-board.is-in .wh-card { animation: wh-card-in 0.9s cubic-bezier(.22, .9, .25, 1) backwards; animation-delay: calc(0.08s * var(--i)); }
@keyframes wh-card-in { from { opacity: 0; translate: 0 80px; scale: 0.94; filter: blur(10px); } }

/* placeholder picture: Whop's orange as a soft mesh, a big ghost of the mark, a slow shine */
.wh-shot {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  display: grid;
  place-items: center;
  background:
    radial-gradient(80% 90% at 15% 10%, rgba(255, 140, 100, 0.45), rgba(255, 140, 100, 0) 60%),
    radial-gradient(70% 80% at 90% 100%, rgba(250, 70, 22, 0.35), rgba(250, 70, 22, 0) 60%),
    var(--wh-soft);
  box-shadow: inset 0 0 0 1px rgba(250, 70, 22, 0.08), 0 4px 12px rgba(120, 40, 10, 0.03);
}
.wh-card:nth-child(2n) .wh-shot { background:
    radial-gradient(80% 90% at 85% 15%, rgba(255, 140, 100, 0.4), rgba(255, 140, 100, 0) 60%),
    radial-gradient(70% 80% at 10% 95%, rgba(250, 70, 22, 0.3), rgba(250, 70, 22, 0) 60%),
    var(--wh-soft); }
.wh-shot::after {               /* the shine — a wide strip slid with transform (compositor only) */
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 250%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  will-change: transform;
  animation: wh-shine 4.5s ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.7s);
  pointer-events: none;
}
@keyframes wh-shine { from { transform: translateX(4%); } to { transform: translateX(-60%); } }
.wh-ghost { position: absolute; width: 46%; height: auto; aspect-ratio: 209 / 115; fill: var(--wh); opacity: 0.07; transform: rotate(-8deg); }
/* glare that follows the pointer while the card tilts */
.wh-shot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(40% 50% at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.wh-card.is-tilt .wh-shot::before { opacity: 1; }
.wh-play {
  position: relative;
  z-index: 2;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--wh);
  background: rgba(255, 255, 255, 0.55);
  transition: transform 0.5s cubic-bezier(.34, 1.56, .64, 1);
}
.wh-play svg { width: 38px; height: 38px; }   /* the triangle is already drawn a touch right of centre (optical centre) */
.wh-card:hover .wh-play { transform: scale(1.12); }
.wh-tag {
  position: absolute;
  z-index: 2;
  left: 22px;
  bottom: 20px;
  height: 38px;
  padding: 0 14px;
  border-radius: 19px;
  display: inline-flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(0, 0, 0, 0.55);
  background: rgba(255, 255, 255, 0.7);
  font-variant-numeric: tabular-nums;
}
/* a "nope" shake when a placeholder is tapped */
.wh-card.is-nope .wh-shot { animation: wh-nope 0.5s cubic-bezier(.36, .07, .19, .97); }
@keyframes wh-nope { 15%, 85% { translate: -6px 0; } 30%, 70% { translate: 10px 0; } 50% { translate: -12px 0; } }

/* stack mode */
.wh-stack-hint {
  margin: 30px 0 0;
  text-align: center;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.wh-board.is-stack + .wh-stack-hint { opacity: 1; }
.wh-board.is-stack .wh-card:not(:first-child) .wh-play { opacity: 1; }

/* ---------- your turn ---------- */
.wh-end { padding: 26px 0 220px; display: flex; justify-content: center; }   /* top: same 220px from the videos to the top of "Your turn." as from the button to the footer */
.wh-end-in { display: inline-flex; flex-direction: column; align-items: stretch; gap: 40px; }   /* as wide as the title: the button fills it */
.wh-end .wh-btn { justify-content: center; }
.wh-end-title { margin: 0; font-size: 120px; line-height: 1; font-weight: 500; letter-spacing: -0.05em; color: #0e0e0e; }
.wh-btn {
  height: 76px;
  padding: 0 38px;
  border-radius: 38px;
  display: inline-flex;
  align-items: center;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: transform 0.45s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.3s ease;
}
.wh-btn:hover { transform: translateY(-2px) scale(1.03); }
.wh-btn:active { transform: scale(0.97); }
.wh-btn-blue { background: var(--blue, #1F66FF); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 8px 20px rgba(31, 102, 255, 0.22); }
.wh-btn-white { background: #fff; color: #363636; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07); }

@media (prefers-reduced-motion: reduce) {
  .wh-page *, .wh-page *::before, .wh-page *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .wh-card { transition: none; }
}

/* ---------- phones ---------- */
@media (max-width: 767px) {
  .wh { padding: 0; }
  .wh-back { left: 0; top: 52px; height: 40px; padding: 0 16px 0 10px; border-radius: 20px; font-size: 15px; }
  .wh-back svg { width: 18px; height: 18px; }
  .wh-hero { height: auto; padding: 150px 0 90px; }
  .wh-glow { top: 110px; width: 130vw; height: 360px; }
  .wh-icon { width: 170px; height: 170px; }
  .wh-icon-face { border-radius: 38px; }
  .wh-count { left: calc(50% + 50px); top: 128px; height: 38px; padding: 0 14px; border-radius: 19px; font-size: 14px; }
  .wh-title { margin-top: 40px; font-size: min(64px, calc((100vw - 32px) / 4.6)); }
  .wh-sub { margin-top: 14px; font-size: 17px; }
  .wh-hint { display: none; }
  .wh-videos { padding: 93px 0 0; }   /* 100px from the orange to "6 videos", same as under the last button */
  .wh-head { margin-bottom: 26px; }
  .wh-h2 { font-size: 38px; }
  .wh-seg { padding: 3px; }
  .wh-seg button, .wh-seg-knob { width: 74px; height: 34px; font-size: 14px; }
  .wh-seg-knob { top: 3px; left: 3px; }
  .wh-seg[data-view="stack"] .wh-seg-knob { transform: translateX(74px); }
  .wh-card { border-radius: 22px; }
  .wh-play { width: 58px; height: 58px; }
  .wh-play svg { width: 24px; height: 24px; }
  .wh-tag { left: 12px; bottom: 12px; height: 28px; padding: 0 10px; border-radius: 14px; font-size: 12px; }
  .wh-stack-hint { font-size: 15px; margin-top: 18px; }
  .wh-end { padding: 19px 0 136px; }   /* ~100px above "Your turn." and below the button */
  .wh-end-in { gap: 20px; }
  .wh-end-title { font-size: 56px; }
  .wh-btn { height: 44px; padding: 0 20px; border-radius: 22px; font-size: 15.5px; }
}

/* ---------- hero in Whop's orange: the icon turns white with an orange mark, "Whop" goes white ---------- */
.wh-hero { isolation: isolate; }
.wh-hero::before {                       /* full-bleed: wider than any screen, the page clips it */
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -3000px;
  right: -3000px;
  background: var(--wh);
}
.wh-icon-face {
  background:
    radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, #FFFFFF 0%, #FBF6F3 55%, #F3EAE5 100%);
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -3px 8px rgba(120, 40, 10, 0.08),
    0 24px 48px rgba(110, 25, 0, 0.26),
    0 6px 14px rgba(110, 25, 0, 0.16);
}
.wh-icon:hover .wh-icon-face { box-shadow: inset 0 2px 0 rgba(255, 255, 255, 1), inset 0 -3px 8px rgba(120, 40, 10, 0.08), 0 32px 60px rgba(110, 25, 0, 0.3), 0 8px 18px rgba(110, 25, 0, 0.18); }
.wh-mark { fill: var(--wh); }
.wh-bit { fill: #fff; }
.wh-title { color: #0e0e0e; }
.wh-orange { color: #fff; }
.wh-x { color: rgba(0, 0, 0, 0.3); }
.wh-x:hover { color: #fff; }
.wh-sub { color: rgba(255, 255, 255, 0.82); }
.wh-hint { color: rgba(255, 255, 255, 0.7); }
.wh-count b { color: var(--wh); }
/* on the orange: the back button and the counter stay white glass (readable) */
.wh-back.liquid-glass { background: rgba(255, 255, 255, 0.92); }
.wh-back.liquid-glass:hover { background: #fff; }
.wh-count.liquid-glass { background: rgba(255, 255, 255, 0.92); }

/* the name on the left is only a white outline, the one on the right solid white; they trade
   places (and looks) when the × is pressed */
.wh-title .wh-w {
  color: #fff;
  -webkit-text-stroke: 2.5px transparent;
  paint-order: stroke fill;
  transition: transform 0.85s cubic-bezier(.6, 0, .2, 1), color 0.6s cubic-bezier(.4, 0, .2, 1) 0.15s, -webkit-text-stroke-color 0.6s cubic-bezier(.4, 0, .2, 1) 0.15s;
}
.wh-title .wh-w.is-left { color: transparent; -webkit-text-stroke-color: #fff; }

/* whop counter: liquid glass, level, sitting on the icon's top-right corner; it only shows while
   you tap, and comes and goes softly through a blur (no bounce) */
.wh-count,
.wh-count.liquid-glass {
  left: calc(50% + 150px);          /* the icon's top-right corner, mostly over the icon */
  top: 190px;
  translate: -78% -38%;
  color: #1c1c1c;                   /* it sits mostly over the white icon: dark text */
  background: rgba(255, 255, 255, 0.45);
  opacity: 0;
  filter: blur(8px);
  transform: translateY(6px) scale(0.92);
  transition: opacity 0.45s cubic-bezier(.22, 1, .36, 1), filter 0.45s cubic-bezier(.22, 1, .36, 1), transform 0.55s cubic-bezier(.22, 1, .36, 1);
}
.wh-count.is-on { opacity: 1; filter: none; transform: none; }
.wh-count b { color: var(--wh); }
.wh-count b.bump { animation: wh-num 0.35s cubic-bezier(.22, 1, .36, 1); }
@keyframes wh-num { from { opacity: 0.4; filter: blur(3px); transform: translateY(-3px); } }
@media (max-width: 767px) {
  .wh-count, .wh-count.liquid-glass { left: calc(50% + 85px); top: 150px; }
}

/* digit slots for the rolling number (whop.js) */
.wh-count b { display: inline-flex; }
.wh-count .dg { position: relative; display: inline-block; text-align: center; }
.wh-count .dg > span { display: inline-block; will-change: transform, filter, opacity; }
.wh-count .dg > .dg-out { position: absolute; left: 0; right: 0; top: 0; }
/* "whops" in white on a darker, more blurred glass (it sits over the white icon) */
.wh-count.liquid-glass {
  --glass-blur: 10px;
  --glass-fallback-blur: 20px;
  color: #fff;
  background: rgba(28, 28, 30, 0.5);
}
.wh-count b { color: #fff; }   /* the number white too */

/* the × sits in a wrapper that does the sliding; the × inside only spins / scales / leans, around its own centre */
.wh-xw { display: block; flex: none; font-size: inherit; position: relative; top: 0.0245em; transition: transform 0.85s cubic-bezier(.6, 0, .2, 1); will-change: transform; }
.wh-xw .wh-x { top: 0; }
/* a softer shadow under the white icon */
.wh-icon-face {
  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 1),
    inset 0 -3px 8px rgba(120, 40, 10, 0.08),
    0 14px 30px rgba(110, 25, 0, 0.16),
    0 4px 10px rgba(110, 25, 0, 0.1);
}
.wh-icon:hover .wh-icon-face { box-shadow: inset 0 2px 0 rgba(255, 255, 255, 1), inset 0 -3px 8px rgba(120, 40, 10, 0.08), 0 20px 40px rgba(110, 25, 0, 0.19), 0 6px 14px rgba(110, 25, 0, 0.12); }
/* the counting "6" (whop.js): digits stacked in one slot, tabular so the width never jumps */
.wh-h2 .ch.wh-roll { position: relative; font-variant-numeric: tabular-nums; }
.wh-h2 .ch.wh-roll > span { display: inline-block; will-change: transform, filter, opacity; }
.wh-h2 .ch.wh-roll > .dg-out { position: absolute; left: 0; top: 0; }
/* the filled (right-hand) name: the letter under the cursor turns orange and fades back — a deeper
   Whop orange, so it still reads on the orange hero */
.wh-title .wh-w .ch { display: inline-block; transition: color 0.9s cubic-bezier(.22, 1, .36, 1); }
.wh-title .wh-w:not(.is-left) .ch.is-lit { color: #B9300A; transition-duration: 0.12s; }
.wh-title .wh-w.is-left .ch { color: transparent; }
/* the arrow is a button: it glides the page down to the videos (whop.js) */
.wh-hint {  z-index: 2; padding: 10px; box-sizing: content-box; margin-left: -35px; transition: color 0.25s ease; }
.wh-hint:hover { color: #fff; }

/* ---------- the short lead under "6 videos" (Apple product-page style) ---------- */
.wh-head { align-items: flex-end; }
.wh-intro { display: flex; flex-direction: column; gap: 22px; }
.wh-lead {
  margin: 0;
  max-width: 760px;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: -0.022em;
  color: rgba(0, 0, 0, 0.42);
}
.wh-lead b { font-weight: 600; color: #0e0e0e; }
@media (max-width: 767px) {
  .wh-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .wh-intro { gap: 12px; }
  .wh-lead { font-size: 18px; line-height: 1.3; }
}

/* buttons at the same size as the rest of the site (home: 45px tall, 17.5px text) */
.wh-back { height: 45px; padding: 0 18px 0 12px; border-radius: 23px; font-size: 17.5px; gap: 4px; }
.wh-back svg { width: 20px; height: 20px; }
.wh-btn { height: 45px; padding: 0 24px; border-radius: 23px; font-size: 17.5px; }
.wh-end-in { gap: 28px; }
@media (max-width: 767px) {
  .wh-back { height: 40px; padding: 0 16px 0 10px; border-radius: 20px; font-size: 15px; }
  .wh-btn { height: 44px; padding: 0 20px; border-radius: 22px; font-size: 15.5px; }
  .wh-end-in { gap: 20px; }
}
/* the button keeps its own width (same padding as "All projects"), centred under "Your turn." */
.wh-end-in { align-items: center; }
.wh-end .wh-btn { padding: 0 18px; }
@media (max-width: 767px) { .wh-end .wh-btn { padding: 0 16px; } }

/* a card with its real video: the preview fills it, the placeholder art steps aside, the play
   button turns into a small "watch on X" hint */
.wh-vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.wh-card.has-video .wh-ghost, .wh-card.has-video .wh-shot::after { display: none; }
.wh-card.has-video .wh-play { opacity: 0; transform: scale(0.8); transition: opacity 0.35s ease, transform 0.5s cubic-bezier(.34, 1.56, .64, 1); }
.wh-card.has-video:hover .wh-play { opacity: 1; transform: scale(1); }
/* cards whose picture is dark (data-dark): a white play button, so it stands out */
.wh-card[data-dark] .wh-play { background: rgba(255, 255, 255, 0.92); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); }
/* the light that follows the pointer: softer and wider */
.wh-shot::before { background: radial-gradient(55% 65% at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 70%); transition: opacity 0.5s ease; }
/* (dark cards) still liquid glass — just a white-tinted one, with a white triangle */
.wh-card[data-dark] .wh-play { background: rgba(255, 255, 255, 0.26); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 8px 24px rgba(0, 0, 0, 0.25); }
/* hovering a card: its picture softens behind the play button (scaled a hair so the blurred edges stay hidden) */
.wh-vid { transition: filter 0.5s cubic-bezier(.22, 1, .36, 1), transform 0.6s cubic-bezier(.22, 1, .36, 1); }
.wh-card:hover .wh-vid { filter: blur(9px); transform: scale(1.06); }

/* "Your ___.": the rolling word sits in a slot whose width glides between words */
.wh-rot { display: inline-block; position: relative; vertical-align: top; transition: width 1.1s cubic-bezier(.25, .8, .25, 1); white-space: nowrap; }
.wh-rot > span { display: inline-block; will-change: transform, filter, opacity; }
.wh-rot > .wh-rot-out { position: absolute; left: 0; top: 0; }
.wh-end-title .wh-swap { display: inline; }
/* the CTA is the site's own primary button (styles.css .btn-primary), just without the page-load entrance */
.wh-end .btn { animation: none; }

/* the rolling word, letter by letter */
.wh-rot-word { display: inline-block; white-space: nowrap; }
.wh-rot > .wh-rot-word.wh-rot-out { position: absolute; left: 0; top: 0; }
.wh-rot .ch { display: inline-block; will-change: transform, filter, opacity; transition: color 0.9s cubic-bezier(.22, 1, .36, 1); }
.wh-rot .ch.is-lit { color: var(--wh); transition-duration: 0.12s; }

/* the CTA under "Your ___.": a bigger blue pill with an arrow that nudges forward on hover */
.wh-cta2 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 28px 0 32px;
  border-radius: 32px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  background: var(--blue, #1F66FF);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 10px 24px rgba(31, 102, 255, 0.22);
  transition: transform 0.45s cubic-bezier(.34, 1.56, .64, 1), box-shadow 0.3s ease, background 0.25s ease;
}
.wh-cta2 svg { width: 24px; height: 24px; transition: transform 0.45s cubic-bezier(.34, 1.56, .64, 1); }
.wh-cta2:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 34px rgba(31, 102, 255, 0.32); }
.wh-cta2:hover svg { transform: translateX(5px); }
.wh-cta2:active { transform: scale(0.97); }
@media (max-width: 767px) {
  .wh-cta2 { height: 48px; padding: 0 20px 0 24px; border-radius: 24px; font-size: 16.5px; gap: 8px; }
  .wh-cta2 svg { width: 19px; height: 19px; }
}

/* the numbers on the videos: a macOS dock badge (in Whop orange, not red) */
.wh-tag {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 22px; justify-content: center;
  font-size: 20px; font-weight: 600; letter-spacing: -0.01em; color: #fff;
  background: linear-gradient(180deg, #FF6A3A, #FA4616);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 10px rgba(120, 30, 0, 0.25), 0 0 0 3px rgba(255, 255, 255, 0.9);
  transition: transform 0.45s cubic-bezier(.34, 1.56, .64, 1);
}
.wh-card:hover .wh-tag { transform: scale(1.1); }
@media (max-width: 767px) {
  .wh-tag { min-width: 28px; height: 28px; padding: 0 7px; border-radius: 14px; font-size: 13px; }
}
/* badge: SF Pro (like the real Dock badge), regular weight, a lighter shadow */
.wh-tag {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 2px 5px rgba(120, 30, 0, 0.16), 0 0 0 3px rgba(255, 255, 255, 0.9);
}
/* back button: black liquid glass, white text */
.wh-back.liquid-glass { color: #fff; background: rgba(14, 18, 22, 0.62); }
.wh-back.liquid-glass:hover { background: rgba(14, 18, 22, 0.78); }

/* "All projects": the Clyro bubble hover (whop.js drives the transform), so no CSS transform/arrow nudge */
.wh-back, .wh-back:active { transition: background-color 150ms ease; transform: none; }
.wh-back:hover svg { transform: none; }
/* no number badges on the videos */
.wh-tag { display: none !important; }

/* layout switch: the same Finder-style glass capsule as the Clyro arrows, with icons instead of words
   (glyphs after SF Symbols square.grid.2x2 / rectangle.stack). The chosen one sits on a soft grey circle,
   hover shows that circle on the other one, and the middle divider fades while a circle is near it. */
.wh-seg.wh-finder {
  display: flex; align-items: center; gap: 0;
  width: 128px; height: 58px; padding: 0 5px; box-sizing: border-box; border-radius: 29px;
  --glass-refraction: 16px; --glass-edge: 18px; --glass-blur: 3px; --glass-highlight: 0.6; --glass-fallback-blur: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62) 0%, rgba(246, 246, 246, 0.5) 30%, rgba(247, 247, 247, 0.5) 55%, rgba(255, 255, 255, 0.62) 90%, rgba(255, 255, 255, 0.75) 100%);
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.7), 0 1px 4px rgba(0, 0, 0, 0.045);
}
.wh-seg.wh-finder::before {
  display: block; z-index: 0; padding: 1px;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 1) 0%, rgba(205, 205, 210, 0.75) 22%,
    rgba(150, 150, 158, 0.4) 50%,
    rgba(205, 205, 210, 0.75) 78%, rgba(255, 255, 255, 1) 100%);
}
.wh-seg.wh-finder::after { display: none; }
.wh-seg.wh-finder .wh-seg-knob { display: none; }
.wh-seg.wh-finder button {
  position: relative; z-index: 1; flex: 1; width: auto; height: 100%;
  display: grid; place-items: center; padding: 0; border: 0; border-radius: 0; background: none;
  color: #000; scale: none; transition: color 0.25s ease;
}
.wh-seg.wh-finder button svg { position: relative; width: 26px; height: 26px; transition: transform 0.35s cubic-bezier(.22, 1, .36, 1); }
.wh-seg.wh-finder button::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; border-radius: 50%;
  translate: -50% -50%; scale: 0.9; background: rgba(0, 0, 0, 0.055); opacity: 0;
  transition: opacity 0.2s ease, scale 0.35s cubic-bezier(.22, 1, .36, 1), background-color 0.2s ease;
}
.wh-seg.wh-finder button.is-on::before { opacity: 1; scale: 1; background: rgba(0, 0, 0, 0.075); }
.wh-seg.wh-finder button:not(.is-on):hover::before { opacity: 1; scale: 1; }
.wh-seg.wh-finder button:active svg { transform: scale(0.88); }
.wh-seg.wh-finder button:active { scale: none; }
.wh-seg-div { flex: none; width: 1.6px; height: 55%; background: #C7C7C7; border-radius: 1px; opacity: 0; transition: opacity 0.2s ease; }
@media (max-width: 767px) {
  .wh-seg.wh-finder { width: 92px; height: 42px; padding: 0 4px; border-radius: 21px; }
  .wh-seg.wh-finder button svg { width: 20px; height: 20px; }
  .wh-seg.wh-finder button::before { width: 32px; height: 32px; }
}
/* phones: the orange starts at the very top of the screen (the page has 24px of room above the hero there) */
@media (max-width: 767px) { .wh-hero::before { top: -80px; } }
