/* ==========================================================================
   PoshPromo — landing playground
   The app's onboarding UX, brought to the web. Blush palette lifted 1:1 from
   the app (ClosetCampaignCardPalette / siBlush* tokens + PromoPalette gradients).

   HOW TO ITERATE
   ─────────────────────────────────────────────────────────────────────────
   • Colors ............ :root tokens below (mirror the app palette).
   • Onboarding copy ... index.html .beat blocks + BEATS[] in playground.js.
   • Promo catalog ..... CATALOG[] in playground.js (id/text/color/style/pos).
   • Animation timing .. the showcase controllers in playground.js.
   ========================================================================== */

/* Self-hosted rounded display face — Nunito (SIL OFL; license at assets/fonts/OFL.txt).
   Variable weight 200–1000, latin subset (covers our English copy + typographic
   punctuation). The rounded look used to come from SF Pro Rounded via `ui-rounded`,
   which only exists on Apple — Windows/Android fell back to a non-rounded system sans.
   Nunito is a close cousin of SF Pro Rounded and leads the --font-round stack so the
   rounded typography (titles, tags, buttons) renders identically on every platform;
   ui-rounded / system-ui stay as fallbacks only if this file fails to load. */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../assets/fonts/nunito-latin-var.woff2") format("woff2");
}

:root {
  /* ---- Blush palette (siBlush* / ClosetCampaignCardPalette) ---- */
  --tint:    #FFEDF5;   /* siBlushBackdrop soft */
  --pale:    #FAADCC;
  --light:   #FAB8D6;
  --soft:    #F273A6;   /* P.primary-ish */
  --accent:  #F05294;
  --primary: #F2408C;   /* P.primary — onboarding gradient start */
  --deep:    #DB0D61;   /* P.deep    — onboarding gradient end / CTA ink */

  /* Onboarding full-bleed splash: LinearGradient([P.primary, P.deep], TL→BR) */
  --splash: linear-gradient(150deg, var(--primary) 0%, var(--deep) 100%);

  /* ---- Neutrals ---- */
  --ink:   #241019;
  --body:  #4c3a42;
  --muted: #786a72;  /* secondary text — darkened for legibility (~5:1 on white, was ~3.8:1) */
  --line:  #f3dde8;
  --bg:    #fffafc;
  --card:  #ffffff;

  --maxw: 1120px;
  --radius: 22px;

  /* Rounded, heavy display face — SF Pro Rounded on Apple platforms via ui-rounded */
  --font-round: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-card: 0 22px 60px -18px rgba(219, 13, 97, 0.28);
  --shadow-soft: 0 10px 30px -12px rgba(36, 16, 25, 0.18);
}

