@charset "utf-8"; /* ════════════════════════════════════════════════════════════ CSS VARIABLES════════════════════════════════════════════════════════════ */
:root {
    --white: #ffffff;
    --black: #000000;
    --cream: #f7f4ef;
    --light-gray: #ccc;
    --accent-line: #c8b89a;
    --inner: 1440px;
    --inner-lg: 1600px;
    --inner-m: 1520px;
    --inner-s: 1280px;
    --gutter-inner: 5rem;
    --nav-h: 90px;
    --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-aggro: 'SB Aggro', var(--font-base);
}
/* ════════════════════════════════════════════════════════════ KEYFRAMES════════════════════════════════════════════════════════════ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ════════════════════════════════════════════════════════════ LAYOUT COMMON════════════════════════════════════════════════════════════ */
#wrap {
    min-height: 100vh;
    color: var(--black);
}
.inner {
    width: 100%;
    max-width: var(--inner);
    margin: 0 auto;
    padding: 0 var(--gutter-inner);
}
/* ── Hero ── */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 45rem;
    background: no-repeat center / cover;
}
/* ════════════════════════════════════════════════════════════ HEADER════════════════════════════════════════════════════════════ */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: var(--white);
}
.inner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    max-width: var(--inner-lg);
    height: var(--nav-h);
}
.logo-link {
    display: block;
    max-width: 18rem;
}
/* GNB */
.menu {
    display: flex;
    align-items: center;
    gap: 5rem;
}
.menu-link {
    position: relative;
    padding-bottom: 2px;
    color: #373737;
    font-size: 2rem;
    font-weight: 500;
    transition: color 0.2s;
}
.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #373737;
    transition: width 0.25s ease;
}
.menu-link:focus::after,
.menu-link:hover::after,
.menu-link.active::after {
    width: 100%;
}
.menu-link.active {
    font-weight: 700;
}

/* 햄버거 버튼 */
.menu-toggle {
    display: none;
    position: relative;
    width: 3rem;
    height: 3rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 110;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    position: absolute;
    left: 50%;
    width: 2.2rem;
    height: 2px;
    background-color: #000;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        top 0.3s ease;
    transform: translateX(-50%);
}

.menu-toggle span:nth-child(1) {
    top: 0.8rem;
}

.menu-toggle span:nth-child(2) {
    top: 1.4rem;
}

.menu-toggle span:nth-child(3) {
    top: 2rem;
}

/* active */
.menu-toggle.active span:nth-child(1) {
    top: 1.4rem;
    transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 1.4rem;
    transform: translateX(-50%) rotate(-45deg);
}

