@font-face { font-family: "Fraunces"; font-weight: 400 700; font-display: swap; src: url("fonts/fraunces-0.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 400 700; font-display: swap; src: url("fonts/grotesk-0.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-weight: 400 700; font-display: swap; src: url("fonts/caveat-0.woff2") format("woff2"); }

:root {
  --ink: #1d1d1f; --mute: #5f5d57; --paper: #faf9f6; --line: rgba(0,0,0,.09);
  --blue: #3f6bff; --violet: #8b5cf6; --coral: #ff7a8a; --amber: #ffb26b;
  --sans: system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --display: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; }
a { color: inherit; }

/* ---------- top bar (a floating pill, not a full-width bar) ---------- */
.top { position: fixed; z-index: 20; left: 50%; top: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 22px; padding: 7px 8px 7px 14px; border-radius: 999px; background: rgba(255,255,255,.78); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 8px 28px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06); white-space: nowrap; }
.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; font: 700 17px var(--sans); }
.brand img { border-radius: 8px; }
.top nav { display: flex; gap: 20px; font-size: 14px; font-weight: 500; }
.top nav a { text-decoration: none; color: var(--mute); transition: color .15s; }
.top nav a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; background: var(--ink); color: #fff; font: 600 16px var(--sans); padding: 14px 24px; border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 10px 22px -8px rgba(0,0,0,.45); transition: transform .18s cubic-bezier(.3,1.4,.5,1), box-shadow .18s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0,0,0,.2), 0 16px 28px -10px rgba(0,0,0,.5); }
.btn.small { font-size: 14px; padding: 9px 16px; border-radius: 999px; box-shadow: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 132px 24px 90px; display: grid; justify-items: center; gap: 54px; overflow: hidden;
  background: linear-gradient(135deg, #dfe8ff 0%, #ece2ff 46%, #ffe4de 100%); }
.hero::before { content: ""; position: absolute; inset: -30%; z-index: 0; pointer-events: none;
  background: radial-gradient(38% 34% at 22% 30%, rgba(63,107,255,.34), transparent 70%), radial-gradient(34% 32% at 78% 26%, rgba(139,92,246,.30), transparent 70%), radial-gradient(40% 36% at 62% 82%, rgba(255,122,138,.30), transparent 70%), radial-gradient(30% 28% at 18% 84%, rgba(255,178,107,.28), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1); } to { transform: translate3d(4%, 3%, 0) rotate(8deg) scale(1.08); } }
.hero-copy { position: relative; z-index: 1; text-align: center; max-width: 720px; display: grid; justify-items: center; }
.hero-icon { border-radius: 20px; box-shadow: 0 2px 4px rgba(0,0,0,.14), 0 22px 40px -14px rgba(40,30,90,.5); animation: settle .9s cubic-bezier(.2,1.3,.4,1) both; }
@keyframes settle { from { opacity: 0; transform: translateY(26px) scale(.8) rotate(-8deg); } }
.hero h1 { font: 700 clamp(64px, 11vw, 132px)/.95 var(--display); letter-spacing: -.03em; margin: 22px 0 14px; animation: rise .8s .12s cubic-bezier(.2,.9,.3,1) both; }
.hero p { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.5; color: #3a3844; margin: 0; max-width: 620px; animation: rise .8s .22s cubic-bezier(.2,.9,.3,1) both; }
.cta { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; justify-content: center; animation: rise .8s .32s cubic-bezier(.2,.9,.3,1) both; }
.works { font-size: 14px; color: var(--mute); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }

/* ---------- stages: every scene is drawn at 1000 x 620 and scales with its box ---------- */
.stage { position: relative; width: 100%; aspect-ratio: 1000 / 620; container-type: inline-size; border-radius: 26px; overflow: hidden; isolation: isolate; }
.stage > *, .stage .layer > * { position: absolute; }
.layer { inset: 0; transform: translate3d(calc(var(--mx, 0) * var(--d, 0) * 1px), calc(var(--my, 0) * var(--d, 0) * 1px), 0); transition: transform .5s cubic-bezier(.2,.8,.3,1); will-change: transform; }

.hero-stage { z-index: 1; max-width: 1040px; background-color: #fbfaf7; background-image: radial-gradient(rgba(0,0,0,.13) 1px, transparent 1px); background-size: 2.4cqw 2.4cqw;
  box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 50px 90px -34px rgba(35,25,90,.55), 0 0 0 1px rgba(0,0,0,.06);
  transform: perspective(1600px) rotateX(calc(var(--my, 0) * -1.6deg + 3deg)) rotateY(calc(var(--mx, 0) * 2deg)); transition: transform .5s cubic-bezier(.2,.8,.3,1); animation: stageIn 1s .35s cubic-bezier(.2,.9,.3,1) both; }
@keyframes stageIn { from { opacity: 0; transform: perspective(1600px) rotateX(16deg) translateY(60px) scale(.94); } }

.clip { border-radius: 1.4cqw; background: #fff; overflow: hidden; box-shadow: 0 .2cqw .5cqw rgba(0,0,0,.1), 0 1.6cqw 3cqw -1.2cqw rgba(0,0,0,.34), 0 0 0 1px rgba(0,0,0,.05); }
.c-hero { left: 7%; top: 9%; width: 41%; height: 31%; }
.c-hero i { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(20,30,60,0) 30%, rgba(20,24,40,.6)), linear-gradient(120deg, #f6b26b 0%, #e8785a 34%, #b0567c 62%, #4a5a9a 100%); }
.c-hero i::after { content: ""; position: absolute; right: 11%; top: 16%; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: #ffe2a8; }
.c-hero b { position: absolute; left: 6%; bottom: 20%; color: #fff; font: 700 2.9cqw var(--display); }
.c-hero u { position: absolute; left: 6%; bottom: 11%; width: 46%; height: .5cqw; border-radius: 9px; background: rgba(255,255,255,.7); }
.c-grid { left: 53%; top: 8%; width: 26%; height: 30%; display: grid; grid-template-columns: 1fr 1fr; gap: .7cqw; padding: .7cqw; }
.c-grid i { position: static; border-radius: .8cqw; }
.c-grid i:nth-child(1) { background: linear-gradient(135deg, #7fb8d8, #3f6f9f); } .c-grid i:nth-child(2) { background: linear-gradient(135deg, #f3c16b, #d9773f); }
.c-grid i:nth-child(3) { background: linear-gradient(135deg, #9bc59a, #4d8a6a); } .c-grid i:nth-child(4) { background: linear-gradient(135deg, #d7a0c4, #8b5aa0); }
.note { background: #ffe27a; color: #1d1d1f; font: 700 2.3cqw/1.15 "Caveat", cursive; padding: 1.3cqw; border-radius: .4cqw .4cqw 1.4cqw .4cqw; box-shadow: 0 .2cqw .4cqw rgba(0,0,0,.12), 0 1.4cqw 2.4cqw -1cqw rgba(0,0,0,.34); }
.n1 { left: 83%; top: 11%; width: 12.5%; height: 21%; }
.h-title { left: 7%; top: 49%; font: 700 4.6cqw var(--display); letter-spacing: -.02em; }
.chip { height: 9.6%; display: grid; place-items: center; padding: 0 2.2cqw; border-radius: 1.4cqw; font: 700 2.1cqw "Space Grotesk", var(--sans); color: #1d1d1f; white-space: nowrap; box-shadow: 0 .1cqw .2cqw rgba(0,0,0,.2), 0 1cqw 2cqw -.8cqw rgba(0,0,0,.36), inset 0 .1cqw 0 rgba(255,255,255,.3); }
.k1 { left: 7%; top: 71%; width: 24%; background: linear-gradient(180deg, #ff8a4c, #f0531c); color: #fff; }
.k2 { left: 37.600%; top: 71%; width: 18%; background: linear-gradient(180deg, #ffd94a, #f2b90f); }
.k3 { left: 61.600%; top: 71%; width: 25%; background: linear-gradient(180deg, #5ad98a, #22b25a); }
.wires { inset: 0; width: 100%; height: 100%; overflow: visible; }
.wires path { fill: none; stroke: #1d1d1f; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.wires .squiggle { stroke: #3f6bff; stroke-width: 6; }
.glass { border-radius: 1.6cqw; background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.1) 45%), rgba(139,92,246,.16); -webkit-backdrop-filter: blur(.9cqw) saturate(1.5); backdrop-filter: blur(.9cqw) saturate(1.5);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5), inset .15cqw .15cqw .05cqw -.05cqw rgba(255,255,255,.9), 0 1.6cqw 3.4cqw -1cqw rgba(0,0,0,.3); }
.g1 { left: 45%; top: 30%; width: 19%; height: 25%; }
.toolbar { left: 50%; bottom: 4%; transform: translateX(-50%); display: flex; gap: .7cqw; padding: .7cqw; border-radius: 1.6cqw; background: #fff; box-shadow: 0 .8cqw 2.4cqw rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06); }
.toolbar b { position: static; width: 3.2cqw; height: 3.2cqw; border-radius: .9cqw; background: #eeede9; }
.toolbar b.on { background: linear-gradient(160deg, #6f8dff, #3f6bff); }
.pointer { width: 2.6cqw; height: 2.6cqw; z-index: 5; pointer-events: none; }
.pointer svg, .who svg { width: 100%; height: 100%; fill: #1d1d1f; stroke: #fff; stroke-width: 1.2; filter: drop-shadow(0 .2cqw .3cqw rgba(0,0,0,.3)); }

/* hero sequence: things arrive one after another, then the note is nudged, then it starts again */
.hero-stage .clip, .hero-stage .note, .hero-stage .h-title, .hero-stage .chip, .hero-stage .glass, .hero-stage .toolbar, .hero-stage .pointer { opacity: 0; }
.hero-stage.play .c-hero { animation: flyL .8s .2s cubic-bezier(.2,1.1,.3,1) both; }
.hero-stage.play .c-grid { animation: flyR .8s .55s cubic-bezier(.2,1.1,.3,1) both; }
.hero-stage.play .n1 { animation: drop .7s 1s cubic-bezier(.2,1.5,.4,1) both, nudge 2.2s 4.4s cubic-bezier(.4,0,.2,1) both; }
.hero-stage.play .h-title { animation: rise2 .6s 1.4s cubic-bezier(.2,.9,.3,1) both; }
.hero-stage.play .k1 { animation: pop .5s 1.8s cubic-bezier(.2,1.6,.4,1) both; }
.hero-stage.play .k2 { animation: pop .5s 2.25s cubic-bezier(.2,1.6,.4,1) both; }
.hero-stage.play .k3 { animation: pop .5s 2.7s cubic-bezier(.2,1.6,.4,1) both; }
.hero-stage.play .glass { animation: pop .6s 3.5s cubic-bezier(.2,1.4,.4,1) both; }
.hero-stage.play .toolbar { animation: toolbarIn .6s .1s cubic-bezier(.2,.9,.3,1) both; }
.wires path { stroke-dasharray: 400; stroke-dashoffset: 400; }
.hero-stage.play .w1 { animation: draw .35s 2.05s ease-out forwards; } .hero-stage.play .h1 { animation: draw .2s 2.3s ease-out forwards; }
.hero-stage.play .w2 { animation: draw .35s 2.5s ease-out forwards; } .hero-stage.play .h2 { animation: draw .2s 2.75s ease-out forwards; }
.hero-stage.play .squiggle { animation: draw .9s 3s ease-in-out forwards; }
.hero-stage.play .p-hero { animation: heroPointer 2.6s 4s cubic-bezier(.4,0,.2,1) both; }
@keyframes flyL { from { opacity: 0; transform: translate(-14cqw, 3cqw) rotate(-9deg) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes flyR { from { opacity: 0; transform: translate(14cqw, -3cqw) rotate(8deg) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-7cqw) rotate(12deg) scale(1.15); } to { opacity: 1; transform: rotate(3deg); } }
@keyframes nudge { 0% { transform: rotate(3deg); } 25% { transform: rotate(3deg) scale(1.05); } 80%, 100% { transform: translate(-2.4cqw, 10cqw) rotate(-2deg); } }
@keyframes rise2 { from { opacity: 0; transform: translateY(2.5cqw); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes toolbarIn { from { opacity: 0; transform: translate(-50%, 4cqw); } to { opacity: 1; transform: translateX(-50%); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes heroPointer { 0% { opacity: 0; left: 70%; top: 60%; } 14% { opacity: 1; left: 88%; top: 21%; } 26% { left: 88%; top: 21%; } 82% { opacity: 1; left: 85.600%; top: 37%; } 100% { opacity: 0; left: 85.600%; top: 37%; } }

/* ---------- content bands ---------- */
.band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(70px, 9vw, 130px) max(24px, calc((100vw - 1180px) / 2)); position: relative; }
.band > .stage:first-child + .copy, .band > .copy { max-width: 440px; }
.band:nth-of-type(odd) { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); }
.band h2 { font: 700 clamp(40px, 5vw, 62px)/1 var(--display); letter-spacing: -.025em; margin: 0 0 16px; }
.band p { margin: 0 0 20px; font-size: 19px; line-height: 1.55; color: var(--mute); }
.facts { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.facts li { padding-left: 20px; position: relative; color: var(--mute); }
.facts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--violet); }
.facts b { color: var(--ink); font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.06); }
.copy, .band .stage { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.2,.8,.3,1), transform .8s cubic-bezier(.2,.8,.3,1); }
.band .stage { transition-delay: .12s; }
.band.seen .copy, .band.seen .stage { opacity: 1; transform: none; }

.paper { background: var(--paper); }
.paper.tint { background: linear-gradient(160deg, #f1f6ff, #f7f0ff 60%, #fff3ee); }
.ink { background: #17171b; color: #f2f1ee; }
.ink.deep { background: #101014; }
.ink p, .ink .facts li { color: #a9a7b2; } .ink .facts b { color: #fff; }
.ink .pills span { background: rgba(255,255,255,.1); }
.band .stage { box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 40px 80px -36px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.06);
  transform-style: preserve-3d; }
.band.seen .stage { transform: perspective(1400px) rotateX(calc(var(--my, 0) * -2deg)) rotateY(calc(var(--mx, 0) * 2.600deg)); transition: transform .5s cubic-bezier(.2,.8,.3,1), opacity .8s; }

/* ---------- capture scene ---------- */
.cap-stage { background: linear-gradient(135deg, #e9eefb, #f3ecfb); }
.webpage { left: 4%; top: 8%; width: 50%; height: 84%; border-radius: 1.6cqw; background: #fbf8f3; overflow: hidden; box-shadow: 0 1.6cqw 3.6cqw -1.4cqw rgba(0,0,0,.34), 0 0 0 1px rgba(0,0,0,.06); }
.webpage > * { position: absolute; }
.wp-bar { left: 0; right: 0; top: 0; height: 9%; display: flex; align-items: center; gap: .7cqw; padding: 0 1.6cqw; border-bottom: 1px solid #ece5d9; background: #fff; }
.wp-bar i { width: 1cqw; height: 1cqw; border-radius: 50%; background: #e2dccf; } .wp-bar span { margin-left: 1.4cqw; height: 1.6cqw; width: 46%; border-radius: 9px; background: #f1ece2; }
.wp-hero { left: 6%; right: 6%; top: 15%; height: 37%; border-radius: 1.4cqw; background: linear-gradient(200deg, rgba(20,30,60,0) 30%, rgba(20,24,40,.6)), linear-gradient(120deg, #f6b26b 0%, #e8785a 34%, #b0567c 62%, #4a5a9a 100%); }
.wp-hero b, .flyer b, .landed b { position: absolute; left: 7%; bottom: 14%; color: #fff; font: 700 2.2cqw var(--display); white-space: nowrap; }
.wp-lines { left: 6%; right: 6%; top: 58%; display: grid; gap: 1.1cqw; } .wp-lines i { height: 1.1cqw; border-radius: 9px; background: #e6dfd2; } .wp-lines i.short { width: 62%; }
.wp-cards { left: 6%; right: 6%; top: 74%; height: 18%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; }
.wp-cards i { border-radius: 1cqw; } .wp-cards i:nth-child(1) { background: linear-gradient(135deg, #7fb8d8, #3f6f9f); } .wp-cards i:nth-child(2) { background: linear-gradient(135deg, #f3c16b, #d9773f); } .wp-cards i:nth-child(3) { background: linear-gradient(135deg, #9bc59a, #4d8a6a); }
.veil { display: none; }
.marquee { left: 6%; top: 15%; width: 0; height: 0; border: .25cqw solid #3f6bff; border-radius: .6cqw; opacity: 0; box-shadow: 0 0 0 100cqw rgba(15,15,25,.36); }
.board { right: 4%; top: 8%; width: 38%; height: 84%; border-radius: 1.6cqw; background-color: #fbfaf7; background-image: radial-gradient(rgba(0,0,0,.14) 1px, transparent 1px); background-size: 2.4cqw 2.4cqw; box-shadow: 0 1.6cqw 3.6cqw -1.4cqw rgba(0,0,0,.34), 0 0 0 1px rgba(0,0,0,.06); }
.board > * { position: absolute; }
.landed { left: 9%; top: 12%; width: 82%; height: 38%; border-radius: 1.2cqw; opacity: 0; background: linear-gradient(200deg, rgba(20,30,60,0) 30%, rgba(20,24,40,.6)), linear-gradient(120deg, #f6b26b 0%, #e8785a 34%, #b0567c 62%, #4a5a9a 100%); box-shadow: 0 1cqw 2.2cqw -.8cqw rgba(0,0,0,.4); }
.landed em { position: absolute; left: 5%; top: 9%; font: 600 1.25cqw var(--sans); font-style: normal; color: #fff; background: rgba(29,29,31,.82); padding: .3cqw .9cqw .3cqw 2cqw; border-radius: 99px; }
.landed em::before { content: ""; position: absolute; left: .8cqw; top: 50%; width: .7cqw; height: .7cqw; margin-top: -.35cqw; border-radius: 50%; background: #30d17c; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }
.ghost-note { left: 14%; top: 60%; width: 34%; height: 24%; border-radius: .4cqw .4cqw 1.2cqw .4cqw; background: #ffe27a; box-shadow: 0 1cqw 2cqw -.8cqw rgba(0,0,0,.3); transform: rotate(-3deg); }
.flyer { left: 7%; top: 20.600%; width: 44%; height: 31.100%; border-radius: 1.4cqw; opacity: 0; z-index: 4; background: linear-gradient(200deg, rgba(20,30,60,0) 30%, rgba(20,24,40,.6)), linear-gradient(120deg, #f6b26b 0%, #e8785a 34%, #b0567c 62%, #4a5a9a 100%); box-shadow: 0 2.4cqw 4.4cqw -1.4cqw rgba(0,0,0,.5); }
.cap-stage.play .veil { animation: veil 6.5s both; }
.cap-stage.play .marquee { animation: marquee 6.5s both; }
.cap-stage.play .p-cap { animation: capPointer 6.5s both; }
.cap-stage.play .flyer { animation: fly 6.5s both; }
.cap-stage.play .landed { animation: landed 6.5s both; }
@keyframes veil { 0%, 8% { opacity: 0; } 14%, 42% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes marquee { 0%, 8% { opacity: 0; width: 0; height: 0; } 14% { opacity: 1; width: 0; height: 0; } 38%, 44% { opacity: 1; width: 88%; height: 37%; } 50%, 100% { opacity: 0; width: 88%; height: 37%; } }
@keyframes capPointer { 0% { opacity: 0; left: 70%; top: 80%; } 10%, 15% { opacity: 1; left: 5%; top: 14%; } 38%, 46% { opacity: 1; left: 93%; top: 51%; } 54%, 100% { opacity: 0; left: 93%; top: 51%; } }
@keyframes fly { 0%, 44% { opacity: 0; transform: none; } 46% { opacity: 1; transform: scale(1.03); } 70%, 74% { opacity: 1; transform: translate(51.800cqw, -3.200cqw) scale(.709, .757); } 76%, 100% { opacity: 0; transform: translate(51.800cqw, -3.200cqw) scale(.709, .757); } }
@keyframes landed { 0%, 72% { opacity: 0; } 76%, 96% { opacity: 1; } 100% { opacity: 0; } }

/* ---------- arrange scene ---------- */
.arr-stage { background: linear-gradient(135deg, #2a1d5c 0%, #5b2a86 52%, #8a2f5e 100%); }
.arr-stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px); background-size: 2.4cqw 2.4cqw; }
.orb { left: 27%; top: 44%; width: 22%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(160deg, #ffb26b, #ff7a59); }
.shape { display: grid; place-items: center; border-radius: 1.8cqw; color: #fff; transition: background .5s, box-shadow .5s, border-color .5s, backdrop-filter .5s; container-type: size; }
.shape span { font: 700 26cqh "Fraunces", serif; white-space: nowrap; }
.s-a { left: 9%; top: 16%; width: 30%; height: 46%; }
.s-b { left: 62%; top: 30%; width: 28%; height: 22%; background: linear-gradient(180deg, #ff86a1, #f0527a); box-shadow: 0 .1cqw .2cqw rgba(0,0,0,.24), 0 1.2cqw 2.4cqw -1cqw rgba(0,0,0,.5), inset 0 .1cqw 0 rgba(255,255,255,.3); }
.shape.flat { background: transparent; box-shadow: inset 0 0 0 .4cqw #b79bff; color: #b79bff; }
.shape.d3 { background: linear-gradient(180deg, #a98bff, #8b5cf6 60%, #7a4be6); box-shadow: 0 .1cqw .2cqw rgba(0,0,0,.24), 0 1.4cqw 2.8cqw -1cqw rgba(0,0,0,.55), inset 0 .1cqw 0 rgba(255,255,255,.3); }
.shape.glass { background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,0) 45%), rgba(183,155,255,.2); -webkit-backdrop-filter: blur(1.2cqw) saturate(1.6); backdrop-filter: blur(1.2cqw) saturate(1.6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), inset .15cqw .15cqw .05cqw -.05cqw rgba(255,255,255,.9), inset -.15cqw -.15cqw .05cqw -.05cqw rgba(255,255,255,.5), 0 1.6cqw 3.2cqw -1cqw rgba(0,0,0,.5); }
.link { inset: 0; width: 100%; height: 100%; overflow: visible; }
.link path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.guide { left: 0; right: 0; height: 1px; background: #ff5c8a; opacity: 0; transition: opacity .2s; }
.styles { left: 9%; bottom: 8%; display: flex; gap: .5cqw; padding: .5cqw; border-radius: 1.4cqw; background: rgba(20,18,30,.72); -webkit-backdrop-filter: blur(1cqw); backdrop-filter: blur(1cqw); box-shadow: 0 .8cqw 2cqw rgba(0,0,0,.3); }
.styles b { position: static; font: 600 1.5cqw var(--sans); color: #d9d4ea; padding: .7cqw 1.4cqw; border-radius: 1cqw; transition: background .3s, color .3s; }
.styles b.on { background: #fff; color: #1d1d1f; }

/* ---------- looks: this band follows the wheel ---------- */
.looks { --h: 215; --h2: 285; --h3: 20; background: linear-gradient(135deg, hsl(var(--h) 90% 93%), hsl(var(--h2) 88% 94%) 52%, hsl(var(--h3) 92% 93%)); transition: none; }
.looks .facts li::before { background: hsl(var(--h) 80% 56%); }
.look-stage { background: transparent; box-shadow: none !important; overflow: visible; display: grid; place-items: center; }
.wheel { position: relative !important; width: 46%; aspect-ratio: 1; border-radius: 50%; cursor: grab; touch-action: none;
  background: radial-gradient(circle closest-side, #fff 0%, rgba(255,255,255,0) 88%), conic-gradient(hsl(0 90% 60%), hsl(45 95% 55%), hsl(90 70% 52%), hsl(150 70% 48%), hsl(195 85% 52%), hsl(240 90% 66%), hsl(285 85% 62%), hsl(330 90% 60%), hsl(360 90% 60%));
  box-shadow: 0 .3cqw .6cqw rgba(0,0,0,.12), 0 3.4cqw 6cqw -2.4cqw rgba(0,0,0,.4), inset 0 0 0 1px rgba(0,0,0,.06); }
.wheel.grab { cursor: grabbing; }
.knob { position: absolute; left: 50%; top: 50%; width: 9%; aspect-ratio: 1; margin: -4.500% 0 0 -4.500%; border-radius: 50%; border: .45cqw solid #fff; box-shadow: 0 .4cqw 1cqw rgba(0,0,0,.34); pointer-events: none; }
.knob.main { width: 14%; margin: -7% 0 0 -7%; z-index: 1; transition: width .15s, margin .15s; }
.wheel.grab .knob.main { width: 17%; margin: -8.500% 0 0 -8.500%; }
.swatches { position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); display: flex; gap: 1.2cqw; padding: 1cqw 1.4cqw; border-radius: 99px; background: rgba(255,255,255,.8); box-shadow: 0 1cqw 2.4cqw -.8cqw rgba(0,0,0,.26), 0 0 0 1px rgba(0,0,0,.05); }
.swatches i { position: static; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }


/* ---------- sharing scene ---------- */
.share-stage { background-color: #fbfaf7; background-image: radial-gradient(rgba(0,0,0,.13) 1px, transparent 1px); background-size: 2.4cqw 2.4cqw; }
.c-mini { left: 8%; top: 12%; width: 34%; height: 30%; } .c-mini i { position: absolute; inset: 0; background: linear-gradient(135deg, #3f6bff, #8b5cf6 60%, #ff7a8a); } .c-mini b { position: absolute; left: 7%; bottom: 12%; color: #fff; font: 700 2.6cqw var(--display); }
.k-s1 { left: 8%; top: 56%; width: 18%; background: linear-gradient(180deg, #a98bff, #8b5cf6); color: #fff; }
.k-s2 { left: 54%; top: 22%; width: 21%; background: linear-gradient(180deg, #ff86a1, #f0527a); color: #fff; }
.n-share { left: 60%; top: 50%; width: 22%; height: 30%; opacity: 0; transform: rotate(2deg) scale(.6); }
.n-share span { font: inherit; }
.n-share span::after { content: ""; display: inline-block; width: .15cqw; height: 2.2cqw; margin-left: .2cqw; background: #1d1d1f; vertical-align: -.3cqw; animation: blink 1s infinite; }
.count { right: 4%; top: 6%; display: flex; align-items: center; padding: .6cqw 1.4cqw .6cqw .6cqw; border-radius: 99px; background: #fff; font: 600 1.5cqw var(--sans); box-shadow: 0 .8cqw 2cqw rgba(0,0,0,.14), 0 0 0 1px rgba(0,0,0,.06); }
.count i { position: static; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; border: .3cqw solid #fff; background: #3f6bff; } .count i + i { margin-left: -.8cqw; background: #f5a524; } .count span { margin-left: .8cqw; }
.who { width: 2.6cqw; height: 2.6cqw; z-index: 5; }
.who em { position: absolute; left: 80%; top: 80%; font: 600 1.3cqw var(--sans); font-style: normal; color: #fff; padding: .25cqw .9cqw; border-radius: 99px; white-space: nowrap; }
.who.me svg { fill: #3f6bff; } .who.me em { background: #3f6bff; }
.who.maya svg { fill: #f5a524; } .who.maya em { background: #f5a524; }
.who.me { left: 20%; top: 70%; } .who.maya { left: 86%; top: 86%; }
.share-stage.play .who.maya { animation: maya 8s cubic-bezier(.45,0,.2,1) both; }
.share-stage.play .who.me { animation: me 8s cubic-bezier(.45,0,.2,1) both; }
.share-stage.play .k-s1 { animation: meDrag 8s cubic-bezier(.45,0,.2,1) both; }
.share-stage.play .n-share { animation: noteIn 8s both; }
@keyframes maya { 0% { left: 86%; top: 86%; } 16%, 22% { left: 68%; top: 60%; } 60% { left: 76%; top: 72%; } 100% { left: 86%; top: 86%; } }
@keyframes me { 0%, 30% { left: 20%; top: 70%; } 40%, 46% { left: 16%; top: 60%; } 70%, 100% { left: 34%; top: 68%; } }
@keyframes meDrag { 0%, 46% { left: 8%; top: 56%; } 70%, 100% { left: 26%; top: 64%; } }
@keyframes noteIn { 0%, 20% { opacity: 0; transform: rotate(2deg) scale(.6); } 26%, 94% { opacity: 1; transform: rotate(2deg) scale(1); } 100% { opacity: 0; transform: rotate(2deg) scale(1); } }

/* ---------- slideshow scene ---------- */
.show-stage { background: #0b0b0e; box-shadow: 0 40px 80px -36px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.08) !important; }
.screen { inset: 0; overflow: hidden; background: linear-gradient(135deg, #1f2a5c, #4a2a78 55%, #7a2c55); }
.world { left: 0; top: 0; width: 100%; height: 100%; transform-origin: 0 0; transition: transform 1.1s cubic-bezier(.6,0,.2,1); }
.world > *, .frame > * { position: absolute; }
.frame { border: .2cqw dashed rgba(255,255,255,.34); border-radius: 1cqw; transition: border-color .5s; }
.frame span { left: 0; top: -3.2cqw; font: 700 1.6cqw var(--sans); color: rgba(255,255,255,.7); transition: opacity .4s; }
.show-stage.zoomed .frame { border-color: transparent; } .show-stage.zoomed .frame span { opacity: 0; }
.f1 { left: 6%; top: 14%; width: 26%; height: 32%; } .f2 { left: 38%; top: 40%; width: 26%; height: 32%; } .f3 { left: 70%; top: 16%; width: 24%; height: 30%; }
.f-title { left: 10%; top: 14%; color: #fff; font: 700 4.4cqw var(--display); }
.frame i { left: 10%; top: 58%; width: 62%; height: .9cqw; border-radius: 9px; background: rgba(255,255,255,.6); } .frame i.short { top: 72%; width: 40%; }
.f-card { top: 16%; width: 36%; height: 68%; border-radius: 1.2cqw; box-shadow: 0 1cqw 2cqw -.8cqw rgba(0,0,0,.5); } .f-card.a { left: 10%; background: linear-gradient(180deg, #a98bff, #7a4be6); } .f-card.b { left: 54%; background: linear-gradient(180deg, #ff86a1, #f0527a); }
.f-dot { right: 14%; bottom: 14%; width: 7cqw; height: 7cqw; border-radius: 50%; background: linear-gradient(160deg, #ffb26b, #ff7a59); }
.controls { left: 50%; bottom: 5%; transform: translateX(-50%); display: flex; align-items: center; gap: 1.4cqw; padding: .7cqw 1.6cqw; border-radius: 1.4cqw; background: rgba(20,20,24,.8); color: #fff; font: 600 1.5cqw var(--sans); box-shadow: 0 1cqw 2.4cqw rgba(0,0,0,.4); opacity: 0; transition: opacity .4s; }
.controls b, .controls em { position: static; font-style: normal; } .controls b { font-size: 2.2cqw; line-height: 1; opacity: .8; }
.show-stage.zoomed .controls { opacity: 1; }

/* ---------- closing ---------- */
.closing { padding: clamp(80px, 10vw, 140px) 24px; display: grid; justify-items: center; text-align: center; gap: 6px; background: linear-gradient(135deg, #dfe8ff 0%, #ece2ff 46%, #ffe4de 100%); }
.closing img { border-radius: 18px; box-shadow: 0 2px 4px rgba(0,0,0,.14), 0 20px 36px -14px rgba(40,30,90,.5); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(3deg); } }
.closing h2 { font: 700 clamp(40px, 6vw, 72px)/1 var(--display); letter-spacing: -.025em; margin: 22px 0 6px; }
.closing p { margin: 0 0 26px; color: #3a3844; font-size: 19px; max-width: 520px; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px max(24px, calc((100vw - 1180px) / 2)); font-size: 14px; color: var(--mute); background: var(--paper); }
footer nav { display: flex; gap: 22px; } footer a { text-decoration: none; } footer a:hover { color: var(--ink); }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .top nav { display: none; }
  .band, .band:nth-of-type(odd) { grid-template-columns: minmax(0, 1fr); }
  .band .copy { order: 1; max-width: none; } .band .stage { order: 2; }
  .hero { padding-top: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01s !important; animation-iteration-count: 1 !important; transition-duration: .01s !important; }
  .hero-stage .clip, .hero-stage .note, .hero-stage .h-title, .hero-stage .chip, .hero-stage .glass, .hero-stage .toolbar { opacity: 1; }
  .wires path { stroke-dashoffset: 0; }
}
