/* =========================================
   BASIC STUFF
========================================= */

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


html {
    scroll-behavior: smooth;
}


body {
    width: 100%;

    background: #050505;

    color: #eee9e3;

    font-family: Arial, sans-serif;
}



/* =========================================
   NAVIGATION
========================================= */

.profile-navbar {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100px;

    padding: 15px 5%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 100;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.85),
        transparent
    );
}


.profile-logo {
    height: 72px;
}


.profile-logo img {
    height: 100%;
    width: auto;

    display: block;
}


.profile-nav {
    display: flex;
    align-items: center;

    gap: 45px;
}

.profile-nav > a,
.profile-dropdown > button {
    background: none;
    border: none;

    color: rgba(255, 255, 255, 0.72);

    font-family: Arial, sans-serif;

    font-size: 11px;

    letter-spacing: 3px;

    text-decoration: none;

    cursor: pointer;

    transition: color 0.3s ease;
}


.profile-nav > a:hover,
.profile-dropdown > button:hover {
    color: #d6a46d;
}

/* =========================================
   DROPDOWN
========================================= */

.profile-dropdown {
    position: relative;

    padding: 25px 0;
}


.profile-dropdown button span {
    margin-left: 5px;

    color: #d6a46d;
}

.profile-dropdown-menu {
    position: absolute;

    top: 60px;
    right: 0;

    width: 230px;

    padding: 10px 0;

    background: rgba(5, 5, 5, 0.97);

    border-top:
        1px solid rgba(211, 170, 120, 0.55);

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        visibility 0.3s ease;
}

.profile-dropdown:hover
.profile-dropdown-menu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


.profile-dropdown-menu a {
    display: block;

    padding: 15px 20px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 11px;

    letter-spacing: 3px;

    text-decoration: none;
}


.profile-dropdown-menu a:hover {
    color: #d6a46d;

    background: rgba(255, 255, 255, 0.03);
}


.profile-dropdown-menu small {
    display: block;

    margin-top: 5px;

    color: rgba(255, 255, 255, 0.3);

    font-family: Georgia, serif;

    font-size: 9px;
    font-style: italic;

    letter-spacing: 1px;
}

/* =========================================
   PROFILE HERO
========================================= */

.profile-hero {
    position: relative;

    width: 100%;
    min-height: 100vh;

    padding:
        130px 8%
        70px;

    display: grid;

    grid-template-columns:
        minmax(350px, 0.95fr)
        minmax(400px, 0.85fr);

    align-items: center;

    gap: 7%;

    overflow: hidden;


    background:

        radial-gradient(
            circle at 25% 45%,
            rgba(135, 55, 15, 0.13),
            transparent 35%
        ),

        radial-gradient(
            circle at 80% 40%,
            rgba(100, 45, 15, 0.08),
            transparent 35%
        ),

        #050505;
}

.profile-hero::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 0;

    width: 100%;
    height: 170px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            #080706
        );

    pointer-events: none;
}



/* =========================================
   STICKER
========================================= */

.profile-visual {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: flex-end;

    z-index: 2;
}


.profile-visual::before {
    content: "";

    position: absolute;

    width: 65%;
    height: 60%;

    left: 15%;
    bottom: 12%;

    background:
        radial-gradient(
            ellipse,
            rgba(195, 75, 15, 0.13),
            transparent 65%
        );

    filter: blur(25px);
}


.profile-visual img {
    position: relative;

    width: min(100%, 610px);
    height: auto;

    display: block;

    z-index: 2;

    filter:
        drop-shadow(
            0 15px 35px
            rgba(0, 0, 0, 0.7)
        );
}



/* =========================================
   INTRO TEXT
========================================= */

.profile-intro {
    position: relative;

    max-width: 570px;

    z-index: 3;
}


.profile-role {
    margin-bottom: 15px;

    color: #b98a5d !important;

    font-size: 17px !important;

    letter-spacing: 5px !important;
}


.profile-intro h1 {
    color: #eee9e3;

    font-size: clamp(48px, 6vw, 90px);

    font-weight: 300;

    line-height: 1;

    letter-spacing: 13px;
}


.title-line {
    width: 65px;
    height: 1px;

    margin: 27px 0 38px;

    background: #d6a46d;
}


.profile-intro p {
    margin-bottom: 22px;

    color: rgba(255, 255, 255, 0.55);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 15px;

    line-height: 1.9;

    letter-spacing: 0.4px;
}


.profile-intro .intro-opening {
    color: rgba(255, 255, 255, 0.88);

    font-size: 22px;
}


