/* ===========================
   StudioTae5 - Main Stylesheet
   =========================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* ── 새 팔레트 (#4A4A4A · #CBCBCB · #FFFFE3 · #6D8196) ── */
    --color-black: #232323;
    --color-dark: #2a2a2a;
    --color-dark-2: #232323;
    --color-dark-3: #3a3a3a;
    --color-light: #383838;
    --color-light-2: #424242;
    --color-white: #ffffff;
    --color-cream: #FFFFE3;
    --color-accent: #FFFFE3;
    --color-accent-hover: #fffff0;
    --color-text: #FFFFE3;
    --color-text-muted: #6D8196;
    --color-text-light: rgba(255,255,227,0.92);
    --color-text-light-muted: rgba(255,255,227,0.55);
    --color-icon: #ffffff;

    --font-logo: 'Dancing Script', cursive;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Noto Sans KR', sans-serif;

    --header-height: 72px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 8px 40px rgba(0,0,0,0.22);
    --shadow-dark: 0 8px 40px rgba(0,0,0,0.45);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: #232323; /* 메인 배경 */
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===========================
   SPLASH SCREEN
   =========================== */
.splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #232323;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash.splash--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash__logo {
    height: 160px;
    width: auto;
    opacity: 0;
    transform: scale(0.7);
    animation: splashLogoIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes splashLogoIn {
    0% {
        opacity: 0;
        transform: scale(0.7);
        filter: blur(8px);
    }
    50% {
        opacity: 1;
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0px);
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Logo Text --- */
.logo-text {
    font-family: var(--font-logo);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-cream);
    letter-spacing: 0.02em;
    transition: color var(--transition);
}

.logo-text--footer {
    font-size: 2.2rem;
    color: var(--color-cream);
}

.logo-img {
    height: 55px;
    width: auto;
    display: block;
    filter: brightness(1);
    transition: opacity var(--transition);
    object-fit: contain;
    position: relative;
    top: 0px;
    pointer-events: none;
}

.logo-img:hover {
    opacity: 0.8;
}

.logo-img--footer {
    height: 210px;
    padding: 0;
}

/* ===========================
   HEADER
   =========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(35,35,35,0.95);
    height: var(--header-height);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background var(--transition), box-shadow var(--transition);
    overflow: visible;
}

.header.scrolled {
    background: rgba(35,35,35,0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    padding: 0 32px;
}

.nav__logo {
    display: flex;
    align-items: center;
    height: var(--header-height);
    overflow: visible;
    pointer-events: auto;
    cursor: pointer;
}

.nav__menu {
    display: flex;
    gap: 36px;
    align-items: center;
}

.nav__link {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(109,129,150,0.8);
    position: relative;
    padding-bottom: 3px;
    transition: color var(--transition);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-cream);
    transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-cream);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-icon);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ===========================
   HERO SECTION — Album Showcase
   =========================== */
.hero {
    position: relative;
    width: 100%;
    background: #232323; /* 히어로 배경 */
    margin-top: var(--header-height);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ── 배경 이미지 (블러) ── */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/microphone.jpg') center/cover no-repeat;
    filter: blur(6px) brightness(0.5);
    transform: scale(1.05);
    z-index: 0;
}

/* ── 어두운 오버레이 ── */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(35,35,35,0.45) 0%, rgba(35,35,35,0.75) 100%);
    z-index: 1;
}

/* ── 인트로 콘텐츠 ── */
.hero__intro {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px;
    min-height: 560px;
}

.hero__greeting {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: #FFFFE3;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero__title {
    margin-bottom: 28px;
    line-height: 0;
}

.hero__logo-img {
    height: 120px;
    width: auto;
    display: block;
}

.hero__desc {
    font-size: 1rem;
    line-height: 1.85;
    color: rgba(255,255,227,0.7);
    max-width: 520px;
    margin-bottom: 44px;
}

/* ── CTA 버튼 ── */
.hero__cta {
    display: flex;
    gap: 16px;
    align-items: center;
}

.hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.hero__btn--primary {
    background: var(--color-cream);
    color: var(--color-black);
    border: 2px solid var(--color-cream);
}