* { box-sizing: border-box; }
/* overflow-x: clip (not hidden) reliably prevents horizontal scroll without
   creating a scroll container — so it won't break the sticky nav, and unlike
   `hidden` on body alone it actually contains left-negative content on iOS. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: var(--deep); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-round);
  font-weight: 800; font-size: 12.5px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--deep);
}
/* On the gradient splash (phone / CTA) use the white-on-dark variant. */
.eyebrow--on-dark { color: #fff; opacity: 0.9; }
.eyebrow--ink {
  color: var(--deep);
  background: linear-gradient(#fff, #fff) padding-box, var(--splash) border-box;
  border: 1.5px solid transparent;
  padding: 6px 14px; border-radius: 999px; letter-spacing: 1.6px;
}

.section-title {
  font-family: var(--font-round);
  font-weight: 850; letter-spacing: -0.6px; color: var(--ink);
  font-size: clamp(28px, 4.4vw, 44px); line-height: 1.06; margin: 16px 0 12px;
}
.section-sub { color: var(--muted); font-size: clamp(16px, 2vw, 19px); max-width: 48ch; margin: 0; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-round); font-weight: 800; font-size: 16px;
  padding: 13px 24px; border-radius: 14px; cursor: pointer; border: 0;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.btn--lg { padding: 16px 30px; font-size: 17px; }
.btn--primary { color: #fff; background: var(--splash); box-shadow: 0 12px 30px -8px rgba(242, 64, 140, 0.55); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(242, 64, 140, 0.6); }
.btn--ghost { color: var(--deep); background: #fff; border: 1.5px solid var(--pale); }
.btn--ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--white { color: var(--deep); background: #fff; box-shadow: 0 16px 40px -12px rgba(0,0,0,0.35); }
.btn--white:hover { transform: translateY(-2px); }
.btn--pill { color: var(--deep); background: #fff; border: 1.5px solid var(--pale); border-radius: 999px; padding: 9px 20px; font-size: 15px; }
.btn--pill:hover { background: var(--tint); }

/* ---- Nav -------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 252, 0.72);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-round); font-weight: 850; font-size: 20px; letter-spacing: -0.3px; color: var(--ink);
}
.wordmark__icon { border-radius: 8px; box-shadow: 0 3px 10px -3px rgba(219,13,97,0.5); }
.wordmark__tri { color: var(--primary); font-size: 12px; margin: 0 1px; vertical-align: middle; }
.wordmark__two { color: var(--deep); }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-weight: 650; font-size: 15px; }
.nav__links a { color: var(--body); }
.nav__links a:hover { color: var(--deep); }
.nav .btn--pill { margin-left: 4px; }
@media (max-width: 720px) { .nav__links { display: none; } }

/* ---- Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 64px 0 40px; }
.hero__glow {
  position: absolute; inset: -30% -10% auto -10%; height: 720px; z-index: 0;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(242, 64, 140, 0.20), transparent 70%),
    radial-gradient(50% 50% at 12% 30%, rgba(219, 13, 97, 0.12), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}
.hero__title {
  font-family: var(--font-round); font-weight: 850;
  font-size: clamp(38px, 6vw, 68px); line-height: 1.02; letter-spacing: -1.6px;
  color: var(--ink); margin: 16px 0 20px; text-wrap: balance;
}
.hero__lede { font-size: clamp(17px, 1.7vw, 20px); color: var(--body); max-width: 42ch; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin: 20px 0 0; font-size: 13.5px; color: var(--muted); }
.hero__device { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero__device-cap { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }

/* Entrance — transform ONLY (opacity stays 1) so content is always visible even
   if the tab pauses animations (hidden/background tabs freeze keyframes at 0%). */
.hero__copy > * { transform: translateY(14px); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.hero__copy > *:nth-child(2) { transition-delay: .06s; }
.hero__copy > *:nth-child(3) { transition-delay: .12s; }
.hero__copy > *:nth-child(4) { transition-delay: .18s; }
.hero__copy > *:nth-child(5) { transition-delay: .24s; }
.hero__device { transform: translateY(20px); transition: transform .8s .1s cubic-bezier(.2,.7,.2,1); }
.hero.is-ready .hero__copy > *, .hero.is-ready .hero__device { transform: none; }

/* ---- Phone ------------------------------------------------------------ */
.phone { width: min(340px, 82vw); }
.phone__frame {
  position: relative; aspect-ratio: 340 / 720; border-radius: 52px;
  background: #0c0c0f; padding: 12px;
  box-shadow:
    0 2px 0 1px rgba(255,255,255,0.06) inset,
    0 40px 90px -30px rgba(219, 13, 97, 0.45),
    0 20px 50px -20px rgba(0,0,0,0.5);
}
.phone__island {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #000; border-radius: 999px; z-index: 6;
}
.phone__screen {
  position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden;
  background: var(--splash);
  display: flex; flex-direction: column;
}

/* Onboarding "leg" inside the phone */
.ob {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  padding: 46px 20px 22px;
}
.ob__top { display: flex; justify-content: flex-end; height: 22px; }
.ob__skip { font-family: var(--font-round); font-weight: 700; font-size: 14px; color: rgba(255,255,255,0.85); }
.ob__hero { height: 48%; display: grid; place-items: center; }
.ob__content { flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; padding-top: 6px; }
.ob__title {
  font-family: var(--font-round); font-weight: 850; font-size: 22px; line-height: 1.1;
  color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,0.18); margin: 0;
}
.ob__body { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.92); margin: 0; line-height: 1.42; }
.ob__supporting { font-size: 12px; color: rgba(255,255,255,0.72); margin: 2px 0 0; }
.ob__bottom { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.ob__dots { display: flex; gap: 7px; }
.ob__dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,0.35); transition: width .25s ease, background .25s ease; }
.ob__dot.is-active { width: 20px; background: #fff; }
.ob__cta {
  width: 100%; height: 50px; border-radius: 14px; background: #fff; border: 0;
  font-family: var(--font-round); font-weight: 850; font-size: 16px; color: var(--deep);
  box-shadow: 0 10px 24px -8px rgba(0,0,0,0.35); cursor: pointer;
}
/* leg cross-fade/slide — legs rest VISIBLE (opacity 1); only the leaving leg fades
   out, so the active screen is never hidden if a paused/hidden tab freezes the
   transition mid-way. */
.ob { opacity: 1; transform: translateX(20px); transition: opacity .4s ease, transform .4s ease; pointer-events: none; }
.ob.is-active { transform: none; pointer-events: auto; }
.ob.is-leaving { opacity: 0; transform: translateX(-20px); pointer-events: none; }

/* ---- Cover + tag layer (shared by phone + sections) ------------------- */
.pp-cover {
  position: relative; aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden;
  background: #e9e6e8; border: 3px solid #fff;
  box-shadow: 0 18px 40px -14px rgba(0,0,0,0.35);
  /* Each cover is its own query container, so fitted tag labels (sized in cqmin)
     always scale to THIS cover — in the phone, the section stages, or the gallery. */
  container-type: size;
}
.pp-cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* clip-path (not just the cover's overflow:hidden) so the rounded corners clip the
   tag's COMPOSITED content — its SVG has a `filter` and its label a `transform`, which
   in WebKit/Safari escape a border-radius + overflow clip and spill past the corner.
   Clipping the tag layer itself (not the cover) leaves the cover's drop-shadow intact.
   17px = the cover's inner corner radius (border-radius 20px − 3px border). */
.pp-tag { position: absolute; inset: 0; pointer-events: none; clip-path: inset(0 round 17px); }
/* Content wrapper — holds the svg + label so a tag can be translated as ONE unit
   (the styles gallery slides tags between positions via a transform on this layer)
   while .pp-tag keeps its fixed clip-path aligned to the cover's rounded corners. */
.pp-tag__inner { position: absolute; inset: 0; }
.pp-tag svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pp-tag__label {
  position: absolute; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-round); font-weight: 800; text-align: center; line-height: 0.98;
  transform-origin: center; white-space: pre; letter-spacing: 0.2px;
}
/* spring-in used when a tag mounts */
@keyframes tagPop { from { transform: scale(1.16); } to { transform: scale(1); } }
.pp-tag.is-pop { animation: tagPop .5s cubic-bezier(.2,.9,.3,1.1); }

/* ---- Scroll cue ------------------------------------------------------- */
.scroll-cue {
  display: block; width: 26px; height: 42px; margin: 26px auto 0; border-radius: 999px;
  border: 2px solid var(--pale); position: relative;
}
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; border-radius: 999px; background: var(--primary); transform: translateX(-50%); animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translate(-50%, 12px); } 100% { opacity: 0; } }

/* ---- Beats (scrollytelling) ------------------------------------------ */
.beats { padding: 40px 0 30px; }
.beats__intro { text-align: center; max-width: 620px; margin: 0 auto 20px; display: flex; flex-direction: column; align-items: center; }
.beat {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: clamp(48px, 8vh, 96px) 24px;
}
/* DOM is copy-first (col-2 stage) by default; reverse pulls the stage to col-1 (left)
   WITHOUT changing DOM/reading order — copy stays first for screen readers. */
.beat--reverse .beat__stage { order: -1; }
.beat__stage { display: grid; place-items: center; }
.beat__copy { max-width: 30rem; }
.beat__step { font-family: var(--font-round); font-weight: 800; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--primary); }
.beat__title { font-family: var(--font-round); font-weight: 850; letter-spacing: -0.6px; color: var(--ink); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; margin: 12px 0 14px; }
.beat__body { font-size: clamp(17px, 1.6vw, 19px); color: var(--body); margin: 0; }
.beat__supporting { margin: 14px 0 0; font-weight: 700; color: var(--deep); font-family: var(--font-round); }

/* Step 5 experiment: full-bleed diagonal wash behind the whole step (site hero gradient,
   white → tint → light, top-left → bottom-right). Pseudo-element spans the viewport width
   while the step content stays maxw-centered. */
.beat--tinted { position: relative; }
.beat--tinted::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: linear-gradient(135deg, #ffffff 0%, var(--tint) 60%, var(--light) 130%);
}

/* reveal-on-scroll — transform ONLY (opacity stays 1) so beats never hide if a
   paused/hidden tab freezes the transition; a frozen slide is still fully visible. */
.beat__stage, .beat__copy { transform: translateY(28px); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.beat.is-in .beat__copy { transform: none; transition-delay: .08s; }
.beat.is-in .beat__stage { transform: none; }

/* The section-scale stage: a blush pedestal holding the cover(s).
   Background = the original site's hero gradient (white → tint → soft light pink). */
.stage {
  position: relative; width: min(440px, 84vw); aspect-ratio: 1 / 1;
  border-radius: 34px; display: grid; place-items: center;
  background: linear-gradient(160deg, #ffffff 0%, var(--tint) 60%, var(--light) 130%);
  box-shadow: var(--shadow-card);
  padding: clamp(30px, 6%, 54px);
}
.stage::after { /* subtle inner sheen */
  content: ""; position: absolute; inset: 0; border-radius: 34px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5); pointer-events: none;
}
/* "bare" pedestal — keeps the sizing box but drops the gradient container, so the
   showcase floats on the page background. */
.stage--plain { background: transparent; box-shadow: none; }
.stage--plain::after { display: none; }
.stage__inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }

/* Coverflow arrangement.
   The fan positions its cards absolutely and translates the off-screen ones far
   past the stage (translateX up to ±560%). Those cards are opacity:0, but they
   still occupy layout — left unclipped they extend the page hundreds of px wide
   and make it drag horizontally on mobile.
   `overflow-x: clip` contains them in Chromium, but WebKit/Safari lets COMPOSITED
   (transformed) children escape an overflow clip — so we ALSO hard-clip with
   `clip-path`, which WebKit honors for composited content. `inset(-9999px 0px)`
   clips only the X axis (top/bottom expanded off-box) so the covers' drop-shadows
   aren't cut. This is the same WebKit compositing-clip trap the tag layer hit. */
.cf { position: relative; width: 100%; height: 100%; overflow-x: clip; overflow-y: visible; clip-path: inset(-9999px 0px); }
.cf__card { position: absolute; top: 50%; left: 50%; width: 66%; transition: transform .5s cubic-bezier(.2,.8,.25,1), opacity .5s ease; }
.cf--select { -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }

/* Selection ring + check (select showcase) */
.pp-cover.is-selected { border-color: var(--primary); }
.pp-cover__tint { position: absolute; inset: 0; background: rgba(242,64,140,0.16); opacity: 0; transition: opacity .3s ease; }
.pp-cover.is-selected .pp-cover__tint { opacity: 1; }
.pp-check {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; opacity: 0; transform: scale(.6);
  transition: opacity .3s ease, transform .35s cubic-bezier(.2,.9,.3,1.3);
}
.pp-cover.is-selected .pp-check { opacity: 1; transform: scale(1); }

/* Pills (before/after, state) */
.pp-pill {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 4px; padding: 4px;
  background: rgba(255,255,255,0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 999px; box-shadow: var(--shadow-soft);
}
.pp-seg { position: relative; font-family: var(--font-round); font-weight: 800; font-size: 12.5px; letter-spacing: .5px; color: var(--deep); padding: 7px 18px; border-radius: 999px; z-index: 1; transition: color .3s ease; }
.pp-seg.is-active { color: #fff; }
.pp-seg__fill { position: absolute; inset: 0; border-radius: 999px; background: var(--splash); z-index: -1; transition: transform .45s cubic-bezier(.4,1.2,.4,1); }

.pp-statepill {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px;
  background: rgba(255,255,255,0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 999px; box-shadow: var(--shadow-soft);
  font-family: var(--font-round); font-weight: 850; font-size: 13px; color: var(--deep);
}
.pp-statepill svg { width: 15px; height: 15px; }

/* Color row (style showcase) */
.pp-colorrow {
  position: absolute; left: 50%; bottom: 12px;
  width: 92%; padding: 3px 4px; border-radius: 999px;
  background: rgba(255,255,255,0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-soft);
  opacity: 0; transition: opacity .4s ease, transform .4s ease; transform: translate(-50%, 14px);
}
.pp-colorrow.is-in { opacity: 1; transform: translate(-50%, 0); }
/* The whole palette fits in one row (no scroll), so no swatch is ever clipped — the
   highlight just sweeps across them. Swatches are sized in cqmin so all 10 always fit,
   and the padding gives the selected swatch's scale + ring room top and bottom. */
.pp-colorrow__track { display: flex; justify-content: space-between; align-items: center; gap: 4px; padding: 7px 10px; }
.pp-swatch { flex: 0 0 auto; width: 6.4cqmin; height: 6.4cqmin; border-radius: 999px; box-shadow: 0 0 0 1px rgba(255,255,255,.55) inset; transition: transform .3s ease, box-shadow .3s ease; }
.pp-swatch.is-sel { transform: scale(1.16); box-shadow: 0 0 0 1px rgba(255,255,255,.55) inset, 0 0 0 3px var(--primary); }

/* Sheen sweep (apply/revert).
   The bar is composited (mix-blend-mode + a big translateX that sweeps ~150% past
   the cover), and WebKit/Safari lets composited children escape `overflow: hidden`
   — so the bar spilled off the right edge and made the page drag horizontally on
   iOS. `clip-path` reliably clips composited content in WebKit; the round matches
   the cover's inner radius (border-radius 20px − 3px border). */
.pp-sheen { position: absolute; inset: 0; overflow: hidden; pointer-events: none; clip-path: inset(0 round 17px); }
.pp-sheen__bar {
  position: absolute; top: -30%; left: 0; width: 45%; height: 160%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.85), transparent);
  transform: rotate(16deg) translateX(-160%); mix-blend-mode: screen;
}
.pp-sheen.is-sweep .pp-sheen__bar { animation: sheen .7s ease-in-out forwards; }
@keyframes sheen { from { transform: rotate(16deg) translateX(-160%); } to { transform: rotate(16deg) translateX(340%); } }

/* Revert affordance (badge + finger + ripple) */
.pp-revert { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .3s ease; }
.pp-revert.is-in { opacity: 1; }
.pp-revert__badge {
  width: 30%; aspect-ratio: 1; border-radius: 999px; display: grid; place-items: center;
  background: rgba(255,255,255,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px -6px rgba(0,0,0,0.35), inset 0 0 0 2px rgba(255,255,255,0.7);
  color: var(--deep); transition: transform .16s ease;
}
.pp-revert__badge svg { width: 46%; height: 46%; }
.pp-revert.is-tap .pp-revert__badge { transform: scale(.9); }
.pp-revert__finger {
  position: absolute; left: 58%; top: 60%; font-size: 17%; color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.35)); transition: transform .16s ease;
}
.pp-revert.is-tap .pp-revert__finger { transform: translateY(-4%) scale(.92); }
.pp-ripple { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 999px; border: 3px solid var(--deep); opacity: 0; }
.pp-revert.is-tap .pp-ripple { animation: ripple .6s ease-out forwards; }
@keyframes ripple { from { transform: scale(1); opacity: .8; } to { transform: scale(2.4); opacity: 0; } }

/* Typewriter caret cursor is drawn inside the tag label text itself */

/* ---- Whole-closet / bulk section ------------------------------------- */
.bulk { padding: 30px 0 60px; }
.bulk__title { text-align: center; max-width: 20ch; margin: 0 auto 34px; }
.bulk__grid-placeholder {
  /* Placeholder until the real 20–30 listing transform grid is built. */
  min-height: 300px; border-radius: 24px; margin: 0 auto 34px;
  border: 2px dashed var(--pale);
  background: linear-gradient(160deg, #fff 0%, var(--tint) 100%);
  display: grid; place-items: center;
  font-family: var(--font-round); font-weight: 700; color: var(--muted); letter-spacing: .3px;
}
.bulk__points {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px;
}
.bulk__points li {
  display: flex; align-items: center; gap: 9px;
  font-family: var(--font-round); font-weight: 700; color: var(--ink);
  font-size: clamp(15px, 1.6vw, 18px);
}
.bulk__points li::before {
  content: "✓"; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 999px;
  background: var(--splash); color: #fff; font-size: 12px; font-weight: 900;
  display: inline-grid; place-items: center;
}

/* ---- Styles gallery --------------------------------------------------- */
.styles { padding: 60px 0 30px; }
.styles__intro { text-align: center; max-width: 620px; margin: 0 auto 40px; display: flex; flex-direction: column; align-items: center; }
.styles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .styles__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .styles__grid { grid-template-columns: repeat(2, 1fr); } }
.style-card { display: flex; flex-direction: column; gap: 10px; }
.style-card .pp-cover { border-color: #fff; box-shadow: var(--shadow-soft); }
.style-card__name { text-align: center; font-family: var(--font-round); font-weight: 750; font-size: 14px; color: var(--ink); }

/* ---- Final CTA -------------------------------------------------------- */
.cta {
  position: relative; overflow: hidden;
  /* full-bleed radial from center (same stops as the steps' diagonal wash) */
  background: radial-gradient(circle at center, #ffffff 0%, var(--tint) 60%, var(--light) 130%);
  padding: clamp(60px, 9vw, 104px) 0;
}
.cta__inner {
  position: relative; z-index: 1; text-align: center; color: var(--ink);
  display: flex; flex-direction: column; align-items: center;
}
.cta__glow { display: none; }
.cta__icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 20px 50px -14px rgba(0,0,0,0.5); }
.cta__title { font-family: var(--font-round); font-weight: 850; letter-spacing: -0.8px; font-size: clamp(30px, 5vw, 50px); margin: 22px 0 12px; }
.cta__sub { max-width: 44ch; margin: 0 0 28px; color: var(--body); font-size: clamp(17px, 1.7vw, 19px); }
.cta__note { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }

/* ---- Footer ----------------------------------------------------------- */
.footer { padding: 46px 0 60px; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 18px 40px; align-items: start; }
.wordmark--sm { font-size: 17px; }
.footer__links { display: flex; gap: 22px; grid-column: 1 / -1; flex-wrap: wrap; font-weight: 650; font-size: 15px; }
.footer__links a { color: var(--body); }
.footer__legal { grid-column: 1 / -1; color: var(--muted); font-size: 14px; max-width: 70ch; margin: 0; }
.footer__copy { display: block; margin-top: 8px; }

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 880px) {
  .hero { padding-top: 36px; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__copy { display: flex; flex-direction: column; align-items: center; }
  .hero__cta { justify-content: center; }
  .hero__lede { max-width: 52ch; }
  .beat { grid-template-columns: 1fr; gap: 34px; text-align: center; padding: 56px 24px; }
  .beat--reverse .beat__stage { order: 0; }
  .beat__copy { max-width: 46ch; margin: 0 auto; }
  .scroll-cue { display: none; }
}

/* ---- Reduced motion --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero__copy > *, .hero__device, .beat__stage, .beat__copy { opacity: 1 !important; transform: none !important; }
}
