/* RX Labs marketing site. Dark purple ground, one pink accent, Syne display over Outfit body. */
:root {
  color-scheme: dark;
  --bg: #0a0011;
  --bg-mid: #140820;
  --surface: #1c0e2d;
  --line: rgba(240, 237, 245, 0.12);
  --fg: #f0edf5;
  --muted: #b9afc9;
  --pink: #e91e63;
  --pink-soft: #ff6b9d;
  --btn: #d81b60;
  --purple: #9c27b0;
  --display: 'Syne', system-ui, sans-serif;
  --body: 'Outfit', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --max: 1400px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; }
:focus-visible { outline: 2px solid var(--pink-soft); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(72px, 10vw, 136px); }
.eyebrow { font-size: 15px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink-soft); }
.h2 { font-weight: 800; font-size: clamp(34px, 5.2vw, 76px); line-height: 0.98; letter-spacing: -0.035em; }
.muted { color: var(--muted); }
.pink { color: var(--pink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: 600 17px var(--body); cursor: pointer; border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 10px 40px -10px rgba(233, 30, 99, 0.7); }
.btn-primary:hover { transform: translateY(-2px); background: var(--pink); box-shadow: 0 16px 50px -10px rgba(233, 30, 99, 0.9); }
.btn-ghost { border-color: rgba(240, 237, 245, 0.3); color: var(--fg); background: transparent; }
.btn-ghost:hover { border-color: var(--pink-soft); transform: translateY(-2px); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10, 0, 17, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 0.2em; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: 16px; font-weight: 500; }
.nav-links a:not(.btn) { position: relative; padding: 12px 0; }
.nav-links a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--pink-soft); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.nav-links .btn { min-height: 44px; padding: 0 22px; font-size: 16px; }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 14px; background: transparent; color: var(--fg); cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.3s var(--ease); }
.burger span::before { content: ''; transform: translateY(7px); }
.burger[aria-expanded='true'] span { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded='true'] span::before { transform: rotate(-90deg); }
@media (max-width: 760px) {
  .burger { display: inline-flex; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 16px 20px 24px; background: rgba(10, 0, 17, 0.96); border-bottom: 1px solid var(--line); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { font-family: var(--display); font-weight: 700; font-size: 26px; padding: 12px 0; }
  .nav-links .btn { margin-top: 12px; min-height: 52px; }
}

/* Hero */
.hero { position: relative; padding-top: calc(76px + env(safe-area-inset-top, 0px)); overflow: hidden; }
/* soft colour blobs as plain gradients: a 130px CSS blur here dropped iOS Safari to 1-2 frames a second */
.glow { position: absolute; border-radius: 50%; pointer-events: none; scale: 1.5; background: radial-gradient(closest-side, var(--g) 0%, color-mix(in srgb, var(--g) 55%, transparent) 40%, transparent 100%); }
.glow.a { width: 620px; height: 620px; top: -220px; right: -140px; --g: var(--pink); opacity: 0.3; animation: drift 16s ease-in-out infinite; }
.glow.b { width: 560px; height: 560px; top: 240px; left: -260px; --g: var(--purple); opacity: 0.3; animation: drift 20s ease-in-out infinite reverse; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(70px, -50px) scale(1.15); } }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: center; gap: 24px; min-height: min(760px, 86vh); padding-block: 40px 56px; }
.hero-copy { transition: opacity 0.5s, transform 0.8s var(--ease); min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; color: #d9d3e3; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: var(--pink-soft); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.hl { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 6.4vw, 92px); line-height: 0.96; letter-spacing: -0.04em; }
.swap { display: grid; width: 100%; }
.slide { grid-area: 1 / 1; align-self: end; min-width: 0; }
.js .slide { opacity: 0; transform: translateY(30px); transition: opacity 0.5s, transform 0.8s var(--ease); pointer-events: none; }
.js .slide.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.25s; }
.js .slide.off { opacity: 0; transform: translateY(-30px); }
.hl .st { display: block; }
.hl .then { font-size: 0.6em; line-height: 1.05; letter-spacing: -0.03em; margin-top: 0.3em; }
.js .slide .st { opacity: 0; transform: translateY(0.45em); transition: opacity 0.3s, transform 0.3s; }
.js .slide.on .st { opacity: 1; transform: none; transition: opacity 0.5s, transform 0.8s var(--ease); transition-delay: calc(0.3s + var(--i) * 0.28s); }
.slide:not(.on) { visibility: hidden; }
.js .slide { visibility: visible; }
.rot { display: inline-grid; vertical-align: bottom; overflow: hidden; height: 1.05em; }
.rot span { grid-area: 1 / 1; color: var(--pink-soft); transform: translateY(110%); opacity: 0; transition: transform 0.7s var(--ease), opacity 0.4s; white-space: nowrap; }
.rot span.on { transform: none; opacity: 1; }
.rot span.off { transform: translateY(-110%); opacity: 0; }
.hero-sub { font-size: clamp(18px, 1.6vw, 22px); color: #d9d3e3; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.fine { font-size: 15px; color: var(--muted); }
/* Hero quote scene: takes over the whole hero, centred */
.stage-b { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2vw, 26px); text-align: center; visibility: hidden; pointer-events: none; transition: visibility 0s 0.6s; }
.hero.q .stage-b { visibility: visible; transition-delay: 0s; }
.hero.q0 .hero-copy { opacity: 0; transition: none; }
.hero.q .hero-copy { opacity: 0; transform: translateY(-28px); pointer-events: none; }
.hq-mark { font-family: var(--display); font-weight: 800; font-size: clamp(90px, 13vw, 200px); line-height: 0.6; height: 0.42em; color: var(--pink); opacity: 0; transform: scale(0.4) rotate(-12deg); transition: opacity 0.5s, transform 0.9s var(--ease); }
.hero.q .hq-mark { opacity: 1; transform: none; transition-delay: 0.35s; }
.hq { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -0.035em; max-width: 12.5em; text-wrap: balance; }
.hq .w { display: inline-block; opacity: 0; transform: translateY(0.7em) rotate(5deg); transition: opacity 0.35s, transform 0.5s var(--ease); }
.hero.q .hq .w { opacity: 1; transform: none; transition: opacity 0.6s, transform 1s var(--ease); transition-delay: calc(0.55s + var(--i) * 75ms); }
.hq-by { display: flex; flex-direction: column; gap: 2px; font-size: clamp(16px, 1.4vw, 20px); opacity: 0; transform: translateY(16px); transition: opacity 0.4s, transform 0.6s var(--ease); }
.hq-by span { color: var(--muted); font-size: 0.9em; }
.hero.q .hq-by { opacity: 1; transform: none; transition-delay: 1.6s; }
.mark { position: relative; aspect-ratio: 1.2; width: 100%; }
.hero-fly { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; opacity: 0; }
.hero.fly .hero-fly { opacity: 1; }
.hq-rx img { display: block; width: 100%; height: 100%; }
.hero.fly .hq-rx img { visibility: hidden; }
/* the RX mark sits in the sentence as its first word */
.hq-rx { display: inline-block; width: 1.55em; aspect-ratio: 65 / 44; vertical-align: -0.1em; margin-right: 0.06em; }
.mark canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.mark-hint { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); font-size: 14px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-block: 24px 48px; }
  .mark { order: -1; max-width: 420px; aspect-ratio: 1.5; margin: 0 auto; }
  .stage-b { justify-content: flex-start; padding-top: 56px; }
  .mark-hint { display: none; }
  .hl { font-size: clamp(34px, 10vw, 80px); }
}

