/* =======================================
   Studio Sumén – Design System
======================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Fraunces:ital,opsz,wght@1,9..144,400;1,9..144,500&family=Inter:wght@400;500;600&display=swap');

html {
    font-size: clamp(1rem, 0.9vw + 0.6rem, 1.125rem);
}

:root {

    /* ===================================
       TYPOGRAPHY
    =================================== */

    --font-heading: "Fraunces", serif;
    --font-heading-italic: "Fraunces", serif;
    --font-body: "Inter", sans-serif;

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 600;

    /* ===================================
       COLOR PALETTE
    =================================== */

    --navy: #1F2E44;
    --forest-green: #5B6B56;
    --gold: #B98F4A;
    --gold-dark: #8A6A34;
    --terracotta: #C1683C;
    --dusty-rose: #C38D89;

    --ivory: #F6F1E8;
    --white: #FFFFFF;
    --light-gray: #ECE9E3;

    --charcoal: #44464A;
    --text-muted: #66635F;

    /* ===================================
       SEMANTIC COLORS
    =================================== */

    --color-background: var(--ivory);
    --color-surface: var(--white);
    --color-section: var(--light-gray);

    --color-heading: var(--navy);
    --color-text: var(--charcoal);
    --color-text-muted: var(--text-muted);

    --color-primary: var(--navy);
    --color-secondary: var(--forest-green);

    --color-accent: var(--gold);
    --color-accent-hover: var(--terracotta);

    --color-link: var(--terracotta);
    --color-link-hover: var(--dusty-rose);

    /* ===================================
       SERVICE COLORS
    =================================== */

    --service-brand: var(--navy);
    --service-web: var(--forest-green);
    --service-marketing: var(--terracotta);

    /* ===================================
       LAYOUT
    =================================== */

    --container-width: 1280px;
    --content-width: 760px;

    /* ===================================
       SPACING
    =================================== */

    --space-xs: .5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    --section-spacing: 8rem;

    /* ===================================
       TRANSITIONS
    =================================== */

    --transition-fast: .2s ease;
    --transition-base: .3s ease;
    --transition-slow: .4s ease;

}

/* =======================================
   GLOBAL STYLES
======================================= */

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-background);
    line-height: 1.7;
    font-weight: var(--font-weight-normal);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: var(--font-weight-medium);
}

em,
.italic-accent {
    font-family: var(--font-heading-italic);
    font-style: italic;
}

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

a:hover {
    color: var(--color-link-hover);
}