.hero__btn--primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,227,0.18);
}

.hero__btn--outline {
    background: transparent;
    color: #FFFFE3;
    border: 2px solid rgba(255,255,227,0.3);
}

.hero__btn--outline:hover {
    border-color: #FFFFE3;
    color: #ffffff;
    background: rgba(109,129,150,0.12);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(109,129,150,0.12);
}

/* ── 히어로 반응형 ── */
@media (max-width: 768px) {
    .hero__intro {
        padding: 80px 24px;
        min-height: 440px;
    }

    .hero__title {
        font-size: 2.8rem;
    }

    .hero__desc {
        font-size: 0.9rem;
    }

}

@media (max-width: 480px) {
    .hero__intro {
        padding: 64px 20px;
        min-height: 380px;
    }

    .hero__title {
        font-size: 2.2rem;
        margin-bottom: 20px;
    }

    .hero__desc {
        font-size: 0.85rem;
        margin-bottom: 32px;
    }

    .hero__desc br {
        display: none;
    }

    .hero__cta {
        flex-direction: column;
        width: 100%;
    }

    .hero__btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

}

/* ===========================
   SOUNDWORK SECTION
   =========================== */
.soundwork {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

/* ── 배경 이미지 (블러 + 크로스페이드) ── */
.soundwork__bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(14px) brightness(0.35) saturate(0.7);
    transform: scale(1.08);
    z-index: 0;
    transition: opacity 0.8s ease;
}

.soundwork__bg--next {
    opacity: 0;
    z-index: 0;
}

.soundwork__bg--fade-in {
    opacity: 1;
}

.soundwork__bg--fade-out {
    opacity: 0;
}

/* ── 오버레이 ── */
.soundwork__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(35,35,35,0.7) 0%,
        rgba(35,35,35,0.55) 50%,
        rgba(35,35,35,0.75) 100%
    );
    z-index: 1;
}

/* ── 좌우 화살표 버튼 ── */
.soundwork__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 52px;
    height: 104px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.7);
    font-size: 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.soundwork__arrow--left {
    left: 20px;
}

.soundwork__arrow--right {
    right: 20px;
}

.soundwork__arrow:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,227,0.15);
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 0 20px rgba(255,255,255,0.04);
}

.soundwork__arrow--left:hover {
    transform: translateY(-50%) translateX(-5px);
}

.soundwork__arrow--right:hover {
    transform: translateY(-50%) translateX(5px);
}

.soundwork__arrow:hover i {
    text-shadow: 0 0 12px rgba(255,255,227,0.4);
}

.soundwork__arrow:active {
    background: rgba(255,255,227,0.2);
    border-color: rgba(255,255,227,0.25);
    color: #FFFFE3;
    transform: translateY(-50%) scale(0.96);
    transition-duration: 0.1s;
}

.soundwork__arrow i {
    transition: transform 0.35s ease, text-shadow 0.35s ease;
}

.soundwork__arrow--left:hover i {
    transform: translateX(-2px);
}

.soundwork__arrow--right:hover i {
    transform: translateX(2px);
}

/* ── 컨테이너 ── */
.soundwork__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
    align-items: start;
}

/* ── 좌측: 유튜브 영상 ── */
.soundwork__left {
    display: flex;
    flex-direction: column;
}

.soundwork__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: #FFFFE3;
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.soundwork__label i {
    color: #ffffff;
    font-size: 1rem;
}

.soundwork__counter {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: rgba(255,255,227,0.4);
}

.soundwork__player {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 비율 */
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    border: 1px solid rgba(255,255,227,0.08);
}

/* iframe 프리로드: 절대위치 중첩, show/hide 전환 */
.soundwork__player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.soundwork__player iframe.sw-iframe--active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.soundwork__player iframe.sw-iframe--preload {
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.soundwork__video-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFE3;
    margin-top: 20px;
    letter-spacing: 0.02em;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.soundwork__video-desc {
    font-size: 0.82rem;
    color: rgba(255,255,227,0.5);
    margin-top: 6px;
    line-height: 1.6;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* 콘텐츠 전환 페이드 */
.sw-fade-out {
    opacity: 0 !important;
    transform: translateY(8px) !important;
}

.sw-fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ── 우측: 출연 크레딧 ── */
.soundwork__right {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,227,0.08);
    border-radius: 12px;
    padding: 36px 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: opacity 0.45s ease;
    justify-content: space-between;
    overflow: hidden;
    box-sizing: border-box;
    margin-top: 45px;
}

.soundwork__credit-title {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: #FFFFE3;
    text-transform: uppercase;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,227,0.1);
}

