:root {
    color-scheme: dark;
    --bg: #000;
    --fg: #fff;
    --mut: #777;
    --line: rgba(255, 255, 255, 0.12);
    --surf: rgba(255, 255, 255, 0.035);
    --red: #ff2d20;
    --mono:
        "JetBrainsMono Nerd Font", "JetBrains Mono", ui-monospace, Menlo,
        monospace;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html.lenis,
html.lenis body {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}
body {
    background: var(--bg);
    color: var(--fg);
    font: 400 15px/1.7 var(--mono);
    overflow-x: hidden;
}
body:not(.ready) {
    overflow: hidden;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
}
:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
}
.mut {
    color: var(--mut);
}
.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red);
}
.blink {
    animation: blink 1.2s steps(2) infinite;
}
@keyframes blink {
    50% {
        opacity: 0.15;
    }
}
.dot-text {
    display: block;
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    background: radial-gradient(circle, var(--fg) 1.5px, transparent 2.1px) 0
        0/7px 7px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pre {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: #000;
    display: flex;
    align-items: flex-end;
    padding: 5vw;
    transition: transform 1s var(--ease);
}
.pre.done {
    transform: translateY(-100%);
}
#pn {
    font-size: clamp(5rem, 22vw, 18rem);
}
.pg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: 0 50%;
    z-index: 120;
}
.cur {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--red);
    z-index: 250;
    pointer-events: none;
    transition:
        width 0.35s var(--ease),
        height 0.35s var(--ease),
        background 0.3s;
}
.cur.big {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 1px solid var(--red);
}
@media (pointer: fine) {
    body,
    body * {
        cursor: none !important;
    }
}

.ln {
    display: block;
    overflow: hidden;
    padding-bottom: 0.12em;
    margin-bottom: -0.12em;
}
.ln > span {
    display: block;
    transform: translateY(112%);
    transition: transform 1.1s var(--ease);
}
.go .ln > span,
.in .ln > span {
    transform: none;
}
.hv {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.9s var(--ease) calc(var(--i) * 0.12s),
        transform 0.9s var(--ease) calc(var(--i) * 0.12s);
}
.go .hv {
    opacity: 1;
    transform: none;
}
.go h1 .dot-text {
    animation: resolve 1.8s var(--ease) both;
}
@keyframes resolve {
    from {
        background-size: 2px 2px;
        opacity: 0;
    }
    35% {
        opacity: 1;
    }
}

.nav {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 28px;
    align-items: center;
    padding: 10px 22px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(14px);
    white-space: nowrap;
    transition: transform 0.6s var(--ease);
}
.nav.hide {
    transform: translate(-50%, -150%);
}
.logo {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 800;
}
.links {
    display: flex;
    gap: 22px;
    font-size: 13px;
    color: var(--mut);
}
.links a {
    transition: color 0.3s;
}
.links a:hover {
    color: var(--fg);
}

.hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14vh 5vw 8vh;
    max-width: 1300px;
    margin: 0 auto;
}
.hero h1 {
    font-size: clamp(3.5rem, 19vw, 14.5rem);
    align-self: flex-start;
}
.status {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--mut);
    margin-bottom: 3vh;
}
.sub {
    max-width: 50ch;
    margin: 5vh 0;
    color: var(--mut);
}
.cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.btn,
.social a,
.fc-ctrl button {
    transition:
        background 0.3s,
        color 0.3s,
        border-color 0.3s,
        transform 0.5s var(--ease);
}
.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border: 1px solid var(--line);
    border-radius: 99px;
}
.btn:hover {
    background: var(--fg);
    color: #000;
}
.btn.red {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}
.btn.red:hover {
    background: var(--fg);
    color: #000;
}

.sec {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14vh 5vw;
}
.words {
    font-size: clamp(1.5rem, 3.6vw, 2.8rem);
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.03em;
    max-width: 28em;
}
.words span {
    opacity: 0.14;
    transition: opacity 0.3s;
}
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10vh;
    border-top: 1px solid var(--line);
    padding-top: 28px;
}
.stats b {
    display: block;
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    line-height: 1;
    font-weight: 800;
}
.stats span {
    color: var(--mut);
    font-size: 13px;
}

.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    padding: 22px 0;
}
.track {
    display: flex;
    width: max-content;
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 800;
    will-change: transform;
}
.track span {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
}
.track span::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--fg);
}

