@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Noto+Sans+KR:wght@100..900&display=swap');

/* --- 1. GLOBAL RESET --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    font-weight: 300;
    background-color: #1E1E1E;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

:lang(ko) {
    font-family: "Noto Sans KR", sans-serif;
    word-break: keep-all;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: #fff;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* --- 2. HEADER & NAV --- */
header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    height: 100px;
    padding: 0 50px;
    background-color: #1E1E1E;
    flex-shrink: 0;
}

.logo-container {
    width: 80px;
    flex-shrink: 0;
}

.nav-logo {
    width: 100%;
    height: auto;
}

.hero-nav {
    display: flex;
    gap: 30px;
}

.hero-nav a {
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.hero-nav a.active {
    color: #A8C3D0;
}

/* --- 3. FOOTER --- */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    height: 100px;
    padding: 0 50px;
    background-color: #1E1E1E;
    flex-shrink: 0;
    flex-direction: row !important;
}

.footer-lang-switch {
    display: flex;
    gap: 10px;
    font-weight: 700;
    font-size: 0.85rem;
}

.lang-btn {
    cursor: pointer;
    opacity: 0.4;
    transition: 0.3s;
}

.lang-btn.active {
    opacity: 1;
    color: #A8C3D0;
}

.brand-name {
    font-size: 0.8rem;
    font-weight: 300;
    font-style: italic;
    opacity: 0.8;
}

.brand-name-text {
    font-family: "Montserrat", sans-serif !important;
}

/* --- 4. ABOUT PAGE LAYOUT --- */
.about-main {
    display: flex;
    flex-direction: column;
    width: 100%;
    opacity: 0;
    animation: simpleFadeIn 1.5s ease-out forwards;
}

.pitch-section {
    width: 100%;
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.editorial-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 50px;
}

.main-text-area {
    width: 60%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-text-area.shifted {
    transform: translateX(-30px);
}

.mission-statement {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.5;
}

.def-title {
    color: #A8C3D0;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.margin-def p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #eaeaea;
    font-weight: 300;
}

.margin-area {
    width: 35%;
    position: relative;
    height: 200px;
}

.margin-def {
    position: absolute;
    top: 50%;
    left: 0;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s ease;
    transform: translateY(-40%);
    width: 100%;
}

.margin-def.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
}

.interactive-word {
    display: inline-block;
    cursor: pointer;
    animation: cinematicPulse 4s infinite ease-in-out;
}

/* --- 5. TEAM SECTION --- */
.team-section {
    width: 100%;
    max-width: 1200px;
    padding: 150px 50px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-section-title {
    color: #A8C3D0;
    /* ARKI Blue */
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 40px;
    /* Adjusted gap to member cards */
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    width: 100%;
    justify-items: center;
    justify-content: center;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-image-wrapper {
    width: 220px;
    aspect-ratio: 1/1;
    background: #fff;
    margin-bottom: 25px;
    overflow: hidden;
    filter: grayscale(1);
    transition: 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: 0.6s ease;
}

.team-member:hover .member-image-wrapper {
    filter: grayscale(0);
}

.member-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.member-role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 6. SCROLL ARROW & ANIMATIONS --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Added hidden class for JS toggle */
.scroll-indicator.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.scroll-indicator svg {
    animation: doubleArrowBob 2s infinite ease-in-out;
}

@keyframes doubleArrowBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

@keyframes simpleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cinematicPulse {
    50% {
        color: #A8C3D0;
        text-shadow: 0 0 10px rgba(168, 195, 208, 0.4);
    }
}

/* REVEAL EFFECT */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.reveal-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- 7. MOBILE OVERHAUL --- */
@media (max-width: 768px) {
    header {
        flex-direction: column !important;
        height: auto;
        padding: 30px 20px;
        gap: 25px;
    }

    .hero-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px 20px;
    }

    footer {
        padding: 0 20px;
        height: 80px;
    }

    .editorial-layout {
        flex-direction: column;
        text-align: center;
    }

    .main-text-area {
        width: 100%;
    }

    .main-text-area.shifted {
        transform: translateY(-20px);
    }

    .margin-area {
        width: 100%;
        margin-top: 50px;
        height: 150px;
    }

    .mission-statement {
        font-size: 1.6rem;
    }
}