@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;800&family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* NanumSquare Neo - Korean Characters Only, with Weight Mapping */
@font-face {
    font-family: 'InstinctKoreanFont';
    src: local('NanumSquareNeoLight'),
         url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-aLt.woff') format('woff');
    font-weight: 300;
    unicode-range: U+AC00-D7A3, U+1100-11FF, U+3130-318F;
}
@font-face {
    font-family: 'InstinctKoreanFont';
    src: local('NanumSquareNeo'),
         url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-bRg.woff') format('woff');
    font-weight: 400;
    unicode-range: U+AC00-D7A3, U+1100-11FF, U+3130-318F;
}
@font-face {
    font-family: 'InstinctKoreanFont';
    src: local('NanumSquareNeoBold'),
         url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-cBd.woff') format('woff');
    font-weight: 700;
    unicode-range: U+AC00-D7A3, U+1100-11FF, U+3130-318F;
}
@font-face {
    font-family: 'InstinctKoreanFont';
    src: local('NanumSquareNeoExtraBold'),
         url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-dEb.woff') format('woff');
    font-weight: 800;
    unicode-range: U+AC00-D7A3, U+1100-11FF, U+3130-318F;
}
@font-face {
    font-family: 'InstinctKoreanFont';
    src: local('NanumSquareNeoHeavy'),
         url('https://hangeul.pstatic.net/hangeul_static/webfont/NanumSquareNeo/NanumSquareNeoTTF-eHv.woff') format('woff');
    font-weight: 900;
    unicode-range: U+AC00-D7A3, U+1100-11FF, U+3130-318F;
}

/* =========================================
   Instinct Korea - Global CSS
   ========================================= */

:root {
    /* Brand Colors */
    --color-primary: #223327;
    --color-secondary: #CAC7A7;
    --color-background: #E8E6DF;
    --color-accent: #252E43;
    --color-text: #606060;
    --color-white: #FFFFFF;
    --color-light-gray: #EBEFF3;

    /* Layout Variables */
    --container-max-width: 1200px;
    --section-padding-mobile: 50px 20px;
    --section-padding-desktop: 100px 40px;

    /* Fonts */
    --font-korean: "InstinctKoreanFont", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

/* Base Styles */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html,
body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    position: relative;
}

body {
    color: var(--color-text);
    background: var(--color-white);
    font-family: "Montserrat", var(--font-korean);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.exclude-nanum {
    --font-korean: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
    font-family: "Montserrat", var(--font-korean);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Global Layout Utility */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: var(--section-padding-mobile);
}

@media (min-width: 768px) {
    section {
        padding: var(--section-padding-desktop);
    }
}

/* Accessibility */
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 외부 이미지 대체용 플레이스홀더 */
.image-placeholder {
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
    font-weight: 500;
    border: 2px dashed #ddd;
    border-radius: 8px;
}
