.home-hero {
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: clamp(2.5rem, 6vh, 5rem);
    padding: clamp(8rem, 17vh, 12rem) clamp(1.25rem, 5vw, 6rem) clamp(3rem, 8vh, 6rem);
    background: var(--mainclr);
    color: var(--textclr);
    position: relative;
    overflow: hidden;
}
.hero-image{
    width: 80%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
    .home-hero-intro-pending .hero-image,
    .home-hero-intro-pending .home-hero-content p,
    .home-hero-intro-pending .home-hero-actions .home-hero-button {
        opacity: 0;
        visibility: hidden;
    }
}

.home-hero h1 {
    max-width: 100%;
    font-size: clamp(4.3rem, 17vw, 17rem);
    font-weight: 600;
    line-height: .82;
    letter-spacing: -.085em;
    overflow: hidden;
    white-space: nowrap;
    z-index: 10;
}

.home-hero-content {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem 3rem;
}

.home-hero-content p {
    max-width: 33rem;
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    font-weight: 300;
    line-height: 1.55;
    color: var(--textclr);
    z-index: 10;
}

.home-scroll-reveal-line {
    will-change: transform, opacity;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.home-hero-button {
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: .85rem 1.25rem;
    border: 1px solid var(--rareclr);
    border-radius: .5rem;
    font-size: .95rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    will-change: transform;
    z-index: 10;
}

.home-hero-button svg {
    display: block;
    flex: none;
    font-size: 1.125rem;
}

.home-hero-button-label {
    display: inline-block;
    will-change: transform;
}

.home-hero-button-primary {
    background: var(--rareclr);
    color: var(--mainclr);
}

.home-hero-button-primary:hover {
    background: var(--epicclr);
    border-color: var(--epicclr);
}

.home-hero-button-secondary {
    color: var(--textclr);
    background: transparent;
}

.home-hero-button-secondary:hover {
    background: var(--rareclr);
    color: var(--mainclr);
}

.home-hero-button:focus-visible {
    outline: 2px solid var(--textclr);
    outline-offset: 4px;
}

.home-hero-pet-stage {
    display: none;
}

@media (max-width: 767px) {
    .home-hero-pet-button {
        min-width: min(17rem, 100%);
        justify-content: space-between;
        gap: .75rem;
        padding-block: .65rem;
        overflow: hidden;
        direction: ltr;
    }

    .home-hero-pet-button .home-hero-pet-arrow {
        display: none;
    }

    .home-hero-pet-button .home-hero-button-label {
        display: grid;
        text-align: left;
    }

    /* Reserve the widest phrase so typing never changes the button's width. */
    .home-hero-pet-button .home-hero-button-label::before {
        content: 'nevermind! ...';
        visibility: hidden;
        grid-area: 1 / 1;
        padding-right: .4em;
    }

    .home-hero-pet-copy {
        grid-area: 1 / 1;
        align-self: center;
    }

    .home-hero-pet-copy::after {
        content: '';
        display: inline-block;
        width: 1px;
        height: .95em;
        margin-left: .2em;
        vertical-align: -.1em;
        background: currentColor;
        opacity: 0;
    }

    .home-hero-pet-button[data-typing] .home-hero-pet-copy::after {
        opacity: .65;
    }

    .home-hero-pet-stage {
        position: relative;
        display: block;
        flex: 0 0 64px;
        height: 32px;
    }

    .home-hero-pet-roam {
        position: absolute;
        left: 16px;
        top: 1px;
        width: 30px;
        height: 30px;
        transform: translate(var(--pet-x, 0px), var(--pet-y, 0px)) rotate(var(--pet-tilt, 0deg));
        transition: transform 1.2s cubic-bezier(.22, 1, .36, 1);
    }

    .home-hero-pet {
        display: block;
        position: relative;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: var(--mainclr);
        color: var(--rareclr);
        transform-origin: 50% 85%;
    }

    .home-hero-pet-face {
        position: absolute;
        inset: 0;
        transform: translate(var(--pet-look-x, 0px), var(--pet-look-y, 0px));
        transition: transform .25s ease-out;
    }

    .home-hero-pet-eyes {
        position: absolute;
        top: 9px;
        left: 7px;
        display: flex;
        gap: 6px;
        transition: transform .2s ease;
    }

    .home-hero-pet-eye {
        width: 5px;
        height: 7px;
        border-radius: 50%;
        background: currentColor;
        transition: height .3s ease, transform .3s ease;
    }

    .home-hero-pet-mouth {
        position: absolute;
        top: 18px;
        left: 11px;
        width: 8px;
        height: 5px;
        border: 2px solid currentColor;
        border-top: 0;
        border-radius: 0 0 8px 8px;
        transition: all .35s ease;
    }

    .home-hero-pet[data-expression='pleading'] .home-hero-pet-eye {
        transform: scale(1.25);
    }

    .home-hero-pet[data-expression='pleading'] .home-hero-pet-mouth {
        width: 5px;
        height: 3px;
        left: 12.5px;
    }

    .home-hero-pet[data-expression='surprised'] .home-hero-pet-mouth {
        height: 7px;
        width: 6px;
        left: 12px;
        top: 17px;
        border: 2px solid currentColor;
        border-radius: 50%;
    }

    .home-hero-pet[data-expression='unimpressed'] .home-hero-pet-eye {
        transform: scaleY(.45);
    }

    .home-hero-pet[data-expression='unimpressed'] .home-hero-pet-mouth {
        height: 0;
        top: 20px;
        border-radius: 0;
    }

    .home-hero-pet[data-expression='wink'] .home-hero-pet-eye:last-child {
        transform: scaleY(.2) rotate(-12deg);
    }

    .home-hero-pet[data-blinking] .home-hero-pet-eyes {
        transform: scaleY(.1);
    }

    .home-hero-pet-button[data-pet-active] .home-hero-pet[data-motion='float'] {
        animation: home-pet-float 2.2s ease-in-out infinite;
    }

    .home-hero-pet-button[data-pet-active] .home-hero-pet[data-motion='hop'] {
        animation: home-pet-hop 1.3s ease-in-out infinite;
    }

    .home-hero-pet-button[data-pet-active] .home-hero-pet[data-motion='wiggle'] {
        animation: home-pet-wiggle 1.6s ease-in-out infinite;
    }

    .home-hero-pet-button[data-pet-active] .home-hero-pet[data-motion='shy'] {
        animation: home-pet-shy 2.8s ease-in-out infinite;
    }
}

@keyframes home-pet-float {
    0%, 100% { transform: translateY(1px) rotate(-5deg); }
    50% { transform: translateY(-3px) rotate(5deg); }
}

@keyframes home-pet-hop {
    0%, 65%, 100% { transform: translateY(1px) scale(1.06, .94); }
    30% { transform: translateY(-5px) scale(.95, 1.05); }
    50% { transform: translateY(1px) scale(1.12, .88); }
}

@keyframes home-pet-wiggle {
    0%, 100% { transform: rotate(-12deg); }
    50% { transform: rotate(12deg); }
}

@keyframes home-pet-shy {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(4px) scale(.88); }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-pet-button .home-hero-pet,
    .home-hero-pet-button .home-hero-pet * ,
    .home-hero-pet-button .home-hero-pet-roam {
        animation: none !important;
        transition: none;
    }
}

