* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

body {
    background: #161616;
    overflow-x: hidden;
}

body {
    cursor: none;
}


#hero-container {
    width: 100vw;
    height: 100vh;
    display: block;
    position: relative;
    z-index: 1;
}

#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}


.star {
    position: absolute;
    background: #ffffff;
    border-radius: 50%;
    opacity: 0.8;
}

#dol82-label {
    position: fixed;
    top: 28px;
    left: 32px;
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 100px;
    letter-spacing: 0.08em;
    color: #ffffff;
    z-index: 100;
    pointer-events: none;
    will-change: transform;
}

#faces-section {
    width: 100%;
    min-height: 100vh;
    background: transparent;
    padding: 80px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

#faces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1100px;
    width: 100%;
}

.face-item {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.face-canvas-wrapper {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
}

.face-item canvas {
    width: 100% !important;
    height: 100% !important;
}

.face-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.face-label::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.face-item:hover .face-label::after {
    width: 100%;
}

#contact-section {
    width: 100%;
    min-height: 100vh;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: -80px;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 900;
    font-size: 250px;
    letter-spacing: 0.05em;
    color: #ffffff;
    transform: scaleY(0);
    transform-origin: top;
    margin-bottom: 60px;
    align-self: center;
}

.contact-content {
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 40px;
    opacity: 0;
}

.contact-content.visible {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.contact-left {
    text-align: left;
}

.contact-right {
    text-align: right;
}

.contact-section-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}

.contact-email {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-email a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.contact-email a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-email a:hover::after {
    width: 100%;
}

.contact-phone {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 0;
}

.contact-links-group {
    margin-bottom: 30px;
}

.contact-links-group:last-child {
    margin-bottom: 0;
}

.contact-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 10px;
}

.contact-link a {
    color: #ffffff;
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.contact-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-link a:hover::after {
    width: 100%;
}

footer {
    position: relative;
    z-index: 1;
}

.footer-break {
    display: none;
}

.footer-no-break {
    display: inline;
}

::selection {
    background-color: #ffffff;
    color: #161616;
}

::-moz-selection {
    background-color: #ffffff;
    color: #161616;
}

@media (max-width: 1200px) {
    .contact-content {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
  #faces-section {
      padding: 20px 20px 60px 20px;
      min-height: auto;
  }

    #faces-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .face-label {
        font-size: 16px;
        margin-top: -50px;
    }

    .contact-title {
        font-size: 120px;
        align-self: flex-start;
    }

    .contact-content {
        flex-direction: column;
        padding: 0 20px;
        gap: 40px;
        align-self: flex-start;
        width: 100%;
        max-width: 100%;
    }

    .contact-right {
        text-align: left;
    }

    #contact-section {
        align-items: flex-start;
        padding: 0 20px;
    }

    .contact-section-title {
        font-size: 32px;
    }

    .contact-email {
        font-size: 24px;
    }

    .contact-phone {
        font-size: 24px;
    }

    .contact-link {
        font-size: 24px;
    }

    .footer-break {
        display: inline;
    }

    .footer-no-break {
        display: none;
    }
        #dol82-label {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    #faces-section {
      padding: 10px 20px 40px 20px;
      }
    #faces-grid {
        gap: 20px;
    }

    .face-label {
        font-size: 14px;
        margin-top: -20px;
    }

    .contact-title {
        font-size: 70px;
    }

    .contact-section-title {
        font-size: 28px;
    }

    .contact-email {
        font-size: 20px;
    }

    .contact-phone {
        font-size: 20px;
    }

    .contact-link {
        font-size: 20px;
    }

        #dol82-label {
        font-size: 28px;
    }
}

