/* ========================================
   dypic — Common Style Guide (Design Tokens)
   foundations + reset + base typography
   Load before style.css
======================================== */

/* ----------------------------------------
   1. Color palette — warm earthy
---------------------------------------- */
:root {
    --color-bg: #F5F2ED;
    --color-bg-dark: #1A1816;
    --color-text: #2C2825;
    --color-text-light: #6B6560;
    --color-accent: #B8A28F;
    --color-accent-dark: #8B7355;
    --color-cream: #FAF8F5;
    --color-warm-gray: #E8E4DE;
    --color-gold: #C4A574;

    /* ----------------------------------------
       2. Typography — families & weights
       Display: headings, labels, logo
       Body: paragraphs, forms, UI
    ---------------------------------------- */
    --font-display: 'Cormorant Garamond', serif;
    --font-body: 'Noto Sans KR', sans-serif;
    --fw-display-light: 300;
    --fw-display-regular: 400;
    --fw-display-medium: 500;
    --fw-body-light: 300;
    --fw-body-regular: 400;
    --fw-body-medium: 500;

    /* ----------------------------------------
       3. Spacing scale (rem)
    ---------------------------------------- */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* ----------------------------------------
       4. Motion — easing & duration presets
    ---------------------------------------- */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 1s cubic-bezier(0.4, 0, 0.2, 1);

    /* ----------------------------------------
       5. Layout — content width caps (reference)
    ---------------------------------------- */
    --max-width-content: 1400px;
    --max-width-wide: 1800px;
}

/* ----------------------------------------
   6. Reset
---------------------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: var(--fw-body-light);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ----------------------------------------
   7. Utility helpers (optional, for new UI)
---------------------------------------- */
.font-display {
    font-family: var(--font-display);
}

.font-body {
    font-family: var(--font-body);
}

.u-text-muted {
    color: var(--color-text-light);
}

.u-text-gold {
    color: var(--color-gold);
}

.u-bg-dark {
    background-color: var(--color-bg-dark);
}

.u-bg-cream {
    background-color: var(--color-cream);
}