.expand {
    height: 300vh;
}
.sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.xbox {
    position: relative;
    width: 300px;
    height: 400px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    will-change: width, height;
}
.media {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
                circle,
                rgba(255, 255, 255, 0.4) 1.2px,
                transparent 1.7px
            )
            0 0/12px 12px,
        #080808;
}
.media > * {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.xcap {
    position: absolute;
    left: 5vw;
    bottom: 9vh;
    max-width: 56ch;
    opacity: 0;
    padding: 16px 22px;
    background: rgba(0, 0, 0, 0.75);
    border-left: 2px solid var(--red);
}
.xt {
    position: absolute;
    display: flex;
    gap: 0.4em;
    font-size: clamp(2.2rem, 9vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    white-space: nowrap;
    mix-blend-mode: difference;
    pointer-events: none;
}

.title {
    font-size: clamp(2.8rem, 9vw, 7rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 3vh;
}
.lead {
    color: var(--mut);
    max-width: 52ch;
    margin-bottom: 6vh;
}

.clip {
    clip-path: inset(0 0 100% 0 round 28px);
}
.in .clip {
    clip-path: inset(0 0 0 0 round 28px);
}

.fc {
    display: flex;
    gap: 12px;
    height: min(66vh, 540px);
}
.card {
    position: relative;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surf);
    transition:
        flex 0.9s var(--ease),
        height 0.9s var(--ease),
        border-color 0.3s,
        clip-path 1.2s var(--ease) calc(var(--i) * 0.1s);
}
.card.active {
    flex: 6;
    border-color: rgba(255, 255, 255, 0.5);
}
.thumb {
    position: absolute;
    inset: 0;
    background: radial-gradient(
            circle,
            rgba(255, 255, 255, 0.3) 1.2px,
            transparent 1.7px
        )
        0 0/14px 14px;
    opacity: 0.5;
    transition:
        opacity 0.6s,
        transform 1.2s var(--ease);
    transform: scale(1.15);
}
.card.active .thumb {
    opacity: 0.3;
    transform: none;
}
.vt {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    writing-mode: vertical-rl;
    font-weight: 800;
    white-space: nowrap;
    transition: opacity 0.3s;
}
.card.active .vt {
    opacity: 0;
}
.info {
    position: absolute;
    inset: auto 0 0;
    padding: 28px;
    background: linear-gradient(transparent, #000 75%);
    opacity: 0;
    transform: translateY(28px);
    transition: 0.6s var(--ease);
}
.card.active .info {
    opacity: 1;
    transform: none;
    transition-delay: 0.3s;
}
.info h3 {
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}
.info p {
    color: var(--mut);
    max-width: 46ch;
}
.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0;
}
.chips span {
    border: 1px solid var(--line);
    border-radius: 99px;
    padding: 2px 14px;
    font-size: 12px;
}
.link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    border-bottom: 1px solid var(--red);
    padding-bottom: 2px;
}
.fc-ctrl {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
    color: var(--mut);
}
.fc-ctrl button {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 50%;
}
.fc-ctrl button:hover {
    background: var(--fg);
    color: #000;
}

.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 12px;
}
.spot {
    position: relative;
    overflow: hidden;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surf);
    transition:
        clip-path 1.2s var(--ease) calc(var(--i) * 0.09s),
        border-color 0.4s;
}
.spot:hover {
    border-color: rgba(255, 255, 255, 0.4);
}
.spot::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s;
    background: radial-gradient(
        300px circle at var(--x, 50%) var(--y, 50%),
        rgba(255, 255, 255, 0.1),
        transparent 70%
    );
}
.spot:hover::before {
    opacity: 1;
}
.spot > * {
    position: relative;
}
.spot i {
    font-size: 1.7rem;
}
.spot h3 {
    font-size: 1.1rem;
}
.spot p {
    color: var(--mut);
    font-size: 13px;
}
.w2 {
    grid-column: span 2;
}
.h2 {
    grid-row: span 2;
}

