:root {
  color-scheme: light;
  --ink: #191425;
  --ink-deep: #110e1c;
  --ink-dim: #686678;
  --night: #0c0b12;
  --lavender: #5b3fe0;
  --lavender-bright: #7558ff;
  --surface-lilac: #f6f4fa;
  --danger: #be123c;
  --like-rose: #d92659;
  --soft-lilac: #e3d5ff;
  --gutter: clamp(24px, 6.4vw, 104px);
  --sans: "Plus Jakarta Sans", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: #fff;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: #fff; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2 { word-spacing: .035em; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
img { display: block; width: 100%; }
svg { display: block; flex: 0 0 auto; }
:focus-visible { outline: 3px solid #7050ed; outline-offset: 4px; }
.stage[data-light="false"] :focus-visible, .nav-shell[data-light="false"] :focus-visible, .band-ink :focus-visible { outline-color: #e3d5ff; }
section[id], :target { scroll-margin-top: 104px; }
::selection { color: #24183f; background: #e4d6ff; }
.mono { font-family: var(--mono); }
.eyebrow { color: var(--lavender); font-size: .76rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Navigation */
.nav-shell {
  --nav-reveal: 0;
  position: fixed;
  z-index: 20;
  top: max(20px, env(safe-area-inset-top));
  inset-inline: clamp(18px, 3.1vw, 48px);
  color: #fff;
  opacity: var(--nav-reveal);
  transform: translateY(calc((1 - var(--nav-reveal)) * -10px));
  will-change: opacity, transform;
  pointer-events: none;
}
.nav-shell[data-hidden="true"] .nav { pointer-events: none; }
.nav {
  width: min(100%, 1344px);
  min-height: 64px;
  margin-inline: auto;
  padding: 8px 9px 8px 15px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(21, 17, 24, .72);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 20px;
  box-shadow: 0 12px 40px #02010724;
  backdrop-filter: blur(20px);
  pointer-events: auto;
  transition: background .32s, color .32s, border-color .32s;
}
.nav-shell[data-light="true"] { color: var(--ink); }
.nav-shell[data-light="true"] .nav { background: #fffffff0; border-color: #24193913; box-shadow: 0 10px 32px #33214e12; }
.brand { display: inline-flex; justify-self: start; align-items: center; gap: 10px; font-size: 1.28rem; font-weight: 800; letter-spacing: -.065em; }
.brand-mark { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 11px; background: linear-gradient(147deg, #7356f1, #5030cf); color: #fff; font-size: 1.54rem; font-weight: 800; font-style: italic; box-shadow: inset 0 1px #ffffff54; padding-right: 2px; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3.5vw, 52px); font-size: .85rem; font-weight: 700; }
.nav-links a { padding-block: 12px; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 19px; border: 1px solid transparent; border-radius: 999px; font-size: .86rem; font-weight: 800; line-height: 1.25; text-align: center; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.nav-cta { justify-self: end; min-height: 43px; background: #fff; color: var(--ink); }
.nav-cta:hover { background: var(--soft-lilac); }
.nav-cta:hover .icon-arrow { transform: translateX(2px); }
.nav-shell[data-light="true"] .nav-cta { color: #fff; background: var(--ink); }
.nav-shell[data-light="true"] .nav-cta:hover { background: var(--lavender); }
.icon-arrow { transition: transform .22s cubic-bezier(.22, 1, .36, 1); }

/* ================================================================
   HERO STORY STAGE (PRESERVED 100%)
   ================================================================ */
.story { height: 420vh; height: 420svh; }
.stage {
  --canvas-opacity: 1;
  --cue-opacity: 1;
  --mesh-opacity: 0;
  --viewport-opacity: 0;
  --phone-opacity: 0;
  --phone-ui-opacity: 0;
  --captured-photo-opacity: 1;
  --ui-reveal: 0;
  --phone-dx: 0px;
  --phone-dy: 0px;
  --phone-scale-x: .88;
  --phone-scale-y: .88;
  --phone-scale: .88;
  --controls-opacity: 0;
  --flight-opacity: 0;
  --flash-opacity: 0;
  --swipe-x: 0px;
  --swipe-angle: 0deg;
  --stamp-opacity: 0;
  --match-reveal: 0;
  --match-lift: 12px;
  --progress: 0;
  position: sticky;
  top: 0;
  z-index: 1;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: var(--night);
}

#heroCanvas, .hero-scrim, .stage-mesh, .flash { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
#heroCanvas { z-index: 0; opacity: var(--canvas-opacity); background: var(--night) url("assets/keyframe-a-street.jpg") 58% 38% / cover no-repeat; }
.hero-scrim {
  z-index: 1;
  background: linear-gradient(0deg, rgba(11, 8, 18, .34) 0%, transparent 18%);
  opacity: var(--cue-opacity);
}
.mesh {
  background-color: #fff;
  background-image:
    radial-gradient(ellipse at 8% 8%, #e2d6ff 0%, transparent 55%),
    radial-gradient(ellipse at 96% 10%, #ffe2c8 0%, transparent 56%),
    radial-gradient(ellipse at 88% 94%, #fad1ea 0%, transparent 60%),
    radial-gradient(ellipse at 12% 98%, #d8f6e8 0%, transparent 54%);
}
.stage-mesh { z-index: 1; opacity: var(--mesh-opacity); }

.scroll-cue {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: max(26px, env(safe-area-inset-bottom));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(16, 13, 22, .38);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .92);
  opacity: var(--cue-opacity);
  transform: translateX(-50%);
  transition: background .2s, border-color .2s;
}
.scroll-cue svg { animation: cueFloat 2.1s ease-in-out infinite; }
.scroll-cue:hover { background: rgba(25, 20, 35, .58); border-color: rgba(255, 255, 255, .48); }
.scroll-cue[inert] { visibility: hidden; pointer-events: none; }
.scroll-cue[inert] svg { animation: none; }
@keyframes cueFloat {
  0%, 100% { transform: translateY(-1px); opacity: .78; }
  50% { transform: translateY(3px); opacity: 1; }
}

.viewfinder {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(45dvh, 70vw);
  aspect-ratio: 3 / 4;
  color: #ffffffed;
  opacity: var(--viewport-opacity);
  pointer-events: none;
}
.viewfinder i { position: absolute; width: 31px; height: 31px; border: solid currentColor; border-width: 0; }
.viewfinder i:nth-child(1) { inset: 0 auto auto 0; border-width: 2px 0 0 2px; border-top-left-radius: 8px; }
.viewfinder i:nth-child(2) { inset: 0 0 auto auto; border-width: 2px 2px 0 0; border-top-right-radius: 8px; }
.viewfinder i:nth-child(3) { inset: auto auto 0 0; border-width: 0 0 2px 2px; border-bottom-left-radius: 8px; }
.viewfinder i:nth-child(4) { inset: auto 0 0 auto; border-width: 0 2px 2px 0; border-bottom-right-radius: 8px; }
.reticle { position: absolute; top: calc(50% - 13dvh); left: 50%; width: 26px; aspect-ratio: 1; border-radius: 50%; border: 1px solid #ffffff80; transform: translate(-50%, -50%); }
.reticle::before, .reticle::after { content: ""; position: absolute; top: 50%; left: 50%; background: #ffffffd6; transform: translate(-50%, -50%); }
.reticle::before { width: 10px; height: 1px; }
.reticle::after { width: 1px; height: 10px; }

.showcase {
  position: absolute;
  z-index: 2;
  inset: 96px max(var(--gutter), calc((100vw - 1320px) / 2)) 87px;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.story-copy {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(300px, calc(50% - 235px));
  display: grid;
  align-items: center;
  opacity: var(--ui-reveal);
}
.story-copy article { grid-area: 1 / 1; transition: opacity .28s, transform .28s; }
.story-copy article[inert] { opacity: 0; visibility: hidden; transform: translateY(14px); }
.story-copy h1, .story-copy h2 { max-width: 11ch; margin-block: 12px 14px; font-size: clamp(1.85rem, 2.7vw, 2.85rem); line-height: 1.05; font-weight: 800; letter-spacing: -.05em; text-wrap: balance; }
.story-copy article > p:last-child { max-width: 28ch; color: #463755; font-weight: 600; font-size: clamp(.9rem, 1.05vw, 1rem); line-height: 1.55; }

.phone {
  position: relative;
  width: min(326px, 100%, calc((100dvh - 264px) * .482));
  aspect-ratio: .482;
  border: 1px solid #756e7e;
  border-radius: 15.5% / 7.47%;
  padding: 6px;
  background: linear-gradient(150deg, #322c38 0%, #16131c 42%, #0e0c14 68%, #3c3544 100%);
  box-shadow: 0 42px 84px -24px #37254c88, 0 18px 28px -16px #20162c96, inset 0 0 0 1.5px rgba(255, 255, 255, .24), inset 0 0 0 3px rgba(10, 8, 15, .85);
  opacity: var(--phone-opacity);
  transform: translate3d(var(--phone-dx), var(--phone-dy), 0) scale(var(--phone-scale-x), var(--phone-scale-y));
  transform-origin: center center;
  will-change: transform, opacity;
  pointer-events: auto;
  container-type: inline-size;
  touch-action: pan-y;
  text-align: left;
}
.phone-hw-btn {
  position: absolute;
  width: 2.5px;
  pointer-events: none;
  background: linear-gradient(180deg, #5d5667 0%, #241f2c 48%, #4b4455 100%);
}
.phone-hw-btn.btn-action,
.phone-hw-btn.btn-vol-up,
.phone-hw-btn.btn-vol-down {
  left: -3.5px;
  border-radius: 2px 0 0 2px;
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .24);
}
.phone-hw-btn.btn-action { top: 13.8%; height: 4.1%; }
.phone-hw-btn.btn-vol-up { top: 20.6%; height: 8.6%; }
.phone-hw-btn.btn-vol-down { top: 31.2%; height: 8.6%; }
.phone-hw-btn.btn-power {
  right: -3.5px;
  top: 24.5%;
  height: 12.6%;
  border-radius: 0 2px 2px 0;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, .24);
}
.phone[inert] { pointer-events: none; }
.phone-screen { position: relative; overflow: hidden; isolation: isolate; width: 100%; height: 100%; border-radius: 13.5cqw; background: #0e0b14; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .65); }
.phone-captured-photo {
  position: absolute;
  z-index: 4;
  inset: 0;
  opacity: var(--captured-photo-opacity);
  pointer-events: none;
  will-change: opacity;
}
.phone-captured-photo img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.phone-shutter-flash {
  position: absolute;
  z-index: 7;
  inset: 0;
  background: #fff9f0;
  opacity: var(--flash-opacity);
  pointer-events: none;
}
.phone-status { position: absolute; z-index: 5; inset: 0 0 auto; height: 13.2cqw; display: flex; justify-content: space-between; align-items: center; padding-inline: 6.4cqw; font-size: 3.7cqw; font-weight: 800; pointer-events: none; }
.phone-status .status-ui { opacity: var(--phone-ui-opacity); }
.island { position: absolute; top: 2.8cqw; left: 50%; width: 28cqw; height: 7.4cqw; transform: translateX(-50%); border-radius: 999px; background: #0b0910; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); opacity: var(--phone-ui-opacity); }
.island::after { content: ""; position: absolute; right: 2.1cqw; top: 50%; width: 3.1cqw; height: 3.1cqw; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(circle at 38% 36%, #2c3e68 0%, #101628 48%, #07070b 100%); box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .14); }
.status-icons { display: inline-flex; align-items: center; }
.status-icons svg { width: 13.5cqw; }
.home-indicator { position: absolute; z-index: 6; bottom: 2cqw; left: 32.5%; width: 35%; height: 1.25cqw; border-radius: 999px; background: #1a1625; opacity: var(--phone-ui-opacity); pointer-events: none; }

.phone-panel { position: absolute; inset: 0; padding: 14cqw 5.2cqw 6.8cqw; opacity: var(--phone-ui-opacity); }
.phone-panel[inert] { visibility: hidden; pointer-events: none; }
.discover-panel { display: flex; flex-direction: column; gap: 2.8cqw; background: #faf7ff; }
.discover-panel.is-swiping[inert] { visibility: visible; }
.discover-head { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; column-gap: 5px; }
.discover-head h2 { font-size: 8.4cqw; line-height: 1.1; letter-spacing: -.075em; font-weight: 800; }
.nearby { display: inline-flex; align-items: center; gap: 1.2cqw; color: #504663; font-weight: 700; font-size: 3.7cqw; white-space: nowrap; }
.nearby .icon-pin { width: 3.8cqw; height: 3.8cqw; color: var(--lavender); }
.filters { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 1.4cqw; }
.filters button { flex: 0 1 auto; min-width: 0; min-height: max(25px, 8.8cqw); padding: 1cqw 2.4cqw; border: 1px solid #ddd3eb; color: #504663; border-radius: 999px; background: #fff; font-size: clamp(8.8px, 3.4cqw, 11.5px); font-weight: 700; white-space: nowrap; }
.filters button:hover { border-color: var(--lavender); }
.filters button[aria-pressed="true"] { color: #4c2bbd; background: #eae1ff; border-color: #eae1ff; }
.profile-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 7.6cqw;
  background: #1e1721;
  color: #fff;
  box-shadow: 0 5px 12px #24163024;
  transform: translateX(var(--swipe-x)) rotate(var(--swipe-angle));
  touch-action: pan-y;
  user-select: none;
}
.profile-card img, .portrait-flight img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.stage[data-sequence="mobile"] .profile-card img,
.stage[data-sequence="mobile"] .detail-photo,
.stage[data-sequence="mobile"] .polaroid-right img { object-position: 50% 44%; }
.profile-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #110918fa, #110918b8 20%, transparent 50%); pointer-events: none; }
.online-badge { position: absolute; z-index: 1; top: 4cqw; left: 4cqw; display: inline-flex; align-items: center; gap: 1.4cqw; padding: 1.7cqw 2.9cqw; border: 1px solid #ffffff66; border-radius: 999px; background: #17111edb; backdrop-filter: blur(10px); color: white; font-size: 3.45cqw; font-weight: 800; }
.online-badge .badge-svg { width: 3.4cqw; height: 3.4cqw; color: #c7b4ff; }
.online-badge[data-icon="spark"] .badge-svg-pin { display: none; }
.online-badge[data-icon="pin"] .badge-svg-spark { display: none; }
.profile-caption { position: absolute; z-index: 1; inset: auto 4.8cqw 5.8cqw; }
.profile-caption h3 { display: inline-flex; align-items: center; gap: 1.4cqw; margin-bottom: 1.1cqw; font-size: 8.4cqw; line-height: 1; letter-spacing: -.06em; }
.verified { display: inline-grid; place-items: center; height: 4.8cqw; width: 4.8cqw; background: #e3d3ff; color: #382189; border-radius: 50%; }
.verified svg { width: 3cqw; height: 3cqw; }
.profile-caption p { color: #fff; font-size: 3.9cqw; font-weight: 600; }
.like-stamp { position: absolute; z-index: 2; top: 19%; left: 8%; display: inline-flex; align-items: center; gap: 1.6cqw; transform: rotate(-17deg); padding: 1.2cqw 3cqw; border: 1.1cqw solid var(--like-rose); border-radius: 2cqw; background: #fff; color: var(--like-rose); font: 600 8cqw / 1.17 var(--mono); opacity: var(--stamp-opacity); }
.like-stamp svg { width: 6.4cqw; height: 6.4cqw; }

.profile-actions { display: flex; align-items: center; justify-content: center; gap: 4.8cqw; padding-block: 1cqw; }
.round-action { display: grid; place-items: center; min-width: 36px; min-height: 36px; width: 16cqw; height: 16cqw; padding: 0; border: 1px solid #2a153914; border-radius: 50%; line-height: 1; transition: box-shadow .2s, background .2s, transform .18s; }
.round-action:hover { box-shadow: 0 3px 10px #27193736; transform: translateY(-1px); }
.round-action svg { width: 6.6cqw; height: 6.6cqw; }
.round-action.pass { background: #fff; color: #544768; }
.round-action.like { min-width: 42px; min-height: 42px; width: 18.8cqw; height: 18.8cqw; color: var(--danger); background: #ffe2ed; }
.round-action.like svg { width: 7.8cqw; height: 7.8cqw; }
.round-action.prompt { color: #5334c1; background: #eee6ff; }
.round-action.prompt svg { width: 6.2cqw; height: 6.2cqw; }

.portrait-flight { display: none; }
.flash { background: #fff9f0; z-index: 6; opacity: calc(var(--flash-opacity) * 0.28); }

.phone-primary { background: #21182f; color: #fff; }
.phone-primary:hover { background: var(--lavender); }
.phone-secondary { background: #ffffffc9; border-color: #38214932; color: #291939; }
.phone-secondary:hover { background: #fff; border-color: #4d3561; }
.phone-back { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 32px; padding: 3px 8px; border: 0; border-radius: 999px; background: transparent; color: #4c2bbd; font-size: clamp(11px, 3.8cqw, 13px); font-weight: 800; }
.phone-back svg { width: max(12px, 4.2cqw); height: max(12px, 4.2cqw); }
.phone-back:hover { background: #e9ddff; }
.detail-panel { display: flex; flex-direction: column; gap: 3.4cqw; overflow: auto; background: #fbf7ff; }
.detail-photo { min-height: 0; flex: 1; border-radius: 6.2cqw; object-fit: cover; object-position: 50% 18%; }
.detail-content { padding: 4.2cqw; background: #eee5ff; border-radius: 6.2cqw; }
.detail-content h2 { margin-block: 2cqw; font-size: 7.4cqw; line-height: 1.13; letter-spacing: -.065em; }
.detail-content > p:last-child, .passed-panel p { color: #4d405d; font-size: clamp(11px, 4cqw, 13.5px); line-height: 1.46; }
.passed-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4.2cqw; text-align: center; background: #f4eaff; }
.passed-panel h2 { font-size: 8.4cqw; font-weight: 800; letter-spacing: -.07em; }
.panel-symbol { display: grid; place-items: center; width: 18cqw; aspect-ratio: 1; margin-bottom: 2cqw; color: #5334c1; background: #fff; border-radius: 50%; }
.panel-symbol svg { width: 8cqw; height: 8cqw; }

.match-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5.4cqw;
  text-align: center;
  opacity: var(--match-reveal);
}
.match-panel.is-revealing[inert] { visibility: visible; }
.polaroids { position: relative; display: flex; justify-content: center; align-items: center; min-height: 50cqw; margin-block: 0 1cqw; }
.polaroid { width: 39cqw; padding: 2.2cqw 2.2cqw 2.6cqw; border-radius: 3.4cqw; background: #fff; box-shadow: 0 7px 14px #4a325a30; }
.polaroid img { aspect-ratio: .82; object-fit: cover; object-position: 50% 18%; border-radius: 1.8cqw; }
.polaroid figcaption { margin-top: 1.4cqw; font: 600 3.2cqw / 1 var(--mono); color: #64516d; }
.polaroid-left { transform: translate(1.4cqw, var(--match-lift)) rotate(-7deg); }
.polaroid-right { transform: translate(-1.4cqw, var(--match-lift)) rotate(7deg); }
.heart-pin { position: absolute; bottom: -3.4cqw; display: grid; place-items: center; width: 13cqw; aspect-ratio: 1; border: 2px solid white; border-radius: 50%; background: #ffabbc; color: #9b173b; box-shadow: 0 5px 12px #7c26614d; }
.heart-pin svg { width: 6.2cqw; height: 6.2cqw; }
.match-content h2 { margin-bottom: 2.8cqw; font-size: 11cqw; line-height: 1.06; font-weight: 800; letter-spacing: -.06em; }
.match-content p { max-width: 28ch; margin: auto; color: #493651; font-size: clamp(10.5px, 3.95cqw, 13.5px); line-height: 1.48; font-weight: 600; }
.clock-chip { display: inline-flex; align-items: center; justify-content: center; gap: 1.8cqw; min-height: 9cqw; margin-top: 4cqw; padding: .9cqw 3.8cqw; border-radius: 999px; background: #ffffffc7; color: #572bb3; font-size: clamp(9.5px, 3.7cqw, 12px); font-weight: 600; }
.clock-chip .clock-svg { width: max(11px, 3.8cqw); height: max(11px, 3.8cqw); }
.match-panel[data-expired="true"] .clock-suffix { display: none; }
.match-actions { display: grid; gap: 2.4cqw; }
.match-actions .button { min-height: max(35px, 12.6cqw); padding: 2cqw 3cqw; font-size: clamp(10.5px, 4cqw, 13.5px); }
.match-actions .button svg { width: max(12px, 4cqw); height: max(12px, 4cqw); }

.chat-panel { display: flex; flex-direction: column; gap: 3cqw; background: #fcf9ff; }
.chat-header { display: flex; align-items: center; gap: 1.6cqw; padding-bottom: 2.8cqw; border-bottom: 1px solid #e8def0; }
.chat-header > div:not(.chat-clock) { min-width: 0; }
.icon-back { flex: 0 0 auto; align-self: center; min-width: 20px; min-height: 28px; padding: 0; }
.chat-avatar-wrap { width: 10.6cqw; aspect-ratio: 1; border-radius: 50%; overflow: hidden; flex: 0 0 auto; background: #1e1721; }
.chat-avatar { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.9); transform-origin: 50% 43%; }
.chat-header h2 { font-size: 5cqw; letter-spacing: -.05em; }
.chat-header p { margin-top: 1px; color: var(--ink-dim); font-size: clamp(7.6px, 2.9cqw, 10px); font-weight: 600; white-space: nowrap; }
.chat-clock { margin-left: auto; display: inline-flex; align-items: center; gap: 1cqw; color: #572bb3; background: #eee5ff; padding: 1.25cqw 2cqw; border-radius: 99px; font-size: clamp(8px, 3.3cqw, 11px); font-weight: 600; white-space: nowrap; }
.chat-clock .clock-svg { width: max(9.5px, 3.2cqw); height: max(9.5px, 3.2cqw); }
.chat-scroll { display: flex; flex-direction: column; gap: 3cqw; flex: 1; min-height: 0; padding: 1cqw 1px; overflow-y: auto; overscroll-behavior: contain; }
.icebreaker { padding: 4cqw; border-radius: 5.5cqw; background: #f0e6ff; font-size: clamp(10.5px, 3.95cqw, 13px); line-height: 1.45; }
.icebreaker-label { display: flex; align-items: center; gap: 1.3cqw; margin-bottom: 1.6cqw; font-size: clamp(8.5px, 3.05cqw, 10.5px); }
.icebreaker-label svg { width: max(10px, 3cqw); height: max(10px, 3cqw); }
.icebreaker > p:last-child { margin-top: 1.4cqw; color: #513e63; }
.messages { display: grid; gap: 2cqw; }
.bubble { justify-self: start; max-width: 87%; padding: 2.4cqw 3.3cqw; border-radius: 5cqw 5cqw 5cqw 1.5cqw; background: #eee5ff; color: var(--ink); font-size: clamp(10.5px, 3.95cqw, 13px); line-height: 1.4; overflow-wrap: anywhere; }
.bubble.mine { justify-self: end; color: white; background: #5b3fe0; border-radius: 5cqw 5cqw 1.5cqw 5cqw; }
.bubble small { display: block; margin-bottom: 1cqw; color: #573c87; font-weight: 800; font-size: clamp(8.5px, 3cqw, 10.5px); }
.reset-note { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 4cqw; color: #52329f; text-align: center; font-size: clamp(8.8px, 3.2cqw, 10.5px); font-weight: 600; }
.reset-note svg { width: max(10px, 3.2cqw); height: max(10px, 3.2cqw); }
.compose { display: flex; gap: 1.5cqw; }
.compose input { flex: 1; width: 0; min-width: 0; height: 36px; border: 1px solid #d9cbe8; border-radius: 99px; padding: 0 3cqw; color: var(--ink); font-size: 16px; background: #fff; }
.compose input::placeholder { color: #6a5f76; font-size: clamp(10px, 3.8cqw, 12.5px); }
.compose .button { min-height: 36px; padding: 0 3.2cqw; font-size: clamp(10px, 3.8cqw, 12.5px); }

.story-controls {
  position: absolute;
  z-index: 8;
  bottom: max(23px, env(safe-area-inset-bottom));
  inset-inline: max(var(--gutter), calc((100vw - 1296px) / 2));
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  opacity: var(--controls-opacity);
  pointer-events: none;
  transition: opacity .2s ease;
}
.story-controls button { pointer-events: auto; }
.story-controls[inert] button { pointer-events: none; }
.beat-bar { position: relative; display: flex; align-items: stretch; gap: 7px; min-height: 52px; padding: 6px 6px 8px; overflow: hidden; color: #fff; background: #1a1523e8; border: 1px solid #ffffff3d; border-radius: 15px; box-shadow: 0 8px 25px #17102236; backdrop-filter: blur(20px); transition: color .3s, background .3s, border-color .3s; }
.beat-list { display: flex; gap: 2px; }
.beat, .autoplay { min-height: 36px; padding: 5px 10px; border: 0; border-radius: 9px; background: transparent; color: inherit; white-space: nowrap; font-size: .76rem; font-weight: 800; }
.beat span { margin-right: 2px; color: #d8c9f0; font: 500 .64rem var(--mono); }
.beat[aria-current], .beat:hover { background: #ffffff21; }
.autoplay { display: flex; align-items: center; gap: 6px; background: #e8d8ff; color: #352052; min-width: 99px; justify-content: center; }
.autoplay:hover { background: #f4ebff; }
.autoplay-icon { display: inline-flex; align-items: center; justify-content: center; }
.autoplay[data-playing="false"] .icon-pause { display: none; }
.autoplay[data-playing="true"] .icon-play { display: none; }
.beat-progress { position: absolute; height: 2px; width: 100%; left: 0; bottom: 0; background: #d7baff; transform-origin: left; transform: scaleX(var(--progress)); }
.stage[data-light="true"] .beat-bar { background: #fdfbffed; border-color: #38205622; color: #33243e; }
.stage[data-light="true"] .beat span { color: #625075; }
.stage[data-light="true"] .beat[aria-current], .stage[data-light="true"] .beat:hover { background: #e9dfff; }
.stage[data-light="true"] .autoplay { background: #2b1d42; color: white; }
.stage[data-light="true"] .autoplay:hover { background: var(--lavender); }
.stage[data-light="true"] .beat-progress { background: var(--lavender); }

/* ================================================================
   REVOLUT-GRADE 5 LANDING SECTIONS
   ================================================================ */
.section-width { max-width: 1320px; padding-inline: var(--gutter); margin-inline: auto; }

.landing-band {
  position: relative;
  overflow-x: clip;
  padding-block: clamp(74px, 8vw, 122px);
}
.band-white { background: #ffffff; color: var(--ink); }
.band-lilac { background: var(--surface-lilac); color: var(--ink); }
.band-ink {
  background: var(--ink-deep);
  color: #ffffff;
  padding-block: clamp(92px, 10vw, 148px);
  overflow: hidden;
}

.display-headline {
  margin-top: 16px;
  font-size: clamp(2.15rem, 4.1vw, 3.85rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.055em;
  text-wrap: balance;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity .72s cubic-bezier(.22, 1, .36, 1), transform .72s cubic-bezier(.22, 1, .36, 1);
}
.reveal-delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: translate3d(0, 0, 0); }

/* Split layout */
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(36px, 6vw, 92px);
}
.split-reverse .split-copy { order: 2; }
.split-reverse .split-visual { order: 1; }
.split-copy { min-width: 0; }
.split-visual { min-width: 0; }

/* ---- Section 1: FIVE wordplay + GONE expressive lettering + Live Clock ---- */
.word-five {
  display: inline-flex;
  align-items: center;
  gap: .08em;
  vertical-align: -.05em;
  padding: .06em .2em .07em .09em;
  margin-inline: .02em;
  border-radius: .28em;
  background: linear-gradient(135deg, rgba(115, 86, 241, .13), rgba(91, 63, 224, .06));
  border: 1px solid rgba(91, 63, 224, .2);
  line-height: 1;
}
.word-five-mark {
  display: inline-grid;
  place-items: center;
  width: .9em;
  height: .9em;
  padding: 0 .05em .04em 0;
  border-radius: .22em;
  background: linear-gradient(148deg, #7c5cff 0%, #5b3fe0 60%, #4428c2 100%);
  color: #fff;
  font-size: .76em;
  font-style: italic;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  box-shadow: 0 8px 18px -6px rgba(91, 63, 224, .55), inset 0 1px 0 rgba(255, 255, 255, .42);
}
.word-five-letters {
  background: linear-gradient(135deg, #5b3fe0 0%, #371ea8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -.055em;
  font-weight: 800;
}

.word-gone {
  position: relative;
  display: inline-block;
  font-weight: 800;
  letter-spacing: .015em;
  background: linear-gradient(96deg, #191425 10%, #443866 52%, #685b8a 82%, #766899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(91, 63, 224, .42);
  margin-right: -.03em;
}
.word-gone::after {
  content: "";
  position: absolute;
  left: 0;
  right: 2%;
  top: 53%;
  height: 2.5px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(91, 63, 224, .75), rgba(91, 63, 224, .18) 68%, transparent 100%);
  transform: translateY(-50%) rotate(-1.6deg);
  pointer-events: none;
}

.immediate-cta-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin-top: clamp(26px, 3vw, 38px);
}
.cta-micro {
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #5c546e;
  line-height: 1.4;
}
.cta-primary {
  background: var(--ink-deep);
  color: #ffffff;
  box-shadow: 0 14px 32px -12px rgba(25, 20, 37, .45);
}
.cta-primary:hover {
  background: var(--lavender);
  box-shadow: 0 18px 36px -12px rgba(91, 63, 224, .55);
  transform: translateY(-2px);
}
.cta-primary:hover .icon-arrow { transform: translateX(3px); }
.cta-lg {
  min-height: 58px;
  padding: 15px 28px;
  font-size: 1rem;
  letter-spacing: -.02em;
}

/* Section 1 Live Clock Visual */
.clock-stage-card {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: 32px;
  background: linear-gradient(155deg, #f8f5ff 0%, #f1ecfb 100%);
  border: 1px solid rgba(91, 63, 224, .12);
  box-shadow: 0 28px 64px -32px rgba(34, 21, 66, .22);
}
.live-match-card {
  padding: clamp(20px, 2.6vw, 28px);
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(25, 20, 37, .07);
  box-shadow: 0 14px 34px -20px rgba(25, 20, 37, .22);
}
.live-match-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.live-match-person {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.mini-avatar-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  background: #1e1721;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(91, 63, 224, .22);
}
.mini-avatar-sm { width: 42px; height: 42px; }
.mini-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.85);
  transform-origin: 50% 43%;
}
.live-match-person strong {
  display: block;
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.live-match-person span {
  display: block;
  margin-top: 2px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-dim);
}
.live-dot-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #f1ebff;
  color: var(--lavender);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.live-dot-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lavender);
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(.78); }
}

.clock-readout-wrap {
  padding-block: clamp(20px, 2.8vw, 28px) 16px;
  text-align: center;
}
.clock-digits {
  font-size: clamp(3.3rem, 6.2vw, 4.9rem);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.075em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-deep);
}
.clock-sub {
  display: block;
  margin-top: 10px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--lavender);
}
.clock-meter {
  height: 7px;
  width: 100%;
  border-radius: 999px;
  background: #ede7fa;
  overflow: hidden;
}
.clock-meter-fill {
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #785aff, #5b3fe0);
  transform-origin: left center;
  transform: scaleX(1);
  transition: transform .85s linear;
}
.live-match-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f0eaf8;
  font-size: .79rem;
  font-weight: 600;
  color: var(--ink-dim);
}
.reply-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4b3d64;
}
.reply-hint svg { color: var(--lavender); }
.clock-step {
  font-size: .72rem;
  color: #827996;
}

.expired-match-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .64);
  border: 1px dashed rgba(91, 63, 224, .2);
  color: #7c748d;
}
.expired-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #eeeaf5;
  color: #8c849d;
  flex: 0 0 auto;
}
.expired-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.expired-text strong {
  font-size: .92rem;
  color: #6b637c;
  text-decoration: line-through;
}
.expired-text span {
  font-size: .78rem;
  font-weight: 600;
  color: #898199;
}
.expired-tag {
  margin-left: auto;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ece8f3;
  color: #7d758f;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
}

/* ---- Section 2: Safety 3D Shield Studio Card ---- */
.studio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 3.6vw, 44px) clamp(20px, 3vw, 36px) clamp(24px, 3vw, 34px);
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(25, 20, 37, .07);
  box-shadow: 0 28px 64px -34px rgba(34, 21, 66, .2);
}
.studio-figure {
  width: min(100%, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.studio-3d-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
}
.art-float {
  animation: gentleFloat 5.6s ease-in-out infinite;
}
.art-float-slow {
  animation: gentleFloat 6.4s ease-in-out infinite;
}
@keyframes gentleFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -8px, 0); }
}
.studio-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #f5f2fc;
  border: 1px solid rgba(91, 63, 224, .14);
  color: #3a2b57;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-align: center;
}
.studio-pill svg { color: var(--lavender); }

/* ---- Section 3: Social Handoff — 3D @ + Interactive 2-Option Switcher ---- */
.handoff-showcase {
  overflow: hidden;
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(25, 20, 37, .08);
  box-shadow: 0 30px 66px -34px rgba(34, 21, 66, .22);
}
.handoff-art-stage {
  display: grid;
  place-items: center;
  padding: clamp(20px, 2.8vw, 30px) 24px 8px;
  background: #ffffff;
}
.art-at {
  width: min(100%, 230px);
  height: auto;
  aspect-ratio: 1;
}
.handoff-controls {
  padding: clamp(18px, 2.5vw, 26px);
  background: linear-gradient(180deg, #f8f6fc 0%, #f3effa 100%);
  border-top: 1px solid rgba(25, 20, 37, .06);
}
.handoff-switcher {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  border-radius: 999px;
  background: #e9e3f5;
}
.handoff-thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 14px -4px rgba(25, 20, 37, .22);
  transition: transform .32s cubic-bezier(.22, 1, .36, 1);
}
.handoff-showcase[data-choice="unmatch"] .handoff-thumb {
  transform: translateX(100%);
}
.handoff-switcher button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #5b526d;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: -.015em;
  transition: color .24s;
}
.handoff-switcher button[aria-selected="true"] { color: var(--ink-deep); }
.handoff-switcher button[data-handoff="share"][aria-selected="true"] svg { color: var(--lavender); }
.handoff-switcher button[data-handoff="unmatch"][aria-selected="true"] svg { color: #5b526d; }

.handoff-card-deck {
  position: relative;
  margin-top: 14px;
  padding: 20px;
  min-height: 132px;
  display: flex;
  align-items: center;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(25, 20, 37, .07);
  box-shadow: 0 12px 28px -18px rgba(25, 20, 37, .18);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), border-color .24s;
}
.handoff-card-deck:active { cursor: grabbing; }
.handoff-state {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: stateReveal .3s cubic-bezier(.22, 1, .36, 1);
}
.handoff-state[hidden] { display: none; }
@keyframes stateReveal {
  from { opacity: 0; transform: translate3d(0, 6px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
.handoff-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.handoff-handle {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.handoff-handle strong {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--ink-deep);
}
.handoff-handle span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-dim);
}
.handoff-check {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ece5ff;
  color: var(--lavender);
  flex: 0 0 auto;
}
.unmatch-badge-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f2eff7;
  color: #5b526d;
  flex: 0 0 auto;
}
.handoff-status-pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #f3edff;
  color: #4728b8;
  font-size: .78rem;
  font-weight: 700;
}
.handoff-status-calm {
  background: #f2eff7;
  color: #564d68;
}
.handoff-tip {
  margin-top: 12px;
  text-align: center;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: #7d7491;
}

/* ---- Section 4: Dual Path — Keep Swiping vs Focus on Your Match ---- */
.choice-header {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.choice-headline {
  margin-inline: auto;
}
.dual-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(32px, 3.8vw, 48px);
}
.path-card {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: 32px;
  background: #ffffff;
  border: 1px solid rgba(25, 20, 37, .07);
  box-shadow: 0 24px 56px -34px rgba(34, 21, 66, .18);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), box-shadow .28s;
}
.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 66px -30px rgba(34, 21, 66, .24);
}
.path-mock {
  display: grid;
  place-items: center;
  min-height: 214px;
  padding: 20px 18px;
  border-radius: 24px;
  margin-bottom: 20px;
}
.mock-discover {
  background: linear-gradient(155deg, #f5f0ff 0%, #ede6ff 100%);
}
.mock-off-five {
  background: linear-gradient(155deg, #edf9f3 0%, #f1ecff 100%);
}

/* Mini Discover stack */
.mock-card-stack {
  position: relative;
  width: min(100%, 272px);
  padding-top: 14px;
}
.mock-card-ghost {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 0;
  height: 44px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .56);
  border: 1px solid rgba(91, 63, 224, .1);
}
.mock-card-ghost-2 {
  left: 26px;
  right: 26px;
  top: -8px;
  opacity: .55;
}
.mock-card-ghost-1 { top: 4px; }
.mock-card-front {
  position: relative;
  z-index: 1;
  padding: 18px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(25, 20, 37, .07);
  box-shadow: 0 16px 32px -18px rgba(34, 21, 66, .28);
}
.mock-live-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mock-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ebfaf2;
  color: #166547;
  font-size: .74rem;
  font-weight: 800;
}
.mint-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  display: block;
}
.mock-count {
  font-size: .7rem;
  font-weight: 600;
  color: #6b6180;
}
.mock-avatar-cluster {
  display: flex;
  align-items: center;
  margin-block: 16px;
}
.cluster-ring {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -9px;
}
.cluster-ring:first-child { margin-left: 0; }
.c1 { background: linear-gradient(135deg, #a78bfa, #6366f1); }
.c2 { background: linear-gradient(135deg, #f472b6, #e11d48); }
.c3 { background: linear-gradient(135deg, #60a5fa, #5b3fe0); }
.cluster-more {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: -9px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  background: #f1ecff;
  color: var(--lavender);
  font-size: .72rem;
  font-weight: 700;
}
.mock-mini-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 6px;
}
.mini-btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
}
.mini-pass { background: #f6f4fa; color: #5f5474; border: 1px solid rgba(25, 20, 37, .07); }
.mini-like { width: 42px; height: 42px; background: #ffe4ee; color: var(--danger); }
.mini-spark { background: #eee6ff; color: var(--lavender); }

/* Off Five Celebration Card */
.off-five-card {
  width: min(100%, 272px);
  padding: 22px 20px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(25, 20, 37, .07);
  box-shadow: 0 16px 32px -18px rgba(34, 21, 66, .2);
  text-align: center;
}
.off-five-emblem {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f0e8ff, #dff8ec);
  color: var(--lavender);
  margin-bottom: 12px;
}
.off-five-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.045em;
  color: var(--ink-deep);
}
.off-five-sub {
  margin-top: 4px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink-dim);
}
.off-five-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: #ebfaf2;
  color: #166547;
  font-size: .76rem;
  font-weight: 700;
}

.path-copy h3 {
  margin-top: 8px;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.045em;
  color: var(--ink-deep);
}
.path-copy > p:last-child {
  margin-top: 8px;
  max-width: 36ch;
  color: #4f4663;
  font-size: .96rem;
  font-weight: 500;
  line-height: 1.56;
}

/* ---- Section 5: Manifesto + Animated Swipe-In "Start swiping" CTA ---- */
.manifesto-section {
  position: relative;
  z-index: 1;
  text-align: center;
}
.manifesto-glow {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(860px, 120vw);
  height: 440px;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at 32% 48%, rgba(117, 88, 255, .36) 0%, transparent 58%),
    radial-gradient(ellipse at 70% 56%, rgba(217, 38, 89, .18) 0%, transparent 56%);
  filter: blur(42px);
  pointer-events: none;
}
.beta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 22px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(117, 88, 255, .16);
  border: 1px solid rgba(195, 176, 255, .34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 10px 28px -12px rgba(91, 63, 224, .55);
  color: #ede6ff;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.3;
}
.beta-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, .85);
  flex: 0 0 auto;
  animation: livePulse 2s ease-in-out infinite;
}
.manifesto-eyebrow {
  color: #c3b0ff;
}
.manifesto-headline {
  max-width: 17ch;
  margin-inline: auto;
  font-size: clamp(2.45rem, 5.4vw, 4.75rem);
  line-height: 1.01;
  letter-spacing: -.058em;
  color: #ffffff;
}
.beta-note {
  max-width: 56ch;
  margin: 20px auto 0;
  color: rgba(232, 226, 250, .86);
  font-size: clamp(.95rem, 1.3vw, 1.08rem);
  font-weight: 500;
  line-height: 1.56;
  text-wrap: balance;
}

.swipe-cta-track {
  --swipe-in: 0;
  display: flex;
  justify-content: center;
  margin-top: clamp(38px, 5vw, 58px);
}
.swipe-cta-card {
  width: min(100%, 440px);
  opacity: calc(0.18 + var(--swipe-in) * 0.82);
  transform:
    translate3d(calc((1 - var(--swipe-in)) * -96px), calc((1 - var(--swipe-in)) * 18px), 0)
    rotate(calc((1 - var(--swipe-in)) * -5.5deg))
    scale(calc(0.93 + var(--swipe-in) * 0.07));
  will-change: transform, opacity;
  transition: box-shadow .35s ease;
}
.swipe-cta-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 18px 16px 16px;
  border-radius: 26px;
  background: linear-gradient(135deg, #775aff 0%, #5b3fe0 55%, #462ac2 100%);
  border: 1px solid rgba(255, 255, 255, .26);
  color: #ffffff;
  text-align: left;
  box-shadow:
    0 24px 60px -16px rgba(105, 76, 245, .72),
    0 0 0 1px rgba(133, 108, 255, .35),
    inset 0 1px 0 rgba(255, 255, 255, .38);
  transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s, filter .24s;
}
.swipe-cta-button:hover {
  transform: translateY(-3px) scale(1.012);
  box-shadow:
    0 30px 72px -14px rgba(117, 88, 255, .88),
    0 0 0 1px rgba(203, 186, 255, .55),
    inset 0 1px 0 rgba(255, 255, 255, .52);
}
.swipe-cta-card[data-locked="true"] .swipe-cta-button {
  box-shadow:
    0 26px 68px -14px rgba(117, 88, 255, .82),
    0 0 0 4px rgba(133, 108, 255, .18),
    inset 0 1px 0 rgba(255, 255, 255, .44);
}
.swipe-cta-brand {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding-right: 3px;
  border-radius: 17px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .24);
  font-size: 2rem;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  flex: 0 0 auto;
}
.swipe-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.swipe-cta-text strong {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
}
.swipe-cta-text small {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(238, 232, 255, .86);
}
.swipe-cta-arrow {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ink-deep);
  flex: 0 0 auto;
  box-shadow: 0 8px 20px -6px rgba(17, 14, 28, .45);
}
.swipe-cta-arrow svg {
  animation: arrowNudge 1.85s ease-in-out infinite;
}
@keyframes arrowNudge {
  0%, 100% { transform: translateX(-1.5px); }
  50% { transform: translateX(3px); }
}

.manifesto-secondary {
  margin-top: 22px;
}
.replay-ghost {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .18);
  color: #e9e2ff;
  min-height: 44px;
  padding: 10px 20px;
}
.replay-ghost:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .34);
}

/* Footer */
.footer-shell {
  background: #0c0a14;
  border-top: 1px solid rgba(255, 255, 255, .09);
  color: #ffffff;
}
.footer {
  padding-top: clamp(44px, 5vw, 64px);
  padding-bottom: clamp(28px, 3.6vw, 40px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .85fr) minmax(0, .85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.footer-brand-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.footer-brand { font-size: 1.18rem; white-space: nowrap; }
.footer-brand .brand-mark { width: 34px; height: 34px; font-size: 1.32rem; border-radius: 10px; }
.footer-tagline {
  color: #b7b0cc;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.5;
}
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  color: #d6cff0;
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .04em;
}
.footer-badge-beta {
  background: rgba(117, 88, 255, .15);
  border-color: rgba(195, 176, 255, .28);
  color: #e7dfff;
}
.footer-badge-beta i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  flex: 0 0 auto;
}
.footer-col { min-width: 0; }
.footer-heading {
  margin: 0 0 14px;
  color: #9e96b6;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #e3ddf6;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color .2s;
}
.footer-list a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-list .footer-cta-link {
  color: #cbb8ff;
}
.footer-list .footer-cta-link:hover {
  color: #ffffff;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.footer-bottom p {
  color: #9f97b7;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.5;
}
.footer-bottom-meta {
  color: #b4accb;
}

/* ================================================================
   RESPONSIVE BREAKPOINTS (HERO PRESERVED + REVOLUT MOBILE-FIRST)
   ================================================================ */
@media (max-width: 1079px) {
  .showcase {
    --caption-height: 110px;
    inset: 84px var(--gutter) 72px;
    grid-template-columns: 1fr;
    grid-template-rows: var(--caption-height) minmax(0, 1fr);
    gap: 14px;
    text-align: center;
  }
  .story-copy {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: auto;
    justify-self: center;
  }
  .story-copy h1, .story-copy h2 { max-width: 23ch; margin: 4px auto 6px; font-size: clamp(1.38rem, 4.6vw, 2.25rem); line-height: 1.05; }
  .story-copy article > p:last-child { max-width: 42ch; margin-inline: auto; font-size: clamp(.78rem, 1.9vw, .92rem); line-height: 1.42; }
  .phone { width: min(306px, 100%, calc((100dvh - 178px - var(--caption-height)) * .482)); }
}

@media (max-width: 960px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split-reverse .split-copy { order: 1; }
  .split-reverse .split-visual { order: 2; }
  .dual-path-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px), (orientation: portrait) {
  #heroCanvas { background-image: url("assets/keyframe-a-mobile.jpg"); background-position: 50% 50%; }
}

@media (max-width: 760px) {
  :root { --gutter: clamp(18px, 5.5vw, 40px); }
  .story { height: 340vh; height: 340svh; }
  .stage { height: 100vh; height: 100svh; }
  .nav-shell { top: max(12px, env(safe-area-inset-top)); inset-inline: 12px; }
  .nav { grid-template-columns: auto minmax(0, 1fr) auto; min-height: 52px; padding: 5px 6px 5px 8px; gap: 6px; border-radius: 15px; }
  .nav .brand { gap: 5px; font-size: .96rem; }
  .nav .brand-mark { width: 28px; height: 28px; font-size: 1.12rem; border-radius: 8px; }
  .nav-links { justify-content: center; gap: clamp(9px, 3vw, 22px); font-size: clamp(.7rem, 2.75vw, .84rem); white-space: nowrap; }
  .nav-cta { min-height: 36px; padding-inline: clamp(9px, 2.7vw, 12px); gap: 4px; font-size: clamp(.68rem, 2.65vw, .8rem); }
  .nav-cta .icon-arrow { width: 12px; height: 12px; }

  .showcase {
    --caption-height: 98px;
    inset: calc(max(12px, env(safe-area-inset-top)) + 66px) var(--gutter) calc(max(14px, env(safe-area-inset-bottom)) + 64px);
    gap: 16px;
  }
  .story-copy { align-self: start; }
  .story-copy h1, .story-copy h2 { font-size: clamp(1.3rem, 5.8vw, 2.15rem); margin: 3px auto 5px; }
  .story-copy .eyebrow { font-size: .63rem; }
  .story-copy article > p:last-child { font-size: .75rem; line-height: 1.4; }
  .phone { width: min(286px, 100%, calc((100svh - 204px - var(--caption-height)) * .482)); }
  .match-panel, .passed-panel { text-align: center; }
  .filters button { min-height: max(26px, 8.8cqw); }

  .story-controls { inset-inline: 10px; bottom: max(14px, env(safe-area-inset-bottom)); justify-content: center; }
  .beat-bar { min-height: 46px; padding: 4px 5px 6px; gap: 4px; border-radius: 999px; }
  .beat-list { gap: 1px; }
  .beat, .autoplay { min-height: 36px; border-radius: 999px; padding-inline: clamp(5px, 1.9vw, 10px); font-size: clamp(.65rem, 2.65vw, .77rem); }
  .beat span { margin-right: 1px; font-size: clamp(.5rem, 2vw, .62rem); }
  .autoplay { min-width: 60px; gap: 4px; padding-inline: 10px; }

  /* Revolut Mobile Polish */
  .landing-band { padding-block: 68px; }
  .band-ink { padding-block: 80px; }
  .display-headline { font-size: clamp(1.92rem, 8.2vw, 2.65rem); line-height: 1.07; letter-spacing: -.048em; }
  .manifesto-headline { font-size: clamp(2.05rem, 8.8vw, 2.85rem); }
  .immediate-cta-row { margin-top: 24px; align-items: stretch; }
  .cta-lg { width: 100%; min-height: 54px; }
  .cta-micro { text-align: center; font-size: .8rem; }
  .beta-pill { font-size: .64rem; padding: 7px 12px; letter-spacing: .075em; margin-bottom: 18px; }
  .beta-note { margin-top: 16px; font-size: .92rem; }
  .clock-stage-card { padding: 14px; border-radius: 26px; }
  .live-match-card { padding: 18px; border-radius: 20px; }
  .clock-digits { font-size: 3.15rem; }
  .live-match-footer { flex-wrap: wrap; gap: 6px; }
  .studio-card { padding: 22px 16px 20px; border-radius: 26px; }
  .studio-figure { width: min(100%, 236px); }
  .studio-pill { font-size: clamp(.67rem, 2.95vw, .76rem); padding: 8px 12px; gap: 6px; white-space: nowrap; }
  .studio-pill svg { width: 13px; height: 13px; }
  .handoff-showcase { border-radius: 26px; }
  .art-at { width: min(100%, 196px); }
  .handoff-controls { padding: 16px; }
  .handoff-card-deck { padding: 16px; min-height: 124px; }
  .path-card { padding: 18px; border-radius: 26px; }
  .path-mock { min-height: 206px; margin-bottom: 18px; border-radius: 20px; }
  .swipe-cta-button { padding: 14px 14px 14px 14px; gap: 13px; border-radius: 22px; }
  .swipe-cta-brand { width: 46px; height: 46px; font-size: 1.7rem; border-radius: 14px; }
  .swipe-cta-arrow { width: 42px; height: 42px; }
  .desktop-break { display: none; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-list a { font-size: .86rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

@media (max-width: 355px) {
  .nav .brand > span:last-child { display: none; }
  .match-actions .button { min-height: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) and (max-height: 730px) {
  .nav-shell { top: max(8px, env(safe-area-inset-top)); }
  .nav { min-height: 48px; }
  .showcase {
    --caption-height: 82px;
    inset: calc(max(8px, env(safe-area-inset-top)) + 60px) var(--gutter) calc(max(10px, env(safe-area-inset-bottom)) + 54px);
    gap: 10px;
  }
  .phone { width: min(220px, 100%, calc((100svh - 178px - var(--caption-height)) * .482)); padding: 5px; }
  .filters button { min-height: 24px; padding: 1cqw 2cqw; }
  .compose input, .compose .button { height: 34px; min-height: 34px; }
  .story-copy h1, .story-copy h2 { font-size: clamp(1.18rem, 5.4vw, 1.8rem); margin: 2px auto 4px; }
  .story-copy article > p:last-child { font-size: .71rem; line-height: 1.35; }
  .story-controls { bottom: max(10px, env(safe-area-inset-bottom)); }
  .beat-bar { min-height: 44px; }
}

@media (max-height: 635px) {
  .nav-shell { top: max(6px, env(safe-area-inset-top)); }
  .nav { min-height: 47px; padding-block: 3px; }
  .story-controls { bottom: 8px; }
  .showcase { overflow: visible; }
}

@media (max-height: 635px) and (orientation: landscape) {
  .showcase { inset: 62px var(--gutter) 51px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; text-align: left; }
  .story-copy { justify-self: start; }
  .story-copy h1, .story-copy h2 { margin-inline: 0; font-size: clamp(1.24rem, 5vw, 2.8rem); }
  .phone { width: min(310px, 100%); height: max(0px, calc(100dvh - 114px)); aspect-ratio: auto; border-radius: 24px; }
  .phone-screen { border-radius: 18px; }
  .phone-status { height: 30px; font-size: 10px; }
  .island { top: 5px; height: 15px; }
  .home-indicator { bottom: 3px; height: 3px; }
  .phone-panel { padding: 31px 11px 12px; overflow-y: auto; overscroll-behavior: contain; }
  .discover-panel { gap: 5px; }
  .profile-card { min-height: 91px; }
  .profile-actions { gap: 9px; padding: 0; }
  .round-action, .round-action.like { min-width: 26px; min-height: 26px; max-width: 35px; max-height: 35px; }
  .round-action svg, .round-action.like svg, .round-action.prompt svg { width: 15px; height: 15px; }
  .match-panel { justify-content: flex-start; }
  .polaroids { min-height: 68px; }
  .polaroid { width: 64px; padding: 4px; }
  .polaroid img { aspect-ratio: 1.1; }
  .heart-pin { width: 25px; }
  .heart-pin svg { width: 13px; height: 13px; }
  .match-content h2 { font-size: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .swipe-cta-card { opacity: 1 !important; transform: none !important; }
  .art-float, .art-float-slow, .swipe-cta-arrow svg, .live-dot-pill i, .beta-pill i { animation: none !important; }
}