@media (max-width: 860px) {
    .home-hero {
        gap: 0.5rem;
    }

    .home-hero-content {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .home-hero {
        min-height: 100svh;
        padding-top: 8rem;
        padding-bottom: 3rem;
    }

    .home-hero h1 {
        font-size: clamp(4.3rem, 34vw, 10rem);
    }

    .home-hero-actions,
    .home-hero-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero-button {
        transition: none;
    }
}



.music-section,
.artist-section,
.album-section,
.guess-section {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .85fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 8rem);
    min-height: 42rem;
    padding-inline: 5%;
    padding-top: 150px;
    padding-bottom: 40px;
    border-top: 1px solid var(--borderclr);
    color: var(--textclr);
    overflow: hidden;
}

.music-section-content,
.artist-section-content,
.album-section-content,
.guess-section-content {
    max-width: 48rem;
}

.music-section-eyebrow,
.artist-section-eyebrow,
.album-section-eyebrow,
.guess-section-eyebrow {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--rareclr);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.music-section h2,
.artist-section h2,
.album-section h2,
.guess-section h2 {
    max-width: 12ch;
    font-size: clamp(3.5rem, 7.5vw, 7.5rem);
    font-weight: 600;
    line-height: .95;
    letter-spacing: -.075em;
    text-wrap: balance;
}

