/* ==============================================
   NEO-BRUTALIST EDITORIAL — BASE
   Mobile-first approach
   ============================================== */

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

html { 
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: dark;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

::selection {
    background: var(--accent);
    color: var(--black);
}

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

a { 
    text-decoration: none; 
    color: inherit;
}

/* ==============================================
   BRUTALIST TYPOGRAPHY — MOBILE-FIRST
   ============================================== */
.section-label {
    font-family: var(--font-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: inline-block;
    padding: var(--space-2xs) var(--space-xs);
    background: var(--accent-muted);
    border-left: 3px solid var(--accent);
    margin-bottom: var(--space-lg);
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 400;
    line-height: 0.95;
    color: var(--text);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--text-5xl);
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: var(--text-6xl);
    }
}

.section-title .highlight {
    color: var(--accent);
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 600px;
}

/* ==============================================
   LAYOUT — MOBILE-FIRST
   ============================================== */
.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
}

.container-narrow {
    max-width: var(--max-w-narrow);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container-narrow {
        padding: 0 var(--space-lg);
    }
}

.section-pad {
    padding: var(--space-2xl) 0;
    position: relative;
}

@media (min-width: 768px) {
    .section-pad {
        padding: var(--space-3xl) 0;
    }
}

@media (min-width: 1024px) {
    .section-pad {
        padding: var(--space-4xl) 0;
    }
}

/* ==============================================
   UTILITY
   ============================================== */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

.bg-alt { background: var(--bg-alt); }

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--duration-slow) var(--ease-out),
                transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