.music {
    display: grid;
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 12px;
}
.player {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surf);
}
.eq {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 90px;
    margin-bottom: 22px;
}
.eq i {
    flex: 1;
    height: 8%;
    background: radial-gradient(circle, var(--fg) 1.5px, transparent 2px) 0
        100%/8px 8px;
    transition: height 0.6s var(--ease);
}
.playing .eq i {
    background-image: radial-gradient(
        circle,
        var(--red) 1.5px,
        transparent 2px
    );
    animation: eq var(--d) ease-in-out infinite alternate;
}
@keyframes eq {
    to {
        height: var(--h);
    }
}
.prog {
    height: 2px;
    background: var(--line);
    margin: 18px 0 22px;
}
.prog i {
    display: block;
    height: 100%;
    width: 0;
    background: var(--red);
}
.play {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--fg);
    color: #000;
    font-size: 1.5rem;
    transition:
        transform 0.4s var(--ease),
        background 0.3s,
        color 0.3s;
}
.play:hover {
    transform: scale(1.1);
    background: var(--red);
    color: #fff;
}
.tracks {
    list-style: none;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
}
.tracks li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 16px;
    padding: 18px 26px;
    border-bottom: 1px solid var(--line);
    transition:
        background 0.3s,
        padding 0.5s var(--ease);
}
.tracks li:last-child {
    border: 0;
}
.tracks li:hover {
    background: var(--surf);
    padding-left: 34px;
}
.tracks li small {
    color: var(--mut);
}
.tracks li em {
    grid-row: span 2;
    align-self: center;
    font-style: normal;
    color: var(--mut);
}
.tracks li.on {
    box-shadow: inset 3px 0 var(--red);
}

.myfav {
    margin-top: 9vh;
    border-top: 1px solid var(--line);
    padding-top: 5vh;
}
.myfav h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 3vh;
}
.tracks.fav li {
    grid-template-columns: 52px 1fr auto;
    align-items: center;
    gap: 2px 14px;
    cursor: pointer;
}
.tracks.fav li img {
    grid-row: span 2;
    width: 52px;
    height: 52px;
    border-radius: 5px;
    object-fit: cover;
    background: var(--surf);
}
.tracks.fav li b {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tracks.fav li.on {
    box-shadow: inset 3px 0 var(--red);
}

.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
}
.mail {
    display: inline-block;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 800;
    background: linear-gradient(var(--red), var(--red)) 0 100%/100% 2px
        no-repeat;
    padding-bottom: 4px;
    margin-bottom: 28px;
    transition: background-size 0.6s var(--ease);
}
.mail:hover {
    background-size: 0 2px;
    background-position: 100% 100%;
}
.social {
    display: flex;
    gap: 12px;
}
.social a {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
}
.social a:hover {
    background: var(--fg);
    color: #000;
}
form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
input,
textarea {
    font: inherit;
    color: inherit;
    background: var(--surf);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 20px;
    resize: vertical;
    transition: border-color 0.3s;
}
input:focus,
textarea:focus {
    outline: 0;
    border-color: var(--fg);
}
form .btn {
    align-self: flex-start;
}
footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding: 32px 5vw;
    border-top: 1px solid var(--line);
    color: var(--mut);
    font-size: 13px;
}
#over {
    border: 1px solid #2e2e2e;
    padding: 2px 0px;
    max-width: 150px;
    border-radius: 5px;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    background-color: transparent;
}
#over:hover > svg {
    color: gold;
}

@media (max-width: 820px) {
    .links {
        gap: 14px;
        font-size: 12px;
    }
    .logo span {
        display: none;
    }
    .nav {
        gap: 16px;
        padding: 10px 18px;
    }
    .fc {
        flex-direction: column;
        height: auto;
    }
    .card {
        flex: none;
        height: 76px;
    }
    .card.active {
        flex: none;
        height: 380px;
    }
    .vt {
        writing-mode: horizontal-tb;
        left: 24px;
        bottom: auto;
        top: 24px;
        transform: none;
    }
    .bento {
        grid-template-columns: 1fr 1fr;
    }
    .w2 {
        grid-column: span 2;
    }
    .music,
    .contact,
    .stats {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    .ln > span,
    .hv {
        transform: none;
        opacity: 1;
    }
    .clip {
        clip-path: none;
    }
}
.logo span {
    display: inline-block;
    min-width: 8ch;
}
#hand > * {
    color: var(--red);
    transition: 0.5s ease all;
}
#hand > *:hover {
    transform: rotate(15deg);
}