.profile-intro .intro-highlight {
    color: rgba(220, 187, 150, 0.78);

    font-size: 22px;
    font-style: italic;

    line-height: 1.8;
}


.profile-intro .intro-ending {
    margin-top: 32px;

    color: #d6a46d;

    font-size: 22px;
    font-style: italic;

    line-height: 1.8;
}



/* =========================================
   PROPS & SKILLS
========================================= */

.skills-section {
    position: relative;

    padding: 100px 6%;

    text-align: center;

    background: #080706;
}


.section-heading {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 25px;

    margin-bottom: 45px;
}


.section-heading span {
    width: 70px;
    height: 1px;

    background:
        rgba(211, 170, 120, 0.45);
}


.section-heading h2 {
    color: rgba(255, 255, 255, 0.72);

    font-size: 30px;

    font-weight: 300;

    letter-spacing: 6px;
}


.skills-list {
    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 32px;
}


.skills-list p {
    color: rgba(255, 255, 255, 0.55);

    font-size: 32px;

    letter-spacing: 3px;
}


.skills-list i {
    color: rgba(211, 170, 120, 0.6);

    font-size: 9px;

    font-style: normal;
}



/* =========================================
   GALERY
========================================= */

.gallery-section {
    padding:
        110px 5%
        130px;

    background:

        radial-gradient(
            circle at center,
            rgba(110, 45, 15, 0.07),
            transparent 40%
        ),

        #050505;
}


.gallery-heading {
    margin-bottom: 65px;

    text-align: center;
}


.gallery-heading p {
    margin-bottom: 14px;

    color: rgba(211, 170, 120, 0.5);

    font-size: 9px;

    letter-spacing: 4px;
}


.gallery-heading h2 {
    color: #eee9e3;

    font-size: 20px;

    font-weight: 300;

    letter-spacing: 8px;
}


.gallery-heading span {
    display: block;

    margin-top: 22px;

    color: rgba(211, 170, 120, 0.55);

    font-size: 10px;
}



/* =========================================
   MODERN GRID
========================================= */

.profile-gallery {
    width: 100%;
    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    grid-auto-rows: 270px;

    gap: 12px;

    grid-auto-flow: dense;
}


.gallery-item {
    position: relative;

    overflow: hidden;

    background: #0b0b0b;
}


.gallery-item.tall {
    grid-row: span 2;
}


.gallery-item.wide {
    grid-column: span 2;
}


.gallery-item img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    filter:
        brightness(0.82)
        contrast(1.05);

    transition:
        transform 0.7s ease,
        filter 0.7s ease;
}


.gallery-item:hover img {
    transform: scale(1.04);

    filter:
        brightness(1)
        contrast(1.05);
}



/* =========================================
   FOOTER
========================================= */

.profile-footer {
    padding:
        25px 6%
        30px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    background: #020202;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}


.profile-footer p {
    color: rgba(255, 255, 255, 0.3);

    font-size: 9px;

    letter-spacing: 3px;
}


.profile-footer .footer-fire {
    color: rgba(211, 170, 120, 0.5);
}


.footer-fire span {
    margin-left: 8px;

    color: #d6a46d;
}



/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .profile-hero {
        padding-left: 5%;
        padding-right: 5%;

        gap: 4%;

        grid-template-columns:
            1fr 1fr;
    }


    .profile-visual img {
        width: 100%;
    }


    .profile-gallery {
        grid-auto-rows: 230px;
    }

}



/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .profile-navbar {
        height: 80px;

        padding: 10px 20px;
    }


    .profile-logo {
        height: 58px;
    }


    .profile-nav {
        display: none;
    }



    /* HERO */

    .profile-hero {
        min-height: auto;

        padding:
            105px 25px
            80px;

        display: flex;

        flex-direction: column;

        gap: 20px;
    }


    .profile-visual {
        order: 1;

        width: 100%;
    }


    .profile-visual img {
        width: min(100%, 480px);
    }


    .profile-intro {
        order: 2;

        width: 100%;

        margin-top: -10px;
    }


    .profile-intro h1 {
        font-size: 50px;

        letter-spacing: 8px;
    }


    .profile-role {
        letter-spacing: 4px !important;
    }



    /* SKILLS */

    .skills-section {
        padding:
            80px 25px;
    }


    .section-heading {
        gap: 15px;
    }


    .section-heading span {
        width: 30px;
    }


    .section-heading h2 {
        font-size: 11px;

        letter-spacing: 4px;
    }


    .skills-list {
        gap: 15px;
    }



    /* GALERY */

    .gallery-section {
        padding:
            85px 15px
            100px;
    }


    .profile-gallery {
        grid-template-columns:
            repeat(2, 1fr);

        grid-auto-rows: 210px;

        gap: 7px;
    }


    .gallery-item.wide {
        grid-column: span 2;
    }


    .gallery-heading h2 {
        font-size: 17px;

        letter-spacing: 5px;
    }



    /* FOOTER */

    .profile-footer {
        padding:
            25px 20px;

        flex-direction: column;

        align-items: flex-start;

        gap: 14px;
    }

}

