:root {
    --primary-bg: #FAF3E0;
    --primary-text: #2B2B2B;
    --accent-color: #C1121F;
    --secondary-text: #6C757D;
    --font-headings: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--primary-bg);
    color: var(--primary-text);
    font-family: var(--font-body);
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headings);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
}

h2 {
    font-size: clamp(1.75rem, 5vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
}

a,
a:hover,
a:focus {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, opacity 0.3s ease;
}

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

ul,
ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: transform 0.2s ease, opacity 0.3s ease;
}

button:active {
    transform: scale(0.98);
}

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

@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    h2 {
        font-size: clamp(1.5rem, 8vw, 2.25rem);
    }

    h3 {
        font-size: clamp(1.25rem, 6vw, 1.75rem);
    }

    body {
        font-size: 0.95rem;
    }

    .mobile-break-word {
        word-wrap: break-word;
        overflow-wrap: break-word;
        word-break: break-all;
    }
}

/* ===== header_main ===== */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.mobile-menu.open {
    max-height: 500px;
}

/* ===== hero_section ===== */
.font-headings {
    font-family: var(--font-headings)
}

.font-body {
    font-family: var(--font-body)
}

.js-shape {
    transition: transform 0.2s ease-out
}

/* ===== bio_content ===== */
.js-reveal {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bio-section {
    border-left: 2px solid rgba(193, 18, 31, 0.1);
    padding-left: 1.5rem;
    transition: border-color 0.3s ease;
}

.bio-section:hover {
    border-left-color: var(--accent-color);
}

/* ===== style_analysis ===== */
#style {
    width: 100%;
    scroll-margin-top: 5rem;
}

.js-style-card {
    will-change: transform, opacity;
}

/* ===== album_list ===== */
#discography {
    scroll-margin-top: 2rem;
}

.js-album-card {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== popularity_impact ===== */
.js-share-btn {
    cursor: pointer;
}

#impact {
    scroll-margin-top: 2rem;
}

/* ===== contact_details ===== */
#contact {
    width: 100%;
}

#contact h2 {
    font-family: var(--font-headings);
}

#contact p,
#contact a {
    font-family: var(--font-body);
}

/* ===== footer_main ===== */
#footer {
    width: 100%;
}

#footer .footer-nav-link:hover {
    color: var(--accent-color) !important;
}