.soundwork__credit-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    justify-content: center;
}

/* 크레딧 아이템 — 등장 애니메이션 + 호버 */
.soundwork__credit-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255,255,227,0.05);
    border-radius: 6px;
    opacity: 0;
    transform: translateY(10px);
    animation: sw-credit-in 0.45s ease forwards;
    transition: background 0.4s ease,
                padding-left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

/* 시차 등장 애니메이션 */
.soundwork__credit-item:nth-child(1) { animation-delay: 0.05s; }
.soundwork__credit-item:nth-child(2) { animation-delay: 0.1s; }
.soundwork__credit-item:nth-child(3) { animation-delay: 0.15s; }
.soundwork__credit-item:nth-child(4) { animation-delay: 0.2s; }
.soundwork__credit-item:nth-child(5) { animation-delay: 0.25s; }
.soundwork__credit-item:nth-child(6) { animation-delay: 0.3s; }
.soundwork__credit-item:nth-child(7) { animation-delay: 0.35s; }
.soundwork__credit-item:nth-child(8) { animation-delay: 0.4s; }

@keyframes sw-credit-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.soundwork__credit-item:last-child {
    border-bottom: none;
}

.soundwork__credit-item:hover {
    background: rgba(255,255,227,0.05);
    padding-left: 14px;
    box-shadow: inset 3px 0 0 #FFFFE3;
    border-color: transparent;
}

.credit__role {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255,255,227,0.4);
    text-transform: uppercase;
    flex-shrink: 0;
    transition: color 0.35s ease;
}

.soundwork__credit-item:hover .credit__role {
    color: rgba(255,255,227,0.7);
}

.credit__name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #FFFFE3;
    text-align: right;
    transition: color 0.35s ease, transform 0.35s ease;
}

.soundwork__credit-item:hover .credit__name {
    color: #ffffff;
    transform: translateX(2px);
}

.soundwork__credit-footer {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,227,0.1);
}

.soundwork__more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255,255,227,0.55);
    padding: 8px 0;
    transition: color 0.4s ease, transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.soundwork__more-btn i {
    color: #ffffff;
    font-size: 0.72rem;
    transition: color 0.35s ease, transform 0.35s ease;
}

.soundwork__more-btn:hover {
    color: #FFFFE3;
    transform: translateX(6px);
}

.soundwork__more-btn:hover i {
    color: #FFFFE3;
    transform: translateX(2px) scale(1.1);
}

/* ── Soundwork 반응형 ── */
@media (max-width: 1024px) {
    .soundwork__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .soundwork {
        padding: 80px 0;
    }

    .soundwork__arrow {
        width: 44px;
        height: 80px;
        font-size: 0.95rem;
    }

    .soundwork__arrow--left { left: 12px; }
    .soundwork__arrow--right { right: 12px; }
}

@media (max-width: 640px) {
    .soundwork {
        padding: 56px 0;
    }

    .soundwork__arrow {
        width: 36px;
        height: 60px;
        font-size: 0.85rem;
        border-radius: 5px;
    }

    .soundwork__arrow--left { left: 6px; }
    .soundwork__arrow--right { right: 6px; }

    .soundwork__credit-item {
        padding: 12px 6px;
    }

    .soundwork__credit-item:hover {
        padding-left: 10px;
    }

    .soundwork__right {
        padding: 28px 20px;
    }

    .soundwork__credit-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .credit__name {
        text-align: left;
    }
}

/* ===========================
   SECTION COMMONS
   =========================== */
.section {
    padding: 96px 0;
}

.section--light {
    background: #505050;
}

.section--dark {
    background: #232323;
}

.section__header {
    text-align: center;
    margin-bottom: 56px;
}

