    :root {
        --accent-yellow: #ffd700;
        --accent-blue: #00d2ff;
        --safe-padding: clamp(12px, 3vw, 32px);
    }

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

    html {
        width: 100%;
        min-width: 0;
        overflow-x: hidden;
        scroll-behavior: smooth;
    }

    body {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        margin: 0;
        overflow-x: hidden;
        overflow-wrap: anywhere;
    }

    img,
    video,
    iframe,
    canvas,
    svg {
        max-width: 100%;
        height: auto;
    }

    a,
    button,
    input,
    textarea,
    select {
        max-width: 100%;
    }

    main,
    header,
    footer,
    section,
    nav,
    aside,
    div {
        min-width: 0;
    }

    .section,
    .glass-section,
    .hero-card,
    .project-grid,
    .dashboard,
    .socials,
    .buttons {
        width: 100%;
        max-width: 100%;
    }

    .section {
        overflow: visible;
    }

    .hero-card {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content {
        min-width: 0;
    }

    .hero-content h1,
    .bio,
    .legal-text,
    .credits-text,
    .social-note,
    .project-card p,
    .widget p {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .project-grid,
    .dashboard,
    .socials,
    .buttons {
        display: grid;
        gap: 16px;
    }

    .buttons {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .project-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    }

    .dashboard {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    }

    .socials {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    }

    .main-btn,
    .second-btn,
    .project-card,
    .socials>a,
    .widget,
    .stat {
        max-width: 100%;
    }

    .banner-wrap {
        width: 100%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
    }

    .portfolio-banner {
        display: block;
        width: 100%;
        max-width: 1200px;
        height: auto;
        min-height: 120px;
        object-fit: cover;
    }

    .quick-socials {
        max-width: calc(100vw - 16px);
    }

    .navbar,
    nav {
        min-width: 0;
    }

    .logo {
        min-width: 0;
        max-width: 100%;
    }

    .brand-name {
        overflow-wrap: anywhere;
    }

    .christian-cross {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 4px;
        font-size: 0.82em;
        line-height: 1;
        vertical-align: middle;
        color: var(--accent-yellow);
        filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.35));
    }

    .christian-cross-icon {
        color: var(--accent-yellow);
        vertical-align: middle;
    }

    .christian-badge {
        border-color: var(--accent-yellow) !important;
        color: #fff !important;
    }

    .faith-note {
        display: inline-flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px;
        margin: 0 0 12px;
        padding: 8px 14px;
        border: 1px solid rgba(255, 215, 0, 0.55);
        border-radius: 9999px;
        color: #fff;
        background: rgba(11, 17, 32, 0.55);
    }

    .skip-link {
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 99999;
        transform: translateY(-200%);
        transition: transform 0.2s ease;
    }

    .skip-link:focus {
        transform: translateY(0);
    }

    .category-group {
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .category-header {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.15rem;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 14px;
        padding-bottom: 6px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Floating action buttons fix */
    .music-button {
        position: fixed !important;
        bottom: 20px !important;
        left: 20px !important;
        z-index: 9999 !important;
        margin: 0 !important;
    }

    .back-to-top {
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        z-index: 9999 !important;
        margin: 0 !important;
    }

    /* Footer pill layout fix */
    .copyright-pill {
        position: relative;
        padding: 28px 24px !important;
        margin: 0 auto 40px auto !important;
        max-width: 900px !important;
        width: calc(100% - 32px) !important;
    }

    @media (max-width: 700px) {
        .section {
            padding-left: var(--safe-padding);
            padding-right: var(--safe-padding);
        }

        .banner-wrap {
            padding-left: 0;
            padding-right: 0;
        }

        .buttons {
            grid-template-columns: 1fr;
        }

        .project-grid,
        .dashboard,
        .socials {
            grid-template-columns: 1fr;
        }

        .faith-note {
            border-radius: 18px;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        html {
            scroll-behavior: auto;
        }

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