/* ════════════════════════════════════════════════════════════ CONTENTS WRAPPER════════════════════════════════════════════════════════════ */
.contents-wrap {
    padding-top: var(--nav-h);
}
.contents-wrap.content-list {
    padding-bottom: calc(var(--nav-h) + 6rem);
}
/* ════════════════════════════════════════════════════════════ FOOTER════════════════════════════════════════════════════════════ */
footer {
    width: 100%;
    margin-top: 5rem;
    font-family: var(--font-aggro);
}
.footer-top {
    padding: 3.5rem 0;
}
.footer-top .inner {
    position: relative;
    display: flex;
    align-items: center;
}
.foot-menu {
    display: flex;
    align-items: center;
    margin-right: 4rem;
}
.foot-menu li + li {
    position: relative;
    padding-left: 3.3rem;
}
.foot-menu li + li::before {
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 1.6rem;
    display: block;
    content: '';
    width: 1px;
    background-color: #64758d;
}
.foot-menu a {
    font-size: 1.6rem;
    color: #000;
    line-height: 115%;
    transition: color 0.2s;
}
.foot-menu a:focus,
.foot-menu a:hover {
    text-decoration: underline;
}
.social-menu {
    display: flex;
    gap: 3rem;
    align-items: center;
    margin-left: auto;
}
.social-link {
    transition: opacity 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.social-link:focus,
.social-link:hover {
    opacity: 0.5;
}
.social-icon {
    display: block;
    flex-shrink: 0;
    width: 2.8rem;
    height: 2.8rem;
    background-color: #000;
    -webkit-mask: no-repeat center / contain;
    mask: no-repeat center / contain;
}
.social-icon.blog {
    -webkit-mask-image: url('../img/ic-blog.svg');
    mask-image: url('../img/ic-blog.svg');
}
.social-icon.instagram {
    -webkit-mask-image: url('../img/ic-instagram.svg');
    mask-image: url('../img/ic-instagram.svg');
}
.social-icon.youtube {
    -webkit-mask-image: url('../img/ic-youtube.svg');
    mask-image: url('../img/ic-youtube.svg');
}
.footer-bottom {
    padding: 3.5rem 0 5rem;
    border-top: 1px solid #e6e6e6;
}
.footer-bottom .inner {
    display: flex;
    align-items: flex-start;
    gap: 9.8rem;
}
.foot-logo {
    max-width: 18rem;
    padding: 1.6rem 0;
}
.foot-info {
    font-size: 1.6rem;
    line-height: 2.5rem;
}
.foot-copyright {
    font-size: 1.5rem;
    line-height: 2.6rem;
    margin-top: 2rem;
}
/* ════════════════════════════════════════════════════════════ ABOUT PAGE════════════════════════════════════════════════════════════ */
.hero-about {
    background-image: url('../img/about-top.jpg');
}
.hero-title {
    font-family: var(--font-aggro);
    font-size: 7.8rem;
    color: #fff;
}
/* ── About Content ── */
.section-about {
    padding: 14rem 0 6rem;
    text-align: center;
}
.about-text {
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
    line-height: 160%;
    background: linear-gradient(0deg, #000 0%, #a8a8a8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(1.8rem);
    transition:
        opacity 0.7s ease 0.2s,
        transform 0.7s ease 0.2s;
}
.about-text.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ── Signature ── */
.about-signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin-top: 12rem;
    opacity: 0;
    transform: translateY(1.8rem);
    transition:
        opacity 0.7s ease 0.2s,
        transform 0.7s ease 0.2s;
}
.about-signature.visible {
    opacity: 1;
    transform: translateY(0);
}
.sig-label {
    font-size: 3.2rem;
}
.sig-name {
    width: 40%;
    max-width: 31rem;
}
/* ════════════════════════════════════════════════════════════ GALLERY PAGE════════════════════════════════════════════════════════════ */ /* ── Tab Bar ── */
.tab-bar {
    position: sticky;
    top: var(--nav-h);
    z-index: 90;
    margin-bottom: 6rem;
    border-bottom: 1px solid #e0e0e0;
    background-color: var(--white);
}
.tab-list {
    max-width: var(--inner);
    margin: 0 auto;
    display: flex;
    padding: 0 8rem;
}
.tab-btn {
    position: relative;
    flex: 1;
    min-width: 15.5rem;
    padding: 0 0.8rem;
    color: #8b8b8b;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 5.6rem;
    transition: color 0.2s;
}
.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 4px;
    background: #1a1a1a;
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.tab-btn:focus,
.tab-btn:hover,
.tab-btn.active {
    color: #1a1a1a;
}
.tab-btn.active::after {
    transform: scaleX(1);
}
/* ── Tab Panel ── */
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
    animation: fadeUp 0.45s ease both;
}
/* ── Gallery Grid — CSS Masonry columns ── */
.gallery-panel {
    column-count: 2;
    column-gap: 4rem;
}
/* ── Gallery Item ── */
.gallery-item {
    break-inside: avoid;
    overflow: hidden;
    background: #e8e4de;
    position: relative;
    margin-bottom: 4rem;
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition:
        transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.55s ease;
}
.gallery-item:hover img {
    transform: scale(1.04);
    filter: brightness(0.93);
}
/* ════════════════════════════════════════════════════════════ CONTACT PAGE ════════════════════════════════════════════════════════════ */
.section-contact {
    padding-top: 6rem;
}
/* ── Map ── */
.map-container {
    position: relative;
    width: 100%;
    height: 60rem;
    overflow: hidden;
    background: #eee;
    animation: fadeUp 0.6s ease both;
}
/* ════════════════════════════════════════════════════════════ INDEX PAGE════════════════════════════════════════════════════════════ */
.main-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    padding: 8rem 0;
}
.main-logo {
    flex: 1;
    min-width: 0;
    max-width: 57.5rem;
}
.main-text {
    color: #373737;
    font-size: 2rem;
    font-weight: 500;
    animation: fadeUp 0.7s ease 0.15s both;
}
/* ── Slider : fade 방식 ── */
.main-slider {
    position: relative;
    width: 100%;
    background: #e8e4de;
    animation: fadeUp 0.7s ease 0.25s both;
    aspect-ratio: 16 / 6;
    overflow: hidden;
}
/* track은 position 기준점 역할만, flex 불필요 */
.main-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}
.main-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
}
.main-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}
.main-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.06);
    transition: transform 6s ease;
}
.main-slide.is-active img {
    transform: scale(1);
}
/* ── Controls ── */
.main-slider-controls {
    position: absolute;
    bottom: 2.6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    z-index: 10;
}
.main-slider-btn {
    width: 7px;
    height: 12px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    background: no-repeat center / 100% auto;
    transition: opacity 0.2s;
}
.main-slider-btn.prev {
    background-image: url('../img/ic-left.png');
}
.main-slider-btn.next {
    background-image: url('../img/ic-right.png');
}
.main-slider-counter {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: #fff;
    font-size: 2rem;
}
.main-counter-bar {
    position: relative;
    width: 24rem;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
}
.main-counter-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--white);
}
.main-counter-fill.is-running {
    transition: width linear;
}
/* ════════════════════════════════════════════════════════════ RESPONSIVE - TABLET════════════════════════════════════════════════════════════ */
/* ════════════════════════════════════════════════════════════
 RESPONSIVE
════════════════════════════════════════════════════════════ */