.section__header--left {
    text-align: left;
    margin-bottom: 24px;
}

.section__title {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    color: #FFFFE3;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 500;
}

.section__title--light {
    color: rgba(255,255,227,0.65);
}

.section__title--large {
    font-size: 1.22rem; /* 0.72rem + 8px(0.5rem) */
}

.section__desc {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: #FFFFE3;
    line-height: 1.3;
}

.section__desc--light {
    color: #FFFFE3;
}

/* ===========================
   WORK / PORTFOLIO SECTION
   =========================== */
.work__filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 44px;
    flex-wrap: wrap;
}

.filter__btn {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    font-weight: 500;
    padding: 8px 20px;
    border: 1px solid var(--color-light-2);
    border-radius: 24px;
    color: var(--color-text-muted);
    transition: all var(--transition);
    background: none;
}

.filter__btn.active,
.filter__btn:hover {
    background: var(--color-black);
    color: #FFFFE3;
    border-color: var(--color-black);
}

.work__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.work__item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.work__item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.work__item.hidden {
    display: none;
}

.work__thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.work__thumb-bg {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.work__item:hover .work__thumb-bg {
    transform: scale(1.07);
}

.work__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}

.work__item:hover .work__overlay {
    opacity: 1;
}

.work__tag {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: #FFFFE3;
    font-weight: 600;
    margin-bottom: 4px;
}

.work__name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #FFFFE3;
    font-weight: 700;
    margin-bottom: 2px;
}

.work__artist {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
}

/* ===========================
   GEAR SECTION
   =========================== */
.gear__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.gear__item {
    background: rgba(255,255,255,0.035);
    border-radius: 10px;
    padding: 32px 24px;
    box-shadow: none;
    border: 1px solid rgba(109,129,150,0.18);
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.45s ease,
                background 0.45s ease;
}

.gear__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.28);
    border-color: rgba(255,255,227,0.2);
    background: rgba(255,255,227,0.05);
}

.gear__icon {
    width: 52px;
    height: 52px;
    background: rgba(109,129,150,0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--color-icon);
    font-size: 1.3rem;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.45s ease,
                color 0.45s ease,
                border-radius 0.45s ease;
}

.gear__item:hover .gear__icon {
    transform: scale(1.08) translateY(-2px);
    background: rgba(255,255,255,0.15);
    border-radius: 14px;
    color: #ffffff;
}

.gear__name {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #FFFFE3;
    margin-bottom: 14px;
    text-transform: uppercase;
    transition: color 0.4s ease, letter-spacing 0.4s ease;
}

.gear__item:hover .gear__name {
    color: #FFFFE3;
    letter-spacing: 0.14em;
}

.gear__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gear__list li {
    font-size: 0.85rem;
    color: rgba(255,255,227,0.45);
    padding-left: 12px;
    position: relative;
    transition: color 0.35s ease, transform 0.35s ease;
}

.gear__item:hover .gear__list li {
    color: #FFFFE3;
    transform: translateX(3px);
}

/* 리스트 아이템 시차 애니메이션 */
.gear__item:hover .gear__list li:nth-child(1) { transition-delay: 0s; }
.gear__item:hover .gear__list li:nth-child(2) { transition-delay: 0.04s; }
.gear__item:hover .gear__list li:nth-child(3) { transition-delay: 0.08s; }
.gear__item:hover .gear__list li:nth-child(4) { transition-delay: 0.12s; }
.gear__item:hover .gear__list li:nth-child(5) { transition-delay: 0.16s; }

.gear__list li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: rgba(255,255,227,0.35);
    transition: transform 0.35s ease;
}

.gear__item:hover .gear__list li::before {
    transform: scale(1.2);
}

/* ===========================
   SERVICE / PRICE SECTION
   =========================== */
.price__label-row {
    margin-bottom: 32px;
}

.price__section-title {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    color: rgba(255,255,227,0.5);
    font-weight: 500;
    text-transform: uppercase;
}

.price__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.price__card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(109,129,150,0.15);
    border-radius: 10px;
    padding: 48px 28px 52px;
    min-height: 420px;
    position: relative;
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.45s ease,
                background 0.45s ease,
                box-shadow 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 골드 글로우 라인 (상단) */