.music-section-text,
.artist-section-text,
.album-section-text,
.guess-section-text {
    width: auto;
    max-width: 33rem;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    padding: 0;
    color: var(--textclr);
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    font-weight: 200;
    line-height: 1.55;
    text-align: left;
    transition: none;
}

.music-section-button,
.artist-section-button,
.album-section-button,
.guess-section-button {
    position: static;
    width: fit-content;
    height: auto;
    margin-top: 2rem;
}

.music-section-visual,
.artist-section-visual,
.album-section-visual,
.guess-section .bar-container {
    display: grid;
    place-items: center;
    justify-self: center;
    width: min(100%, 24rem);
    aspect-ratio: 1;
    min-width: 0;
    container-type: inline-size;
}

.music-section .disk {
    position: relative;
    inset: auto;
    font-size: 3.268cqw;
    width: 17em;
    height: 17em;
    border: 0;
    background: black;
    box-shadow: inset 0 0 0 .6em #151a1e,
                inset 0 0 0 3em black,
                inset 0 0 0 3.8em #151a1e,
                inset 0 0 0 5.9em silver,
                inset 0 0 0 6em black,
                inset 0 0 0 6.8em #151a1e,
                inset 0 0 0 8.2em #2095f4,
                      0 0 0 3em black,
                      0 0 0 3.8em #151a1e,
                      0 0 0 6em black,
                      0 0 0 6.8em #151a1e;
}

.music-section .disk::before,
.music-section .disk::after {
    display: block;
    left: -5em;
}

.music-section .disk::before {
    top: -5em;
}

.music-section .disk::after {
    top: 5em;
}

.album-section-visual {
    position: relative;
    width: min(100%, 26rem);
}

.album-section .album-cover {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
}

.artist-section {
    height: auto;
}

.artist-section-text {
    float: none;
    margin-right: 0;
}

.artist-section-visual {
    height: clamp(24rem, 40vw, 36rem);
    aspect-ratio: auto;
}

.artist-section-visual img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    min-height: 0;
    object-fit: contain;
}

.guess-section .bar-container {
    display: flex;
    position: static;
    height: auto;
    align-items: center;
    justify-content: space-evenly;
}

.guess-section .bar-container > div {
    width: 17%;
}

.guess-section .bar1 { height: 37.5%; }
.guess-section .bar2 { height: 43.75%; }
.guess-section .bar3 { height: 87.5%; }
.guess-section .bar4 { height: 62.5%; }
.guess-section .bar5 { height: 50%; }

@media (max-width: 860px) {
    .music-section,
    .artist-section,
    .album-section,
    .guess-section {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(3rem, 7vw, 5rem);
        min-height: 0;
    }

    .music-section-visual,
    .artist-section-visual,
    .album-section-visual,
    .guess-section .bar-container {
        width: min(55vw, 20rem);
    }
}

