@charset "utf-8";

/* 폰트 */
@font-face {font-family: 'SUIT'; src: url('../fonts/SUIT-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap;}
@font-face {font-family: 'SUIT'; src: url('../fonts/SUIT-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap;}
@font-face {font-family: 'SUIT'; src: url('../fonts/SUIT-SemiBold.woff2') format('woff2'); font-weight: 600; font-display: swap;}
@font-face {font-family: 'Noto Sans KR'; src: url('../fonts/NotoSansKR-400-ko.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+AC00-D7A3, U+3131-318E, U+00B7, U+2018-201D, U+2026;}
@font-face {font-family: 'Noto Sans KR'; src: url('../fonts/NotoSansKR-400-latin.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Noto Sans KR'; src: url('../fonts/NotoSansKR-500-ko.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+AC00-D7A3, U+3131-318E, U+00B7, U+2018-201D, U+2026;}
@font-face {font-family: 'Noto Sans KR'; src: url('../fonts/NotoSansKR-500-latin.woff2') format('woff2'); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Noto Sans KR'; src: url('../fonts/NotoSansKR-500-hanja.woff2') format('woff2'); font-weight: 400 600; font-display: swap; unicode-range: U+6C89, U+9999;}
@font-face {font-family: 'Noto Sans KR'; src: url('../fonts/NotoSansKR-700-ko.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+AC00-D7A3, U+3131-318E, U+00B7, U+2018-201D, U+2026;}
@font-face {font-family: 'Noto Sans KR'; src: url('../fonts/NotoSansKR-700-latin.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face {font-family: 'Noto Sans KR'; src: url('../fonts/NotoSansKR-700-hanja.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+6C89, U+9999;}

:root {
    /* 색 */
    --surface-default: #FFFFFF;
    --surface-ivory: #F4EFE6;
    --surface-paper: #FAF7F1;
    --surface-dark: #1C1A17;
    --text-ink: #1F1D1A;
    --text-ink-muted: #5E574E;
    --text-on-dark: #EDE6DA;
    --text-on-dark-muted: #A9A091;
    --text-on-image: #FFFFFF;
    --line-default: #DCD3C4;
    --line-on-dark: #3A3631;
    --line-on-image: rgb(255 255 255 / 0.1);
    --icon-default: #1F1D1A;
    --accent-agarwood: #6E4B30;
    --button-fill-solid: #344348;
    --button-fill-solid-hover: #253237;
    --button-fill-on-image: rgb(255 255 255 / 0.2);
    --button-fill-on-image-hover: rgb(255 255 255 / 0.34);
    --dim: rgb(0 0 0 / 0.6);
    --overlay-hero: rgb(0 0 0 / 0.4);
    --overlay-poster: rgb(15 13 10 / 0.2);
    --transparent: rgb(0 0 0 / 0);

    /* 폰트 패밀리 */
    --font-suit: 'SUIT', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    --font-noto: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;

    /* 폰트 크기 */
    --fs-60: clamp(2.125rem, 1.45rem + 2.4vw, 3.75rem);
    --fs-36: clamp(1.5rem, 1.2rem + 1.1vw, 2.25rem);
    --fs-20: clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
    --fs-18: clamp(1rem, 0.94rem + 0.2vw, 1.125rem);
    --fs-17: clamp(0.96875rem, 0.92rem + 0.18vw, 1.0625rem);
    --fs-16: clamp(0.9375rem, 0.9rem + 0.1vw, 1rem);
    --fs-15: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
    --fs-14: 0.875rem;
    --fs-13: 0.8125rem;
    --fs-12: 0.75rem;

    /* 간격 */
    --spacing-4: 4px;
    --spacing-6: 6px;
    --spacing-8: 8px;
    --spacing-10: 10px;
    --spacing-12: 12px;
    --spacing-14: 14px;
    --spacing-16: 16px;
    --spacing-20: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
    --spacing-24: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
    --spacing-28: clamp(1.25rem, 1.05rem + 0.7vw, 1.75rem);
    --spacing-30: clamp(1.25rem, 1.05rem + 0.8vw, 1.875rem);
    --spacing-32: clamp(1.25rem, 1rem + 0.9vw, 2rem);
    --spacing-40: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem);
    --spacing-48: clamp(2rem, 1.6rem + 1.4vw, 3rem);
    --spacing-50: clamp(2rem, 1.55rem + 1.5vw, 3.125rem);
    --spacing-60: clamp(2.25rem, 1.6rem + 2vw, 3.75rem);
    --spacing-64: clamp(2.5rem, 1.8rem + 2.2vw, 4rem);
    --spacing-80: clamp(3rem, 2rem + 3vw, 5rem);
    --spacing-100: clamp(3.5rem, 2.2rem + 3.8vw, 6.25rem);
    --spacing-120: clamp(4rem, 2.5rem + 4.5vw, 7.5rem);
    --spacing-160: clamp(5rem, 3rem + 6vw, 10rem);
    --spacing-180: clamp(5rem, 2.5rem + 7.5vw, 11.25rem);
    --spacing-200: clamp(5rem, 2rem + 9vw, 12.5rem);

    /* 기타 */
    --header-height: 67px;
    --radius-0: 0;
    --radius-4: 4px;
    --radius-full: 999px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* 타이포그래피 */
.type-hero {font-family: var(--font-noto); font-size: var(--fs-60); font-weight: 700; line-height: 1.333; letter-spacing: -0.015em;}
.type-section-h2 {font-family: var(--font-suit); font-size: var(--fs-36); font-weight: 600; line-height: 1.333; letter-spacing: -0.01em;}
.type-card-h3-feature {font-family: var(--font-suit); font-size: var(--fs-20); font-weight: 600; line-height: 1.5; letter-spacing: -0.01em;}
.type-card-h3 {font-family: var(--font-suit); font-size: var(--fs-17); font-weight: 600; line-height: 1.53;}
.type-body {font-family: var(--font-suit); font-size: var(--fs-18); font-weight: 400; line-height: 1.667;}
.type-caption {font-family: var(--font-noto); font-size: var(--fs-14); font-weight: 400; line-height: 1.571;}
.type-metadata-category {font-family: var(--font-noto); font-size: var(--fs-12); font-weight: 500; line-height: 1.5; letter-spacing: 0.06em;}
.type-metadata-date {font-family: var(--font-noto); font-size: var(--fs-13); font-weight: 400; line-height: 1.538;}
.type-button {font-family: var(--font-suit); font-size: var(--fs-15); font-weight: 600; line-height: 1.333;}
.type-navigation {font-family: var(--font-suit); font-size: var(--fs-16); font-weight: 500; line-height: 1.375;}
.type-navigation-utility {font-family: var(--font-suit); font-size: var(--fs-15); font-weight: 500; line-height: 1.333;}
.type-footer-name {font-family: var(--font-noto); font-size: var(--fs-16); font-weight: 500; line-height: 1.625;}
.type-footer-info {font-family: var(--font-noto); font-size: var(--fs-14); font-weight: 400; line-height: 2;}
.type-footer-legal {font-family: var(--font-noto); font-size: var(--fs-13); font-weight: 400; line-height: 1.538;}
.type-footer-legal-strong {font-family: var(--font-noto); font-size: var(--fs-13); font-weight: 500; line-height: 1.538;}

/* 버튼 */
.btn {display: inline-flex; align-items: center; column-gap: var(--spacing-16); width: fit-content; min-height: 50px; padding: 15px 29px; border-radius: var(--radius-full); color: var(--text-on-image); white-space: nowrap; transition: background-color 0.2s;}
.btn .btn-ico {flex: none; width: 17px; height: 8px; transition: transform 0.3s var(--ease-out);}
.btn.tone-light {background-color: var(--button-fill-solid);}
.btn.tone-on-image, .btn.tone-dark {background-color: var(--button-fill-on-image);}
.btn.tone-on-image:focus-visible, .btn.tone-dark:focus-visible {outline-color: var(--text-on-image);}
.btn:focus-visible .btn-ico {transform: translateX(4px);}
.btn.tone-light:focus-visible {background-color: var(--button-fill-solid-hover);}
.btn-list {display: flex; flex-wrap: wrap; gap: var(--spacing-20);}

/* 사진 전환 */
.photo-swap {position: relative; overflow: hidden;}
.photo-swap img {width: 100%; height: 100%; object-fit: cover;}
.photo-swap .img-hover {position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s var(--ease-out), transform 1.2s var(--ease-out);}
.photo-swap.zoom .img-hover {transform: scale(1.06);}
.photo-swap.active .img-hover {opacity: 1;}
.photo-swap.zoom.active .img-hover {transform: scale(1);}

/* 뉴스 카드 */
.news-card {position: relative; display: flex; flex-direction: column; row-gap: var(--spacing-20);}
.news-card .img-wrap {flex: none; aspect-ratio: 280 / 373; overflow: hidden;}
.news-card .img-wrap img {width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out);}
.news-card .txt-wrap {display: flex; flex-direction: column; row-gap: var(--spacing-6);}
.news-card .txt-wrap .news-meta {display: flex; align-items: center; column-gap: var(--spacing-12); color: var(--text-ink-muted);}
.news-card .txt-wrap .news-tit {color: var(--text-ink);}
.news-card .txt-wrap .news-tit a::after {content: ''; position: absolute; inset: 0;}
.news-card:focus-within .img-wrap img {transform: scale(1.03);}
.news-card.feature {row-gap: var(--spacing-32);}
.news-card.feature .img-wrap {aspect-ratio: 560 / 747;}

/* 호버 */
@media (hover: hover) {
    .btn:hover .btn-ico {transform: translateX(4px);}
    .btn.tone-light:hover {background-color: var(--button-fill-solid-hover);}
    .btn.tone-on-image:hover, .btn.tone-dark:hover {background-color: var(--button-fill-on-image-hover);}
    .news-card:hover .img-wrap img {transform: scale(1.03);}
}

@media screen and (max-width: 1024px) {
    :root {--header-height: 64px;}
}

@media screen and (max-width: 768px) {
    :root {--header-height: 56px;}

    .btn {min-height: 46px; padding: 13px 22px; column-gap: var(--spacing-12);}
}
