/* spark-text.com/mindset-journey v3 (19 Nov 2026). The site's own type
   (Georgia headings with italic gradient words, PT Serif text, Albert Sans
   labels) on a cinematic journey: a harbour town at sunset, a film of how we
   love, a secret forest with a waterfall, one constellation, and dawn.
   Scoped under .mj. mj.js sets --p (0 to 1) and data-beat on pinned tracks,
   and .in on revealed elements. House style: no dashes in any copy. */

.mj { --bg: #0E0716; --ink: #FBF7FF; --mut: rgba(246, 238, 255, 0.8); --faint: rgba(246, 238, 255, 0.58);
  --vio: #8B5CF6; --pink: #EC4899; --peach: #FDBA74; --gold: #F8C76B; --teal: #5EEAD4;
  --grad: linear-gradient(92deg, #F1E6FF 0%, #FFB2DD 46%, #FFD6A3 100%);
  --serif: Georgia, "Times New Roman", serif; --body: "PT Serif", Georgia, serif;
  --sans: "Albert Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav: 86px; --ease: cubic-bezier(.2, .8, .2, 1);
  position: relative; overflow-x: clip; background: var(--bg); color: var(--ink);
  font-family: var(--body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
@media (max-width: 991px) { .mj { --nav: 64px; font-size: 16.5px; } }
.mj *, .mj *::before, .mj *::after { box-sizing: border-box; }
/* Resets at the lowest weight, so the site's tag styles can't leak in and every class below wins. */
.mj :where(h1, h2, h3, h4, p, ul, ol, li, figure, blockquote, q) { margin: 0; padding: 0; font-family: inherit; font-style: normal; font-weight: inherit; color: inherit; letter-spacing: inherit; text-transform: none; }
.mj :where(ul, ol) { list-style: none; }
.mj :where(img, video, picture) { display: block; max-width: 100%; border: 0; }
.mj :where(a) { color: inherit; text-decoration: none; }
.mj :where(b, strong) { font-weight: 700; }
.mj :where(em) { font-style: normal; }

.mj-wrap { position: relative; z-index: 2; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 600px) { .mj-wrap { padding: 0 20px; } }

.mj-kicker { display: inline-block; font: 700 12.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--peach); }
.mj-h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(44px, 6.4vw, 92px); line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
.mj-h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.06; letter-spacing: -0.015em; text-wrap: balance; }
.mj-h3 { font-family: var(--serif); font-weight: 700; font-size: clamp(26px, 3vw, 42px); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; }
.mj-big { font-family: var(--serif); font-weight: 700; font-size: clamp(42px, 6vw, 84px); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.mj-lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--mut); line-height: 1.62; max-width: 34em; text-wrap: pretty; }
.mj-grad { font-style: italic; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em;
  text-shadow: none; filter: drop-shadow(0 2px 1px rgba(16, 6, 28, 0.7)) drop-shadow(0 0 18px rgba(255, 150, 210, 0.5)); }

.mj-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 30px; border-radius: 999px;
  background: linear-gradient(92deg, #8B5CF6, #EC4899); color: #fff !important; font: 700 16.5px/1 var(--sans);
  box-shadow: 0 14px 40px rgba(236, 72, 153, 0.35); transition: transform .25s var(--ease), box-shadow .25s; }