/* ========================================
   MOBILE STAR NAVIGATION
======================================== */

.fire-menu-button,
.mobile-menu,
.menu-backdrop {
    display: none;
}

@media (max-width: 768px) {

    .profile-navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;

        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .profile-nav {
        display: none;
    }

    .fire-menu-button {
        display: block;
        position: relative;
        z-index: 1002;

        width: 48px;
        height: 48px;

        background: transparent;
        border: none;

        color: #d6a46d;
        font-size: 34px;
        line-height: 1;

        cursor: pointer;

        transform: rotate(0deg);
        transition: transform 0.4s ease, color 0.4s ease;
    }

    .fire-menu-button[aria-expanded="true"] {
        transform: rotate(45deg);
        color: #f0c89a;
    }

    .menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;

        background: rgba(0, 0, 0, 0.25);
        backdrop-filter: blur(7px);
        -webkit-backdrop-filter: blur(7px);

        z-index: 998;
        opacity: 0;
        visibility: hidden;

        transition: opacity 0.4s ease, visibility 0.4s ease;
    }

    .menu-backdrop.open {
        opacity: 1;
        visibility: visible;
    }

    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        left: auto;

        width: min(82vw, 340px);
        height: 100vh;
        height: 100dvh;

        padding: 110px 30px 40px;
        overflow-y: auto;

        background:
            radial-gradient(
                circle at top right,
                rgba(150, 65, 20, 0.16),
                transparent 35%
            ),
            rgba(6, 6, 6, 0.97);

        border-left: 1px solid rgba(211, 170, 120, 0.2);

        z-index: 999;

        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);

        transition:
            transform 0.45s ease,
            opacity 0.45s ease,
            visibility 0.45s ease;
    }

    .mobile-menu.open {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .mobile-menu nav {
        display: flex;
        flex-direction: column;
    }

    .mobile-menu nav > a,
    .mobile-profiles > button {
        width: 100%;
        display: flex;
        align-items: center;

        padding: 20px 0;

        background: none;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);

        color: rgba(255, 255, 255, 0.82);
        font-family: Arial, sans-serif;
        font-size: 13px;
        font-weight: 300;
        letter-spacing: 3px;
        text-align: left;
        text-decoration: none;
        cursor: pointer;
    }

    .mobile-menu nav > a > span,
    .mobile-profiles > button > span:first-child {
        width: 42px;
        flex-shrink: 0;

        color: rgba(211, 170, 120, 0.55);
        font-size: 9px;
        letter-spacing: 1px;
    }

    .mobile-arrow {
        margin-left: auto;
        color: #d6a46d;
        font-size: 18px;
        transition: transform 0.4s ease;
    }

    .mobile-profiles.open .mobile-arrow {
        transform: rotate(45deg);
    }

    .mobile-profile-links {
        max-height: 0;
        overflow: hidden;
        padding-left: 42px;
        transition: max-height 0.5s ease;
    }

    .mobile-profiles.open .mobile-profile-links {
        max-height: 280px;
    }

    .mobile-profile-links a {
        display: block;
        padding: 14px 0;

        color: rgba(255, 255, 255, 0.65);
        font-size: 11px;
        letter-spacing: 3px;
        text-decoration: none;
    }

    .mobile-profile-links small {
        display: block;
        margin-top: 5px;

        color: rgba(211, 170, 120, 0.5);
        font-family: Georgia, serif;
        font-size: 9px;
        font-style: italic;
        letter-spacing: 1px;
    }

    .mobile-menu-symbol {
        margin-top: 40px;
        color: rgba(211, 170, 120, 0.5);
        font-size: 12px;
    }
}
/* MOBILE — show full gallery photos */
@media (max-width: 768px) {

    .profile-gallery {
        grid-auto-rows: auto;
        align-items: start;
    }

    .profile-gallery .gallery-item {
        height: auto;
        overflow: visible;
    }

    .profile-gallery .gallery-item img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

}