/* Numbers strip */
.nums { border-block: 1px solid var(--line); }
.nums-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.num { padding: 34px 24px 34px 0; display: flex; flex-direction: column; gap: 4px; }
.num + .num { padding-left: 32px; border-left: 1px solid var(--line); }
.num b { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.num span { color: var(--muted); font-size: 16px; }
@media (max-width: 640px) {
  .nums-in { grid-template-columns: 1fr; }
  .num { padding: 22px 0; }
  .num + .num { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Marquee */
.marquee { overflow: hidden; padding-block: 26px; border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marq 32s linear infinite; font-family: var(--display); font-weight: 700; font-size: 24px; color: var(--muted); white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--pink); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Work */
.work-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 56px); }
.case { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); border-radius: 36px; overflow: hidden; min-height: 560px; transition: transform 0.5s var(--ease); }
.case + .case { margin-top: 28px; }
.case:hover { transform: translateY(-6px); }
.case-copy { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.case-copy h3 { font-weight: 800; font-size: clamp(30px, 3.4vw, 50px); line-height: 1.02; letter-spacing: -0.03em; }
.case-copy p { font-size: 19px; max-width: 24em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; }
.case-link { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; padding: 12px 0; }
.case-link .arr { transition: transform 0.3s var(--ease); }
.case:hover .case-link .arr { transform: translateX(6px); }
.case-cover { position: absolute; inset: 0; z-index: 2; }

.case.sp { background: #f7f3ec; color: #1f3d33; }
.case.sp .sp-id { display: flex; align-items: center; gap: 16px; }
.case.sp .sp-id img { width: 64px; height: 64px; border-radius: 16px; }
.case.sp .sp-id b { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
.case.sp p { color: #45584f; }
.case.sp .chip { background: #12211c; color: #fff; }
.case.sp .chip.alt { background: transparent; border: 1px solid rgba(31, 61, 51, 0.4); color: #1f3d33; }
.shots { position: relative; display: flex; justify-content: center; gap: 18px; padding: 0 24px; overflow: hidden; }
.shots img { flex: 0 0 31%; max-width: 240px; align-self: flex-start; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(18, 33, 28, 0.45); will-change: transform; }
.shots img:nth-child(1) { margin-top: 90px; }
.shots img:nth-child(2) { margin-top: 30px; }
.shots img:nth-child(3) { margin-top: 130px; }

.case.oa { background: #0b2a6f; color: #fff; }
.case.oa .oa-logo { width: 250px; }
.case.oa p { color: #d5def5; }
.case.oa .chip { background: rgba(255, 255, 255, 0.14); }
.case.oa .photo { position: relative; overflow: hidden; }
.case.oa .photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; min-height: 0; border-radius: 28px; }
  .shots { height: 380px; padding: 0 12px; }
  .shots img:nth-child(1) { margin-top: 50px; }
  .shots img:nth-child(2) { margin-top: 10px; }
  .shots img:nth-child(3) { margin-top: 80px; }
  .case.oa .photo { height: 340px; }
}

/* More work cards */
.more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.4s; }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(233, 30, 99, 0.2), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.card:hover { transform: translateY(-6px); border-color: rgba(233, 30, 99, 0.5); }
.card:hover::before { opacity: 1; }
.card small { font-size: 15px; color: var(--muted); }
.card b { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 4.4vw, 60px); line-height: 1; letter-spacing: -0.03em; color: var(--pink-soft); font-variant-numeric: tabular-nums; }
.card h3 { font-weight: 700; font-size: 22px; }
.card p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .more { grid-template-columns: 1fr; } }

/* Private work */
.vault { position: relative; margin-top: 28px; background: var(--surface); border: 1px solid rgba(233, 30, 99, 0.35); border-radius: 36px; padding: clamp(28px, 4.4vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; overflow: hidden; }
.vault .glow { width: 460px; height: 460px; top: -220px; right: -120px; --g: var(--pink); opacity: 0.22; animation: drift 14s ease-in-out infinite; }
.vault-copy { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.vault-copy h2 { font-weight: 800; font-size: clamp(30px, 3.8vw, 54px); line-height: 1.02; letter-spacing: -0.03em; }
.vault-copy p { color: #d9d3e3; max-width: 26em; }
.locks { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.lock { min-height: 124px; padding: 20px; border: 1px dashed rgba(240, 237, 245, 0.28); border-radius: 20px; background: rgba(240, 237, 245, 0.05); display: flex; flex-direction: column; justify-content: space-between; font-family: var(--display); font-weight: 700; font-size: clamp(14px, 3.8vw, 18px); overflow-wrap: anywhere; transition: border-color 0.3s, background 0.3s, transform 0.4s var(--ease); }
.lock svg { color: var(--pink-soft); }
.lock:hover { border-color: var(--pink-soft); background: rgba(233, 30, 99, 0.1); transform: translateY(-4px); }
@media (max-width: 900px) { .vault { grid-template-columns: 1fr; border-radius: 28px; } }

/* Services */
.band { background: var(--bg-mid); border-block: 1px solid var(--line); }
.svc { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; gap: 8px 32px; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding 0.4s var(--ease), background 0.4s; }
.svc-row i { font-style: normal; font-size: 15px; color: var(--pink-soft); font-variant-numeric: tabular-nums; }
.svc-row h3 { font-weight: 700; font-size: clamp(28px, 3.6vw, 50px); letter-spacing: -0.025em; transition: color 0.3s; }
.svc-row p { color: var(--muted); }
.svc-row:hover { padding-left: 20px; }
.svc-row:hover h3 { color: var(--pink-soft); }
@media (max-width: 760px) { .svc-row { grid-template-columns: 40px minmax(0, 1fr); } .svc-row p { grid-column: 2; } .svc-row:hover { padding-left: 0; } }

/* Process */
.steps { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 12px; }
.step::before { counter-increment: step; content: '0' counter(step); font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--pink-soft); }
.step h3 { font-weight: 700; font-size: 26px; }
.step p { color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* Quote */
.quote { position: relative; overflow: hidden; }
.quote .glow { width: 520px; height: 520px; bottom: -280px; right: 8%; --g: var(--pink); opacity: 0.22; animation: drift 14s ease-in-out infinite; }
.quote blockquote { position: relative; margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4vw, 60px); line-height: 1.08; letter-spacing: -0.03em; max-width: 16em; }
.qmark { position: relative; width: clamp(120px, 16vw, 220px); aspect-ratio: 1.25; margin-bottom: 12px; margin-left: -10px; }
.qmark canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.quote figcaption { position: relative; margin-top: 28px; display: flex; flex-direction: column; }
.quote figcaption span { color: var(--muted); font-size: 16px; }
figure { margin: 0; }

/* Contact */
.contact { position: relative; overflow: hidden; }
.contact .glow { width: 520px; height: 520px; top: 20px; left: -200px; --g: var(--purple); opacity: 0.28; animation: drift 18s ease-in-out infinite reverse; }
.contact-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px 64px; align-items: start; }
.contact h2 { font-weight: 800; font-size: clamp(36px, 5.6vw, 88px); line-height: 0.94; letter-spacing: -0.04em; }
.contact-side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.mail { font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 26px); color: var(--pink-soft); user-select: all; overflow-wrap: anywhere; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 500; color: #d9d3e3; }
.field input, .field textarea { font: inherit; font-size: 17px; color: var(--fg); background: var(--bg); border: 1px solid rgba(240, 237, 245, 0.22); border-radius: 14px; padding: 14px 16px; min-height: 52px; transition: border-color 0.3s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink-soft); }
.form-note { font-size: 15px; color: var(--pink-soft); }
@media (max-width: 900px) { .contact-in { grid-template-columns: 1fr; } }

.foot { border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-block: 28px; font-size: 15px; color: var(--muted); }

/* Case study pages */
.cs-hero { padding-top: calc(100px + env(safe-area-inset-top, 0px)); }
.cs-panel { border-radius: 40px; overflow: hidden; }
.cs-sp { background: #2a5c4e; color: #fff; padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 56px) 0; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cs-sp .icon { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); }
.cs-title { font-weight: 800; font-size: clamp(28px, 8vw, 124px); line-height: 0.94; letter-spacing: -0.045em; }
.cs-sp p { font-size: clamp(18px, 1.8vw, 23px); color: #e3eee9; max-width: 24em; }
.cs-sp .chip { background: #0f1f1a; color: #fff; padding: 12px 22px; border-radius: 14px; font-weight: 600; }
.cs-sp .chip.alt { background: transparent; border: 1px solid rgba(255, 255, 255, 0.5); }
.cs-sp .scene { width: 100%; max-width: 1000px; border-radius: 24px 24px 0 0; margin-top: 16px; }
.cs-oa { background: #0b2a6f; color: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 560px; }
.cs-oa .copy { padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 26px; }
.cs-oa .copy img { width: 280px; }
.cs-oa h1 { font-weight: 800; font-size: clamp(30px, 4.6vw, 68px); line-height: 1; letter-spacing: -0.035em; }
.cs-oa .copy p { font-size: clamp(18px, 1.6vw, 21px); color: #d5def5; max-width: 22em; }
.cs-oa .photo { position: relative; min-height: 380px; }
.cs-oa .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .cs-oa { grid-template-columns: 1fr; } .cs-panel { border-radius: 28px; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 28px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.fact b { font-family: var(--display); font-weight: 800; font-size: clamp(34px, 4vw, 56px); line-height: 1; letter-spacing: -0.03em; color: var(--pink-soft); }
.fact span { color: var(--muted); }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-block: 12px 28px; margin-top: clamp(28px, 4vw, 48px); scrollbar-width: thin; scrollbar-color: var(--pink) transparent; }
.rail img { flex: 0 0 min(270px, 62vw); border-radius: 24px; scroll-snap-align: center; transition: transform 0.5s var(--ease); }
.rail img:hover { transform: translateY(-10px) rotate(-1deg); }
.built { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
.built div { background: #f7f3ec; color: #1f3d33; border-radius: 28px; padding: 28px; min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; transition: transform 0.4s var(--ease); }
.built div:hover { transform: translateY(-6px); }
.built h3 { font-weight: 700; font-size: 24px; }
.built p { color: #45584f; font-size: 17px; }
@media (max-width: 1000px) { .built { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .built { grid-template-columns: 1fr; } .built div { min-height: 0; } }
.portals { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: clamp(28px, 4vw, 48px); counter-reset: p; }
.portal { background: #0b2a6f; border-radius: 24px; padding: 24px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.5vw, 22px); transition: transform 0.4s var(--ease), background 0.4s; }
.portal::before { counter-increment: p; content: '0' counter(p); font: 500 15px var(--body); color: #b8c7ee; }
.portal:hover { transform: translateY(-8px); background: #1546c4; }
@media (max-width: 1000px) { .portals { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .portals { grid-template-columns: repeat(2, minmax(0, 1fr)); } .portal { min-height: 120px; padding: 18px; } }
.devices { margin-top: clamp(28px, 4vw, 48px); border-radius: 32px; width: 100%; }
.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.stack span { padding: 9px 16px; border: 1px solid rgba(240, 237, 245, 0.2); border-radius: 999px; font-size: 15px; color: #d9d3e3; }
.slot { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 3.2vw, 44px); line-height: 1.15; letter-spacing: -0.02em; color: var(--muted); max-width: 20em; margin: 0; }
.next { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.next a.big { display: flex; flex-direction: column; gap: 8px; min-width: 0; max-width: 100%; }
.next a.big span { color: var(--pink-soft); font-size: 16px; }
.next a.big b { font-family: var(--display); font-weight: 800; font-size: clamp(21px, 5.4vw, 80px); line-height: 1.05; letter-spacing: -0.035em; overflow-wrap: anywhere; transition: color 0.3s; }
.next a.big:hover b { color: var(--pink-soft); }

/* Reveal on scroll: only hidden once JS is running, so the page is complete without it */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .glow, .marquee-track, .status i { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .rot span { transition: none; }
  .js .slide { transition: none; }
  .js .slide .st { opacity: 1; transform: none; transition: none; }
  .stage-b { display: none; }
}

/* ---------- How we work: pinned, scroll-driven motion piece ---------- */
.flow { padding: clamp(72px, 10vw, 140px) 0; }
.fl-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 24px; }
.fl-n { font-family: var(--display); font-weight: 700; color: var(--pink-soft); font-size: 18px; }
.fl-cap h3 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.2vw, 62px); line-height: 1; letter-spacing: -0.035em; margin: 10px 0 14px; }
.fl-cap p { color: var(--muted); font-size: clamp(17px, 1.5vw, 20px); max-width: 22em; }
.flow:not(.live) .fl-cap h3 { font-size: clamp(24px, 2.4vw, 32px); }
.fl-stage, .fl-rail { display: none; }
@media (max-width: 900px) { .flow:not(.live) .fl-caps { grid-template-columns: 1fr; } }

.flow.live { padding: 0; height: calc(6 * 85vh + 100vh); }
.flow.live.auto { height: auto; }
.auto .fl-pin { position: relative !important; }
.live .fl-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.live .fl-in { width: 100%; display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding-top: 64px; }
.live .fl-caps { grid-template-columns: minmax(0, 1fr); gap: 0; }
.live .fl-cap { grid-area: 1 / 1; opacity: 0; transform: translateY(26px); transition: opacity 0.35s, transform 0.6s var(--ease); pointer-events: none; }
.live .fl-cap.on { opacity: 1; transform: none; transition-delay: 0.2s; pointer-events: auto; }
.live .fl-rail { display: flex; gap: 10px; margin-top: clamp(20px, 3vw, 40px); }
.fl-dot { width: 34px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(240, 237, 245, 0.18); cursor: pointer; transition: background 0.3s, width 0.4s var(--ease); }
.fl-dot.on { background: var(--pink); width: 58px; }
.live .fl-stage { display: block; position: relative; justify-self: center; width: min(100%, calc((100svh - 150px) * 4 / 3)); aspect-ratio: 4 / 3; border-radius: 32px; border: 1px solid var(--line); overflow: hidden;
  background: radial-gradient(circle at 70% 20%, rgba(156, 39, 176, 0.28), transparent 55%), radial-gradient(rgba(240, 237, 245, 0.09) 1.2px, transparent 1.4px) 0 0 / 22px 22px, var(--bg-mid); }
.fl-board { position: absolute; left: 0; top: 0; width: 800px; height: 600px; transform-origin: 0 0; transform: scale(var(--k, 1)); }
.fl-board > * { position: absolute; left: 0; top: 0; }
@media (max-width: 900px) {
  .live .fl-in { grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: center; }
  .live .fl-caps { min-height: 168px; margin-top: 12px; }
  .live .fl-cap h3 { font-size: clamp(28px, 8.4vw, 44px); margin: 6px 0 8px; }
  .live .fl-rail { margin-top: 10px; }
  .live .fl-stage { width: min(100%, calc((100svh - 370px) * 4 / 3)); border-radius: 22px; }
  .fl-dot { width: 24px; } .fl-dot.on { width: 40px; }
}

/* 01 · idea fragments */
.fl-frag { transform-origin: 0 0; opacity: 0; transform: translate(400px, 300px) scale(0.08) rotate(40deg); transition: transform 0.85s cubic-bezier(0.6, 0, 0.3, 1) var(--d), opacity 0.25s calc(var(--d) + 0.6s); }
.flow[data-s="0"] .fl-frag { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r)); transition: transform 1.1s var(--ease) var(--d), opacity 0.4s var(--d); }
.fl-bob { animation: flbob 5s ease-in-out infinite; }
@keyframes flbob { 0%, 100% { transform: translateY(-7px); } 50% { transform: translateY(7px); } }
.fl-cloud .fl-bob { width: 190px; height: 130px; border-radius: 70px; background: #f0edf5; color: #9c27b0; display: grid; place-items: center; position: relative; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.fl-cloud svg { width: 64px; height: 64px; }
.fl-cloud i { position: absolute; border-radius: 50%; background: #f0edf5; }
.fl-cloud i:nth-of-type(1) { width: 30px; height: 30px; left: 36px; bottom: -26px; }
.fl-cloud i:nth-of-type(2) { width: 16px; height: 16px; left: 22px; bottom: -48px; }
.fl-chat .fl-bob { width: 260px; padding: 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.fl-msg { padding: 12px 14px; border-radius: 16px; display: flex; flex-direction: column; gap: 8px; }
.fl-msg i { display: block; height: 8px; border-radius: 4px; background: currentColor; opacity: 0.85; }
.fl-msg.me { align-self: flex-end; width: 62%; background: var(--pink); color: #fff; border-bottom-right-radius: 4px; }
.fl-msg.me i:last-child { width: 60%; }
.fl-msg.ai { width: 84%; background: rgba(240, 237, 245, 0.1); color: #cfc6dd; border-bottom-left-radius: 4px; }
.fl-msg.ai b { color: var(--pink-soft); font-size: 18px; line-height: 1; }
.fl-msg.ai i:nth-of-type(2) { width: 82%; } .fl-msg.ai i:nth-of-type(3) { width: 48%; }
.fl-paper .fl-bob { width: 210px; padding: 14px; background: #f6f1ea; border-radius: 6px; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45); }
.fl-paper svg, .fl-note svg { display: block; width: 100%; }
.fl-note .fl-bob { width: 150px; height: 150px; padding: 16px; background: #ffd95a; border-radius: 4px 4px 26px 4px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.fl-voice .fl-bob { height: 70px; padding: 0 22px 0 14px; border-radius: 999px; background: var(--purple); display: flex; align-items: center; gap: 6px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.fl-voice b { width: 44px; height: 44px; margin-right: 8px; border-radius: 50%; background: #fff; clip-path: none; position: relative; }
.fl-voice b::after { content: ''; position: absolute; left: 17px; top: 13px; border: 9px solid transparent; border-left: 14px solid var(--purple); border-right: 0; }
.fl-voice i { width: 6px; border-radius: 3px; background: #fff; height: 14px; animation: flwave 1.1s ease-in-out infinite; }
.fl-voice i:nth-of-type(2n) { animation-delay: -0.3s; } .fl-voice i:nth-of-type(3n) { animation-delay: -0.6s; } .fl-voice i:nth-of-type(4n) { animation-delay: -0.85s; }
@keyframes flwave { 0%, 100% { height: 10px; } 50% { height: 38px; } }

/* 02 · the RX hub */
.fl-hub { left: 335px; top: 235px; width: 130px; height: 130px; border-radius: 50%; background: var(--bg); border: 2px solid var(--pink); display: grid; place-items: center; opacity: 0; transform: scale(0.3); transition: opacity 0.4s, transform 0.9s var(--ease); box-shadow: 0 0 60px rgba(233, 30, 99, 0.55); z-index: 3; }
.fl-hub img { width: 76px; height: auto; }
.fl-hub span { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--pink); opacity: 0; }
.flow[data-s="1"] .fl-hub { opacity: 1; transform: scale(1.25); transition-delay: 0.25s; }
.flow[data-s="1"] .fl-hub span { animation: flring 1.8s ease-out infinite; }
.flow[data-s="1"] .fl-hub span + span { animation-delay: 0.9s; }
@keyframes flring { from { opacity: 0.8; transform: scale(1); } to { opacity: 0; transform: scale(2.6); } }
.flow[data-s="2"] .fl-hub { opacity: 1; transform: translate(125px, -52px) scale(0.92); box-shadow: none; }

/* 03 · discovery call */
.fl-call { left: 140px; top: 78px; width: 520px; height: 360px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); opacity: 0; transform: translateY(40px) scale(0.94); transition: opacity 0.4s, transform 0.8s var(--ease); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45); }
.flow[data-s="2"] .fl-call { opacity: 1; transform: none; }
.fl-bar3 { display: flex; gap: 8px; padding: 16px 18px; }
.fl-bar3 i { width: 12px; height: 12px; border-radius: 50%; background: rgba(240, 237, 245, 0.22); }
.fl-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 18px; }
.fl-tile { height: 216px; border-radius: 18px; background: #2a1640; display: grid; place-items: center; position: relative; }
.fl-tile.rx { background: #24103a; }
.fl-tile svg { width: 120px; height: 120px; opacity: 0.9; }
.fl-tile em { position: absolute; left: 14px; bottom: 14px; width: 56px; height: 8px; border-radius: 4px; background: rgba(240, 237, 245, 0.35); }
.fl-ctrl { display: flex; justify-content: center; gap: 14px; padding-top: 18px; }
.fl-ctrl i { width: 42px; height: 42px; border-radius: 50%; background: rgba(240, 237, 245, 0.14); }
.fl-ctrl i.end { width: 66px; border-radius: 999px; background: var(--pink); }
.fl-q { position: absolute; left: var(--qx); top: var(--qy); width: 74px; height: 74px; border-radius: 50%; background: #f0edf5; color: var(--bg); display: grid; place-items: center; font: 800 38px var(--display); opacity: 0; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45); }
.fl-q span, .fl-q b { grid-area: 1 / 1; }
.fl-q b { opacity: 0; color: #fff; }
.flow[data-s="2"] .fl-q { animation: flpop 0.55s var(--ease) var(--qd) both, flyes 0.4s ease calc(var(--qd) + 1.5s) forwards; }
.flow[data-s="2"] .fl-q span { animation: flout 0.3s ease calc(var(--qd) + 1.5s) forwards; }
.flow[data-s="2"] .fl-q b { animation: flin 0.4s var(--ease) calc(var(--qd) + 1.6s) forwards; }
@keyframes flpop { from { opacity: 0; transform: scale(0.2) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes flyes { to { background: var(--pink); } }
@keyframes flout { to { opacity: 0; transform: scale(0.4); } }
@keyframes flin { from { opacity: 0; transform: scale(0.3); } to { opacity: 1; transform: none; } }
.fl-modes { position: absolute; left: 0; right: 0; top: calc(100% + 20px); display: flex; justify-content: center; gap: 12px; }
.fl-modes span { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(240, 237, 245, 0.22); font-size: 20px; font-weight: 500; }
.fl-modes svg { width: 24px; height: 24px; color: var(--pink-soft); }

/* 04 · sketch becomes high fidelity */
.fl-dev { border-radius: 22px; overflow: hidden; background: #120a1c; border: 3px solid rgba(240, 237, 245, 0.28); opacity: 0; transform: translateY(46px); transition: opacity 0.45s, transform 0.9s var(--ease); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.fl-web { left: 46px; top: 150px; width: 450px; height: 320px; }
.fl-phone { left: 548px; top: 96px; width: 196px; height: 400px; border-radius: 34px; transition-delay: 0.12s; }
.flow[data-s="3"] .fl-dev { opacity: 1; transform: none; }
.flow[data-s="4"] .fl-web, .flow[data-s="5"] .fl-web { transform: translate(110px, -30px) scale(0.3); }
.flow[data-s="4"] .fl-phone, .flow[data-s="5"] .fl-phone { transform: translate(-190px, -20px) scale(0.3); }
.fl-dev .wire, .fl-dev .hifi { position: absolute; inset: 0; }
.fl-dev .hifi { background: #faf7ff; clip-path: inset(0 100% 0 0); }
.flow[data-s="3"] .hifi, .flow[data-s="4"] .hifi, .flow[data-s="5"] .hifi { clip-path: inset(0); transition: clip-path 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.9s; }
.flow[data-s="3"] .fl-phone .hifi { transition-delay: 1.4s; }
.fl-dev u { position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--pink); box-shadow: 0 0 26px 6px rgba(233, 30, 99, 0.8); opacity: 0; }
.flow[data-s="3"] .fl-dev u { animation: flwipe 1.5s cubic-bezier(0.65, 0, 0.35, 1) 0.9s both; }
.flow[data-s="3"] .fl-phone u { animation-delay: 1.4s; }
@keyframes flwipe { 0% { left: 0; opacity: 1; } 95% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
.ui { position: absolute; inset: 0; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.ui i, .ui b, .ui span { display: block; border-radius: 8px; }
.u-nav, .u-top { display: flex; align-items: center; gap: 10px; }
.u-nav i, .u-top i { width: 26px; height: 26px; border-radius: 50%; }
.u-nav span { width: 46px; height: 10px; } .u-nav span:first-of-type { margin-left: auto; }
.u-nav b { width: 70px; height: 26px; border-radius: 999px; }
.u-top b { margin-left: auto; width: 26px; height: 26px; border-radius: 9px; }
.u-hero { flex: 1; border-radius: 16px; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; }
.u-hero i { height: 14px; width: 62%; } .u-hero i + i { width: 40%; }
.u-hero b { width: 96px; height: 30px; border-radius: 999px; margin-top: 4px; }
.u-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .u-cards i { height: 66px; border-radius: 14px; }
.u-list { display: flex; flex-direction: column; gap: 10px; } .u-list i { height: 40px; border-radius: 12px; }
.u-tab { display: flex; justify-content: space-around; padding-top: 4px; } .u-tab i { width: 22px; height: 22px; border-radius: 50%; }
.fl-phone .u-hero { flex: 0 0 132px; } .fl-phone .u-hero b { width: 70px; height: 24px; }
.wire .ui i, .wire .ui b, .wire .ui span, .wire .u-hero { border: 2px dashed rgba(240, 237, 245, 0.4); }
.wire .u-hero { background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(240, 237, 245, 0.25) 50%, transparent calc(50% + 1px)); }
.hifi .u-nav i, .hifi .u-top i { background: var(--pink); }
.hifi .u-nav span { background: #cbbfdc; } .hifi .u-nav b, .hifi .u-top b { background: #1c0e2d; }
.hifi .u-hero { background: linear-gradient(135deg, #5b1a8f, #e91e63); }
.hifi .u-hero i { background: #fff; } .hifi .u-hero i + i { background: rgba(255, 255, 255, 0.6); } .hifi .u-hero b { background: #fff; }
.hifi .u-cards i, .hifi .u-list i { background: #fff; box-shadow: 0 6px 16px rgba(60, 20, 90, 0.14); border-top: 6px solid #9c27b0; }
.hifi .u-cards i:nth-child(2), .hifi .u-list i:nth-child(2) { border-color: var(--pink); } .hifi .u-cards i:nth-child(3), .hifi .u-list i:nth-child(3) { border-color: #ffb74d; }
.hifi .u-list i { border-top: 0; border-left: 6px solid #9c27b0; }
.hifi .u-tab i { background: #d9cfe6; } .hifi .u-tab i:first-child { background: var(--pink); }

/* 05 · the plan */
.fl-doc { left: 240px; top: 56px; width: 320px; height: 448px; padding: 24px; border-radius: 14px; background: #f6f1ea; color: #1c0e2d; display: flex; flex-direction: column; gap: 18px; opacity: 0; transform: translateY(60px) rotate(3deg); transition: opacity 0.45s, transform 0.95s var(--ease); box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55); z-index: 2; }
.flow[data-s="4"] .fl-doc { opacity: 1; transform: none; transition-delay: 0.2s; }
.flow[data-s="5"] .fl-doc { opacity: 1; transform: translate(-196px, 30px) scale(0.8) rotate(-5deg); }
.d-head { display: flex; align-items: center; gap: 10px; font: 700 20px var(--display); letter-spacing: -0.02em; }
.d-head b { width: 26px; height: 26px; border-radius: 8px; background: var(--pink); }
.d-thumbs { display: grid; grid-template-columns: 1.6fr 0.7fr 0.7fr; gap: 10px; }
.d-thumbs i { height: 74px; border-radius: 10px; background: linear-gradient(135deg, #5b1a8f, #e91e63); }
.d-thumbs i:nth-child(2) { background: linear-gradient(160deg, #e91e63, #ffb74d); } .d-thumbs i:nth-child(3) { background: linear-gradient(160deg, #1c0e2d, #9c27b0); }
.d-time { display: flex; flex-direction: column; gap: 9px; padding: 14px; border-radius: 12px; background: #eae2d6; }
.d-time p { margin: 0; height: 14px; }
.d-time i { display: block; height: 100%; margin-left: var(--o); width: var(--w); border-radius: 7px; background: #9c27b0; transform: scaleX(0); transform-origin: 0 50%; }
.d-time p:nth-child(2n) i { background: var(--pink); }
.flow[data-s="4"] .d-time i, .flow[data-s="5"] .d-time i { transform: scaleX(1); transition: transform 0.7s var(--ease) calc(var(--bd) + 0.3s); }
.d-list { display: flex; flex-direction: column; gap: 9px; }
.d-list p { margin: 0; display: flex; align-items: center; gap: 10px; }
.d-list b { width: 20px; height: 20px; border-radius: 50%; background: #1c0e2d; color: #fff; font-size: 12px; display: grid; place-items: center; }
.d-list i { height: 9px; width: 70%; border-radius: 5px; background: #cfc5b6; }
.d-price { margin-top: auto; align-self: flex-start; display: flex; align-items: center; gap: 10px; padding: 9px 18px 9px 9px; border-radius: 999px; background: #1c0e2d; color: #fff; font: 600 18px var(--body); }
.d-price b { width: 30px; height: 30px; border-radius: 50%; background: var(--pink); display: grid; place-items: center; }
.fl-plane { left: 560px; top: 150px; width: 76px; height: 76px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; opacity: 0; z-index: 3; box-shadow: 0 0 40px rgba(233, 30, 99, 0.6); }
.fl-plane svg { width: 36px; height: 36px; }
.flow[data-s="4"] .fl-plane { animation: flfly 2.6s cubic-bezier(0.5, 0, 0.3, 1) 1.7s infinite; }
@keyframes flfly { 0% { opacity: 0; transform: translate(-60px, 60px) scale(0.4); } 18% { opacity: 1; transform: none; } 45% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(190px, -170px) scale(0.7) rotate(8deg); } }

/* 06 · agreed, then build */
.fl-stamp { position: absolute; right: -26px; bottom: 54px; padding: 8px 20px; border: 5px solid var(--pink); border-radius: 12px; color: var(--pink); background: rgba(246, 241, 234, 0.9); font: 800 34px var(--display); letter-spacing: -0.02em; text-transform: uppercase; opacity: 0; transform: scale(2.6) rotate(-14deg); }
.flow[data-s="5"] .fl-stamp { opacity: 1; transform: rotate(-14deg); transition: opacity 0.15s 0.75s, transform 0.4s cubic-bezier(0.2, 1.5, 0.4, 1) 0.75s; }
.fl-build { left: 396px; top: 96px; width: 360px; height: 400px; border-radius: 24px; background: #0d0616; border: 1px solid rgba(240, 237, 245, 0.2); opacity: 0; transform: translateX(60px); transition: opacity 0.45s, transform 0.9s var(--ease); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); }
.flow[data-s="5"] .fl-build { opacity: 1; transform: none; transition-delay: 1.1s; }
.b-code { display: flex; flex-direction: column; gap: 14px; padding: 8px 24px 0; }
.b-code i { height: 12px; border-radius: 6px; width: var(--w); margin-left: var(--in, 0); background: var(--c, rgba(240, 237, 245, 0.55)); transform: scaleX(0); transform-origin: 0 50%; }
.flow[data-s="5"] .b-code i { transform: scaleX(1); transition: transform 0.45s var(--ease) calc(1.7s + var(--n) * 0.22s); }
.b-prog { position: absolute; left: 24px; right: 24px; bottom: 92px; height: 12px; border-radius: 6px; background: rgba(240, 237, 245, 0.14); overflow: hidden; }
.b-prog i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--purple), var(--pink)); transform: scaleX(0); transform-origin: 0 50%; }
.flow[data-s="5"] .b-prog i { transform: scaleX(1); transition: transform 2.2s cubic-bezier(0.5, 0, 0.2, 1) 1.8s; }
.b-live { position: absolute; left: 24px; bottom: 28px; display: flex; align-items: center; gap: 10px; padding: 10px 20px 10px 14px; border-radius: 999px; background: #f0edf5; color: #0d0616; font: 700 20px var(--display); opacity: 0; }
.b-live i { width: 12px; height: 12px; border-radius: 50%; background: #1fbf6b; box-shadow: 0 0 0 5px rgba(31, 191, 107, 0.25); }
.flow[data-s="5"] .b-live { animation: flpop 0.55s var(--ease) 4s both; }

/* RX mark as one travelling object: hero at the top, navbar once you scroll */
.brand { position: relative; }
.brand-dots { position: absolute; left: -24px; top: 50%; width: 190px; height: 76px; margin-top: -38px; pointer-events: none; opacity: 0; transition: opacity 0.25s; }
.navdots .brand-dots { opacity: 1; transition: opacity 0.1s; }
.boot .hero-copy { opacity: 0; }
.rxdots .brand img { opacity: 0; transition: opacity 0.15s; }
.rxdots.docked:not(.navdots) .brand img { opacity: 1; transition: opacity 0.3s; }
.rxdots .brand span { opacity: 0; transition: opacity 0.2s; }
.rxdots.docked .brand span { opacity: 1; }
.rxdots .brand span i { font-style: normal; display: inline-block; opacity: 0; transform: translateX(-14px); transition: opacity 0.25s, transform 0.3s; }
.rxdots.docked .brand span i { opacity: 1; transform: none; transition: opacity 0.5s, transform 0.7s var(--ease); transition-delay: calc(0.45s + var(--i) * 80ms); }
.fl-tag { display: inline-block; margin-left: 12px; padding: 5px 13px; border-radius: 999px; background: var(--pink); color: #fff; font: 600 14px var(--body); letter-spacing: 0.04em; text-transform: uppercase; vertical-align: 2px; }
.fl-tag.cap { background: transparent; border: 1px solid var(--pink-soft); color: var(--pink-soft); }
.fl-cap h3 em { font-style: normal; color: var(--muted); font-size: 0.62em; letter-spacing: -0.02em; white-space: nowrap; }
.fl-nda { left: 400px; top: 440px; display: flex; align-items: center; gap: 10px; padding: 12px 22px 12px 16px; border-radius: 999px; background: #f0edf5; color: var(--bg); font: 700 20px var(--display); white-space: nowrap; opacity: 0; transform: translate(-50%, 30px) scale(0.8); transition: opacity 0.3s, transform 0.5s var(--ease); }
.fl-nda svg { width: 24px; height: 24px; color: var(--pink); }
.flow[data-s="1"] .fl-nda { opacity: 1; transform: translate(-50%, 0); transition-delay: 1.3s; }

/* Own-product cards: Mosaic and Cigar Mancave */
.case-tag { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; }
.case:not(:has(.case-cover)):hover { transform: none; }
.case.mz { background: #fff3f6; color: #4a0d20; }
.case.mz .mz-id { display: flex; align-items: center; gap: 12px; }
.case.mz .mz-id img { width: 62px; height: auto; }
.case.mz .mz-id b { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: 0.22em; color: #7f1734; }
.case.mz .mz-id span { font-size: 16px; color: #8a5464; }
.case.mz p { color: #6b3a48; }
.case.mz .chip { background: #7f1734; color: #fff; }
.case.mz .chip.alt { background: transparent; border: 1px solid rgba(127, 23, 52, 0.4); color: #7f1734; }
.case.mz .shots { background: linear-gradient(180deg, #ffe3eb, #ffd0dd); }
.case.mz .shots img { box-shadow: 0 30px 60px -20px rgba(127, 23, 52, 0.4); }
.case.mz .shots .mz-mascot { position: absolute; left: 4%; bottom: 5%; width: 34%; max-width: 230px; flex: none; margin: 0; border-radius: 0; box-shadow: none; filter: drop-shadow(0 18px 24px rgba(127, 23, 52, 0.3)); animation: mzbob 5s ease-in-out infinite; }
@keyframes mzbob { 50% { translate: 0 -10px; rotate: -3deg; } }
.case.cm { background: #0a0a0a; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.case.cm .cm-logo { width: 150px; }
.case.cm h3 { color: #efa427; }
.case.cm p { color: #c9c2b8; }
.case.cm .chip { background: rgba(239, 164, 39, 0.14); color: #efa427; }
.cm-art { position: relative; overflow: hidden; background: radial-gradient(60% 60% at 70% 40%, rgba(226, 89, 49, 0.35), transparent 70%); }
.cm-art img { position: absolute; will-change: transform; box-shadow: 0 40px 80px -20px #000, 0 0 0 1px rgba(255, 255, 255, 0.14); }
.cm-art .desk { left: 14%; top: 14%; width: 118%; border-radius: 14px; }
.cm-art .phone { left: 5%; top: 30%; width: 31%; max-width: 210px; border-radius: 24px; }
@media (prefers-reduced-motion: reduce) { .case.mz .shots .mz-mascot { animation: none; } }
@media (max-width: 900px) {
  .cm-art { height: 360px; }
  .cm-art .desk { top: 10%; }
  .cm-art .phone { top: 22%; width: 28%; }
}