/* ─────────────────────────
 TABLET
───────────────────────── */
@media (max-width: 1280px) {
    :root {
        --gutter-inner: 3.2rem;
    }

    .menu {
        gap: 3.2rem;
    }

    .menu-link {
        font-size: 1.8rem;
    }

    .hero {
        height: 36rem;
    }

    .hero-title {
        font-size: 6rem;
    }

    .section-about {
        padding-top: 10rem;
    }

    .about-text {
        font-size: 3.2rem;
    }

    .about-signature {
        margin-top: 8rem;
    }

    .gallery-panel {
        column-gap: 2.4rem;
    }

    .gallery-item {
        margin-bottom: 2.4rem;
    }

    .footer-bottom .inner {
        gap: 5rem;
    }

    .main-counter-bar {
        width: 18rem;
    }
}

/* ─────────────────────────
 MOBILE
───────────────────────── */
@media (max-width: 768px) {
    :root {
        --nav-h: 7rem;
        --gutter-inner: 2.4rem;
    }

    body.menu-open {
        overflow: hidden;
    }

    .inner {
        box-sizing: border-box;
    }

    /* ── Header ── */
    .inner-header {
        position: relative;
        height: var(--nav-h);
        padding: 0 2.4rem;
    }

    .logo-link {
        max-width: 12rem;
    }

    /* 햄버거 버튼 */
    .menu-toggle {
        display: block;
        position: relative;
        width: 3rem;
        height: 3rem;
        margin-left: auto;
        border: 0;
        background: transparent;
        cursor: pointer;
        z-index: 110;
        -webkit-tap-highlight-color: transparent;
    }

    .menu-toggle span {
        position: absolute;
        left: 50%;
        width: 2.2rem;
        height: 2px;
        background-color: #000;
        transform: translateX(-50%);
        transition:
            transform 0.3s ease,
            opacity 0.3s ease,
            top 0.3s ease;
    }

    .menu-toggle span:nth-child(1) {
        top: 0.8rem;
    }

    .menu-toggle span:nth-child(2) {
        top: 1.4rem;
    }

    .menu-toggle span:nth-child(3) {
        top: 2rem;
    }

    .menu-toggle.active span:nth-child(1) {
        top: 1.4rem;
        transform: translateX(-50%) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        top: 1.4rem;
        transform: translateX(-50%) rotate(-45deg);
    }

    /* 모바일 메뉴 */
    .menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--nav-h));
        padding: 4rem 2.4rem;
        background-color: #fff;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2.8rem;

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }

    .menu.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .menu-link {
        font-size: 2rem;
        font-weight: 700;
    }

    /* ── Main ── */
    .main-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.6rem;
        padding-top: 4rem;
        padding-bottom: 3rem;
    }

    .main-logo {
        max-width: 32rem;
    }

    .main-text {
        font-size: 1.6rem;
        line-height: 1.6;
    }

    .main-slider {
        aspect-ratio: 4 / 3;
    }

    .main-slider-controls {
        bottom: 1.6rem;
    }

    .main-slider-counter {
        gap: 1.2rem;
        font-size: 1.4rem;
    }

    .main-counter-bar {
        width: 8rem;
    }

    /* ── Hero ── */
    .hero {
        height: 20rem;
    }

    .hero-title {
        font-size: 3.8rem;
        text-align: center;
    }

    /* ── About ── */
    .section-about {
        padding: 6rem 0 4rem;
    }

    .about-text {
        font-size: 2rem;
        line-height: 1.8;
        word-break: keep-all;
    }

    .about-signature {
        flex-direction: column;
        gap: 1.6rem;
        margin-top: 5rem;
    }

    .sig-label {
        font-size: 2rem;
    }

    .sig-name {
        width: 70%;
        max-width: 20rem;
    }

    /* ── Gallery ── */
    .tab-bar {
        margin-bottom: 3.2rem;
    }

    .tab-list {
        padding: 0 1.6rem;
    }

    .tab-btn {
        min-width: 0;
        font-size: 1.4rem;
        line-height: 4.8rem;
    }

    .gallery-panel {
        column-count: 1;
        column-gap: 0;
    }

    .gallery-item {
        margin-bottom: 1.6rem;
    }

    /* ── Contact ── */
    .section-contact {
        padding-top: 3.2rem;
    }

    .map-container {
        height: 36rem;
    }

    /* ── Footer ── */
    footer {
        margin-top: 3rem;
    }

    .footer-top {
        padding: 2.4rem 0;
    }

    .footer-top .inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .foot-menu {
        flex-wrap: wrap;
        gap: 1.2rem 0;
        margin-right: 0;
    }

    .foot-menu li + li {
        padding-left: 2rem;
    }

    .foot-menu li + li::before {
        left: 1rem;
    }

    .foot-menu a {
        font-size: 1.4rem;
    }

    .social-menu {
        gap: 2rem;
        margin-left: 0;
    }

    .social-icon {
        width: 2.4rem;
        height: 2.4rem;
    }

    .footer-bottom {
        padding: 2.4rem 0 4rem;
    }

    .footer-bottom .inner {
        flex-direction: column;
        gap: 2.4rem;
    }

    .foot-logo {
        max-width: 14rem;
        padding: 0;
    }

    .foot-info {
        font-size: 1.4rem;
        line-height: 2.2rem;
    }

    .foot-copyright {
        margin-top: 1.2rem;
        font-size: 1.3rem;
        line-height: 2rem;
    }
}

/* ─────────────────────────
 SMALL MOBILE
───────────────────────── */
@media (max-width: 480px) {
    .menu-link {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-text {
        font-size: 1.8rem;
    }

    .main-text {
        font-size: 1.4rem;
    }

    .tab-btn {
        font-size: 1.3rem;
    }

    .main-counter-bar {
        width: 6rem;
    }
}
