body.home { padding-top: 0; }

.hero-nav {
    display: flex;
    justify-content: center;
    gap: 0;
}
.hero-nav a {
    text-decoration: none;
    color: var(--text-white);
    font-size: 1.15rem;
    text-transform: uppercase;
    padding: 0 2.2em;
    letter-spacing: 0.12em;
    transition: color 0.3s ease;
    white-space: nowrap;
}
.hero-nav a.active { color: var(--accent-red); }

.hero-title {
    color: var(--text-white);
    font-size: 2.8rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
    white-space: nowrap;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}
.slide.active { opacity: 1; z-index: 2; }
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 3;
}
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.cma-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
}
.line-top {
    width: 80px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}
.cma-text {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5em;
    color: var(--text-white);
    text-transform: uppercase;
    padding-left: 0.5em;
}

.about-section {
    display: block;
    max-width: 1200px;
    margin: 180px auto;
    padding: 0 80px;
}
.content-side {
    line-height: 2.2;
    color: var(--text-gray);
    text-align: justify;
    font-size: 1.05rem;
    font-weight: 300;
}

.parallax-divider {
    height: 45vh;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
.parallax-divider img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    object-fit: cover;
}

.text-section {
    position: relative;
    z-index: 10;
    background-color: #ffffff;
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.section-title {
    font-size: 2.4rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #000;
    margin-bottom: 60px;
    text-align: center;
}
.section-content {
    width: 90%;
    max-width: 900px;
    font-size: 1.1rem;
    line-height: 2.1;
    text-align: center;
    color: var(--text-gray);
    font-weight: 300;
}

.home .showcase-container {
    max-width: 100%;
    padding: 100px 8vw;
}
.home .project-title {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}
.home .meta-box {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.8;
    margin-top: 15px;
}
.home .description-box {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555;
    font-weight: 300;
    text-align: justify;
}
.home .mode-landscape .description-box {
    max-width: 650px;
    margin-top: 20px;
}
.home .image-box img {
    height: 520px;
    object-fit: cover;
    object-position: center;
}
.home .mode-portrait-right .image-box { width: 55%; margin-right: -6vw; }
.home .mode-portrait-right .text-wrap { margin-left: 8vw; width: 32%; padding-top: calc(520px / 3); }
.home .mode-portrait-left .image-box { width: 55%; }
.home .mode-portrait-left .text-wrap { width: 32%; padding-top: calc(520px / 3); }
.home .mode-landscape .image-box { width: 60%; }

.project-block {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1.2s cubic-bezier(0.2, 0, 0.1, 1), transform 1.2s cubic-bezier(0.2, 0, 0.1, 1);
}
.project-block.in-view,
.section-title.in-view,
.section-content.in-view,
.about-section.in-view {
    opacity: 1;
    transform: none;
}
.section-title,
.section-content,
.about-section {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.desc-wrapper { position: relative; }
.more-btn {
    display: none;
    margin-top: 6px;
    color: #888;
    font-size: 0.9rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.5rem;
        padding: 0 20px;
        line-height: 1.6;
        white-space: normal;
    }
    .hero-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 10px;
        padding: 0 16px;
        max-width: 100%;
    }
    .hero-nav a { font-size: 0.75rem; padding: 4px 0.5em; }
    .about-section { padding: 0 20px; margin: 80px auto; }
    .section-title { font-size: 1.8rem; }
    .section-content,
    .content-side p { font-size: 0.95rem; line-height: 1.7; text-align: left; }
    .parallax-divider { height: 30vh; }
    .home .showcase-container { padding: 40px 20px; }
    .home .image-box img { height: auto; }
    .home .mode-portrait-right .image-box,
    .home .mode-portrait-left .image-box,
    .home .mode-landscape .image-box,
    .home .mode-portrait-right .text-wrap,
    .home .mode-portrait-left .text-wrap {
        width: 100%;
        margin: 0;
        padding-top: 0;
    }
    .desc-wrapper {
        max-height: calc(1.7em * 3);
        overflow: hidden;
    }
    .desc-wrapper.expanded { max-height: none; }
    .more-btn { display: block; }
}