.price__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #FFFFE3, #6D8196, #FFFFE3);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.price__card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,227,0.2);
    box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,227,0.06);
    background: rgba(255,255,227,0.04);
}

.price__card:hover::before {
    transform: scaleX(1);
}



.price__card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
}

.price__icon {
    width: 42px;
    height: 42px;
    background: rgba(109,129,150,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-icon);
    font-size: 1rem;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                background 0.45s ease,
                border-radius 0.45s ease;
}

.price__card:hover .price__icon {
    transform: scale(1.08) translateY(-2px);
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    color: #ffffff;
}

.price__name {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #FFFFE3;
    transition: color 0.4s ease, letter-spacing 0.4s ease;
}

.price__card:hover .price__name {
    color: #FFFFE3;
    letter-spacing: 0.2em;
}

.price__amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 32px;
}

.price__currency {
    font-size: 1rem;
    color: #FFFFE3;
    font-weight: 600;
}

.price__value {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFE3;
}

.price__unit {
    font-size: 0.8rem;
    color: rgba(255,255,227,0.45);
}

.price__features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.price__features li {
    font-size: 0.85rem;
    color: rgba(255,255,227,0.5);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.35s ease, transform 0.35s ease;
}

.price__card:hover .price__features li {
    color: #FFFFE3;
    transform: translateX(3px);
}

/* 리스트 아이템 시차 애니메이션 */
.price__card:hover .price__features li:nth-child(1) { transition-delay: 0s; }
.price__card:hover .price__features li:nth-child(2) { transition-delay: 0.04s; }
.price__card:hover .price__features li:nth-child(3) { transition-delay: 0.08s; }
.price__card:hover .price__features li:nth-child(4) { transition-delay: 0.12s; }

.price__features li i {
    color: var(--color-icon);
    font-size: 0.7rem;
    flex-shrink: 0;
    transition: transform 0.35s ease;
}

.price__card:hover .price__features li i {
    transform: scale(1.2);
}

.price__btn {
    display: block;
    text-align: center;
    padding: 12px;
    border: 1px solid rgba(109,129,150,0.25);
    border-radius: 6px;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,227,0.7);
    font-weight: 500;
    transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.price__btn:hover {
    border-color: #FFFFE3;
    color: #FFFFE3;
    background: rgba(255,255,227,0.08);
}



/* ===========================
   ABOUT SECTION
   =========================== */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.about__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.about__text p {
    font-size: 0.95rem;
    color: rgba(255,255,227,0.6);
    line-height: 1.8;
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    padding: 28px 0;
    border-top: 1px solid var(--color-light-2);
    border-bottom: 1px solid var(--color-light-2);
}

.stat {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 2px;
}

.stat__num {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: #FFFFE3;
    line-height: 1;
}

.stat__unit {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFE3;
}

.stat__label {
    width: 100%;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(255,255,227,0.5);
    text-transform: uppercase;
    font-weight: 500;
    margin-top: 4px;
}

/* Contact Form */
.about__contact h3 {
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: rgba(255,255,227,0.5);
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 20px;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form__group {
    width: 100%;
}

.form__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--color-light-2);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: #333;
    background: #ffffff;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    appearance: none;
}

.form__input:focus {
    border-color: var(--color-cream);
    box-shadow: 0 0 0 3px rgba(255,255,227,0.12);
}

.form__select {
    cursor: pointer;
    color: #6D8196;
}

.form__textarea {
    resize: vertical;
    min-height: 100px;
}

.form__btn {
    align-self: flex-start;
    padding: 13px 36px;
    background: var(--color-black);
    color: #FFFFE3;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    font-weight: 600;
    border-radius: 6px;
    transition: background var(--transition), transform var(--transition);
    font-family: var(--font-body);
    border: 2px solid var(--color-black);
}

.form__btn:hover {
    background: var(--color-cream);
    border-color: var(--color-cream);
    color: var(--color-black);
    transform: translateY(-2px);
}