.mj-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(236, 72, 153, 0.5); }
.mj-btn.quiet { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.mj-btn.quiet:hover { background: rgba(255, 255, 255, 0.14); }
.mj-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.mj-glass { border: 1px solid rgba(255, 255, 255, 0.14); background: linear-gradient(160deg, rgba(46, 20, 66, 0.6), rgba(18, 8, 30, 0.72));
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); box-shadow: 0 24px 60px rgba(5, 2, 12, 0.4); }
.mj-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.mj-checks li { position: relative; padding: 12px 20px 12px 46px; border-radius: 999px; background: rgba(20, 10, 34, 0.55); border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 16px; }
.mj-checks li::before, .mj-tiers li::before { content: ""; position: absolute; left: 17px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  background: #5EEAD4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230E0716' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.mj-fine { font-size: 13.5px; color: var(--faint); max-width: 42em; }

/* reveal: rise in, out of a soft blur */
.mj [data-reveal] { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.mj [data-reveal].in, .mj:not([data-ready]) [data-reveal] { opacity: 1; transform: none; filter: none; }

/* pinned scenes */
.mj-track { position: relative; }
.mj-stick { position: sticky; top: 0; height: 100vh; overflow: hidden; }

/* ── iPhone 18 Pro Max: titanium band with depth, glass, Dynamic Island ── */
.mj-phone { --w: 300px; position: relative; width: var(--w); flex: none; transform-style: preserve-3d; }
.mj-phone .b { position: relative; border-radius: calc(var(--w) * 0.19); padding: calc(var(--w) * 0.012);
  background: linear-gradient(140deg, #C9BEDF 0%, #4A3E68 18%, #241C38 45%, #3E3260 70%, #B3A3D6 100%); transform-style: preserve-3d; }
.mj-phone .slab { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, #1E1830 0%, #6A5A8E 12%, #352B52 32%, #2C2446 68%, #6E5E9A 88%, #1E1830 100%); }
.mj-phone .slab:nth-child(1) { transform: translateZ(-3px); } .mj-phone .slab:nth-child(2) { transform: translateZ(-6px); }
.mj-phone .slab:nth-child(3) { transform: translateZ(-9px); } .mj-phone .slab:nth-child(4) { transform: translateZ(-12px); }
.mj-phone .shade { position: absolute; left: 8%; right: 8%; top: 8%; bottom: 2%; border-radius: inherit; background: rgba(0, 0, 0, 0.5); filter: blur(30px); transform: translateZ(-40px) translateY(26px); }
.mj-phone .key { position: absolute; width: 4px; border-radius: 3px; background: linear-gradient(90deg, #8475A8, #2E2648); transform: translateZ(-6px); }
.mj-phone .k1 { left: -3px; top: 17%; height: 4.5%; } .mj-phone .k2 { left: -3px; top: 25%; height: 8%; } .mj-phone .k3 { left: -3px; top: 35%; height: 8%; }
.mj-phone .k4 { right: -3px; top: 27%; height: 12%; } .mj-phone .k5 { right: -3px; top: 56%; height: 8%; }
.mj-phone .g { position: relative; border-radius: calc(var(--w) * 0.18); padding: calc(var(--w) * 0.028); background: #04040A; transform: translateZ(1px); }
.mj-phone .s { position: relative; aspect-ratio: 440 / 956; border-radius: calc(var(--w) * 0.155); overflow: hidden; background: #050818; }
.mj-phone .s > img { width: 100%; height: 100%; object-fit: cover; }
.mj-phone .bar { position: absolute; left: 0; right: 0; top: calc(var(--w) * 0.05); z-index: 3; display: flex; align-items: center; justify-content: space-between;
  padding: 0 calc(var(--w) * 0.085) 0 calc(var(--w) * 0.1); color: #fff; font: 650 calc(var(--w) * 0.05)/1 -apple-system, "SF Pro Text", system-ui, sans-serif; pointer-events: none; }
.mj-phone .bar svg { height: calc(var(--w) * 0.04); width: auto; }
.mj-phone .isl { position: absolute; left: 50%; top: calc(var(--w) * 0.03); width: calc(var(--w) * 0.3); height: calc(var(--w) * 0.088); transform: translateX(-50%); border-radius: 99px; background: #000; z-index: 4; }
.mj-phone .glare { position: absolute; inset: calc(var(--w) * 0.012); border-radius: calc(var(--w) * 0.18); pointer-events: none; z-index: 5; transform: translateZ(2px);
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.04) 24%, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, 0.06) 100%); }
/* the phone's reflection on the water */
.mj-phone .refl { position: absolute; left: 4%; right: 4%; top: calc(100% + 6px); height: 36%; overflow: hidden; pointer-events: none;
  border-radius: 0 0 calc(var(--w) * 0.16) calc(var(--w) * 0.16); transform: scaleY(-1); opacity: .34; filter: blur(1.4px) saturate(1.25);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 82%); mask-image: linear-gradient(to top, #000 0%, transparent 82%); }
.mj-phone .refl img { position: absolute; left: 0; bottom: 0; width: 100%; height: auto; }
.mj-phone .refl { display: none; }

/* fireflies: small warm lights that drift on an ellipse */
.mj-fly, .mj .fly { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #FFF1C2; pointer-events: none; z-index: 6;
  box-shadow: 0 0 8px 2px rgba(255, 220, 140, 0.9), 0 0 22px 6px rgba(248, 199, 107, 0.45); animation: mjOrbit var(--t, 9s) ease-in-out infinite, mjBlink 2.6s ease-in-out infinite; }
.mj .fly.a { --rx: 170px; --ry: 70px; --t: 10s; } .mj .fly.b { --rx: -150px; --ry: 110px; --t: 13s; animation-delay: -4s, -1s; width: 4px; height: 4px; }
.mj .fly.c { --rx: 120px; --ry: -150px; --t: 11s; animation-delay: -7s, -2s; width: 5px; height: 5px; }
@keyframes mjOrbit { 0%, 100% { translate: var(--rx) 0; } 25% { translate: 0 var(--ry); } 50% { translate: calc(var(--rx) * -1) 0; } 75% { translate: 0 calc(var(--ry) * -1); } }
@keyframes mjBlink { 0%, 100% { opacity: .35; scale: .8; } 50% { opacity: 1; scale: 1.15; } }
@keyframes mjFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes mjHalo { 0%, 100% { scale: .94; opacity: .8; } 50% { scale: 1.06; opacity: 1; } }

/* ── 1. hero ── */
.mj-sky { position: absolute; left: 0; right: 0; top: 0; height: 110vh; pointer-events: none; z-index: 0; }
.mj-sky canvas { width: 100%; height: 100%; display: block; }
.mj-hero { position: relative; min-height: 100vh; padding: calc(var(--nav) + 56px) 0 90px; display: flex; align-items: center; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 120%, rgba(253, 186, 116, 0.28), transparent 60%), linear-gradient(180deg, #0E0716 0%, #170A28 50%, #231044 100%); }
.mj-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30vh; background: linear-gradient(transparent, #2A1450); pointer-events: none; }
.mj-hglow { position: absolute; border-radius: 50%; filter: blur(50px); pointer-events: none; animation: mjDrift 18s ease-in-out infinite alternate; }
.mj-hglow.g1 { left: -12%; top: 0; width: 640px; height: 640px; background: radial-gradient(closest-side, rgba(139, 92, 246, 0.36), transparent); }
.mj-hglow.g2 { right: -14%; top: 6%; width: 760px; height: 760px; background: radial-gradient(closest-side, rgba(236, 72, 153, 0.28), transparent); animation-duration: 23s; }
.mj-hglow.g3 { left: 30%; bottom: -30%; width: 900px; height: 600px; background: radial-gradient(closest-side, rgba(253, 186, 116, 0.22), transparent); animation-duration: 27s; }
@keyframes mjDrift { from { translate: 0 0; } to { translate: 40px -30px; } }
.mj-hero .mj-wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.mj-hero-copy { display: flex; flex-direction: column; gap: 24px; }
.mj-hero .mj-lead { max-width: 30em; }
.mj-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.mj-meta span { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); font: 600 13.5px var(--sans); color: var(--mut); }
.mj-hero-stage { position: relative; height: min(700px, 82vh); perspective: 1400px; }
.mj-hero-art { position: absolute; inset: -10% -20% -5% -20%; opacity: .5; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); mask-image: radial-gradient(closest-side, #000 40%, transparent 100%); }
.mj-hero-art video, .mj-hero-art img { width: 100%; height: 100%; object-fit: cover; filter: hue-rotate(-28deg) saturate(1.15); }
.mj-hero-phones { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(var(--my, 0) * -5deg)) rotateY(calc(var(--mx, 0) * 7deg)); transition: transform .6s var(--ease); }
.mj-hero-phones .mj-phone { position: absolute; left: 50%; top: 50%; }
.mj-hero-phones .ph-c { --w: min(300px, 31vh); transform: translate(-50%, -50%) translateZ(60px) translateY(calc(var(--hp, 0) * -40px)); z-index: 3; }
.mj-hero-phones .ph-l { --w: min(232px, 25vh); transform: translate(calc(-50% - var(--w) * 0.72 - var(--hp, 0) * 50px), -50%) translateZ(-80px) rotateY(24deg) rotateZ(-3deg); opacity: .94; }
.mj-hero-phones .ph-r { --w: min(232px, 25vh); transform: translate(calc(-50% + var(--w) * 0.72 + var(--hp, 0) * 50px), -50%) translateZ(-80px) rotateY(-24deg) rotateZ(3deg); opacity: .94; }
.mj-float { animation: mjFloat 7s ease-in-out infinite; }
.mj-float.d2 { animation-delay: -2.3s; } .mj-float.d3 { animation-delay: -4.6s; }
.mj-hero-stage .mj-fly.f1 { --rx: 220px; --ry: 120px; --t: 14s; } .mj-hero-stage .mj-fly.f2 { --rx: -260px; --ry: 80px; --t: 17s; animation-delay: -6s, -1s; }
.mj-hero-stage .mj-fly.f3 { --rx: 160px; --ry: -220px; --t: 12s; animation-delay: -3s, -2s; } .mj-hero-stage .mj-fly.f4 { --rx: -190px; --ry: -160px; --t: 15s; animation-delay: -9s, -.5s; width: 4px; height: 4px; }
.mj-scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--faint); font: 700 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.mj-scroll-hint i { width: 1px; height: 38px; background: linear-gradient(180deg, rgba(253, 186, 116, 0.9), transparent); animation: mjHint 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes mjHint { 0% { transform: scaleY(0); opacity: 0; } 40% { opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ── 2. the harbour town ── */
.mj-town { height: 420vh; background: #2A1450; }
.mj-town .mj-stick { background: #2A1450; }
.mj-town .mj-stick::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 24vh; z-index: 1; pointer-events: none; background: linear-gradient(#2A1450, transparent); opacity: calc(1 - var(--p, 0) * 6); }
.mj-town .mj-stick::after { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none; background: #07030C; opacity: calc((var(--p, 0) - .93) * 15); }
.mj-cam { position: absolute; inset: 0; transform: scale(calc(1.1 - var(--p, 0) * .1)); transform-origin: 50% 72%; will-change: transform; }
.mj-world, .mj-world .ly { position: absolute; inset: 0; width: 100%; height: 100%; }
.mj-world .ly { will-change: opacity, transform; }
.mj-world .ly-defs { position: absolute; width: 0; height: 0; }
.mj-world .ly-sky1, .mj-world .ly-sky2, .mj-world .ly-stars, .mj-world .ly-night { opacity: 0; }
.mj-world .w { opacity: 0; transition: opacity .9s ease; }
.mj-world .w.on { opacity: 1; }
.mj-world .beam { transform-box: view-box; animation: mjBeam 7s linear infinite; }
.mj-world .bt { animation: mjBob 3.2s ease-in-out infinite; }
.mj-world .gl { animation: mjGlim 3.6s ease-in-out infinite; }
@keyframes mjBeam { from { transform: rotate(-60deg); } to { transform: rotate(300deg); } }
@keyframes mjBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2.5px); } }
@keyframes mjGlim { 0%, 100% { opacity: .2; } 50% { opacity: .85; } }

.mj-town-ui { z-index: 3; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 56px; align-items: start; padding-top: calc(var(--nav) + 6vh); }
.mj-town-copy { position: relative; }
.mj-town-copy::before { content: ""; position: absolute; inset: -80px -120px -80px -160px; z-index: -1; background: radial-gradient(closest-side, rgba(16, 8, 30, 0.6), transparent); pointer-events: none; }
.mj-clock { display: inline-flex; flex-direction: column; gap: 2px; font-family: var(--serif); font-size: clamp(46px, 5vw, 72px); font-weight: 700; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; text-shadow: 0 4px 30px rgba(10, 4, 20, 0.6); }
.mj-clock small { font: 700 12px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--peach); }
.mj-beats { position: relative; min-height: 330px; margin-top: 22px; }
.mj-beat { position: absolute; left: 0; top: 0; max-width: 560px; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(20px); filter: blur(6px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease); text-shadow: 0 2px 26px rgba(10, 4, 20, 0.7); }
.mj-town[data-beat="0"] .b0, .mj-town[data-beat="1"] .b1, .mj-town[data-beat="2"] .b2, .mj-town[data-beat="3"] .b3 { opacity: 1; transform: none; filter: none; transition-delay: .12s; }

.mj-chat { align-self: center; margin-top: 2vh; width: 100%; border-radius: 28px; overflow: hidden; font-family: var(--sans);
  background: linear-gradient(170deg, rgba(40, 20, 64, 0.62), rgba(16, 8, 30, 0.7)); border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3); box-shadow: 0 30px 90px rgba(8, 3, 20, 0.55); transform: translateY(calc(var(--p, 0) * -24px)); }
.mj-chat-head { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.09); }
.mj-chat .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: linear-gradient(135deg, #C4B5FD, #7C3AED); color: #fff; font: 700 16px var(--serif); }
.mj-them-row .av { width: 28px; height: 28px; font-size: 12px; }
.mj-chat-head b { display: block; font-size: 16px; }
.mj-chat-head small { font-size: 12.5px; color: var(--faint); }
.mj-chat-head small.live { color: #86EFAC; }
.mj-chat-body { padding: 16px 16px 22px; display: flex; flex-direction: column; gap: 8px; min-height: 270px; }
.mj-day { align-self: center; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.mj-me { align-self: flex-end; max-width: 86%; padding: 11px 15px; border-radius: 20px 20px 6px 20px; background: linear-gradient(135deg, #8B5CF6, #EC4899); color: #fff; font-size: 15px; line-height: 1.42; }
.mj-meta-line { align-self: flex-end; font-size: 11.5px; color: var(--faint); }
.mj-meta-line .rd { display: none; }
.mj-town:not([data-beat="0"]) .mj-meta-line .dl { display: none; }
.mj-town:not([data-beat="0"]) .mj-meta-line .rd { display: inline; }
.mj-them-row { display: flex; gap: 8px; align-items: flex-end; max-height: 0; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s, max-height .5s; }
.mj-town[data-beat="2"] .row-typing, .mj-town[data-beat="3"] .row-reply { max-height: 70px; opacity: 1; transform: none; margin-top: 10px; }
.mj-them { padding: 10px 15px; border-radius: 20px 20px 20px 6px; background: rgba(255, 255, 255, 0.13); font-size: 15px; }
.mj-typing { display: inline-flex; gap: 5px; padding: 13px 15px; border-radius: 20px 20px 20px 6px; background: rgba(255, 255, 255, 0.13); }
.mj-typing i { width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .4; animation: mjDot 1.2s ease-in-out infinite; }
.mj-typing i:nth-child(2) { animation-delay: .15s; } .mj-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes mjDot { 0%, 80%, 100% { opacity: .25; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }

/* thoughts rise from the town like lanterns */
.mj-lanterns { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.mj-lanterns span { position: absolute; bottom: 14%; padding: 9px 16px; border-radius: 16px; white-space: nowrap; font: italic 700 15px var(--serif); color: #3B1C08;
  background: radial-gradient(120% 150% at 50% 25%, #FFF3D1, #F8C76B 58%, #E58A5A); box-shadow: 0 0 26px rgba(248, 199, 107, 0.7), 0 0 80px rgba(236, 112, 90, 0.35); opacity: 0; }
.mj-lanterns .l1 { left: 46%; } .mj-lanterns .l2 { left: 51%; bottom: 6%; } .mj-lanterns .l3 { left: 44%; bottom: 20%; } .mj-lanterns .l4 { left: 52%; bottom: 12%; }
.mj-town[data-beat="2"] .mj-lanterns span, .mj-town[data-beat="3"] .mj-lanterns span { animation: mjLantern 8s ease-in-out infinite; }
.mj-lanterns .l2 { animation-delay: -2s !important; } .mj-lanterns .l3 { animation-delay: -4s !important; } .mj-lanterns .l4 { animation-delay: -6s !important; }
@keyframes mjLantern { 0% { opacity: 0; transform: translateY(60px) scale(.9); } 14% { opacity: 1; } 78% { opacity: .9; } 100% { opacity: 0; transform: translateY(var(--rise, -48vh)) scale(.78) rotate(-4deg); } }

/* ── 3. the film: the science of how we love ── */
.mj-film { height: 480vh; background: #07030C; }
.mj-film .mj-stick { background: #07030C; }
.mj-film .mj-stick::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: #07030C; opacity: calc((var(--p, 0) - .94) * 17); }
.mj-frames { position: absolute; inset: 0; opacity: clamp(0, calc(var(--p, 0) * 26), 1); }
.mj-frames .fr { position: absolute; inset: 0; margin: 0; opacity: 0; overflow: hidden; will-change: opacity; }
.mj-frames .fr:first-child { opacity: 1; }
.mj-frames picture, .mj-frames img { width: 100%; height: 100%; object-fit: cover; }
.mj-frames img { transform: scale(calc(1.04 + var(--k, 0) * .12)) translateX(calc(var(--x, 1) * var(--k, 0) * 1.6%)); will-change: transform; }
.mj-film-shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(0deg, rgba(8, 3, 14, 0.94) 0%, rgba(8, 3, 14, 0.6) 26%, transparent 56%), linear-gradient(180deg, rgba(8, 3, 14, 0.72), transparent 32%), radial-gradient(130% 100% at 50% 50%, transparent 55%, rgba(8, 3, 14, 0.55)); }
.mj-grain { position: absolute; inset: -50%; pointer-events: none; opacity: .09; mix-blend-mode: overlay; animation: mjGrain 1.2s steps(6) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes mjGrain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); } }
.mj-bars i { position: absolute; left: 0; right: 0; height: 6.5vh; background: #07030C; z-index: 2; transform: scaleY(clamp(0, calc(var(--p, 0) * 30), 1)); }
.mj-bars i:first-child { top: 0; transform-origin: top; } .mj-bars i:last-child { bottom: 0; transform-origin: bottom; }
.mj-film-ui { z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--nav) + 6.5vh + 18px); padding-bottom: calc(6.5vh + 26px);
  opacity: clamp(0, calc(var(--p, 0) * 18), 1); }
.mj-film-head { display: flex; flex-direction: column; gap: 10px; text-shadow: 0 2px 30px rgba(8, 3, 14, 0.7); }
.mj-film-head .mj-h2 { font-size: clamp(30px, 3.4vw, 48px); }
.mj-caps { position: relative; min-height: 230px; max-width: 640px; margin-top: auto; }
.mj-caps .cap { position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; gap: 12px; opacity: 0; transform: translateY(26px); filter: blur(8px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease); text-shadow: 0 2px 24px rgba(8, 3, 14, 0.8); }
.mj-film[data-beat="0"] .c0, .mj-film[data-beat="1"] .c1, .mj-film[data-beat="2"] .c2, .mj-film[data-beat="3"] .c3, .mj-film[data-beat="4"] .c4 { opacity: 1; transform: none; filter: none; transition-delay: .18s; }
.mj-caps .yr { font: 700 12.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.mj-caps p { color: var(--mut); font-size: clamp(16.5px, 1.4vw, 19px); max-width: 33em; }
.mj-rail { display: flex; gap: 12px; margin-top: 30px; }
.mj-rail li { flex: 1; font: 700 11.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.mj-rail i { position: relative; display: block; height: 2px; margin-bottom: 9px; overflow: hidden; background: rgba(255, 255, 255, 0.18); border-radius: 2px; }
.mj-rail i::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(clamp(0, calc(var(--q, 0) - var(--n, 0)), 1)); }
.mj-rail li:nth-child(2) { --n: 1; } .mj-rail li:nth-child(3) { --n: 2; } .mj-rail li:nth-child(4) { --n: 3; } .mj-rail li:nth-child(5) { --n: 4; }

/* ── 4. the secret forest ── */
.mj-forest { position: relative; background: #0B0614; clip-path: inset(0); }
.mj-forest::after { content: ""; position: relative; z-index: 1; display: block; height: 40vh; background: linear-gradient(transparent, #0B0716 85%); }
.mj-fbg { position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; overflow: hidden; z-index: 0; }
.mj-fbg .lay, .mj-dbg .lay { position: absolute; inset: 0; will-change: opacity, transform; }
.mj-fbg .lay picture, .mj-fbg .lay img, .mj-fbg .lay video, .mj-dbg .lay picture, .mj-dbg .lay img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mj-fbg .path { transform-origin: 50% 47%; opacity: 0; }
.mj-fbg .falls { transform-origin: 50% 44%; opacity: 0; }
.mj-fbg video { opacity: 0; transition: opacity 1.4s ease; }
.mj-fbg video.on { opacity: 1; }
.mj-fbg .ff { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.mj-fbg .mist { position: absolute; width: 70vw; height: 44vh; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 240, 0.16), transparent); filter: blur(24px); animation: mjMist 26s ease-in-out infinite alternate; }
.mj-fbg .m1 { left: -12vw; bottom: 4vh; } .mj-fbg .m2 { right: -16vw; bottom: 16vh; animation-duration: 34s; }
@keyframes mjMist { from { transform: translateX(0) scale(1); } to { transform: translateX(12vw) scale(1.15); } }
.mj-fbg .veil, .mj-dbg .veil { position: absolute; inset: 0; pointer-events: none; }
.mj-fbg .veil { background: linear-gradient(180deg, rgba(11, 6, 20, 0.4), rgba(11, 6, 20, 0.7)); opacity: 0; }
.mj-forest > :not(.mj-fbg) { position: relative; z-index: 1; }
.mj-enter { height: 230vh; }
.mj-enter-copy { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; text-align: center; padding: calc(var(--nav) + 20px) 24px 40px; opacity: 0; text-shadow: 0 2px 30px rgba(10, 5, 18, 0.85); }
.mj-enter-copy::before { content: ""; position: absolute; left: 50%; top: 52%; width: min(1000px, 120vw); height: 70vh; transform: translate(-50%, -50%); z-index: -1; background: radial-gradient(closest-side, rgba(10, 5, 18, 0.66), transparent); }
.mj-enter-copy .mj-h2 { max-width: 15em; }
.mj-enter-copy .mj-lead { margin: 0 auto; }
.mj-fsec { padding-top: 16vh; padding-bottom: 16vh; }
.mj-fhead { display: flex; flex-direction: column; align-items: center; gap: 18px; max-width: 840px; margin: 0 auto 56px; text-align: center; text-shadow: 0 2px 30px rgba(10, 5, 18, 0.8); }
.mj-fhead .mj-lead { margin: 0 auto; }
.mj-fhead.left { align-items: flex-start; text-align: left; margin: 0; }
.mj-fhead.left .mj-lead { margin: 0; }

/* the four styles: two dials, four corners */
.mj-map4 { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 940px; margin: 0 auto; padding: 0 0 36px 40px; }
.mj-map4 .q { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 26px 28px 30px; border-radius: 28px; }
.mj-map4 .q::after { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(closest-side, var(--c), transparent); opacity: .24; }
.mj-map4 .q i { width: 18px; height: 18px; margin-bottom: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 18px var(--c), 0 0 46px var(--c); animation: mjPulse 3.4s ease-in-out infinite; }
.mj-map4 .q b { font: 700 25px/1.2 var(--serif); }
.mj-map4 .q span { color: var(--mut); font-size: 16.5px; }
.mj-map4 .q em { margin-top: 6px; font: 700 11.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.mj-map4 .q.se { border-color: rgba(94, 234, 212, 0.5); box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.2), 0 30px 90px rgba(94, 234, 212, 0.16); }
.mj-map4 .ax { position: absolute; font: 700 11.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
.mj-map4 .ay { left: 12px; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); }
.mj-map4 .ay::after { content: " \2192"; }
.mj-map4 .ax2 { left: 50%; bottom: 0; transform: translateX(-50%); }
.mj-map4 .ax2::after { content: " \2192"; }
@keyframes mjPulse { 0%, 100% { transform: scale(.92); opacity: .8; } 50% { transform: scale(1.08); opacity: 1; } }

/* the anxious and avoidant loop */
.mj-trap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.mj-loop { position: relative; width: 100%; max-width: 470px; aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.mj-loop::before { content: ""; position: absolute; inset: 30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(244, 114, 182, 0.45), transparent); filter: blur(10px); animation: mjHalo 4s ease-in-out infinite; }
.mj-loop .ring { position: absolute; border-radius: 50%; }
.mj-loop .r1 { inset: 12%; border: 1px dashed rgba(255, 255, 255, 0.26); animation: mjSpin 60s linear infinite; }
.mj-loop .r2 { inset: 0; border: 1px solid rgba(255, 255, 255, 0.09); }
.mj-loop .orb { position: absolute; left: 50%; top: 50%; width: 28px; height: 28px; margin: -14px; border-radius: 50%; }
.mj-loop .orb.an { background: #FDBA74; box-shadow: 0 0 24px #FDBA74, 0 0 70px rgba(253, 186, 116, 0.6); animation: mjChase 7s linear infinite; }
.mj-loop .orb.av { background: #C4B5FD; box-shadow: 0 0 24px #C4B5FD, 0 0 70px rgba(196, 181, 253, 0.6); animation: mjFlee 7s linear infinite; }
@keyframes mjChase { from { transform: rotate(0deg) translateX(38cqw); } to { transform: rotate(360deg) translateX(38cqw); } }
@keyframes mjFlee { from { transform: rotate(60deg) translateX(38cqw); } 50% { transform: rotate(250deg) translateX(46cqw); } to { transform: rotate(420deg) translateX(38cqw); } }
@keyframes mjSpin { to { transform: rotate(360deg); } }
.mj-loop .tag { position: absolute; padding: 7px 13px; border-radius: 999px; font: 700 12.5px var(--sans); letter-spacing: .04em; background: rgba(20, 10, 34, 0.7); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); white-space: nowrap; }
.mj-loop .tag.an { left: 0; top: 6%; color: #FDBA74; } .mj-loop .tag.av { right: 0; bottom: 6%; color: #C4B5FD; }

.mj-good { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 960px; text-align: center; text-shadow: 0 2px 30px rgba(10, 5, 18, 0.85); }
.mj-good .mj-lead { margin: 0 auto; }

/* the app, floating over the water */
.mj-gal { height: 380vh; }
.mj-gal-in { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding-top: var(--nav); text-align: center; }
.mj-gal-head { display: flex; flex-direction: column; align-items: center; gap: 10px; text-shadow: 0 2px 30px rgba(10, 5, 18, 0.85); }
.mj-gal-head .mj-h2 { font-size: clamp(30px, 3.4vw, 50px); }
.mj-gp { position: relative; display: grid; place-items: center; margin: 4px 0 6px; }
.mj-gp .gp { --w: min(232px, 25vh); }
.mj-gp .halo { position: absolute; left: 50%; top: 46%; width: 210%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, var(--h, #5EEAD4), transparent 72%); opacity: .34; filter: blur(16px); animation: mjHalo 6s ease-in-out infinite; transition: background .8s ease; }
.mj-gp .rip { position: absolute; left: 50%; bottom: -5%; width: 140%; height: 46px; margin-left: -70%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); opacity: 0; animation: mjRipple 4.4s ease-out infinite; }
.mj-gp .rip.r2 { animation-delay: 2.2s; }
@keyframes mjRipple { 0% { transform: scale(.3); opacity: .7; } 100% { transform: scale(1.15); opacity: 0; } }
.mj-phone .s > img.scr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .6s ease, transform .9s var(--ease); }
.mj-phone .s > img.scr.on { opacity: 1; transform: none; }
.mj-gcaps { position: relative; width: min(440px, 92vw); min-height: 92px; }
.mj-gcaps .gc { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: 0; transform: translateY(14px); filter: blur(6px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), filter .6s var(--ease); text-shadow: 0 2px 20px rgba(10, 5, 18, 0.9); }
.mj-gal[data-beat="0"] .c0, .mj-gal[data-beat="1"] .c1, .mj-gal[data-beat="2"] .c2, .mj-gal[data-beat="3"] .c3, .mj-gal[data-beat="4"] .c4 { opacity: 1; transform: none; filter: none; transition-delay: .1s; }
.mj-gcaps b { font: 700 24px/1.2 var(--serif); }
.mj-gcaps span { color: var(--mut); font-size: 16.5px; }
.mj-gdots { display: flex; gap: 8px; }
.mj-gdots li { width: 8px; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.3); transition: width .4s var(--ease), background .4s; }
.mj-gal[data-beat="0"] .mj-gdots li:nth-child(1), .mj-gal[data-beat="1"] .mj-gdots li:nth-child(2), .mj-gal[data-beat="2"] .mj-gdots li:nth-child(3), .mj-gal[data-beat="3"] .mj-gdots li:nth-child(4), .mj-gal[data-beat="4"] .mj-gdots li:nth-child(5) { width: 24px; background: #fff; }
.mj-gcaps em, .mj-tiers .nm em { display: inline-block; vertical-align: 3px; margin-left: 6px; padding: 3px 9px; border-radius: 999px; font: 800 10.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; text-shadow: none; }
.mj-gcaps em.pl { background: linear-gradient(92deg, #A78BFA, #F472B6); color: #fff; }
.mj-gcaps em.pr { background: linear-gradient(92deg, #FDE68A, #F0A93B); color: #2A1804; }
.mj-gcaps em.fr { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* ── 5. one week, one constellation ── */
.mj-cons { height: 540vh; background: #0B0716; }
.mj-cons .mj-stick { background: #0B0716; }
.mj-cons-bg { position: absolute; inset: 0; opacity: clamp(0, calc(var(--p, 0) * 14), 1); transform: scale(calc(1.12 - var(--p, 0) * .12)); transform-origin: 50% 100%; }
.mj-cons-bg picture, .mj-cons-bg img { width: 100%; height: 100%; object-fit: cover; }
.mj-cons .mj-stick::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 5, 18, 0.82) 0%, rgba(9, 5, 18, 0.4) 40%, transparent 66%), linear-gradient(180deg, rgba(11, 7, 22, 0.8) 0%, transparent 22%); }
.mj-cons-sky { position: absolute; z-index: 2; left: max(29vw, 400px); top: -4vh; width: min(64vw, 92vh); aspect-ratio: 1; opacity: clamp(0, calc(var(--p, 0) * 10), 1);
  transform: scale(calc(1 + var(--p, 0) * .06)); transform-origin: 40% 50%; }
.mj-cons-sky::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: radial-gradient(closest-side, rgba(244, 114, 182, 0.16), rgba(139, 92, 246, 0.08) 55%, transparent); opacity: 0; transition: opacity 2s ease; }
.mj-cons.drawn .mj-cons-sky::before { opacity: 1; }
.mj-cons-sky svg { width: 100%; height: 100%; overflow: visible; }
.mj-cons-sky .gd { stroke: rgba(255, 255, 255, 0.16); stroke-width: .35; stroke-dasharray: 1.2 1.8; }
.mj-cons-sky .ln { stroke: #FFE4F1; stroke-width: .75; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 1.4px #F472B6) drop-shadow(0 0 3px rgba(248, 199, 107, 0.6));
  transition: stroke-dashoffset 1.2s var(--ease); transition-delay: calc(var(--i) * .38s); }
.mj-cons.drawn .ln { stroke-dashoffset: 0; }
.mj-cons-sky .dim { fill: rgba(255, 255, 255, 0.6); }
.mj-cons-sky .on { opacity: 0; transform: scale(.3); transform-box: fill-box; transform-origin: center; transition: opacity .5s ease, transform .9s cubic-bezier(.2, 1.6, .4, 1); }
.mj-cons-sky .st.lit .on { opacity: 1; transform: none; }
.mj-cons-sky .halo { fill: url(#mjc-halo); animation: mjTwinkle 3.2s ease-in-out infinite; }
.mj-cons-sky .flare { stroke: rgba(255, 244, 214, 0.75); stroke-width: .28; }
.mj-cons-sky .core { fill: #fff; }
.mj-cons-sky .ring { fill: none; stroke: #FDE68A; stroke-width: .3; opacity: 0; }
.mj-cons-sky .st.lit .ring { animation: mjRingOut 1.6s ease-out 1; }
@keyframes mjTwinkle { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@keyframes mjRingOut { 0% { opacity: .9; r: 2; } 100% { opacity: 0; r: 16; } }
.mj-cons-sky .tags span { position: absolute; transform: translate(16px, -50%); padding: 5px 11px; border-radius: 999px; white-space: nowrap; font: 700 11.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #FDE68A; opacity: 0; transition: opacity .5s, background .5s; }
.mj-cons-sky .tags span.lit { opacity: .7; }
.mj-cons-sky .tags span.now { opacity: 1; background: rgba(20, 10, 34, 0.7); border: 1px solid rgba(253, 230, 138, 0.4); }
.mj-cons-ui { z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav); opacity: clamp(0, calc(var(--p, 0) * 12), 1); }
.mj-cons-copy { max-width: 470px; display: flex; flex-direction: column; gap: 18px; text-shadow: 0 2px 26px rgba(9, 5, 18, 0.8); }
.mj-cons-swap { display: grid; margin-top: 6px; }
.mj-cons-swap > * { grid-area: 1 / 1; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.mj-days5 { display: flex; flex-direction: column; gap: 6px; }
.mj-days5 li { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-radius: 14px; border: 1px solid transparent; color: var(--faint); font-size: 15.5px; line-height: 1.35; transition: all .5s var(--ease); }
.mj-days5 li::before { content: ""; width: 11px; height: 11px; flex: none; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.4); transition: all .5s; }
.mj-days5 li b { min-width: 46px; font: 700 11.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.mj-days5 li.done { color: var(--ink); }
.mj-days5 li.done::before { background: #FDE68A; border-color: #FDE68A; box-shadow: 0 0 12px #F8C76B; }
.mj-days5 li.done b { color: #FDE68A; }
.mj-days5 li.now { background: rgba(255, 255, 255, 0.07); border-color: rgba(253, 230, 138, 0.35); }
.mj-cons-end { display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateY(20px); pointer-events: none; }
.mj-cons.drawn .mj-days5 { opacity: 0; transform: translateY(-14px); }
.mj-cons.drawn .mj-cons-end { opacity: 1; transform: none; transition-delay: 1.1s; }
.mj-cons-end .nm { font: italic 700 clamp(46px, 5.4vw, 76px)/1 var(--serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em;
  text-shadow: none; filter: drop-shadow(0 2px 1px rgba(16, 6, 28, 0.7)) drop-shadow(0 0 18px rgba(255, 150, 210, 0.5)); }
.mj-cons-end .sub { font: 700 12.5px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.mj-cons-end .wk { display: flex; gap: 7px; margin: 12px 0 6px; }
.mj-cons-end .wk i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.mj-cons-end .wk i.on { background: #FDE68A; box-shadow: 0 0 12px #F8C76B; }
.mj-cons-end .foot { max-width: 30em; color: var(--mut); font-size: 16px; }

/* ── 6. dawn in the clearing ── */
.mj-dawn { position: relative; background: #1A0D24; clip-path: inset(0); }
.mj-dawn::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 45vh; z-index: 1; pointer-events: none; background: linear-gradient(#0B0716, transparent); }
.mj-dbg { position: sticky; top: 0; height: 100vh; margin-bottom: -100vh; overflow: hidden; }
.mj-dbg .day { opacity: 0; }
.mj-dbg .rays { position: absolute; inset: -30%; opacity: 0; mix-blend-mode: screen; pointer-events: none; animation: mjSpin 120s linear infinite;
  background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255, 224, 180, 0.12) 0deg 3deg, transparent 3deg 10deg);
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000, transparent 80%); mask-image: radial-gradient(closest-side at 50% 50%, #000, transparent 80%); top: -60%; }
.mj-dbg .veil { background: linear-gradient(180deg, rgba(26, 13, 36, 0.5) 0%, rgba(26, 13, 36, 0.2) 40%, rgba(26, 13, 36, 0.72) 100%); }
.mj-dawn > .mj-wrap { z-index: 2; }
.mj-achieve { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 60px; align-items: center; padding-top: 30vh; padding-bottom: 12vh; }
.mj-achieve .mj-fhead { text-shadow: 0 2px 30px rgba(26, 13, 36, 0.85); }
.mj-wins { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; width: 100%; text-shadow: none; }
.mj-wins .w { display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; border-radius: 22px; }
.mj-wins .ico, .mj .ico { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 15px; color: #FDE68A; background: linear-gradient(135deg, rgba(248, 199, 107, 0.28), rgba(236, 72, 153, 0.28)); }
.mj-wins b { display: block; margin-bottom: 4px; font: 700 20px/1.25 var(--serif); }
.mj-wins span { color: var(--mut); font-size: 16px; }
.mj-cert { position: relative; display: grid; place-items: center; min-height: 660px; perspective: 1400px; }
.mj-cert .sunburst { position: absolute; width: 150%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(253, 230, 138, 0.5), rgba(244, 114, 182, 0.2) 45%, transparent 70%); animation: mjHalo 6s ease-in-out infinite; }
.mj-cert .cp { --w: min(280px, 34vh); transform: rotateY(-14deg) rotateX(4deg); animation: mjFloat 7s ease-in-out infinite; }
.mj-plans { padding-top: 10vh; padding-bottom: 6vh; }
.mj-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1100px; margin: 0 auto; }
.mj-tiers .t { position: relative; overflow: hidden; padding: 30px 28px 32px; border-radius: 30px; border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 30px 80px rgba(10, 4, 20, 0.35); }
.mj-tiers .t::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(closest-side, var(--g), transparent); opacity: .5; pointer-events: none; }
.mj-tiers .free { --g: rgba(96, 165, 250, 0.5); background: linear-gradient(165deg, rgba(30, 44, 96, 0.82), rgba(14, 18, 48, 0.88)); }
.mj-tiers .plus { --g: rgba(244, 114, 182, 0.6); background: linear-gradient(165deg, rgba(124, 58, 237, 0.7), rgba(190, 24, 93, 0.62)); border-color: rgba(249, 168, 212, 0.5); box-shadow: 0 30px 90px rgba(219, 39, 119, 0.28); }
.mj-tiers .pro { --g: rgba(253, 230, 138, 0.55); background: linear-gradient(165deg, rgba(110, 72, 18, 0.82), rgba(52, 30, 8, 0.88)); border-color: rgba(248, 199, 107, 0.55); }
.mj-tiers .nm { font: italic 700 32px/1 var(--serif); }
.mj-tiers .pro .nm { background: linear-gradient(92deg, #FDE68A, #F0A93B); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; }
.mj-tiers .sum { margin: 10px 0 18px; color: var(--mut); font-size: 16px; }
.mj-tiers li { position: relative; padding-left: 30px; margin: 10px 0; font-size: 16px; line-height: 1.4; }
.mj-tiers li::before { left: 0; top: 2px; margin-top: 0; }
.mj-tiers .pro li::before { background-color: #FDE68A; }
.mj-tiers .plus li::before { background-color: #FBCFE8; }
.mj-final { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 1000px; padding-top: 16vh; padding-bottom: 20vh; text-align: center; text-shadow: 0 2px 30px rgba(26, 13, 36, 0.8); }
.mj-final::before { content: ""; position: absolute; left: 50%; top: 48%; width: min(1100px, 130vw); height: 120%; transform: translate(-50%, -50%); z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(22, 10, 32, 0.78), rgba(22, 10, 32, 0.4) 60%, transparent); }
.mj-final .mj-lead { margin: 0 auto; }
.mj-final .mj-cta-row { justify-content: center; }

/* ── tablets and phones ── */
@media (max-width: 991px) {
  .mj-hero { min-height: 0; padding: calc(var(--nav) + 36px) 0 64px; }
  .mj-hero .mj-wrap, .mj-trap, .mj-achieve { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .mj-hero-stage { height: 520px; }
  .mj-hero-phones .ph-c { --w: 230px; } .mj-hero-phones .ph-l, .mj-hero-phones .ph-r { --w: 180px; }
  .mj-scroll-hint { display: none; }

  .mj-town { height: 400vh; }
  .mj-town-ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 0; padding-top: calc(var(--nav) + 18px); padding-bottom: 4vh; }
  .mj-clock { font-size: 40px; }
  .mj-beats { min-height: 240px; margin-top: 12px; }
  .mj-beat .mj-h2 { font-size: 30px; }
  .mj-beat .mj-lead { font-size: 16px; }
  .mj-chat { align-self: start; justify-self: start; max-width: 300px; margin: 6px 0 0; border-radius: 22px; }
  .mj-chat-head { padding: 10px 14px; }
  .mj-chat-head .av { width: 32px; height: 32px; font-size: 14px; }
  .mj-chat .mj-day { display: none; }
  .mj-chat-body { min-height: 0; padding: 10px 12px 14px; }
  .mj-me, .mj-them { font-size: 14px; }
  .mj-lanterns span { --rise: -9vh; font-size: 13px; padding: 7px 12px; bottom: 5%; }
  .mj-lanterns .l1 { left: 4%; } .mj-lanterns .l3 { left: 26%; bottom: 13%; }
  .mj-lanterns .l2, .mj-lanterns .l4 { display: none; }

  .mj-film { height: 440vh; }
  .mj-bars { display: none; }
  /* phones: the tall painting is shown whole across the width, from the top; the captions sit on the dark below */
  .mj-frames picture { height: auto; }
  .mj-frames img { height: auto; aspect-ratio: 1536 / 2752; transform: scale(calc(1 + var(--k, 0) * .05)); transform-origin: 50% 30%; }
  .mj-frames .fr::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100vw * 1.79 - 34vh); height: 34vh; background: linear-gradient(transparent, #07030C 92%); }
  .mj-film-ui { padding-top: calc(var(--nav) + 18px); padding-bottom: 28px; }
  .mj-caps { min-height: 280px; }
  .mj-rail { margin-top: 18px; gap: 8px; }
  .mj-rail li { font-size: 9.5px; letter-spacing: .08em; }

  .mj-enter { height: 210vh; }
  .mj-fsec { padding-top: 12vh; padding-bottom: 12vh; }
  .mj-fhead.left { align-items: center; text-align: center; margin: 0 auto; }
  .mj-fhead.left .mj-lead { margin: 0 auto; }
  .mj-trap .mj-loop { order: 2; max-width: 360px; }

  .mj-gal { height: 360vh; }
  .mj-gal-in { gap: 14px; }
  .mj-gal-head .mj-h2 { font-size: 28px; }
  .mj-gp .gp { --w: min(196px, 26vh); }
  .mj-gcaps { min-height: 104px; }
  .mj-gcaps b { font-size: 20px; }
  .mj-gcaps span { font-size: 14.5px; }
  .mj .fly.a { --rx: 120px; --ry: 60px; } .mj .fly.b { --rx: -110px; --ry: 90px; } .mj .fly.c { --rx: 90px; --ry: -120px; }

  .mj-cons { height: 500vh; }
  .mj-cons .mj-stick::before { background: linear-gradient(0deg, rgba(9, 5, 18, 0.9) 0%, rgba(9, 5, 18, 0.55) 45%, transparent 70%), linear-gradient(180deg, rgba(11, 7, 22, 0.75) 0%, transparent 20%); }
  .mj-cons-sky { left: 50%; top: calc(var(--nav) - 4vh); width: min(110vw, 56vh); translate: -50% 0; transform-origin: 50% 40%; }
  .mj-cons-ui { justify-content: flex-end; padding-bottom: 4vh; }
  .mj-cons-copy { gap: 10px; max-width: none; }
  .mj-cons-copy .mj-lead { display: none; }
  .mj-cons-copy .mj-h2 { font-size: 30px; }
  .mj-days5 { gap: 2px; }
  .mj-days5 li { padding: 6px 10px; font-size: 14px; }
  .mj-cons-end .foot { font-size: 14.5px; }

  .mj-achieve { padding-top: 24vh; }
  .mj-cert { min-height: 540px; order: 2; }
  .mj-tiers { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
@media (max-width: 600px) {
  .mj-map4 { grid-template-columns: minmax(0, 1fr); padding: 0; }
  .mj-map4 .ax { display: none; }
  .mj-map4 .q { padding: 22px 22px 24px; }
  .mj-checks li { font-size: 15px; }
}
@media (max-width: 420px) {
  .mj-hero-phones .ph-c { --w: 206px; } .mj-hero-phones .ph-l, .mj-hero-phones .ph-r { --w: 158px; }
  .mj-hero-stage { height: 470px; }
  .mj-beat .mj-h2 { font-size: 27px; }
  .mj-beats { min-height: 220px; }
}
@media (max-height: 760px) and (max-width: 991px) {
  .mj-chat .mj-day { display: none; }
  .mj-beats { min-height: 200px; }
  .mj-beat .mj-lead { font-size: 15px; }
}

/* ── reduced motion: the scenes still follow the scroll, but nothing zooms, drifts or loops ── */
@media (prefers-reduced-motion: reduce) {
  .mj *, .mj *::before, .mj *::after { animation: none !important; }
  .mj [data-reveal] { transition: none; }
  .mj-cam, .mj-frames img, .mj-cons-bg, .mj-chat, .mj-hero-phones .mj-phone { transform: none !important; }
  .mj-hero-phones .ph-c { transform: translate(-50%, -50%) !important; }
  .mj-hero-phones .ph-l { transform: translate(calc(-50% - var(--w) * 0.72), -50%) !important; }
  .mj-hero-phones .ph-r { transform: translate(calc(-50% + var(--w) * 0.72), -50%) !important; }
  .mj-town[data-beat="2"] .mj-lanterns span, .mj-town[data-beat="3"] .mj-lanterns span { opacity: 1; }
  .mj-lanterns .l1 { bottom: 40%; } .mj-lanterns .l3 { bottom: 46%; }
  .mj .fly, .mj-fly, .mj-gp .rip { display: none; }
}
