/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Optimize font loading */
@font-face {
    font-family: 'SF Pro Display';
    src: local('SF Pro Display'), local('SFProDisplay-Regular');
    font-display: swap;
}

/* Visually hidden but accessible to screen readers and crawlers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== CSS VARIABLES ===== */
:root {
    /* Core colors */
    --primary-color: #1d1d1f;
    --secondary-color: #555555;
    --accent-color: #E07A5F;
    --accent-color-dark: #d86e53;
    --accent-color-light: rgba(224, 122, 95, 0.2);
    --accent-color-lighter: rgba(224, 122, 95, 0.05);
    --accent-secondary: #1DB954;

    /* Background and surface colors */
    --background-color: #f9f9f9;
    --light-gray: #f1f1f1;
    --dark-gray: #333333;
    --card-bg: rgba(255, 255, 255, 0.8);

    /* Spacing */
    --section-padding: 50px 0 60px;
    --card-padding: 20px;
    --border-radius: 8px;
    --border-radius-large: 12px;

    /* Shadows */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-heavy: 0 8px 25px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color);
    letter-spacing: -0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TYPOGRAPHY ===== */
h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.02em;
    text-align: center;
    width: 100%;
}

p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--secondary-color);
}

/* ===== HEADER & NAVIGATION ===== */
.top-navigation {
    padding: 8px 0;
    position: sticky;
    top: 0;
    background-color: rgba(249, 249, 249, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Base transition */
}

.left-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.logo {
    height: 120px;
    width: auto;
    display: block;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    /* Base transition */
}

/* Desktop scrolled state */
.top-navigation.scrolled {
    padding: 4px 0;
}

.top-navigation.scrolled .logo {
    height: 60px;
}

.tagline {
    font-size: 20px;
    font-weight: 400;
    color: var(--secondary-color);
    font-style: italic;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    max-height: 50px;
    overflow: hidden;
    text-align: center;
    padding: 0 10px;
    min-width: 0;
    flex-shrink: 1;
}

.top-navigation.scrolled .tagline {
    opacity: 1;
    font-size: 16px;
}

/* Logo */
.logo-container {
    flex: 0 0 auto;
}

.logo-link {
    display: block;
    transition: transform var(--transition-medium);
}

.logo-link:hover {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* Tagline */
.tagline {
    font-size: 20px;
    font-weight: 400;
    color: var(--secondary-color);
    font-style: italic;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    max-height: 50px;
    overflow: hidden;
    text-align: center;
    padding: 0 10px;
    min-width: 0;
    flex-shrink: 1;
}

/* Navigation */
.nav {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.25s ease;
    background-color: var(--light-gray);
    padding: 8px 16px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.nav a:hover {
    color: white;
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.nav a.talk-button {
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 10px var(--accent-color-light);
}

.nav a.talk-button:hover {
    background-color: var(--accent-color-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 14px var(--accent-color-light);
    filter: brightness(1.1);
    letter-spacing: 0.03em;
}

/* ===== SECTION LAYOUT ===== */
.section {
    padding: var(--section-padding);
    position: relative;
    scroll-margin-top: 80px;
}

/* Default divider rule - all sections get dividers except specified ones */
.section:not(.first-section):not(.credits-section)::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
    display: block;
}

/* Override classes for divider control */
.hide-divider::before {
    display: none !important;
}

.show-divider::before {
    display: block !important;
}

/* First section never gets a divider */
.first-section::before {
    display: none !important;
}

/* Credits section styling (no divider due to orange background) */
.credits-section::before {
    display: none !important;
}

/* ===== ABOUT SECTION ===== */

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-text p {
    text-align: left;
    width: 90%;
    line-height: 1.65;
    font-size: 18px;
    margin-bottom: 25px;
    text-wrap: pretty;
    word-wrap: break-word;
    orphans: 1;
    widows: 1;
    text-rendering: optimizeLegibility;
    font-feature-settings: "liga" 1, "kern" 1;
}

.about-text h2 {
    font-size: 42px;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.025em;
    text-align: center;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wide-image {
    width: 90%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== LISTEN SECTION ===== */
.two-column-container {
    display: flex;
    gap: 40px;
    margin-top: 10px;
}

.two-column-container .column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Three-column container for Spotify + Apple Music + YouTube */
.three-column-container {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.three-column-container .column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Spotify, Apple Music & YouTube shared styles */
.spotify-embed,
.apple-music-embed,
.youtube-container,
.youtube-playlist-container {
    margin-top: 0;
    width: 100%;
    border-radius: var(--border-radius-large);
    overflow: hidden;
    height: 500px;
}

.spotify-embed iframe,
.apple-music-embed iframe,
.youtube-container iframe,
.youtube-playlist-container iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.youtube-container {
    background-color: rgba(0, 0, 0, 0.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.youtube-videos-list {
    height: 100%;
    overflow-y: auto;
    padding: 0;
}

.youtube-video-item {
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    height: 180px;
}

.youtube-video-item:first-child {
    margin-top: 0;
    border-top-left-radius: var(--border-radius-large);
    border-top-right-radius: var(--border-radius-large);
}

.youtube-video-item:last-child {
    margin-bottom: 0;
}

.youtube-video-item iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Custom scrollbar */
.youtube-videos-list::-webkit-scrollbar {
    width: 8px;
}

.youtube-videos-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.04);
    border-radius: 4px;
}

.youtube-videos-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.youtube-videos-list::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* ===== STATS SECTION ===== */
.stats-section {
    text-align: center;
    padding-top: 0px;
    padding-bottom: 60px;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.stat-box {
    flex: 1;
    min-width: 160px;
    max-width: 210px;
    padding: 25px 15px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-medium);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    background-color: white;
    border: 1px solid rgba(224, 122, 95, 0.1);
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 15px;
    font-weight: 500;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Add orange bar below stats section */
.stats-section::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

/* ===== CREDITS SECTION ===== */
/* Credits main title styling - outside orange container */
/* .credits-main-title {
    color: var(--primary-color) !important;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
} */

.credits-section {
    background-color: var(--accent-color);
    padding: 40px 0 40px;
    box-shadow: inset 0 0 30px var(--accent-color-lighter);
    border-radius: 10px;
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.credits-section::before {
    display: none;
}

.credits-section h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 40px;
}

.credits-container {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    margin: 30px auto 0;
}

.credits-title {
    display: none;
}

/* Grid layouts */
#artistsGrid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
}

#labelsGrid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
}

/* Client logos */
.credits-grid img {
    width: 100%;
    max-width: 280px;
    height: auto;
    max-height: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: none;
    display: block;
    margin: 0 auto;
    padding: 8px;
    border-radius: 10px;
    box-shadow: none;
}

.credits-grid img:hover {
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transform: none;
    box-shadow: none;
}

/* Clients list */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    max-width: 650px;
    margin: 30px auto 0;
    padding: 25px;
    border-radius: var(--border-radius-large);
    background-color: rgba(255, 255, 255, 0.1);
}

.clients-grid.hidden {
    display: none;
}

.client-item {
    padding: 12px 8px;
    border-radius: 10px;
    text-align: center;
    transition: all var(--transition-medium);
    background-color: transparent;
    color: white;
    font-weight: 500;
    border: none;
    font-size: 14px;
}

/* .client-item:hover {
    transform: translateY(-3px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
} */

/* Show/hide list button */
.show-full-list-btn {
    background-color: white;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin: 25px auto 0;
    transition: all var(--transition-medium);
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.02em;
}

.show-full-list-btn:hover {
    background-color: var(--accent-color-light);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(224, 122, 95, 0.3);
    border: 2px solid var(--background-color);
    letter-spacing: 0.03em;
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy-text {
    text-align: center;
    max-width: 80%;
    margin: 0 auto 40px;
    font-size: 22px;
    line-height: 1.5;
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: -0.01em;
    text-wrap: pretty;
    word-wrap: break-word;
    hyphens: auto;
    orphans: 2;
    widows: 2;
    padding: 25px 30px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}


.testimonial {
    font-style: italic;
    color: var(--secondary-color);
    position: relative;
    margin: 30px 0;
    padding: 20px 25px;
    background-color: var(--card-bg);
    border-radius: 10px;
    font-size: 18px;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-left: 3px solid var(--accent-color);
    line-height: 1.6;
    text-wrap: pretty;
    word-wrap: break-word;
}

.testimonial-author {
    font-weight: 600;
    font-style: normal;
    color: var(--primary-color);
    margin-top: 10px;
    display: block;
}

/* ===== CONTACT SECTION ===== */
#contact {
    padding-bottom: 80px;
    background: linear-gradient(180deg, var(--background-color) 0%, #f5f7fa 100%);
    border-radius: 0 0 20px 20px;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.contact-info {
    position: relative;
    margin-top: 35px;
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border: none;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.contact-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 5px 5px 0 0;
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    justify-content: center;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 500;
    padding: 0;
    border-radius: 16px;
    transition: all var(--transition-medium);
    background-color: var(--accent-color);
    min-width: 180px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
    width: 100%;
    height: 100px;
    border: 2px solid transparent;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    background-color: white;
    border: 2px solid var(--accent-color);
}

.contact-method img {
    width: 32px;
    height: 32px;
    margin-bottom: 0;
    filter: brightness(0) invert(1);
    transition: filter var(--transition-medium);
    pointer-events: none;
}

.contact-method:hover img {
    filter: brightness(0) invert(.5);
}

.contact-method a {
    color: white;
    text-decoration: none !important;
    font-weight: 600;
    transition: all var(--transition-fast);
    border-bottom: none !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
    padding: 18px 20px;
    border-radius: 16px;
}

.contact-method a span {
    display: block;
    font-size: 14px;
    line-height: 1.2;
    margin-top: 2px;
}

.contact-method a:hover {
    border-bottom: none !important;
    text-decoration: none !important;
}

.contact-method:hover a {
    color: var(--accent-color);
    border-bottom: none !important;
    text-decoration: none !important;
}

/* Contact method wrapper */
.contact-method-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 200px;
    flex: 1;
    max-width: 280px;
}

.copy-note {
    font-size: 12px;
    color: var(--accent-color);
    margin-top: 8px;
    font-weight: 500;
}

.copy-confirmation {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity var(--transition-medium);
    pointer-events: none;
}

.copy-confirmation.show {
    opacity: 1;
}

/* ===== BUTTON STYLES ===== */
.connect-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 10px;
    transition: all var(--transition-medium);
    box-shadow: 0 4px 15px var(--accent-color-light);
    border: none;
    font-size: 16px;
    letter-spacing: 0.02em;
    margin-top: 20px;
    border: 2px solid transparent;
}

.connect-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--accent-color-light);
    background-color: var(--accent-color-dark);
    filter: brightness(1.1);
    letter-spacing: 0.03em;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 40px 0 30px;
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background-color: rgba(249, 249, 249, 0.8);
}

.footer p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-align: center;
}

/* ===== ANIMATIONS ===== */
.shake {
    animation: shake var(--transition-slow) ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .section {
        padding: 40px 0 50px;
    }

    .about-content {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .about-text,
    .about-image {
        width: 100%;
    }

    .about-text p,
    .wide-image {
        width: 100%;
    }

    .two-column-container {
        flex-direction: column;
        gap: 30px;
    }

    .two-column-container .column {
        padding: 0;
    }

    .three-column-container {
        flex-direction: column;
        gap: 30px;
    }

    .three-column-container .column {
        padding: 0;
    }

    .spotify-embed,
    .apple-music-embed,
    .youtube-container,
    .youtube-playlist-container {
        height: 600px;
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 90px;
    }

    .section {
        scroll-margin-top: 90px;
    }

    /* Navigation */
    .top-navigation {
        flex-direction: column;
        padding: 15px 0 10px;
        gap: 10px;
        transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        /* MOBILE: Synced to 0.5s */
    }

    .left-content {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .tagline {
        font-size: 18px;
        text-align: center;
        white-space: normal;
        line-height: 1.3;
        padding-bottom: 10px;
        max-height: 70px;
        opacity: 1;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav {
        width: 100%;
        justify-content: center;
        gap: 8px;
        padding-bottom: 5px;
        flex-wrap: wrap;
    }

    .nav a {
        font-size: 14px;
        padding: 10px 16px;
        white-space: nowrap;
    }

    .logo {
        height: 90px;
        /* Match mobile transition timing */
        transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .top-navigation.scrolled {
        padding: 8px 0 5px;
    }

    .top-navigation.scrolled .logo {
        height: 65px;
    }

    .top-navigation.scrolled .tagline {
        opacity: 0;
        max-height: 0;
        margin: 0;
        padding: 0;
        transform: translateY(-10px);
    }

    /* Sections */
    .section {
        padding: 35px 0 45px;
    }

    .section h2 {
        font-size: 28px;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    #contact h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .about-content {
        gap: 25px;
        padding: 0 10px;
    }

    .about-text p {
        font-size: 16px;
        line-height: 1.5;
    }

    /* Stats */
    .stats-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 15px;
        padding: 0 10px;
        max-width: 400px;
        margin: 0 auto;
    }

    .stat-box {
        min-width: auto;
        width: 100%;
        padding: 20px 12px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 13px;
    }

    /* Contact */
    .contact-info {
        padding: 30px 20px;
        margin: 0 10px;
    }

    .contact-methods {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .contact-method-wrapper {
        width: 100%;
        max-width: 300px;
    }

    .contact-method {
        width: 100%;
        height: 90px;
        font-size: 16px;
    }

    .contact-method a {
        gap: 10px;
        padding: 20px 25px;
    }

    .contact-method a span {
        font-size: 15px;
        margin-top: 4px;
    }

    .contact-method img {
        width: 28px;
        height: 28px;
    }

    /* Credits */
    .credits-section {
        padding: 45px 10px 55px;
        margin: 0 5px;
        border-radius: 15px;
    }

    .credits-container {
        max-width: 100%;
        padding: 0 5px;
    }

    #artistsGrid,
    #labelsGrid {
        padding: 15px 10px;
        margin: 0 10px 20px;
    }

    #labelsGrid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 25px;
    }

    .clients-grid {
        padding: 15px 10px;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
        margin: 20px 10px 0;
    }

    /* Three-column responsive */
    .three-column-container {
        flex-direction: column;
        gap: 25px;
    }

    .three-column-container .column {
        padding: 0;
    }

    .spotify-embed,
    .apple-music-embed,
    .youtube-container {
        height: 450px;
    }
}

@media (max-width: 480px) {
    html {
        scroll-padding-top: 100px;
    }

    .section {
        scroll-margin-top: 120px;
    }

    /* Navigation */
    .top-navigation {
        padding: 12px 0 8px;
    }

    .tagline {
        font-size: 18px;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 60px;
    }

    .nav {
        gap: 6px;
        padding-bottom: 10px;
    }

    .nav a {
        font-size: 13px;
        padding: 8px 12px;
        min-width: auto;
    }

    .logo {
        height: 75px;
    }

    .top-navigation.scrolled .logo {
        height: 55px;
    }

    /* Stats */
    .stats-container {
        gap: 12px;
        max-width: 350px;
        padding: 0 5px;
    }

    .stat-box {
        padding: 16px 8px;
    }

    .stat-number {
        font-size: 22px;
    }

    .stat-label {
        font-size: 12px;
    }

    /* Contact */
    .contact-info {
        padding: 25px 15px;
    }

    .contact-method {
        height: 95px;
    }

    .contact-method a {
        gap: 12px;
        padding: 22px 20px;
    }

    .contact-method a span {
        font-size: 14px;
        margin-top: 6px;
    }

    /* Credits */
    .credits-section {
        padding: 35px 15px 45px;
        margin: 0 10px;
        border-radius: var(--border-radius-large);
    }

    .credits-container {
        padding: 0 5px;
    }

    #artistsGrid,
    #labelsGrid {
        padding: 12px 8px;
        margin: 0 15px 15px;
    }

    .clients-grid {
        padding: 12px 8px;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 6px;
        margin: 15px 15px 0;
    }

    /* Three-column responsive */
    .three-column-container {
        gap: 20px;
    }

    .spotify-embed,
    .apple-music-embed,
    .youtube-container {
        height: 400px;
    }
}

/* ===== MOBILE PHILOSOPHY TEXT SIZE ===== */
@media (max-width: 768px) {
    #philosophyText {
        font-size: 18px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    #philosophyText {
        font-size: 16px;
        line-height: 1.4;
    }
}

/* Hide mobile interfaces on desktop by default */
.mobile-only {
    display: none;
}

.desktop-only {
    display: flex;
}

/* ===== MOBILE MUSIC INTERFACE - EXTENDED TO 992px ===== */
@media (max-width: 992px) {

    /* Show mobile interfaces, hide desktop */
    .mobile-only {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }


    .mobile-listen-subtitle {
        text-align: center;
        font-size: 14px;
        color: var(--secondary-color);
        margin: -10px 0 25px 0;
        font-style: italic;
        opacity: 0.8;
    }

    /* Mobile music slider container */
    .mobile-music-slider {
        position: relative;
        margin: 0 auto 25px;
        width: 240px;
        height: 80px;
        overflow: visible;
    }

    /* Slider track background */
    .slider-track {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.08);
        border-radius: 40px;
        z-index: 1;
    }

    /* APPLE-STYLE: Active indicator that slides */
    .slider-indicator {
        position: absolute;
        top: 5px;
        left: 5px;
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
        border-radius: 50%;
        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.12),
            0 1px 3px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 2;
        border: 0.5px solid rgba(0, 0, 0, 0.04);
        /* Default to YouTube position */
        transform: translateX(160px);
    }

    /* Button row */
    .mobile-music-buttons-row {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 5px;
        z-index: 10;
    }

    /* APPLE-STYLE: Icon buttons */
    .mobile-music-icon-btn {
        width: 70px;
        height: 70px;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        position: relative;
        z-index: 11;
        flex-shrink: 0;
        background: transparent;
    }

    /* FIXED: Keep icon size at 40x40px as requested */
    .mobile-music-icon-btn img {
        width: 40px;
        height: 40px;
        filter: brightness(0) invert(.9);
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        pointer-events: none;
        z-index: 12;
    }

    /* Platform colors - refined */
    .spotify-icon-btn {
        background: linear-gradient(135deg, #1DB954 0%, #1ed760 100%);
        box-shadow: 0 2px 8px rgba(29, 185, 84, 0.25);
    }

    .spotify-icon-btn:hover:not(.active) {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 4px 12px rgba(29, 185, 84, 0.35);
    }

    .applemusic-icon-btn {
        background: linear-gradient(135deg, #F9546C 0%, #FF6B7D 100%);
        box-shadow: 0 2px 8px rgba(249, 84, 108, 0.25);
    }

    .applemusic-icon-btn:hover:not(.active) {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 4px 12px rgba(249, 84, 108, 0.35);
    }

    .youtube-icon-btn {
        background: linear-gradient(135deg, #E32525 0%, #FF4444 100%);
        box-shadow: 0 2px 8px rgba(227, 37, 37, 0.25);
    }

    .youtube-icon-btn:hover:not(.active) {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 4px 12px rgba(227, 37, 37, 0.35);
    }

    /* APPLE-STYLE: Active state - minimal and elegant */
    .mobile-music-icon-btn.active {
        background: transparent !important;
        box-shadow: none !important;
        transform: scale(1.1);
    }

    .mobile-music-icon-btn.active img {
        filter: brightness(0) invert(1);
        transform: scale(1.06);
    }

    /* APPLE-STYLE: Slider indicator positions with smooth color transitions */
    .slider-indicator.position-0 {
        transform: translateX(0px);
        background: linear-gradient(135deg, #1ed760 0%, #1DB954 100%);
        box-shadow:
            0 3px 12px rgba(29, 185, 84, 0.3),
            0 1px 4px rgba(29, 185, 84, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .slider-indicator.position-1 {
        transform: translateX(80px);
        background: linear-gradient(135deg, #FF6B7D 0%, #F9546C 100%);
        box-shadow:
            0 3px 12px rgba(249, 84, 108, 0.3),
            0 1px 4px rgba(249, 84, 108, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .slider-indicator.position-2 {
        transform: translateX(160px);
        background: linear-gradient(135deg, #FF4444 0%, #E32525 100%);
        box-shadow:
            0 3px 12px rgba(227, 37, 37, 0.3),
            0 1px 4px rgba(227, 37, 37, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    /* Embed container styling */
    .mobile-shared-embed-container {
        position: relative;
        width: 100%;
        min-height: 20px;
        margin-top: 20px;
    }

    .mobile-embed-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
        transform: translateY(-15px);
    }

    .mobile-embed-container.active {
        position: relative;
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }

    /* Adjust embedded content for mobile/tablet */
    .mobile-embed-container .spotify-embed,
    .mobile-embed-container .apple-music-embed,
    .mobile-embed-container .youtube-container {
        height: 500px;
        /* Slightly taller for tablet screens */
        border-radius: var(--border-radius-large);
        box-shadow:
            0 8px 25px rgba(0, 0, 0, 0.08),
            0 3px 10px rgba(0, 0, 0, 0.04);
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.04);
    }

    .mobile-embed-container .youtube-videos-list {
        height: 100%;
        overflow-y: auto;
    }

    .mobile-embed-container .youtube-video-item {
        height: 180px;
        /* Slightly taller for tablet screens */
        margin-bottom: 15px;
    }
}

/* ===== TABLET SPECIFIC YOUTUBE GRID ===== */
@media (min-width: 769px) and (max-width: 992px) {

    /* Tablet-specific YouTube video grid - 2 videos per row */
    .mobile-embed-container .youtube-videos-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 15px;
        height: 500px;
        overflow-y: auto;
    }

    .mobile-embed-container .youtube-video-item {
        height: 200px;
        /* Adjusted for grid layout */
        margin-bottom: 0;
        /* Remove margin since we're using grid gap */
        border-radius: var(--border-radius);
        overflow: hidden;
        box-shadow: var(--shadow-light);
    }

    .mobile-embed-container .youtube-video-item iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    /* Keep other embed containers at their default tablet height */
    .mobile-embed-container .spotify-embed,
    .mobile-embed-container .apple-music-embed,
    .mobile-embed-container .youtube-container {
        height: 500px;
        /* Standard tablet height */
    }
}

/* ===== MOBILE INTERFACE STABILITY IMPROVEMENTS ===== */
@media (max-width: 992px) {

    /* Prevent layout shifts during transitions */
    .mobile-shared-embed-container {
        position: relative;
        width: 100%;
        min-height: 500px;
        /* Fixed height to prevent jumping */
        margin-top: 20px;
    }

    .mobile-embed-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        transform: translateY(-10px);
        pointer-events: none;
    }

    .mobile-embed-container.active {
        position: relative;
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Prevent iframe reloading by using will-change */
    .mobile-embed-container iframe {
        will-change: auto;
        backface-visibility: hidden;
        transform: translateZ(0);
    }

    /* Ensure buttons maintain state during scroll */
    .mobile-music-icon-btn.active {
        background: transparent !important;
        box-shadow: none !important;
        transform: scale(1.05) !important;
        position: relative;
        z-index: 20;
    }

    .mobile-music-icon-btn.active img {
        filter: brightness(0) invert(1) !important;
        transform: scale(1.1) !important;
    }

    /* Lock slider indicator position */
    .slider-indicator {
        position: absolute;
        top: 5px;
        left: 5px;
        width: 70px;
        height: 70px;
        border-radius: 50%;
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 2;
        will-change: transform;
        backface-visibility: hidden;
    }
}

/* ===== SMALLER MOBILE SPECIFIC STYLES ===== */
@media (max-width: 768px) {

    /* Keep single column layout for mobile phones */
    .mobile-embed-container .youtube-videos-list {
        display: block;
        /* Override grid for mobile */
        padding: 0;
        height: 100%;
        overflow-y: auto;
    }

    .mobile-embed-container .youtube-video-item {
        height: 160px;
        /* Smaller for mobile phones */
        margin-bottom: 15px;
        /* Restore margin for mobile */
        display: block;
    }

    .mobile-embed-container .spotify-embed,
    .mobile-embed-container .apple-music-embed,
    .mobile-embed-container .youtube-container {
        height: 450px;
        /* Smaller for mobile phones */
    }

    .mobile-shared-embed-container {
        min-height: 450px;
        /* Adjust for mobile */
    }
}

/* ===== SEO LANDING PAGE STYLES ===== */
.seo-landing-page .seo-content {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.seo-landing-page h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: -0.02em;
}

.seo-landing-page h2 {
    font-size: 28px;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 20px;
    text-align: left;
}

.seo-landing-page h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.seo-intro {
    text-align: center;
    margin-bottom: 50px;
}

.seo-intro p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 20px;
}

.seo-section {
    margin-bottom: 40px;
}

.artist-list,
.services-list {
    list-style: none;
    padding: 0;
}

.artist-list li,
.services-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 16px;
    color: var(--secondary-color);
}

.artist-list li:last-child,
.services-list li:last-child {
    border-bottom: none;
}

.faq-item {
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.faq-item h3 {
    margin-bottom: 10px;
    color: var(--accent-color);
}

.faq-item p {
    margin-bottom: 0;
    font-size: 16px;
}

.testimonials-section blockquote {
    margin: 20px 0;
    padding: 25px;
    background-color: var(--card-bg);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    font-size: 17px;
    line-height: 1.7;
}

.testimonials-section cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-size: 14px;
    color: var(--secondary-color);
}

.cta-section {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--accent-color-lighter), var(--card-bg));
    border-radius: var(--border-radius-large);
    margin-top: 50px;
}

.cta-section h2 {
    text-align: center;
    margin-top: 0;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .seo-landing-page h1 {
        font-size: 32px;
    }

    .seo-landing-page h2 {
        font-size: 24px;
    }

    .seo-content {
        padding: 40px 15px;
    }
}