/* About visual */
.about__img-wrap {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about__deco-box {
    background: var(--color-dark);
    border-radius: 8px;
    padding: 48px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 220px;
}

.deco__kanji {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: #FFFFE3;
    letter-spacing: 0.05em;
    line-height: 1;
}

.deco__number {
    font-family: var(--font-heading);
    font-size: clamp(5rem, 10vw, 9rem);
    font-weight: 700;
    color: #FFFFE3;
    line-height: 1;
}

.about__info-card {
    background: rgba(109,129,150,0.06);
    border: 1px solid rgba(109,129,150,0.15);
    border-radius: 8px;
    padding: 28px;
}

.info-card__label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: rgba(255,255,227,0.5);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.info-card__value {
    font-size: 0.92rem;
    color: #FFFFE3;
    font-weight: 500;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    background: #3a3a3a;
    padding: 48px 0 36px;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.footer__social {
    display: flex;
    gap: 16px;
}

.social__link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,227,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.social__link:hover {
    background: var(--color-cream);
    border-color: var(--color-cream);
    color: var(--color-black);
    transform: translateY(-3px);
}

.footer__copy {
    font-size: 0.75rem;
    color: rgba(255,255,227,0.35);
    letter-spacing: 0.08em;
}

/* ===========================
   SCROLL TOP BUTTON
   =========================== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 28px;
    z-index: 900;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-cream);
    color: var(--color-black);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(255,255,227,0.2);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity var(--transition), transform var(--transition);
    pointer-events: none;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top:hover {
    background: #fffff0;
    transform: translateY(-3px);
}

/* ===========================
   CONTACT MODAL
   =========================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal__panel {
    position: relative;
    z-index: 1;
    width: 92%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    background: #2a2a2a;
    border: 1px solid rgba(255,255,227,0.08);
    border-radius: 14px;
    padding: 40px 36px 36px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.5);
    transform: translateY(24px) scale(0.97);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal.is-open .modal__panel {
    transform: translateY(0) scale(1);
}

/* 스크롤바 */
.modal__panel::-webkit-scrollbar {
    width: 5px;
}
.modal__panel::-webkit-scrollbar-track {
    background: transparent;
}
.modal__panel::-webkit-scrollbar-thumb {
    background: rgba(255,255,227,0.15);
    border-radius: 4px;
}

/* 헤더 */
.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.modal__title {
    font-family: var(--font-body);
    font-size: 1.3rem;
    font-weight: 700;
    color: #FFFFE3;
    margin-bottom: 6px;
}

.modal__subtitle {
    font-size: 0.78rem;
    color: rgba(255,255,227,0.45);
    line-height: 1.5;
}

.modal__close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,227,0.06);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.modal__close:hover {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border-color: rgba(255,255,227,0.15);
}

/* 폼 필드 */
.modal__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal__field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.modal__label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255,255,227,0.6);
    text-transform: uppercase;
}

.modal__req {
    color: #FFFFE3;
}

.modal__input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,227,0.1);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: #FFFFE3;
    outline: none;
    transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
    appearance: none;
    -webkit-appearance: none;
}

.modal__input::placeholder {
    color: rgba(255,255,227,0.25);
}

.modal__input:focus {
    border-color: rgba(255,255,227,0.3);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 0 3px rgba(255,255,227,0.06);
}

/* 셀렉트 */
.modal__select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23FFFFE3' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.modal__select option {
    background: #2a2a2a;
    color: #FFFFE3;
}

/* 2열 레이아웃 */
.modal__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* 텍스트영역 */
.modal__textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.7;
}

/* 라디오 그룹 */
.modal__radio-group {
    display: flex;
    gap: 12px;
}

.modal__radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,227,0.1);
    border-radius: 8px;
    transition: all 0.35s ease;
}

.modal__radio:hover {
    border-color: rgba(255,255,227,0.2);
    background: rgba(255,255,255,0.06);
}

.modal__radio input {
    display: none;
}

.modal__radio-box {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,227,0.25);
    flex-shrink: 0;
    position: relative;
    transition: border-color 0.3s ease;
}

.modal__radio-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFFFE3;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal__radio input:checked ~ .modal__radio-box {
    border-color: #FFFFE3;
}