@media (max-width: 480px) {
    .music-section,
    .artist-section,
    .album-section,
    .guess-section {
        position: relative;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .music-section-content,
    .artist-section-content,
    .album-section-content,
    .guess-section-content {
        position: relative;
        z-index: 1;
        width: 100%;
        max-width: none;
    }

    .music-section h2,
    .artist-section h2,
    .album-section h2,
    .guess-section h2 {
        font-size: clamp(2.75rem, 12vw, 3.5rem);
    }

    .music-section-text,
    .artist-section-text,
    .album-section-text,
    .guess-section-text {
        width: 100%;
        max-width: none;
    }

    .music-section-button,
    .artist-section-button,
    .album-section-button,
    .guess-section-button {
        width: 100%;
    }

    .music-section-visual,
    .artist-section-visual,
    .album-section-visual,
    .guess-section .bar-container {
        position: absolute;
        z-index: 0;
        top: 50%;
        right: 0;
        left: auto;
        width: min(62vw, 16rem);
        opacity: .5;
        transform: translate(50%, -50%);
        pointer-events: none;
    }

    .album-section-visual {
        opacity: .25;
    }

    .artist-section-visual {
        height: min(85vw, 28rem);
        opacity: .4;
        transform: translate(15%, -50%);
    }

    .guess-section .bar-container {
        opacity: .25;
        transform: translate(15%, -50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .music-section .disk {
        animation: none;
    }
}

html{
    scroll-behavior: smooth;
}
:root {
    --mainclr: black;
    --textclr: white;
    --rareclr:#2095f4;
    --borderclr:#151a1e;
    --epicclr:#2196f3;
    --errorclr:#C73E1D;
    --successclr:#428959;
    --cautionclr:#F18F01;
    --smallf:4px, 0.3vw + 11px , 20px;
    --smallf1:4px , 0.3vw + 8px , 20px;
    --smallmf:2px , 0.2vw + 6px , 15px;
    --mediumf:10px , 0.4vw + 12px , 30px;
    --bigf:20px , 1.5vw + 13px , 60px;
    --largef:30px , 3vw + 15px , 100px;
    --largefm:20px , 3vw + 10px , 50px;
    
}

.music-recommended-section{
    width: 100%;
    margin-top: 0%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(4rem, 6vw, 7rem);
}
.music-recommended-heading{
    width: 100%;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
    padding: 1rem 5% .5rem;
}
.music-recommended-heading::after{
    content: "";
    flex: 1;
    height: 1px;
    background: #27313a;
}
.music-recommended-section-header{
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    color: var(--textclr);
    font-size: clamp(1.75rem, 2.6vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease;
}
.music-recommended-heading-arrow{
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    flex: none;
    border: 1px solid #29465b;
    border-radius: 50%;
    background: #101a22;
    color: var(--rareclr);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: 0;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
    margin-left: 12px;
}
.music-recommended-heading-arrow svg{
    display: block;
}
.music-recommended-section-header:hover{
    color: var(--rareclr);
}
.music-recommended-section-header:hover .music-recommended-heading-arrow{
    background: var(--rareclr);
    border-color: var(--rareclr);
    color: var(--mainclr);
}
.music-recommended-section-header:focus-visible{
    outline: 2px solid var(--rareclr);
    outline-offset: 5px;
    border-radius: .25rem;
}
.music-recommended-container{
    width: 100%;
    padding-inline: 5%;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(11rem, 15%, 14rem);
    overflow-x: auto;
    overscroll-behavior-inline: contain ;
    padding-top: 20px;
    padding-bottom: 50px;
    gap: clamp(1.25rem, 2.5vw, 2.5rem);
    border-radius: 5px;
    overflow-y: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 4%, white 90%, transparent);
    mask: linear-gradient(90deg, transparent, white 4%, white 90%, transparent);

}
.music-recommended{
    
    margin-block: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
}
.music-recommended-image{
    width: 100%;
}
.music-recommended-image img{
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 10px;
    transition: all ease 0.6s;
}
.music-recommended-image img:hover{
    scale: 1.05;
}
.music-recommended-name{
    font-weight: 100;
    height: 50px;
    margin-top: 20px;
    margin-bottom: 5px;
    display: flex;
    align-items: start;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--textclr);
    font-size: clamp(var(--mediumf));
    width: 100%;
    transition: all ease 0.6s;
}
.music-recommended-name:hover{
    color: var(--rareclr);
}
.music-recommended-container::-webkit-scrollbar{
    height: 5px;

}
.music-recommended-container::-webkit-scrollbar-track{
    background-color: black;
}
.music-recommended-container::-webkit-scrollbar-thumb{
    background-color: var(--borderclr);
}

@media (min-width: 769px) {
    .music-recommended-name {
        height: auto;
        min-height: 2.5rem;
        margin-top: .75rem;
        font-size: clamp(.9rem, 1vw, 1.125rem);
        font-weight: 400;
        line-height: 1.4;
    }
}

@media(max-width: 768px){
    .music-recommended-section{
        margin-bottom: 15%;
    }
    .music-recommended-heading{
        gap: 1rem;
        padding-block: .75rem .25rem;
    }
    .music-recommended-section-header{
        font-size: clamp(1.25rem, 5vw, 1.5rem);
    }
    .music-recommended-heading-arrow{
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    .music-recommended-container{
        
        padding-inline: 5%;
        grid-auto-columns: 25%;
        padding-top: 20px;
        padding-bottom: 50px;
        gap: 2rem;
        -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
        mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
        
    
    }
    .music-recommended-name{
        
        height: 30px;
        margin-top: 10px;
        margin-bottom: 5px;
        font-size: clamp(var(--smallf));
        
    }
    .hero-image{
        width: 100%;
        height: 50vh;
        position: absolute;
        top: 8vh;
        left: 50%;
        transform: translate(-50%, 0%);
        z-index: 1;
        object-fit: cover;
    }
}

