/* ==========================================================================
   BASE — design tokens, global defaults, typography
   ========================================================================== */

:root {
    /* Colors */
    --primary: #ffffff;
    --accent: #6366f1;                         /* Indigo */
    --accent-glow: rgba(99, 102, 241, 0.5);
    --bg-overlay: rgba(0, 0, 0, 0.5);
    --glass-bg: rgba(15, 15, 20, 0.65);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-muted: #d1d5db;
    --cream: #e5e0d8;                          /* Hero text colour */

    /* Fonts */
    --font-body: 'Space Grotesk', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-hero: 'Space Grotesk', sans-serif;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: transparent;
    color: var(--primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    width: 100%;
}

/* ---------- Typography ---------- */
h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    margin: 0;
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #fff 20%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0px 10px 30px rgba(0, 0, 0, 0.5));
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 2.5rem);
    font-weight: 400;
    margin: 1.5rem 0 0 0;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.25em;
}

p.desc {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    max-width: 600px;
    text-align: center;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 2rem auto 0;
    font-weight: 300;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

#about .section-title {
    color: #F5F2EA;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: none;
    -webkit-text-fill-color: currentColor;
    filter: none;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
    animation: about-heading-in 0.8s var(--ease-out) both;
}

#contact .section-title {
    color: #F5F2EA;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.1;
    background: none;
    -webkit-text-fill-color: currentColor;
    filter: none;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
    animation: about-heading-in 0.8s var(--ease-out) both;
}

#about .desc {
    max-width: 650px;
    margin-top: 2rem;
    color: rgba(245, 242, 234, 0.82);
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 400;
    line-height: 1.75;
}

#contact .desc {
    max-width: 650px;
    margin-top: 2rem;
    color: rgba(245, 242, 234, 0.82);
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 400;
    line-height: 1.75;
}

@keyframes about-heading-in {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
