/* hero */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px 40px 80px; overflow: hidden; }
.blobs { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; will-change: transform; }
.b1 { width: 640px; height: 640px; background: var(--red); top: -200px; right: -160px; }
.b2 { width: 520px; height: 520px; background: #2b56d4; bottom: -240px; left: -120px; animation-delay: -6s; opacity: .35; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-80px,60px) scale(1.15); } }
.eyebrow { font: 400 12px var(--font-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--mute); margin-bottom: 26px; }
.name { font: 700 clamp(44px, 10.4vw, 150px)/.95 var(--font-display); letter-spacing: -.04em; }
.name .red { color: var(--red); }
.name .w { display: inline-block; overflow: hidden; margin-right: .22em; }
.name .ch { display: inline-block; }
html.js .name .ch { transform: translateY(110%); animation: rise .9s cubic-bezier(.16,1,.3,1) forwards; }
.name-img { display: block; width: min(92vw, 900px); height: auto; filter: drop-shadow(0 12px 40px rgba(255,48,64,.25)); }
html.js .name-img { opacity: 0; transform: translateY(26px) scale(.98); animation: up 1s .45s cubic-bezier(.16,1,.3,1) forwards; }
.sub { margin-top: 34px; max-width: 640px; font-size: clamp(14px, 1.3vw, 17px); line-height: 1.6; color: #cfcdd6; }
.sub b { color: var(--ink); font-weight: 600; }
.cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
html.js .eyebrow, html.js .sub, html.js .cta { opacity: 0; animation: up .9s forwards; }
html.js .eyebrow { animation-delay: .3s; } html.js .sub { animation-delay: 1.3s; } html.js .cta { animation-delay: 1.6s; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes up { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.marq { position: absolute; bottom: 0; left: 0; right: 0; border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; overflow: hidden; white-space: nowrap; font: 700 13px var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.marq .track { display: inline-block; animation: scroll 28s linear infinite; }
.marq .track span { margin: 0 34px; }
.marq .track em { color: var(--red); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

.hero-me { position: absolute; right: 1vw; bottom: -30px; height: min(54vh, 480px); width: auto; z-index: 1; pointer-events: none; filter: drop-shadow(0 30px 60px rgba(0,0,0,.7)); -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 97%); mask-image: linear-gradient(to bottom, #000 72%, transparent 97%); }
html.js .hero-me { opacity: 0; transform: translateY(30px); animation: up 1.1s .9s forwards; }
html.js .hero-me.settled { animation: none; opacity: 1; transition: transform .25s ease-out; }
.hero .eyebrow, .hero .name, .hero .sub, .hero .cta { position: relative; z-index: 2; }

.now { margin-top: 22px; font: 400 13px var(--font-mono); letter-spacing: .08em; color: var(--mute); position: relative; z-index: 2; }
.now #now-word { color: var(--gold); }
.now .caret { display: inline-block; width: 8px; height: 14px; margin-left: 4px; vertical-align: -2px; background: var(--gold); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
html.js .now { opacity: 0; animation: up .9s 1.45s forwards; }

/* fun layer */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--red); z-index: 70; pointer-events: none; transition: width .1s linear; }
.sc.tilting, .card.tilting { transition: none; }
.confetti { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.frame-wrap .skin.jump { animation: skinjump .75s cubic-bezier(.3,1.4,.5,1); }
@keyframes skinjump { 0% { transform: translateY(0) rotate(-3deg); } 40% { transform: translateY(-110px) rotate(10deg) scale(1.08); } 100% { transform: translateY(0) rotate(-3deg); } }

.rainbow { animation: hue 1.4s linear infinite; }
@keyframes hue { to { filter: hue-rotate(360deg); } }
.matrix { position: fixed; inset: 0; z-index: 75; pointer-events: none; }
.eq { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; display: flex; align-items: flex-end; gap: 4px; padding: 0 18px; opacity: .22; pointer-events: none; }
.eq i { flex: 1; background: #062b12; border-radius: 3px 3px 0 0; animation: eq 1.1s ease-in-out infinite alternate; }
.eq i:nth-child(3n) { animation-duration: .7s; } .eq i:nth-child(4n) { animation-duration: 1.5s; } .eq i:nth-child(5n) { animation-duration: .9s; animation-delay: -.4s; } .eq i:nth-child(7n) { animation-delay: -.8s; }
@keyframes eq { from { height: 8%; } to { height: 100%; } }
.embed:hover .eq i { animation-duration: .35s; }
.embed { position: relative; overflow: hidden; }
.embed > p, .embed > .btn, .embed > .fallback { position: relative; }

/* sections */
section { padding: 120px 40px; position: relative; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 56px; gap: 24px; flex-wrap: wrap; }
.music .sec-h { margin-bottom: 18px; }
.sec-h h2, .find-section h2 { font: 700 clamp(32px, 5vw, 72px)/1 var(--font-display); letter-spacing: -.03em; }
.sec-h h2 em { font-style: normal; color: var(--red); }
.sec-h p { max-width: 360px; color: var(--mute); font-size: 14px; line-height: 1.6; }
html.js .r { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
html.js .r.in { opacity: 1; transform: none; }

/* rokingdom */
.rk { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.rk .big { font: 700 clamp(90px, 16vw, 220px)/.85 var(--font-display); letter-spacing: -.04em; color: var(--red); }
.rk .big small { display: block; font: 700 clamp(20px, 2.6vw, 34px) var(--font-display); letter-spacing: -.02em; color: var(--ink); margin-top: 10px; }
.rk > div > p:not(.big) { margin-top: 24px; color: #cfcdd6; line-height: 1.65; max-width: 520px; }
.rk .row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.ip { display: inline-flex; align-items: center; gap: 12px; background: #0f0f15; border: 1px solid rgba(255,255,255,.14); border-radius: 100px; padding: 10px 20px; font: 700 13px var(--font-mono); color: var(--ink); transition: border-color .2s; }
.ip:hover { border-color: var(--red); }
.ip b { color: var(--red); }
.ip.copied { border-color: #3dda8a; }
.live { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 100px; background: rgba(61,218,138,.1); border: 1px solid rgba(61,218,138,.3); font: 700 12px var(--font-mono); color: #3dda8a; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #3dda8a; box-shadow: 0 0 0 0 rgba(61,218,138,.6); animation: pulse 1.6s infinite; }
.live.off { background: rgba(255,48,64,.1); border-color: rgba(255,48,64,.35); color: #ff8a94; }
.live.off i { background: #ff3040; animation: none; }
@keyframes pulse { to { box-shadow: 0 0 0 12px rgba(61,218,138,0); } }
.frame { position: relative; border-radius: 20px; overflow: hidden; background: #070405; border: 1px solid #95122c66; box-shadow: 0 20px 60px #00000088, 0 0 40px #95122c22; transform: perspective(1200px) rotateY(-6deg); transition: transform .6s cubic-bezier(.16,1,.3,1); }
.frame:hover, .frame:focus-within { transform: perspective(1200px) rotateY(0) scale(1.02); }
.cbar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; background: #15090d; border-bottom: 1px solid #95122c33; }
.cbar i { width: 10px; height: 10px; border-radius: 50%; }
.cbar i:nth-child(1) { background: #ff5f57; } .cbar i:nth-child(2) { background: #febc2e; } .cbar i:nth-child(3) { background: #28c840; }
.cbar span { margin-left: 6px; font: 400 11px var(--font-mono); color: #a86a7a; letter-spacing: 1px; }
.cbody { padding: 12px 14px; height: 300px; overflow-y: auto; font: 400 12px/1.55 var(--font-mono); color: #d0c8c8; }
.cbody::-webkit-scrollbar { width: 6px; } .cbody::-webkit-scrollbar-thumb { background: #95122c66; border-radius: 3px; }
.cl { white-space: pre-wrap; word-break: break-word; }
.cl .ts { color: #a86a7a; } .cl .w { color: #febc2e; } .cl .g { color: #4ade80; } .cl .c { color: #ff6b80; } .cl .y { color: #fbbf24; } .cl .p { color: #c4b5fd; }
.cl.cmd { color: #4ade80; } .cl.cmd::before { content: '> '; color: #ff6b80; }
.cform { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-top: 1px solid #95122c33; background: #0a0608; }
.cform span { color: #ff6b80; font-family: var(--font-mono); }
.cform input { flex: 1; background: none; border: none; outline: none; color: #4ade80; font: 400 12px var(--font-mono); caret-color: #ff6b80; min-width: 0; }
.cform input::placeholder { color: #a86a7a; }
.cform input:focus-visible { outline: none; box-shadow: inset 0 -1px 0 var(--gold); }

.frame-wrap { position: relative; }
.frame-wrap .skin { position: absolute; left: -118px; bottom: -26px; height: 230px; width: auto; z-index: 3; filter: drop-shadow(0 16px 24px rgba(0,0,0,.6)); animation: bob 4s ease-in-out infinite; pointer-events: none; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }

.rk-link { display: inline-block; margin-top: 4px; font: 700 15px var(--font-mono); color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,48,64,.45); text-underline-offset: 4px; transition: text-decoration-color .3s, color .3s; }
.rk-link:hover { color: var(--ink); text-decoration-color: var(--red); }

/* work */
.feature { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: #000; margin-bottom: 24px; }
.feature video { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.feature .over { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 32px; background: linear-gradient(to top, rgba(0,0,0,.88), transparent); display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.client { font: 400 11px var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.card .client { color: var(--mute); }
.feature h3 { font: 700 28px var(--font-display); letter-spacing: -.02em; margin: 8px 0 6px; }
.feature .over p:not(.client) { color: #e0dee6; font-size: 13.5px; line-height: 1.6; max-width: 600px; }
.feature .play { width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: #000; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; transition: transform .3s; }
.feature:hover .play, .feature .play:focus-visible { transform: scale(1.1); }
.work { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { position: relative; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); background: #0f0f15; transition: transform .5s cubic-bezier(.16,1,.3,1), border-color .5s; }
.card:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.2); }
.card .prev { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.card .body { padding: 22px 24px 26px; }
.card h3 { font: 700 22px var(--font-display); letter-spacing: -.02em; margin: 8px 0 8px; }
.card .body p:not(.client) { color: #bfbdc7; font-size: 13.5px; line-height: 1.65; }
.card .arrow { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: 16px; transition: transform .4s, background .4s; }
.card:hover .arrow { transform: rotate(45deg); background: var(--red); }
/* 3D printer section (Three.js, lazy) */
.print-stage { position: relative; height: clamp(420px, 62vh, 620px); border-radius: 26px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); background: radial-gradient(circle at 50% 120%, #2a1a0a, #0e0d12 60%); }
.stage { position: absolute; inset: 0; cursor: grab; touch-action: none; outline-offset: -6px; display: grid; place-items: center; }
.stage.dragging { cursor: grabbing; }
.stage canvas { display: block; width: 100%; height: 100%; }
.stage::before { content: 'loading model…'; font: 400 11px var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); opacity: 0; transition: opacity .4s; }
.stage.loading::before { opacity: 1; }
.stage.failed::before { content: '3D model needs WebGL'; opacity: 1; }
.stage.ready::before { display: none; }
.print-stage .hint { position: absolute; left: 22px; bottom: 18px; font: 400 10px var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); pointer-events: none; }
.site-footer .call a { text-decoration: underline; text-underline-offset: 3px; }

/* music */
.music { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.music .lead { color: #cfcdd6; line-height: 1.65; max-width: 460px; }
.embed { min-height: 180px; border-radius: 18px; background: #1db954; color: #062b12; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; font-weight: 600; font-size: 14px; }
.embed .btn.p { background: #062b12; color: #fff; border-color: #062b12; }
.embed .fallback { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.embed iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; }
.embed.loaded { padding: 0; background: none; display: block; }

/* alaska banner */
.banner { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); margin: 0 auto 64px; max-width: 1100px; }
.banner img { width: 100%; height: auto; aspect-ratio: 21/9; object-fit: cover; object-position: 50% 40%; display: block; }

/* find me */
.find-section h2 { text-align: center; margin-bottom: 16px; }
.find-section h2 em { font-style: italic; font-family: Georgia, serif; font-weight: 400; color: var(--red); }
.find-section .lead { text-align: center; color: var(--mute); max-width: 520px; margin: 0 auto 52px; line-height: 1.6; }
.socgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sc { --c: #fff; position: relative; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255,255,255,.1); background: #0f0f15; padding: 26px; min-height: 210px; display: flex; flex-direction: column; justify-content: space-between; transition: transform .5s cubic-bezier(.16,1,.3,1), border-color .5s; }
.sc.yt { --c: #ff0000; } .sc.tt { --c: #00f2ea; } .sc.ig { --c: #e1306c; } .sc.fb { --c: #1877f2; } .sc.li { --c: #0a66c2; } .sc.em { --c: #e8c46a; }
.sc::before { content: ''; position: absolute; inset: -40%; background: radial-gradient(circle at 30% 20%, var(--c), transparent 55%); opacity: .12; transition: opacity .5s, transform .8s; }
.sc:hover, .sc:focus-visible { transform: translateY(-8px); border-color: var(--c); }
.sc:hover::before { opacity: .3; transform: scale(1.15); }
.sc > * { position: relative; }
.sc .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--c); display: grid; place-items: center; }
.sc.ig .ic { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.sc .ic-text { font: 800 22px var(--font-body); color: #fff; letter-spacing: -.02em; }
.sc .plat { font: 400 11px var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-top: 18px; }
.sc h3 { font: 700 19px var(--font-display); letter-spacing: -.02em; margin-top: 4px; word-break: break-all; }
.sc p:not(.plat) { color: #bfbdc7; font-size: 12.5px; line-height: 1.6; margin-top: 8px; }
.sc .go { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font: 600 12px var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.sc .go i { font-style: normal; transition: transform .3s; }
.sc:hover .go i { transform: translateX(6px); }
.soc { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.soc a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 100px; border: 1px solid rgba(255,255,255,.14); font: 600 11px var(--font-mono); letter-spacing: .12em; text-transform: uppercase; transition: transform .35s, border-color .35s; }
.soc a:hover, .soc a:focus-visible { transform: translateY(-4px); }
.soc .pill-spotify:hover { border-color: #1db954; } .soc .pill-ytm:hover { border-color: #ff0000; } .soc .pill-rk:hover { border-color: var(--crimson); }

/* cookie banner */
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 60; max-width: 520px; margin: 0 auto; background: #111118; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 18px 20px; display: flex; gap: 16px; align-items: center; box-shadow: 0 20px 60px #000c; font-size: 13px; line-height: 1.5; color: #cfcdd6; }
.cookie[hidden] { display: none; }
.cookie a { text-decoration: underline; text-underline-offset: 3px; }
.cookie .btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie button { padding: 9px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,.2); font: 600 12px var(--font-body); white-space: nowrap; }
.cookie button.y { background: var(--ink); color: #000; border-color: var(--ink); }

/* responsive */
@media (max-width: 900px) {
  section { padding: 90px 24px; }
  .hero-me { height: min(44vh, 400px); right: -4vw; opacity: .95; }
  .frame-wrap .skin { left: auto; right: -12px; top: -150px; bottom: auto; height: 180px; }
  .frame-wrap { margin-top: 120px; }
  .hero { padding: 110px 24px 80px; }
  .rk, .music { grid-template-columns: 1fr; gap: 32px; }
  .frame { transform: none; }
  .frame:hover, .frame:focus-within { transform: none; }
  .work { grid-template-columns: 1fr; }
  .print-stage { height: 400px; }
  .socgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  section { padding: 72px 16px; }
  .hero { padding: 96px 16px 0; }
  .hero-me { position: static; display: block; height: 44vh; margin: 24px 0 0 auto; filter: drop-shadow(0 16px 30px rgba(0,0,0,.6)); }
  html.js .hero-me { animation-delay: 1.2s; }
  .frame-wrap .skin { left: auto; right: -10px; top: -120px; bottom: auto; height: 150px; }
  .frame-wrap { margin-top: 110px; }
  .banner img { aspect-ratio: 4/3; }
  .name { font-size: clamp(40px, 13vw, 72px); }
  .name-img { width: 100%; }
  .b1 { width: 380px; height: 380px; right: -200px; } .b2 { width: 320px; height: 320px; left: -180px; }
  .socgrid { grid-template-columns: 1fr; }
  .feature .over { padding: 18px 16px; flex-direction: column; align-items: flex-start; }
  .feature h3 { font-size: 24px; }
  .cookie { flex-direction: column; align-items: stretch; left: 12px; right: 12px; bottom: 12px; }
  .cookie .btns { justify-content: flex-end; }
  .gallery { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .r { opacity: 1; transform: none; }
  html.js .name .ch { transform: none; animation: none; }
  html.js .eyebrow, html.js .sub, html.js .cta, html.js .hero-me, html.js .name-img, html.js .now { opacity: 1; animation: none; transform: none; }
  .now .caret, .frame-wrap .skin.jump { animation: none; }
  .blob, .marq .track, .live i, .frame-wrap .skin, .eq i { animation: none; }
  .rainbow { animation: none; }
}
