@font-face { font-family: "Bricolage"; src: url("/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument"; src: url("/fonts/instrument-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/fonts/geist-mono.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --bg: #050508; --ink: #f5f2ee; --dim: #9893a6; --faint: #5d596b; --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --o: #ffa24a; --p: #ff4f8b; --v: #7a5cff; --c: #4fe0d0;
  --grad: linear-gradient(100deg, #ffb057, #ff4f8b 45%, #8b6bff 80%, #4fe0d0);
  --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.2,.9,.3,1.3);
  --mono: "Geist Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 400 17px/1.55 "Bricolage", system-ui, sans-serif; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: #ff4f8b55; }
a { color: inherit; text-decoration: none; }
em { font-family: "Instrument", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.grad em, h2 em { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 8s linear infinite; padding-right: .08em; }
@keyframes sheen { to { background-position: 300% 0; } }

.shader { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2; }
.grain { position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: .055; mix-blend-mode: overlay;
  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='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(5) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-4%,3%)} 50%{transform:translate(3%,-2%)} 75%{transform:translate(-2%,-4%)} 100%{transform:translate(0,0)} }
.glow-cursor { position: fixed; width: 520px; height: 520px; left: 0; top: 0; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(255,79,139,.10), rgba(122,92,255,.06) 40%, transparent 70%); }

/* ---------------------------------------------------------- top */
.top { position: fixed; left: 50%; top: 14px; transform: translateX(-50%); z-index: 50; width: min(1180px, calc(100% - 28px)); display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 18px; border-radius: 18px; background: rgba(12,11,18,.55); border: 1px solid var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 10px 40px -20px #000; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.mark { width: 30px; height: 30px; }
.mark .b { transform-origin: bottom; animation: eq 1.1s ease-in-out infinite; } .mark .b2 { animation-delay: -.35s; } .mark .b3 { animation-delay: -.7s; }
@keyframes eq { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.5); } }
.links { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.links a { padding: 8px 14px; border-radius: 10px; color: var(--dim); transition: color .2s, background .2s; }
.links a:hover { color: var(--ink); background: #ffffff0a; }
.links .gh { display: flex; align-items: center; gap: 8px; color: var(--ink); background: #ffffff10; border: 1px solid var(--line); }
.links .gh svg { width: 16px; height: 16px; }

section { position: relative; padding: clamp(90px, 12vw, 170px) clamp(20px, 5vw, 72px); max-width: 1320px; margin: 0 auto; }
h1 { font-size: clamp(60px, 10vw, 150px); line-height: .86; letter-spacing: -.055em; font-weight: 750; }
h1 em { font-size: 1.04em; letter-spacing: -.035em; }
h2 { font-size: clamp(42px, 6.4vw, 92px); line-height: .95; letter-spacing: -.045em; font-weight: 720; max-width: 15ch; }
h3 { font-size: 21px; letter-spacing: -.015em; font-weight: 650; }
.kicker { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .22em; color: var(--o); margin-bottom: 22px; display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.lede { color: var(--dim); font-size: clamp(17px, 1.6vw, 21px); max-width: 58ch; margin-top: 26px; }

.split .line { display: block; overflow: hidden; padding-bottom: .08em; }
.char { display: inline-block; transform: translateY(110%) rotate(6deg); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.split.in .char { transform: none; opacity: 1; }
.reveal-text { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: all 1.1s var(--ease); }
.reveal-text.in { opacity: 1; transform: none; filter: none; }
.reveal { opacity: 0; transform: translateY(40px) scale(.98); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------------------------------------------------- hero */
.hero { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 4vw, 70px); align-items: center; padding-top: 130px; max-width: 1400px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px; border: 1px solid var(--line2); background: #ffffff08; font-size: 13.5px; color: var(--dim); margin-bottom: 30px; transition: border-color .3s, background .3s; }
.pill:hover { border-color: #ffffff30; background: #ffffff10; color: var(--ink); }
.pill .new { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .1em; padding: 4px 9px; border-radius: 99px; background: var(--grad); color: #0b0610; }
.pill .arrow { transition: transform .3s var(--ease); } .pill:hover .arrow { transform: translateX(3px); }
.sub { color: var(--dim); font-size: clamp(17px, 1.45vw, 20px); max-width: 50ch; margin-top: 30px; }
.sub b { color: var(--ink); font-weight: 600; }
.cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.cta.center { justify-content: center; }
.btn { position: relative; display: inline-flex; align-items: center; padding: 17px 30px; border-radius: 14px; font-weight: 650; font-size: 16px; overflow: hidden; transition: box-shadow .3s, background .3s; will-change: transform; }
.btn span { position: relative; z-index: 1; }
.btn.primary { background: linear-gradient(100deg, #ffb057, #ff4f8b 33%, #8b6bff 66%, #ffb057); background-size: 300% 100%; color: #0b0610; box-shadow: 0 14px 50px -12px #ff4f8baa, inset 0 1px 0 #ffffff60; animation: sheen 6s linear infinite; }
.btn.primary:hover { box-shadow: 0 20px 70px -12px #ff4f8bdd, inset 0 1px 0 #ffffff80; }
.btn .shine { position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, #ffffffaa, transparent); transform: skewX(-20deg); animation: shine 3.6s 1.5s infinite; }
@keyframes shine { 0% { left: -60%; } 30%,100% { left: 130%; } }
.btn.ghost { border: 1px solid var(--line2); background: #ffffff06; backdrop-filter: blur(8px); }
.btn.ghost:hover { background: #ffffff10; border-color: #ffffff30; }
.trust { display: flex; gap: 34px; list-style: none; margin-top: 46px; }
.trust li { font: 700 30px "Bricolage"; letter-spacing: -.03em; display: flex; flex-wrap: wrap; align-items: baseline; }
.trust li span { flex-basis: 100%; font: 400 11.5px var(--mono); color: var(--faint); letter-spacing: .12em; text-transform: uppercase; margin-top: 2px; }

.scene3d { position: relative; perspective: 1400px; transform-style: preserve-3d; }
.studio { position: relative; transform: rotateY(-14deg) rotateX(8deg); transform-style: preserve-3d; border-radius: 26px; padding: 14px;
  background: linear-gradient(160deg, rgba(30,26,46,.88), rgba(10,9,16,.94)); border: 1px solid var(--line2);
  box-shadow: 0 60px 140px -40px #7a5cff77, 0 30px 80px -30px #ff4f8b55, inset 0 1px 0 #ffffff18; transition: transform .6s var(--ease); }
.studio::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, #ffffff50, transparent 30%, transparent 70%, #ff4f8b70);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.monitor { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16/9; background: #000; }
.frame { position: absolute; inset: 0; }
.film { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bars i { position: absolute; left: 0; right: 0; height: 9%; background: #000; transition: transform .5s var(--ease); z-index: 2; }
.bars i:first-child { top: 0; transform: translateY(-100%); } .bars i:last-child { bottom: 0; transform: translateY(100%); }
.frame.cine .bars i { transform: none; }
.title-card { position: absolute; left: 0; right: 0; top: 20%; text-align: center; font: 700 clamp(18px, 3vw, 36px) var(--mono); letter-spacing: .5em; color: #fff; opacity: 0; text-shadow: 0 0 30px #ff4f8b; z-index: 3; }
.title-card.on { animation: title 1.6s var(--ease) forwards; }
@keyframes title { 0% { opacity: 0; transform: scale(1.5); letter-spacing: 1.2em; filter: blur(10px); } 25% { opacity: 1; transform: scale(1); letter-spacing: .5em; filter: none; } 80% { opacity: 1; } 100% { opacity: 0; } }
.cap { position: absolute; left: 0; right: 0; bottom: 14%; text-align: center; font: 800 clamp(13px, 1.6vw, 20px) "Bricolage"; color: #fff; text-shadow: 0 2px 10px #000a; z-index: 3; }
.cap b { color: #ffd166; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; z-index: 4; }
.flash.on { animation: flash .4s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }
.frame.shake { animation: shake .35s; }
@keyframes shake { 15% { transform: translate(-7px, 4px) scale(1.05); } 35% { transform: translate(6px,-5px) scale(1.05); } 60% { transform: translate(-3px,2px) scale(1.02); } 100% { transform: none; } }
.hud { position: absolute; left: 12px; right: 12px; top: 10px; display: flex; align-items: center; gap: 8px; font: 500 11px var(--mono); color: #fff; opacity: .9; z-index: 5; }
.hud .res { margin-left: auto; padding: 2px 7px; border-radius: 5px; background: #0006; }
.rec { width: 7px; height: 7px; background: #ff3b3b; border-radius: 50%; box-shadow: 0 0 8px #ff3b3b; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.chat { display: flex; flex-direction: column; gap: 8px; margin: 12px 2px; height: 134px; justify-content: flex-end; overflow: hidden; }
.bubble { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; opacity: 0; transform: translateY(10px) scale(.96); transition: all .55s var(--spring); }
.bubble.on { opacity: 1; transform: none; }
.bubble.you { align-self: flex-end; background: linear-gradient(135deg, #3a2f66, #2a2440); border-bottom-right-radius: 5px; }
.bubble.cello { align-self: flex-start; background: #ffffff0c; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.bubble .who { display: block; font: 600 10px var(--mono); color: var(--o); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 3px; }
.timeline { position: relative; border-radius: 12px; background: #08070d; border: 1px solid var(--line); padding: 26px 10px 10px; overflow: hidden; }
.ruler { position: absolute; left: 10px; right: 10px; top: 7px; display: flex; justify-content: space-between; font: 9px var(--mono); color: #ffffff3a; }
.track { position: relative; height: 46px; border-radius: 7px; margin-bottom: 6px; background: #ffffff05; }
.track.a { height: 36px; margin: 0; } .track.a canvas { width: 100%; height: 100%; display: block; }
.clip { position: absolute; top: 4px; bottom: 4px; border-radius: 6px; opacity: 0; transform: translateY(-16px) scale(.9); overflow: hidden;
  transition: left .8s var(--ease), width .8s var(--ease), opacity .4s, transform .6s var(--spring), box-shadow .2s; box-shadow: inset 0 0 0 1px #ffffff26; }
.clip.in { opacity: 1; transform: none; }
.clip { background-size: auto 100% !important; background-repeat: repeat-x !important; }
.clip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(#ffffff26, transparent 40%, #0000004d); box-shadow: inset 0 0 0 1px #ffffff2a; }
.clip.hot { box-shadow: inset 0 0 0 2px #fff, 0 0 20px #ff4f8b; }
.beats { position: absolute; left: 10px; right: 10px; top: 26px; bottom: 10px; pointer-events: none; }
.beats i { position: absolute; top: 0; bottom: 0; width: 1px; background: #ffffff0e; } .beats i.big { background: #ff4f8b50; }
.playhead { position: absolute; top: 22px; bottom: 6px; width: 2px; left: 10px; background: #fff; box-shadow: 0 0 14px #fff; }
.playhead::before { content: ""; position: absolute; top: -6px; left: -5px; border: 6px solid transparent; border-top-color: #fff; }

.float { position: absolute; display: flex; align-items: center; gap: 11px; padding: 11px 15px 11px 11px; border-radius: 15px; background: rgba(22,20,34,.78); border: 1px solid var(--line2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -20px #000c; transform: translateZ(var(--z)); font-size: 13px; white-space: nowrap; animation: bob 6s ease-in-out infinite; }
.float b { display: block; font-weight: 650; } .float span { color: var(--dim); font-size: 11.5px; }
.float.f1 { left: -6%; top: -3%; } .float.f2 { right: -3%; top: 38%; animation-delay: -2s; } .float.f3 { left: -7%; bottom: 47%; animation-delay: -4s; } .float.f4 { right: 2%; bottom: -6%; animation-delay: -1s; }
@keyframes bob { 50% { translate: 0 -10px; } }
.ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.ic.beat { background: linear-gradient(135deg, #7a5cff, #4b2fd0); } .ic.icap { background: linear-gradient(135deg, #ff4f8b, #c22a63); } .ic.music { background: linear-gradient(135deg, #ffa24a, #e0661c); }
.ic::after { content: ""; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 3px; }
.ic.beat::after { border-radius: 50%; }
.score { position: relative; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 13px var(--mono); color: var(--c); background: conic-gradient(var(--c) 0 94%, #ffffff22 94%); isolation: isolate; flex: none; }
.score::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #16141f; z-index: -1; }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 24px; height: 38px; margin-left: -12px; border: 1.5px solid #ffffff40; border-radius: 12px; }
.scroll-hint span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------------------------------------------------------- marquee */
.marquee { max-width: none; padding: 36px 0 42px; border-block: 1px solid var(--line); }
.mq-label { text-align: center; font: 500 11px var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--faint); margin-bottom: 22px; }
.mq { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-track { display: flex; gap: 64px; width: max-content; animation: marquee 40s linear infinite; font: 650 clamp(20px, 2.4vw, 30px) "Bricolage"; letter-spacing: -.02em; color: #ffffff40; }
.mq-track span { transition: color .3s; } .mq-track span:hover { color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------- scrollytelling */
.story { height: 520vh; max-width: none; padding: 0; }
.story-sticky { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: .9fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: center; max-width: 1320px; margin: 0 auto; padding: 90px clamp(20px, 5vw, 72px) 40px; }
.story-copy h2 { font-size: clamp(40px, 5.2vw, 76px); }
.steps { list-style: none; margin-top: 34px; display: grid; gap: 6px; }
.steps li { display: flex; gap: 18px; padding: 13px 16px; border-radius: 14px; opacity: .32; transition: opacity .5s, background .5s, box-shadow .5s; }
.steps li span { font: 500 12px var(--mono); color: var(--faint); padding-top: 4px; transition: color .5s; }
.steps li b { font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.steps li p { color: var(--dim); font-size: 14.5px; max-height: 0; overflow: hidden; transition: max-height .6s var(--ease), margin .6s; }
.steps li.on { opacity: 1; background: #ffffff07; box-shadow: inset 0 0 0 1px var(--line); }
.steps li.on span { color: var(--p); } .steps li.on p { max-height: 80px; margin-top: 4px; }
.steps li.done { opacity: .6; }
.story-stage { position: relative; height: min(76vh, 640px); border-radius: 28px; background: linear-gradient(160deg, rgba(24,21,36,.82), rgba(8,7,13,.92)); border: 1px solid var(--line2);
  box-shadow: 0 60px 140px -40px #7a5cff55, inset 0 1px 0 #ffffff14; overflow: hidden; }
.st-screen { position: absolute; left: 6%; right: 6%; top: 6%; height: 44%; border-radius: 16px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line2); opacity: 0; transform: scale(.94); transition: all .8s var(--ease); z-index: 2; }
.st-screen.on { opacity: 1; transform: none; }
.st-frame { position: absolute; inset: 0; transition: background .4s; background: linear-gradient(135deg, #3a2f66, #120f22); }
.st-cap { position: absolute; left: 0; right: 0; bottom: 12%; text-align: center; font: 800 clamp(16px, 2vw, 26px) "Bricolage"; color: #fff; text-shadow: 0 2px 12px #000; opacity: 0; transform: translateY(10px); transition: all .6s var(--spring); }
.st-cap b { color: #ffd166; } .st-cap.on { opacity: 1; transform: none; }
.st-graphic { position: absolute; left: 6%; top: 12%; width: 40%; opacity: 0; transition: opacity .6s; }
.st-graphic svg { width: 100%; display: block; margin-top: 4px; } .st-graphic path { fill: none; stroke: #ff4f8b; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.2s var(--ease); }
.st-graphic b { display: block; font: 700 clamp(13px, 1.5vw, 19px)/1.25 var(--mono); letter-spacing: .32em; color: #fff; text-shadow: 0 0 24px #ff4f8b; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease) .2s; }
.st-graphic.on b { clip-path: inset(0 0 0 0); }
.st-graphic.on { opacity: 1; } .st-graphic.on path { stroke-dashoffset: 0; }
.st-score { position: absolute; left: 5%; top: 9%; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 12px; background: #000a; backdrop-filter: blur(8px); font: 600 13px var(--mono); color: #fff; opacity: 0; transform: scale(.8); transition: all .6s var(--spring); }
.st-score span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #04221f; font-weight: 700; }
.st-score.on { opacity: 1; transform: none; }
.st-clips { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.st-clip { position: absolute; width: 22%; aspect-ratio: 16/10; border-radius: 10px; box-shadow: 0 14px 34px -10px #000, inset 0 0 0 1px #ffffff30; transition: all .9s var(--ease); }
.st-clip { background-size: cover; background-position: center; }
.st-clip::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(#ffffff1f, transparent 45%, #00000040); }
.st-clip em { position: absolute; left: 6px; top: 6px; z-index: 1; font: 600 9px var(--mono); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: #ff3b3bcc; padding: 2px 6px; border-radius: 5px; transition: opacity .4s; }
.st-clip.shaky { filter: blur(1.2px) saturate(.6); }
.st-clip em.ok { background: #1fbf9fcc; }
.st-clip.placed em { opacity: 0; }
.st-clip.out { opacity: 0; transform: scale(.6) !important; }
.st-track { position: absolute; left: 6%; right: 6%; top: 58%; height: 16%; border-radius: 12px; background: #ffffff06; box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transition: opacity .6s; }
.st-track.on { opacity: 1; }
.st-beatline { position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, transparent 0 calc(12.5% - 1px), #ff4f8b66 calc(12.5% - 1px) 12.5%); opacity: 0; transition: opacity .6s; }
.st-beatline.on { opacity: 1; }
.st-wave { position: absolute; left: 6%; bottom: 7%; width: 88%; height: 14%; opacity: 0; transition: opacity .6s; }
.st-wave.on { opacity: 1; }

/* ---------------------------------------------------------- bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 230px; gap: 16px; margin-top: 64px; }
.tile { position: relative; border-radius: 24px; background: linear-gradient(170deg, rgba(20,18,29,.88), rgba(9,8,14,.94)); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; isolation: isolate; }
.t-copy { padding: 0 24px 22px; margin-top: auto; } .t-copy p { color: var(--dim); font-size: 14.5px; margin-top: 4px; }
.t-demo { position: relative; flex: 1; min-height: 0; margin: 14px 14px 12px; border-radius: 16px; background: #06050a; border: 1px solid #ffffff08; overflow: hidden; }
.t-voice { grid-column: span 3; grid-row: span 2; } .t-words { grid-column: span 3; } .t-music { grid-column: span 3; }
.t-mograph, .t-hits, .t-editor { grid-column: span 2; grid-row: span 2; }
.t-export { grid-column: span 6; flex-direction: row; align-items: center; }
.t-export .t-demo { flex: 1.3; align-self: stretch; margin: 14px; }
.t-export .t-copy { flex: 1; margin: 0; padding: 24px 30px; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), #ff4f8bcc, #7a5cff77 30%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 3; }
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), #ffffff0d, transparent 50%); opacity: 0; transition: opacity .4s; pointer-events: none; z-index: -1; }
.spot:hover::before, .spot:hover::after { opacity: 1; }
.orb-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.t-voice h3 { font-size: 34px; letter-spacing: -.035em; }
.said { font: 500 15px var(--mono); color: var(--ink) !important; min-height: 1.5em; margin-top: 14px !important; }
.said::after { content: "▍"; color: var(--p); animation: blink 1s steps(1) infinite; }
.words { display: flex; align-items: center; padding: 16px 20px; }
.transcript { font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: #ffffff30; font-weight: 650; letter-spacing: -.01em; }
.transcript span { transition: color .15s, background .15s; border-radius: 6px; padding: 0 3px; }
.transcript span.said2 { color: var(--ink); } .transcript span.now { background: var(--grad); color: #0b0610; } .transcript span.cut { text-decoration: line-through; color: #ff3b3b99; }
.t-music canvas { width: 100%; height: 100%; display: block; }
.sections { position: absolute; left: 0; right: 0; bottom: 10px; display: grid; grid-template-columns: 1fr 1.3fr 1.5fr 1fr; padding: 0 12px; font: 10px var(--mono); color: #ffffff50; text-transform: uppercase; letter-spacing: .14em; }
.sections span { border-top: 1px solid #ffffff20; padding-top: 6px; } .sections .drop { color: var(--p); border-color: var(--p); }
.mograph svg { width: 100%; height: 100%; }
.stroke { fill: none; stroke: url(#g2); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 4s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes draw { 0% { stroke-dashoffset: 420; } 45%,85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -420; } }
.pop { fill: var(--o); transform-box: fill-box; transform-origin: center; transform: scale(0); animation: popin 4s infinite; } .pop.p2 { fill: var(--v); animation-delay: .5s; }
@keyframes popin { 0%,30% { transform: scale(0); } 38% { transform: scale(1.7); } 44%,85% { transform: scale(1); } 95%,100% { transform: scale(0); } }
.word { fill: var(--ink); font: 800 30px "Bricolage"; opacity: 0; animation: wordin 4s infinite; }
@keyframes wordin { 0%,45% { opacity: 0; transform: translateY(12px); } 55%,85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.hits .hit { position: absolute; border-radius: 50%; border: 2px solid var(--o); animation: ripple 1.3s var(--ease) forwards; translate: -50% -50%; }
.hits .lab { position: absolute; font: 600 12px var(--mono); color: var(--ink); letter-spacing: .12em; text-transform: uppercase; translate: -50% -50%; animation: lab 1.3s forwards; }
@keyframes ripple { from { width: 8px; height: 8px; opacity: 1; } to { width: 200px; height: 200px; opacity: 0; border-width: 1px; } }
@keyframes lab { 0% { opacity: 0; scale: .7; } 20% { opacity: 1; scale: 1; } 80% { opacity: 1; } 100% { opacity: 0; } }
.ed-prev { position: absolute; left: 14px; top: 14px; width: calc(100% - 28px); height: calc(54% - 14px); border-radius: 10px; box-shadow: 0 0 0 1px #ffffff14, 0 18px 40px -18px #000; }
.edit .lanes { position: absolute; left: 14px; right: 14px; top: 58%; bottom: 12px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.lane { position: relative; flex: 1; max-height: 34px; background: #ffffff05; border-radius: 7px; }
.lane:first-child { flex: 1.4; max-height: 46px; }
.ed-head { position: absolute; top: -6px; bottom: -4px; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 10px #ff4f8b; left: 0; z-index: 2; }
.ed-head::before { content: ""; position: absolute; top: -2px; left: -4px; border: 5px solid transparent; border-top: 7px solid #fff; }
.lane b { position: absolute; top: 3px; bottom: 3px; left: var(--l); width: var(--w); border-radius: 6px; background: linear-gradient(135deg, #3a2f66, #24203a) center/auto 100% repeat-x; box-shadow: inset 0 0 0 1px #ffffff2a; overflow: hidden; font: 700 10px var(--mono); color: #fff; display: flex; align-items: center; padding: 0 7px; white-space: nowrap; letter-spacing: .04em; }
.lane.g b { background: linear-gradient(135deg, #ff4f8b, #ff8a5b); } .lane.m b { background: repeating-linear-gradient(90deg, #4fe0d055 0 2px, transparent 2px 5px); }
.lane b.sel { box-shadow: inset 0 0 0 2px #fff, 0 0 18px #ff4f8b66; animation: trim 4s ease-in-out infinite; }
@keyframes trim { 0%,100% { width: 30%; } 40%,60% { width: 20%; } }
.cursor { position: absolute; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 18px solid #fff; transform: rotate(-30deg); top: 66%; animation: cur 4s ease-in-out infinite; filter: drop-shadow(0 2px 4px #000); }
@keyframes cur { 0%,100% { left: 77%; } 40%,60% { left: 67%; } }
.formats { display: flex; align-items: center; justify-content: center; gap: 18px; }
.formats i { font: 600 12px var(--mono); font-style: normal; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid #ffffff30; color: var(--dim); animation: fmt 4s ease-in-out infinite; }
.f916 { width: 50px; height: 88px; } .f169 { width: 140px; height: 78px; animation-delay: .5s !important; } .f45 { width: 70px; height: 88px; animation-delay: 1s !important; } .f11 { width: 78px; height: 78px; animation-delay: 1.5s !important; }
@keyframes fmt { 0%,100% { border-color: #ffffff30; color: var(--dim); background: transparent; } 20% { border-color: var(--p); color: #fff; background: #ff4f8b18; } }

/* ---------------------------------------------------------- cartoons */
.engines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 64px; perspective: 1200px; }
.engine { position: relative; border-radius: 24px; padding: 14px 14px 24px; background: linear-gradient(170deg, rgba(20,18,29,.88), rgba(9,8,14,.94)); border: 1px solid var(--line); transform-style: preserve-3d; transition: transform .5s var(--ease); isolation: isolate; }
.engine p { color: var(--dim); font-size: 14.5px; padding: 0 10px; } .engine h3 { padding: 0 10px; margin-top: 4px; }
.engine .tag { font: 500 11px var(--mono); color: var(--o); text-transform: uppercase; letter-spacing: .16em; margin-top: 18px; }
.stage { position: relative; height: 280px; border-radius: 16px; overflow: hidden; transform: translateZ(30px); }
.stage canvas { width: 100%; height: 100%; display: block; }
.engine.wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.7fr 1fr; gap: 26px; align-items: center; padding: 14px; }
.engine.wide .stage { height: 340px; }
.engine.wide .tag { margin-top: 0; } .engine.wide h3 { font-size: 30px; letter-spacing: -.03em; }
@media (max-width: 1060px) { .engine.wide { grid-template-columns: 1fr; padding-bottom: 24px; } .engine.wide .stage { height: 260px; } }
.stage .stage-tag { position: absolute; left: 10px; bottom: 10px; font: 600 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 5px 9px; border-radius: 8px; background: #000000a0; backdrop-filter: blur(6px); }
.stage .stage-tag i { font-style: normal; color: var(--c); }
.stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px #ffffff14; pointer-events: none; }

/* ---------------------------------------------------------- local */
.local { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.stack { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 34px; }
.stack div { padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #ffffff04; transition: border-color .3s, background .3s; }
.stack div:hover { border-color: #ffffff28; background: #ffffff08; }
.stack b { display: block; font: 500 11px var(--mono); color: var(--o); text-transform: uppercase; letter-spacing: .16em; margin-bottom: 4px; }
.stack span { font-size: 15px; }
.machine { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; justify-self: center; }
.chip { position: absolute; inset: 34%; border-radius: 22px; background: linear-gradient(145deg, #221d38, #0d0b16); border: 1px solid #ffffff26; display: grid; place-items: center; z-index: 2; box-shadow: 0 0 100px -10px #7a5cffaa, inset 0 1px 0 #ffffff20; }
.chip span { position: absolute; bottom: 12%; font: 500 11px var(--mono); letter-spacing: .22em; color: var(--dim); }
.chip .core { width: 42%; aspect-ratio: 1; border-radius: 12px; background: var(--grad); background-size: 200% 100%; animation: sheen 4s linear infinite, core 3s ease-in-out infinite; }
@keyframes core { 50% { box-shadow: 0 0 50px #ff4f8b; filter: brightness(1.3); } }
.pulse { position: absolute; inset: 34%; border-radius: 22px; border: 1px solid #ff4f8b; animation: pulse 3s ease-out infinite; }
@keyframes pulse { from { inset: 34%; opacity: .8; } to { inset: 0%; opacity: 0; border-radius: 50%; } }
.ring { position: absolute; border-radius: 50%; border: 1px dashed #ffffff16; } .ring.r1 { inset: 22%; } .ring.r2 { inset: 10%; } .ring.r3 { inset: 0; }
.orbit { position: absolute; inset: 0; animation: spin 28s linear infinite; z-index: 3; }
.orbit span { position: absolute; top: -14px; left: 50%; translate: -50% 0; font: 500 12px var(--mono); padding: 6px 13px; border-radius: 99px; background: #171422cc; border: 1px solid #ffffff24; animation: spin 28s linear infinite reverse; }
.orbit.o3, .orbit.o3 span { animation-delay: -14s; }
.orbit.o2, .orbit.o4 { inset: 10%; } .orbit.o2, .orbit.o2 span, .orbit.o4, .orbit.o4 span { animation-duration: 20s; }
.orbit.o2, .orbit.o2 span { animation-delay: -5s; } .orbit.o4, .orbit.o4 span { animation-delay: -15s; }
@keyframes spin { to { rotate: 360deg; } }

/* ---------------------------------------------------------- start */
.term { position: relative; margin-top: 50px; border-radius: 20px; border: 1px solid var(--line2); background: rgba(8,7,13,.94); overflow: hidden; max-width: 820px; box-shadow: 0 50px 120px -40px #ff4f8b66; isolation: isolate; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: 12px; font: 12px var(--mono); color: var(--faint); }
.copy { margin-left: auto; font: 500 12px var(--mono); color: var(--dim); background: #ffffff0c; border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; cursor: pointer; }
.copy:hover { color: var(--ink); }
.term pre { padding: 24px 26px; font: 15px/1.85 var(--mono); min-height: 210px; white-space: pre-wrap; }
.term .p { color: var(--o); } .term .ok { color: var(--c); } .term .dim { color: var(--faint); } .term .you { color: #ffd166; }
.term .caret { display: inline-block; width: 9px; height: 1.1em; background: var(--ink); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
.note { color: var(--dim); font-size: 14px; margin-top: 22px; max-width: 72ch; }

/* ---------------------------------------------------------- finale */
.finale { text-align: center; padding-top: 60px; overflow: hidden; max-width: none; }
.finale .kicker { justify-content: center; }
.wordmark { font: 800 clamp(90px, 21vw, 330px)/0.9 "Bricolage"; letter-spacing: -.055em; margin: 10px 0 40px; padding: 0 .04em; color: transparent; user-select: none;
  background: radial-gradient(560px circle at var(--wx, 50%) 55%, #ffd29a, #ff4f8b 22%, #8b6bff 42%, transparent 66%), linear-gradient(180deg, #ffffff1f, #ffffff08 80%);
  -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 30px 80px #ff4f8b33); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 30px clamp(20px, 5vw, 72px) 44px; border-top: 1px solid var(--line); font: 12px var(--mono); color: var(--faint); }
.foot a:hover { color: var(--ink); }

@media (max-width: 1060px) {
  .hero, .local { grid-template-columns: 1fr; } .hero { padding-top: 120px; }
  .story { height: auto; } .story-sticky { position: relative; height: auto; grid-template-columns: 1fr; }
  .story-stage { height: 440px; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .t-voice, .t-words, .t-music, .t-mograph, .t-hits, .t-editor { grid-column: span 2; grid-row: span 1; } .t-voice { grid-row: span 2; }
  .t-export { grid-column: span 2; flex-direction: column; } .t-export .t-demo { width: calc(100% - 28px); }
  .engines { grid-template-columns: 1fr; }
  .links a:not(.gh) { display: none; }
  .float.f1, .float.f3 { left: 0; } .float.f2, .float.f4 { right: 0; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; } .t-voice, .t-words, .t-music, .t-mograph, .t-hits, .t-editor, .t-export { grid-column: span 1; }
  .stack { grid-template-columns: 1fr; } .trust { gap: 22px; } .float { display: none; } .studio { transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; } }

/* ---------------------------------------------------------- the door */
html.locked { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 50% 38%, rgba(26,14,42,.66), rgba(5,4,9,.97) 72%); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: opacity .9s var(--ease) .45s, visibility 0s 1.4s; }
.intro.out { opacity: 0; visibility: hidden; pointer-events: none; }
.intro-in { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px; }
.intro-in > * { opacity: 0; transform: translateY(18px); animation: rise 1s var(--ease) forwards; }
.intro-in > :nth-child(2) { animation-delay: .35s; } .intro-in > :nth-child(3) { animation-delay: .5s; } .intro-in > :nth-child(4) { animation-delay: .7s; }
.intro-in > :nth-child(5) { animation-delay: .9s; } .intro-in > :nth-child(6) { animation-delay: 1.2s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.intro.out .intro-in > :not(.porthole) { transition: opacity .35s, transform .5s var(--ease); opacity: 0 !important; transform: translateY(-10px) !important; animation: none; }
.porthole { position: relative; width: min(250px, 56vw); aspect-ratio: 1; margin-bottom: 26px; transform: scale(.8); animation: rise 1.3s var(--ease) forwards !important; }
.intro.out .porthole { animation: dive 1.25s cubic-bezier(.7,0,.25,1) forwards !important; }
@keyframes dive { from { opacity: 1; transform: none; } 70% { opacity: 1; } to { opacity: 0; transform: scale(9); } }
.porthole canvas { position: absolute; inset: 15%; width: 70%; height: 70%; border-radius: 50%; box-shadow: 0 0 0 1px #ffffff2a, 0 0 70px #ff4f8b66, 0 0 170px #7a5cff4d; }
.porthole::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid #ffffff14; }
.porthole .ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.ring text { font: 500 8.6px var(--mono); letter-spacing: .3em; fill: #ffffff70; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }
.intro-k { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .4em; color: var(--o); margin-bottom: 16px; }
.intro-t { font: 750 clamp(42px, 6.4vw, 92px)/.95 "Bricolage"; letter-spacing: -.05em; }
.intro-t em { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 8s linear infinite; padding-right: .08em; }
.intro-s { max-width: 440px; color: var(--dim); margin-top: 18px; font-size: 16px; }
.intro-b { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.intro-b .btn { cursor: pointer; border: 0; font: inherit; }
.intro-b .btn.ghost { border: 1px solid var(--line2); }
.intro-hint { margin-top: 22px; font: 11px var(--mono); color: var(--faint); letter-spacing: .14em; text-transform: uppercase; }
.intro-hint kbd { font: inherit; color: var(--dim); border: 1px solid var(--line2); border-radius: 5px; padding: 1px 6px; }
.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 13px; margin-left: 10px; vertical-align: -1px; }
.eq b { width: 2.5px; height: 100%; border-radius: 2px; background: currentColor; transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.eq b:nth-child(2) { animation-delay: -.3s; } .eq b:nth-child(3) { animation-delay: -.6s; } .eq b:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%,100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.sound-toggle { position: fixed; left: 18px; bottom: 18px; z-index: 55; display: flex; align-items: center; gap: 8px; padding: 9px 14px 9px 4px; border-radius: 999px; cursor: pointer;
  font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); background: rgba(14,12,22,.72); border: 1px solid var(--line2); backdrop-filter: blur(12px); transition: color .3s, border-color .3s; }
.sound-toggle:hover { color: var(--ink); border-color: #ff4f8b88; }
.sound-toggle .s-on, html.sound-on .sound-toggle .s-off { display: none; } html.sound-on .sound-toggle .s-on { display: inline; }
.sound-toggle .eq b { animation-play-state: paused; transform: scaleY(.25); }
html.sound-on .sound-toggle { color: var(--ink); } html.sound-on .sound-toggle .eq b { animation-play-state: running; background: var(--p); }

/* still being made: a small slate beside the name */
.wip { display: inline-flex; align-items: center; gap: 7px; margin-left: 12px; margin-right: auto; padding: 4px 10px 4px 8px; border-radius: 999px;
  font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line2); background: #ffffff08; white-space: nowrap; }
.wip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 8px #ff3b3b; animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: .25; } }
@media (max-width: 600px) { .wip { font-size: 9px; padding: 3px 8px 3px 6px; margin-left: 8px; } }
