/* ============================================
   SNÖVIND MALAMUTES — Design System
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
    /* Color Palette */
    --color-primary: #92b4cc;
    --color-primary-dark: #5a8aaa;
    --color-primary-deeper: #3d6a8a;
    --color-dark: #060607;
    --color-dark-alt: #0a0a0f;
    --color-dark-card: #0f1218;
    --color-dark-surface: #141920;
    --color-white: #ffffff;
    --color-white-muted: rgba(255, 255, 255, 0.7);
    --color-white-faint: rgba(255, 255, 255, 0.4);
    --color-accent: #4a9ebd;
    --color-accent-warm: #c4a882;
    --color-border: rgba(146, 180, 204, 0.15);
    --color-border-hover: rgba(146, 180, 204, 0.35);

    /* Gradients */
    --gradient-hero: linear-gradient(90deg, #92b4cc 45%, rgba(6, 6, 7, 0) 75%);
    --gradient-dark: linear-gradient(150deg,
            hsl(210, 20%, 8%) 0%,
            hsl(220, 25%, 5%) 100%);
    --gradient-card: linear-gradient(180deg, rgba(3, 4, 15, 0) 11%, #92b4cc 100%);
    --gradient-cta: linear-gradient(151deg, var(--color-primary) 35%, var(--color-dark) 100%);

    /* Typography */
    --font-heading: 'Barlow Semi Condensed', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Font Sizes (fluid) */
    --fs-hero: clamp(2.5rem, 5vw, 4.5rem);
    --fs-h1: clamp(2rem, 3.5vw, 3.6rem);
    --fs-h2: clamp(1.5rem, 2.5vw, 1.75rem);
    --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
    --fs-body: clamp(1rem, 1.2vw, 1.15rem);
    --fs-body-lg: clamp(1.1rem, 1.5vw, 1.4rem);
    --fs-small: 0.875rem;
    --fs-nav: 1rem;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-section: clamp(4rem, 8vw, 7rem);

    /* Border Radius - Signature asymmetric */
    --radius-card: 4px 4px 40px 4px;
    --radius-btn: 4px;
    --radius-pill: 50px;
    --radius-sm: 8px;

    /* Shadows */
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-card-hover: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-btn: 0 4px 15px rgba(146, 180, 204, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Layout */
    --container-max: 1200px;
    --container-wide: 1400px;
    --nav-height: 80px;
}

/* --- Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--color-white);
    background-color: var(--color-dark);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0.01em;
}

h1 {
    font-size: var(--fs-hero);
}

h2 {
    font-size: var(--fs-h1);
}

h3 {
    font-size: var(--fs-h2);
}

h4 {
    font-size: var(--fs-h3);
}

p {
    margin-bottom: var(--space-sm);
    color: var(--color-white-muted);
}

.text-accent {
    color: var(--color-primary);
}

.text-white {
    color: var(--color-white);
}

.text-muted {
    color: var(--color-white-muted);
}

.text-center {
    text-align: center;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section {
    padding: var(--space-section) 0;
}

/* --- Snowflake Separator (Brand Element) --- */
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin: var(--space-md) 0;
}

.separator::before,
.separator::after {
    content: '';
    height: 1px;
    width: 40px;
    background: var(--color-primary);
    opacity: 0.4;
}

.separator svg,
.separator .snowflake {
    color: var(--color-accent-warm);
    font-size: 1.2rem;
    opacity: 0.8;
}

.snowflake-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-accent-warm);
    opacity: 0.7;
}

/* --- Selection Color --- */
::selection {
    background: var(--color-primary);
    color: var(--color-dark);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}