@font-face {
    font-family: Redaction35;
    src: url(Redaction35-Regular.ttf);
}
@font-face {
    font-family: Redaction35B;
    src: url(Redaction35-Bold.ttf);
}
body {
    font-family: Redaction35;
    height: 100vh;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#top {
    height: 10vh;
    width: 100%;
    position: absolute;
    top: 7px;
    left: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 54pt;
    color: white;
}

#mus span {
    color: inherit;            /* JS sets this to match the background */
    -webkit-text-stroke: none; /* Kill any stroke */
    text-stroke: none;
    text-shadow: none;
  }
  
  #mus span:hover {
    color: #FFEE00 !important; /* Always yellow on hover */
  }
  

#left {
    width: 50%;
    height: 100vh;
    position: absolute;
    left: 0;
    top: 0;
    padding:10vh 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#right {
    width: 50%;
    height: 100vh;
    position: absolute;
    right: 0;
    top: 0;
    padding:19.6vh 2rem 2rem 2rem;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    overflow: hidden;
    word-break: keep-all;
    white-space: nowrap;
    overflow-wrap: normal;
}

#right ul {
    list-style: none;
    overflow-y: auto;
    flex: 1;
    padding-right: 1em;
}

#clients {
    text-decoration: none;
    cursor: default;
    position: relative;
}

#clients::after {
    content: "";
    display: block;
    width: 100%;
    height: 10px;
    background-image: url('Underline2.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -10px;
}

h1 {
    font-size: 42pt;
    font-weight: normal;
    text-decoration: none;
    cursor: default;
    position: relative;
}

#we {
    padding-top: 10px;
}

h1::after {
    content: "";
    display: block;
    width: 50%;
    height: 10px;
    background-image: url('underline1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -15px;
}

#left p {
    font-size: 24pt;
    line-height: 1.4;
}

#contact {
    margin-top: auto;
}

#contact p {
    font-size: 24pt;
    line-height: 1.2;
    margin: 0;
    cursor: pointer;
}

#right p {
    font-size: 24pt;
    margin-bottom: 1rem;
}

#right ul {
    list-style: none;
}

#right li {
    font-size: 24pt;
    cursor: pointer;
}

#right li:hover::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('lilapple.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 10px;
    vertical-align: middle;
}

#contact p:hover::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('lilapple.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 10px;
    vertical-align: middle;
}

.social-links {
    font-size: 24pt;
    margin-left: 6rem;
    margin-top: 0.2rem;
    margin-bottom: 0.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.social-links a {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.social-links a:hover::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-image: url('lilapple.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 10px;
    vertical-align: middle;
}

#sam-email a, #cristina-email a {
    color: inherit;
    text-decoration: none;
    font-weight: inherit;
    font-size: inherit;
}

#corner-worm {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 6%;
    height: auto;
    z-index: 1;
    margin: 20px;
    transition: transform 0.1s ease;
}

#corner-worm:hover {
    transform: rotate(-30deg);
}

@media (max-width: 1219px) {
    #mus span {
        visibility: hidden;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 5.5vw;
    }
    #left p,
    #contact p,
    #right p,
    #right li,
    .social-links,
    .social-links a {
        font-size: 3vw;
    }
    #mus span {
        font-size: 2vw;
    }
    h1::after {
        height: 15px;
        margin-top: -15px;
        width: 80%;
    }
    #clients::after {
        height: 15px;
        margin-top: -12px;
    }
    #corner-worm {
        margin-right: 40px;
    }
}

/* Mobile Layout - Stack vertically */
@media (max-width: 768px) {
    body {
        height: auto;
        min-height: 100vh;
    }

    #top {
        height: 8vh;
        position: relative;
        top: 0;
    }

    #mus span {
        visibility: hidden;
    }

    #left {
        position: relative;
        width: 100%;
        height: auto;
        padding: 2rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1.5rem;
    }

    h1 {
        font-size: clamp(10vw, 14vw, 18vw);
        white-space: nowrap;
    }

    h1::after {
        width: 100%;
        height: 18px;
        margin-top: -15px;
    }


    
    #we {
        font-size: 4vw;
        padding-top: 0;
        margin: 0;
        margin-top: -18px;
        margin-bottom: 18px;
        text-align: left;
    }

    #contact {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    #contact p {
        font-size: 4vw;
    }

    #right {
        position: relative;
        width: 100%;
        height: auto;
        padding: 2rem;
        display: flex;
        flex-direction: row;
        gap: 2rem;
        overflow: visible;
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
    }

    #clients {
        font-size: 4vw;
        flex-shrink: 0;
        align-self: flex-start;
    }

    #clients::after {
        width: 100%;
        height: 18px;
        margin-top: -12px;
    }

    #right ul {
        overflow-y: auto;   /* make list scrollable */
        flex: 1;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        max-height: 50vh;   /* optional: limit so it doesn’t push down page */
    }

    #right li {
        font-size: vw;
    }

    #corner-worm {
        width: 12%;
        margin-right: 20px;
        margin-bottom: 20px;
    }
    #we,
    #clients,
    #contact p,
    #right p,
    #right li,
    .social-links,
    .social-links a {
        font-size: 5vw !important; /* scale nicely with screen */
    }
}

@media (max-width: 480px) {
    body {
        overflow: hidden;
    }
    h1 {
        font-size: clamp(9vw, 13vw, 17vw);
    }
#we {
    text-align: left;
}
    /* Force everything else except the h1 */
    #we,
    #clients,
    #contact p,
    #right p,
    #right li,
    .social-links,
    .social-links a {
        font-size: 17pt !important; /* use px/vw/pt consistently */
    }
    #right {
    overflow-y: auto;   /* make list scrollable */
    max-height: 50vh;
    }
    #right ul{
        padding-bottom: 80px;
    }
}
