/* ═══════════════════════════════════════════════════════════════
   BASE — Design Tokens · Reset · Typography
   banszky.men
═══════════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ── Design Tokens ── */
:root {
    /* Palette */
    --bg: #080b14;
    --bg2: #0d1220;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-hov: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --border-hov: rgba(79, 142, 247, 0.4);

    /* Accents */
    --accent1: #4f8ef7;
    --accent2: #a259ff;
    --accent3: #00d4aa;
    --accent-gold: #f5c842;

    /* Text */
    --text: #e8eaf0;
    --text-muted: #7a82a0;
    --text-dim: #4a516a;

    /* Shape */
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;

    /* Shadow */
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(79, 142, 247, 0.15);

    /* Gradients */
    --grad-hero: linear-gradient(135deg, var(--accent1), var(--accent2), var(--accent3));
    --grad-card: linear-gradient(135deg, rgba(79, 142, 247, 0.08), rgba(162, 89, 255, 0.08));

    /* Spacing */
    --section-pad: clamp(5rem, 10vw, 8rem) 0;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
    line-height: 1.8;
}

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

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

/* ── Container ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ── Section Labels ── */
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent1);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    margin-bottom: 1.25rem;
    background: var(--grad-hero);
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 8s ease infinite;
}

.section-desc {
    color: var(--text-muted);
    max-width: 600px;
    font-size: 1.05rem;
    margin-bottom: 0;
}

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

#about,
#credentials {
    background: var(--bg2);
}