.modal__radio input:checked ~ .modal__radio-box::after {
    transform: translate(-50%, -50%) scale(1);
}

.modal__radio input:checked ~ .modal__radio-text {
    color: #FFFFE3;
}

.modal__radio-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,227,0.55);
    transition: color 0.3s ease;
}

/* 파일 첨부 */
.modal__file-drop {
    position: relative;
    border: 2px dashed rgba(255,255,227,0.15);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background 0.3s ease;
    min-height: 80px;
}

.modal__file-drop:hover,
.modal__file-drop.dragover {
    border-color: var(--color-accent);
    background: rgba(255,255,227,0.03);
}

.modal__file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.modal__file-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,227,0.35);
    font-size: 0.85rem;
    pointer-events: none;
}

.modal__file-placeholder i {
    font-size: 1.5rem;
}

.modal__file-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 0;
}

.modal__file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,227,0.05);
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 0.8rem;
    color: var(--color-text);
}

.modal__file-item-info {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.modal__file-item-info i {
    color: var(--color-accent);
    flex-shrink: 0;
}

.modal__file-item-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal__file-item-size {
    color: rgba(255,255,227,0.4);
    flex-shrink: 0;
    margin-left: 8px;
}

.modal__file-remove {
    background: none;
    border: none;
    color: rgba(255,255,227,0.4);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
    z-index: 3;
    position: relative;
}

.modal__file-remove:hover {
    color: #e74c3c;
    background: rgba(231,76,60,0.1);
}

.modal__hint {
    font-weight: 400;
    font-size: 0.75rem;
    color: rgba(255,255,227,0.35);
}

/* 제출 버튼 */
.modal__submit {
    width: 100%;
    padding: 14px;
    margin-top: 8px;
    border: none;
    border-radius: 8px;
    background: #FFFFE3;
    color: #232323;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.modal__submit:hover {
    background: #fffff0;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,255,227,0.18);
}

.modal__submit:active {
    transform: translateY(0);
}

.modal__submit:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
    font-variant-numeric: tabular-nums;
}

/* date 인풋 아이콘 색상 */
.modal__input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.8);
    cursor: pointer;
}

/* 모달 반응형 */
@media (max-width: 640px) {
    .modal__panel {
        padding: 28px 20px 24px;
        max-height: 95vh;
        border-radius: 12px;
    }

    .modal__row {
        grid-template-columns: 1fr;
    }

    .modal__radio-group {
        flex-direction: column;
    }

    .modal__title {
        font-size: 1.1rem;
    }
}

/* ===========================
   TOAST NOTIFICATION
   =========================== */
.toast {
    position: fixed;
    bottom: 90px;
    right: 28px;
    z-index: 2000;
    background: var(--color-black);
    color: #FFFFE3;
    padding: 14px 22px;
    border-radius: 8px;
    font-size: 0.85rem;
    border-left: 3px solid var(--color-cream);
    box-shadow: var(--shadow-dark);
    opacity: 0;
    transform: translateY(8px) translateX(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    max-width: 260px;
}

.toast.show {
    opacity: 1;
    transform: translateY(0) translateX(0);
    pointer-events: auto;
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.anim-fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   RESPONSIVE - TABLET
   =========================== */
@media (max-width: 1024px) {
    .gear__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__img-wrap {
        position: static;
    }

    .about__deco-box {
        min-height: 160px;
    }
}

@media (max-width: 900px) {
    .work__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .price__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }


}

/* ===========================
   RESPONSIVE - MOBILE
   =========================== */
@media (max-width: 640px) {
    :root {
        --header-height: 60px;
    }

    .nav__menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: #3e3e3e;
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
    }

    .nav__menu.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav__link {
        padding: 13px 28px;
        font-size: 0.85rem;
    }

    .nav__link::after { display: none; }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav__toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero__arrow { display: none; }

    .hero__slide {
        padding-top: 80px;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__bg-element span { font-size: 5rem; }

    .work__grid {
        grid-template-columns: 1fr;
    }

    .gear__grid {
        grid-template-columns: 1fr;
    }

    .about__stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .section {
        padding: 64px 0;
    }
}
