/* =========================================================
   AYHAN AHMAD
   CINEMATIC CREATIVE PORTFOLIO
========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #050505;
    --bg-soft: #0a0a0a;

    --white: #ffffff;
    --soft: rgba(255,255,255,.72);
    --muted: rgba(255,255,255,.48);

    --gold: #d8ad55;
    --gold-light: #ffe6a0;

    --border: rgba(255,255,255,.10);
    --border-gold: rgba(216,173,85,.28);

    --ease: cubic-bezier(.16,1,.3,1);
}

/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

body,
button,
input,
textarea {
    font-family: 'Inter', sans-serif;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

/* =========================================================
   APP
========================================================= */

#app {
    position: relative;
    width: 100%;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(216,173,85,.055),
            transparent 35%
        ),
        #050505;
}

/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    padding: 0 6vw;

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

    z-index: 100;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,.72),
            transparent
        );

    pointer-events: none;
}

.logo {
    pointer-events: auto;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 5px;

    color: #fff;

    position: relative;
}

.logo::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 22px;
    height: 1px;

    background: var(--gold);

    box-shadow:
        0 0 12px rgba(216,173,85,.7);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;

    pointer-events: auto;
}

.main-nav a {
    position: relative;

    color: rgba(255,255,255,.58);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    transition:
        color .35s ease;
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -8px;

    width: 0;
    height: 1px;

    transform: translateX(-50%);

    background: var(--gold);

    transition:
        width .4s var(--ease);
}

.main-nav a:hover {
    color: #fff;
}

.main-nav a:hover::after {
    width: 100%;
}

/* =========================================================
   MOBILE MENU - FINAL
========================================================= */

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {

    .site-header {
        z-index: 9999;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 10001;

        width: 44px;
        height: 44px;

        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;

        border: 1px solid rgba(255,255,255,.14);
        border-radius: 50%;

        background: rgba(0,0,0,.35);

        cursor: pointer;

        -webkit-tap-highlight-color: transparent;
    }

    .menu-toggle span {
        display: block;

        width: 15px;
        height: 1px;

        background: #fff;

        transition:
            transform .35s ease,
            opacity .25s ease;
    }

    /* MENU */

    .main-nav {
        position: fixed;

        top: 0;
        right: 0;

        width: min(320px, 85vw);
        height: 100vh;

        padding: 100px 30px 40px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 24px;

        background: rgba(5,5,5,.97);

        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);

        border-left: 1px solid rgba(255,255,255,.12);

        transform: translateX(100%);

        visibility: hidden;
        opacity: 0;

        transition:
            transform .35s ease,
            opacity .35s ease,
            visibility .35s ease;

        z-index: 10000;

        overflow-y: auto;
    }

    /* OPEN */

    .main-nav.open {
        transform: translateX(0);

        visibility: visible;

        opacity: 1;
    }

    /* LINKS */

    .main-nav a {
        display: block;

        width: 100%;

        padding: 8px 0;

        color: #fff;

        font-size: 15px;
        font-weight: 500;

        letter-spacing: .08em;

        border: 0;

        transition:
            color .25s ease,
            transform .25s ease;
    }

    .main-nav a:hover {
        color: var(--gold-light);

        transform: translateX(5px);
    }

    /* HAMBURGER → X */

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform:
            translateY(3px)
            rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform:
            translateY(-3px)
            rotate(-45deg);
    }
}

/* VERY SMALL PHONES */

@media (max-width: 380px) {

    .main-nav {
        width: 88vw;

        padding-left: 25px;
        padding-right: 25px;
    }
}

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

.hero {
    position: relative;

    min-height: 100svh;

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

    overflow: hidden;

    isolation: isolate;
}

/* =========================================================
   HERO BACKGROUND
========================================================= */

.hero-background {
    position: absolute;
    inset: 0;

    z-index: -10;

    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: -5%;

    width: 110%;
    height: 110%;

    object-fit: cover;

    filter:
        brightness(.40)
        contrast(1.25)
        saturate(.92);

    transform:
        scale(1.04);

    transition:
        transform 1.2s var(--ease);
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.72) 0%,
            rgba(0,0,0,.12) 38%,
            rgba(0,0,0,.48) 72%,
            #050505 100%
        );
}

.hero-glow {
    position: absolute;

    width: 70vw;
    height: 70vw;

    max-width: 700px;
    max-height: 700px;

    left: 50%;
    top: 45%;

    transform: translate(-50%,-50%);

    background:
        radial-gradient(
            circle,
            rgba(216,173,85,.12),
            transparent 65%
        );

    filter: blur(25px);

    pointer-events: none;
}

.hero-noise {
    position: absolute;
    inset: 0;

    opacity: .035;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.8'/%3E%3C/svg%3E");

    pointer-events: none;
}

/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    width: min(90%, 900px);

    text-align: center;

    margin-top: 8vh;

    animation:
        heroReveal 1.2s var(--ease) both;
}

@keyframes heroReveal {

    from {
        opacity: 0;
        transform: translateY(35px);
        filter: blur(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* =========================================================
   EYEBROW
========================================================= */

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    color: rgba(255,255,255,.58);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 5px;

    margin-bottom: 20px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
    content: "";

    width: 28px;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--gold)
        );
}

.hero-eyebrow::after {
    background:
        linear-gradient(
            90deg,
            var(--gold),
            transparent
        );
}

/* =========================================================
   HERO TITLE
========================================================= */

.hero-title {
    font-size: clamp(
        3.4rem,
        12vw,
        9rem
    );

    line-height: .82;

    font-weight: 900;

    letter-spacing: -.075em;

    color: #fff;

    background:
        linear-gradient(
            120deg,
            #ffffff 10%,
            #fff5cf 35%,
            #d8ad55 62%,
            #805d20 85%,
            #ffe9a2
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 20px 50px rgba(0,0,0,.9));

    margin-bottom: 28px;
}

.hero-title span {
    display: block;

    font-size: .72em;

    letter-spacing: -.045em;

    margin-top: 8px;
}

/* =========================================================
   HERO ROLE
========================================================= */

.hero-role {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;

    margin-bottom: 12px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 4px;
}

.role-prefix {
    color: rgba(255,255,255,.38);
}

.role-text {
    color: var(--gold-light);

    text-shadow:
        0 0 25px rgba(216,173,85,.22);
}

.hero-description {
    color: rgba(255,255,255,.48);

    font-size: 10px;
    font-weight: 500;

    letter-spacing: 2px;

    margin-bottom: 35px;
}

/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.button {
    position: relative;

    min-width: 145px;

    padding: 14px 22px;

    border-radius: 100px;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;

    overflow: hidden;

    transition:
        transform .45s var(--ease),
        box-shadow .45s ease,
        border-color .35s ease;
}

.button-primary {
    color: #080706;

    background:
        linear-gradient(
            135deg,
            #fff1b0,
            #d8ad55
        );

    box-shadow:
        0 12px 45px rgba(216,173,85,.18);
}

.button-secondary {
    color: rgba(255,255,255,.88);

    border: 1px solid rgba(255,255,255,.16);

    background:
        rgba(0,0,0,.22);

    backdrop-filter: blur(18px);
}

.button:hover {
    transform: translateY(-4px);
}

.button-primary:hover {
    box-shadow:
        0 18px 60px rgba(216,173,85,.35);
}

.button-secondary:hover {
    border-color:
        rgba(216,173,85,.65);
}

/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {
    position: absolute;

    left: 50%;
    bottom: 32px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;

    color: rgba(255,255,255,.3);

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 4px;
}

.scroll-line {
    width: 1px;
    height: 35px;

    background:
        linear-gradient(
            to bottom,
            var(--gold),
            transparent
        );

    animation:
        scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

    0%,100% {
        opacity: .35;
        transform: scaleY(.65);
        transform-origin: top;
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
        transform-origin: top;
    }
}

/* =========================================================
   GENERAL SECTION
========================================================= */

.section {
    position: relative;

    width: min(1180px, 88%);

    margin: 0 auto;

    padding:
        130px 0;
}

/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {
    max-width: 720px;

    margin-bottom: 60px;
}

.section-number {
    color: var(--gold);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 4px;

    margin-bottom: 18px;
}

.section-heading h2 {
    font-size: clamp(
        2.5rem,
        7vw,
        5rem
    );

    line-height: .95;

    letter-spacing: -.055em;

    font-weight: 800;

    margin-bottom: 22px;
}

.section-heading h2 span {
    color: var(--gold);
}

.section-heading > p:last-child {
    max-width: 550px;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.8;
}

/* =========================================================
   WORK FILTERS
========================================================= */

.work-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-bottom: 35px;
}

.filter-button {
    padding: 10px 17px;

    border-radius: 100px;

    border: 1px solid rgba(255,255,255,.10);

    background: transparent;

    color: rgba(255,255,255,.45);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 2px;

    cursor: pointer;

    transition:
        all .3s ease;
}

.filter-button:hover,
.filter-button.active {
    color: #090909;

    background: var(--gold);

    border-color: var(--gold);
}

/* =========================================================
   PROJECT GRID
========================================================= */

.project-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 18px;
}

.project-card {
    cursor: pointer;

    transition:
        transform .6s var(--ease);
}

.project-card:nth-child(3n) {
    grid-column: span 2;
}

.project-image {
    position: relative;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: 3px;

    background: #111;
}

.project-card:nth-child(3n) .project-image {
    aspect-ratio: 2 / 1;
}

.project-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        brightness(.75)
        saturate(.82);

    transition:
        transform 1s var(--ease),
        filter .7s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.06);

    filter:
        brightness(.95)
        saturate(1);
}

.project-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(0,0,0,.65)
        );
}

.project-number {
    position: absolute;

    top: 18px;
    right: 20px;

    z-index: 2;

    color: rgba(255,255,255,.55);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 2px;
}

.project-info {
    padding: 17px 2px;
}

.project-info p {
    color: var(--gold);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 7px;
}

.project-info h3 {
    color: #fff;

    font-size: 17px;
    font-weight: 700;

    letter-spacing: -.03em;
}

/* =========================================================
   SKILLS
========================================================= */

.skills-grid {
    display: grid;

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

    gap: 1px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.08);
}

.skill-card {
    position: relative;

    min-height: 250px;

    padding: 30px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.008)
        );

    transition:
        background .45s ease,
        transform .45s var(--ease);
}

.skill-card:hover {
    background:
        linear-gradient(
            145deg,
            rgba(216,173,85,.10),
            rgba(255,255,255,.015)
        );

    transform: translateY(-4px);
}

.skill-index {
    color: var(--gold);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 3px;
}

.skill-card h3 {
    margin-top: 70px;

    font-size: 20px;

    letter-spacing: -.035em;
}

.skill-card p {
    margin-top: 12px;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.7;
}

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

.about-section {
    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 8vw;

    align-items: center;
}

.about-image {
    position: relative;

    aspect-ratio: 4 / 5;

    overflow: hidden;
}

.about-image::after {
    content: "";

    position: absolute;
    inset: 0;

    box-shadow:
        inset 0 0 80px rgba(0,0,0,.55);
}

.about-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        grayscale(.2)
        contrast(1.15)
        brightness(.75);
}

.about-content h2 {
    max-width: 600px;

    font-size: clamp(
        2.5rem,
        6vw,
        5rem
    );

    line-height: .95;

    letter-spacing: -.06em;

    margin-bottom: 30px;
}

.about-content h2 span {
    color: var(--gold);
}

.about-content > p:not(.section-number) {
    max-width: 570px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.9;

    margin-bottom: 20px;
}

/* =========================================================
   WORKBENCH
========================================================= */

.workbench-grid {
    display: grid;

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

    gap: 12px;
}

.status-card {
    min-height: 190px;

    padding: 28px;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            transparent
        );

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    transition:
        transform .45s var(--ease),
        border-color .35s ease;
}

.status-card:hover {
    transform: translateY(-5px);

    border-color:
        var(--border-gold);
}

.status-card span {
    color: var(--gold);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 9px;
}

.status-card h3 {
    font-size: 21px;

    letter-spacing: -.04em;
}

.status-card.completed {
    border-top: 1px solid rgba(216,173,85,.7);
}

.status-card.experiment {
    border-top: 1px solid rgba(255,255,255,.25);
}

.status-card.progress {
    border-top: 1px solid rgba(216,173,85,.35);
}

/* =========================================================
   AI SECTION
========================================================= */

.ai-section {
    text-align: center;
}

.ai-section .section-heading {
    margin-left: auto;
    margin-right: auto;
}

.ai-showcase {
    position: relative;

    min-height: 420px;

    overflow: hidden;

    border: 1px solid rgba(216,173,85,.18);

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(216,173,85,.12),
            transparent 35%
        ),
        #080808;
}

.ai-showcase::before,
.ai-showcase::after {
    content: "";

    position: absolute;

    inset: 12%;

    border: 1px solid rgba(216,173,85,.10);

    transform:
        rotate(45deg)
        scale(.7);

    animation:
        aiRotate 20s linear infinite;
}

.ai-showcase::after {
    inset: 22%;

    animation-duration: 30s;

    transform:
        rotate(-45deg)
        scale(.8);
}

@keyframes aiRotate {

    from {
        transform:
            rotate(0deg)
            scale(.7);
    }

    to {
        transform:
            rotate(360deg)
            scale(.7);
    }
}

.ai-placeholder {
    position: absolute;

    inset: 0;

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

    z-index: 2;
}

.ai-placeholder span {
    padding: 12px 20px;

    border: 1px solid rgba(216,173,85,.35);

    color: var(--gold-light);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 4px;

    background: rgba(0,0,0,.4);

    backdrop-filter: blur(15px);
}

/* =========================================================
   PHOTO GRID
========================================================= */

.photo-grid {
    display: grid;

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

    gap: 10px;
}

.photo-item {
    aspect-ratio: 3 / 4;

    overflow: hidden;

    background: #111;
}

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

    object-fit: cover;

    filter:
        brightness(.78)
        saturate(.85);

    transition:
        transform .9s var(--ease),
        filter .5s ease;
}

.photo-item:hover img {
    transform: scale(1.07);

    filter:
        brightness(1)
        saturate(1);
}

/* =========================================================
   VIDEO
========================================================= */

.video-placeholder {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(216,173,85,.12),
            transparent 45%
        ),
        #090909;

    border: 1px solid var(--border);

    border-radius: 3px;

    isolation: isolate;
}

.video-placeholder video {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center;

    background: #000;

    border: 0;

    outline: none;
}

.video-placeholder video::-webkit-media-controls-panel {
    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.85),
            transparent
        );
}

/* =========================================================
   PLAY BUTTON
========================================================= */

.play-button {
    position: absolute;

    left: 50%;
    top: 50%;

    transform:
        translate(-50%,-50%);

    width: 70px;
    height: 70px;

    border-radius: 50%;

    border: 1px solid rgba(216,173,85,.6);

    color: var(--gold-light);

    background: rgba(0,0,0,.45);

    backdrop-filter: blur(15px);

    cursor: pointer;

    transition:
        transform .45s var(--ease),
        background .35s ease;
}

.play-button:hover {
    transform:
        translate(-50%,-50%)
        scale(1.08);

    background:
        rgba(216,173,85,.12);
}

/* =========================================================
   PROCESS
========================================================= */

.process-list {
    border-top: 1px solid var(--border);
}

.process-item {
    display: grid;

    grid-template-columns:
        70px 1fr 1fr;

    gap: 20px;

    align-items: center;

    padding: 30px 0;

    border-bottom: 1px solid var(--border);

    transition:
        padding .45s var(--ease);
}

.process-item:hover {
    padding-left: 12px;
    padding-right: 12px;

    border-bottom-color:
        var(--border-gold);
}

.process-item > span {
    color: var(--gold);

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 2px;
}

.process-item h3 {
    font-size: 25px;

    letter-spacing: -.04em;
}

.process-item p {
    color: var(--muted);

    font-size: 10px;

    line-height: 1.7;
}

/* =========================================================
   SERVICES
========================================================= */

.services-list {
    border-top: 1px solid var(--border);

    margin-bottom: 55px;
}

.services-list div {
    padding: 22px 0;

    border-bottom: 1px solid var(--border);

    color: rgba(255,255,255,.8);

    font-size: clamp(
        1.2rem,
        3vw,
        2.2rem
    );

    font-weight: 600;

    letter-spacing: -.04em;

    transition:
        color .3s ease,
        padding .4s var(--ease);
}

.services-list div:hover {
    color: var(--gold-light);

    padding-left: 15px;
}

.large-link {
    display: inline-flex;

    align-items: center;

    gap: 20px;

    color: var(--gold-light);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 3px;

    border-bottom: 1px solid var(--gold);

    padding-bottom: 10px;

    transition:
        gap .4s var(--ease);
}

.large-link:hover {
    gap: 35px;
}

/* =========================================================
   SOCIAL HUB
========================================================= */

.social-section {
    text-align: center;
}

.social-section .section-heading {
    margin-left: auto;
    margin-right: auto;
}

.social-grid {
    display: grid;

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

    gap: 10px;

    text-align: left;
}

.social-card {
    position: relative;

    min-height: 190px;

    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.008)
        );

    overflow: hidden;

    transition:
        transform .5s var(--ease),
        border-color .4s ease;
}

.social-card:hover {
    transform: translateY(-6px);

    border-color:
        var(--border-gold);
}

.social-icon {
    position: absolute;

    top: 22px;
    left: 25px;

    color: var(--gold);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 2px;
}

.social-name {
    font-size: 18px;
    font-weight: 700;

    margin-bottom: 7px;
}

.social-username {
    color: var(--muted);

    font-size: 9px;

    letter-spacing: 1px;
}

.social-arrow {
    position: absolute;

    right: 24px;
    bottom: 24px;

    color: var(--gold);

    font-size: 18px;

    transition:
        transform .4s var(--ease);
}

.social-card:hover .social-arrow {
    transform:
        translate(4px,-4px);
}

/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    display: flex;
    justify-content: center;
}

.contact-content {
    width: min(760px,100%);

    text-align: center;
}

.contact-content h2 {
    font-size: clamp(
        2.8rem,
        8vw,
        6rem
    );

    line-height: .9;

    letter-spacing: -.065em;

    margin-bottom: 25px;
}

.contact-content h2 span {
    color: var(--gold);
}

.contact-content > p:not(.section-number) {
    color: var(--muted);

    font-size: 11px;

    line-height: 1.8;

    margin-bottom: 45px;
}

/* =========================================================
   FORM
========================================================= */

.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;

    color: rgba(255,255,255,.4);

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
    width: 100%;

    border: 0;

    border-bottom:
        1px solid rgba(255,255,255,.16);

    outline: none;

    background: transparent;

    color: #fff;

    padding: 12px 0;

    font-size: 13px;

    resize: vertical;

    transition:
        border-color .35s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color:
        var(--gold);
}

.submit-button {
    display: inline-flex;

    align-items: center;
    gap: 18px;

    margin-top: 15px;

    padding: 15px 24px;

    border: 0;
    border-radius: 100px;

    color: #080706;

    background:
        linear-gradient(
            135deg,
            #fff0af,
            #d8ad55
        );

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 2px;

    cursor: pointer;

    transition:
        transform .4s var(--ease),
        box-shadow .4s ease;
}

.submit-button:hover {
    transform: translateY(-4px);

    box-shadow:
        0 15px 50px rgba(216,173,85,.25);
}

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

.site-footer {
    width: 88%;

    max-width: 1180px;

    margin: auto;

    padding:
        35px 0 45px;

    border-top:
        1px solid rgba(255,255,255,.08);

    display: flex;

    justify-content: space-between;

    align-items: center;

    color: rgba(255,255,255,.3);

    font-size: 7px;

    letter-spacing: 2px;
}

.footer-brand {
    color: rgba(255,255,255,.7);

    font-weight: 800;

    letter-spacing: 4px;
}

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

@media (max-width: 900px) {

    .main-nav {
        gap: 18px;
    }

    .skills-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .social-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .social-card:last-child {
        grid-column: span 2;
    }

    .about-section {
        grid-template-columns:
            1fr 1fr;
    }
}

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

@media (max-width: 650px) {

    .site-header {
        height: 70px;

        padding:
            0 22px;
    }

    .main-nav {
        position: fixed;

        top: 70px;
        left: 15px;
        right: 15px;

        padding: 20px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        border:
            1px solid rgba(255,255,255,.10);

        background:
            rgba(5,5,5,.88);

        backdrop-filter:
            blur(25px);

        border-radius: 12px;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 15px 5px;

        border-bottom:
            1px solid rgba(255,255,255,.07);
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        margin-top: 3vh;
    }

    .hero-title {
        font-size:
            clamp(
                3rem,
                15vw,
                5rem
            );
    }

    .hero-eyebrow {
        font-size: 7px;
        letter-spacing: 3px;
    }

    .hero-description {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero-actions {
        flex-direction: column;

        align-items: center;
    }

    .button {
        width: min(
            220px,
            80%
        );
    }

    .section {
        width: 88%;

        padding:
            95px 0;
    }

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

    .project-card:nth-child(3n) {
        grid-column: auto;
    }

    .project-card:nth-child(3n) .project-image {
        aspect-ratio: 16 / 10;
    }

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

    .skill-card {
        min-height: 210px;
    }

    .about-section {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-image {
        width: 80%;
        margin: auto;
    }

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

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

    .social-card:last-child {
        grid-column: auto;
    }

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

    .photo-item:last-child {
        grid-column: span 2;

        aspect-ratio: 16 / 10;
    }

    .video-placeholder {
        width: 100%;

        aspect-ratio: 16 / 9;

        border-radius: 3px;
    }

    .video-placeholder video {
        width: 100%;
        height: 100%;

        object-fit: contain;

        background: #000;
    }

    .process-item {
        grid-template-columns:
            45px 1fr;

        gap: 10px;
    }

    .process-item p {
        grid-column: 2;
    }

    .site-footer {
        width: 88%;

        flex-direction: column;

        gap: 15px;

        text-align: center;
    }
}

/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: .01ms !important;
    }
}

/* =========================================================
   PROJECT VIEWER
========================================================= */

.project-viewer {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

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

    padding: 25px;

    background:
        rgba(0,0,0,.88);

    backdrop-filter:
        blur(20px);

    opacity: 0;

    visibility: hidden;

    overflow-y: auto;

    overscroll-behavior: contain;

    -webkit-overflow-scrolling: touch;

    cursor: zoom-out;

    transition:
        opacity .3s ease,
        visibility .3s ease;
}

.project-viewer.active {
    opacity: 1;

    visibility: visible;
}

.viewer-content {
    position: relative;

    width: min(900px, 100%);

    max-height: 90vh;

    display: flex;

    flex-direction: column;

    align-items: center;

    transform:
        scale(.92)
        translateY(20px);

    cursor: default;

    will-change: transform;

    transition:
        transform .45s cubic-bezier(.16,1,.3,1);
}

.project-viewer.active .viewer-content {
    transform:
        scale(1)
        translateY(0);
}

.viewer-content img {
    display: block;

    width: auto;

    max-width: 100%;

    max-height: 75vh;

    object-fit: contain;

    border:
        1px solid rgba(216,173,85,.25);

    border-radius: 2px;

    box-shadow:
        0 30px 100px rgba(0,0,0,.8);

    user-select: none;

    -webkit-user-drag: none;

    cursor: default;
}

.viewer-close {
    position: absolute;

    top: -18px;
    right: -18px;

    width: 42px;
    height: 42px;

    border:
        1px solid rgba(255,255,255,.18);

    border-radius: 50%;

    background:
        rgba(10,10,10,.95);

    color: #fff;

    font-size: 25px;
    font-weight: 300;

    cursor: pointer;

    z-index: 10;

    display: flex;

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

    line-height: 1;

    padding: 0;

    transition:
        transform .3s ease,
        border-color .3s ease,
        color .3s ease,
        background .3s ease;
}

.viewer-close:hover {
    transform:
        rotate(90deg);

    color:
        var(--gold-light);

    border-color:
        rgba(216,173,85,.6);

    background:
        rgba(216,173,85,.10);
}

.viewer-close:focus {
    outline: none;
}

.viewer-close:focus-visible {
    outline:
        1px solid var(--gold);

    outline-offset: 4px;
}

.viewer-info {
    width: 100%;

    padding-top: 18px;

    text-align: center;

    animation:
        viewerInfoReveal .6s var(--ease) .12s both;
}

@keyframes viewerInfoReveal {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.viewer-info span {
    color: var(--gold);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 3px;
}

.viewer-info h3 {
    margin-top: 7px;

    color: #fff;

    font-size: 20px;

    font-weight: 700;
}

/* =========================================================
   PROJECT CARD INTERACTION
========================================================= */

.project-card {
    cursor: pointer;
}

.project-card:focus {
    outline: none;
}

.project-card:focus-visible {
    outline:
        1px solid var(--gold);

    outline-offset: 5px;
}

/* =========================================================
   PROJECT VIEWER MOBILE
========================================================= */

@media (max-width: 650px) {

    .project-viewer {
        padding: 15px;
    }

    .viewer-content {
        width: 100%;

        max-height: 90vh;
    }

    .viewer-content img {
        width: 100%;

        max-width: 100%;

        max-height: 72vh;
    }

    .viewer-close {
        top: -12px;
        right: -5px;

        width: 38px;
        height: 38px;

        font-size: 22px;
    }

    .viewer-info {
        padding-top: 15px;
    }

    .viewer-info h3 {
        font-size: 17px;
    }
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal-element {
    opacity: 0;

    transform:
        translateY(35px);

    filter:
        blur(6px);

    transition:
        opacity .8s var(--ease),
        transform .8s var(--ease),
        filter .8s ease;
}

.reveal-element.revealed {
    opacity: 1;

    transform:
        translateY(0);

    filter:
        blur(0);
}

@media (prefers-reduced-motion: reduce) {

    .reveal-element {
        opacity: 1;

        transform: none;

        filter: none;

        transition: none;
    }
}

/* =========================================================
   HERO PARALLAX POLISH
========================================================= */

.hero-image {
    will-change: transform;

    backface-visibility: hidden;

    -webkit-backface-visibility: hidden;
}

.depth-layer {
    position: absolute;

    inset: 0;

    pointer-events: none;

    will-change: transform;

    transform:
        translate3d(0, 0, 0);

    backface-visibility: hidden;

    -webkit-backface-visibility: hidden;
}

@media (max-width: 650px) {

    .hero-image {
        transform:
            scale(1.04);
    }

    .depth-layer {
        display: none;
    }
}

/* =========================================================
   PROJECT VIEWER POLISH
========================================================= */

.project-viewer {
    overscroll-behavior: contain;

    -webkit-overflow-scrolling: touch;
}

.viewer-content {
    will-change: transform;
}

.viewer-content img {
    user-select: none;

    -webkit-user-drag: none;

    border-radius: 2px;
}

.viewer-info {
    animation:
        viewerInfoReveal .6s var(--ease) .12s both;
}

@media (max-width: 650px) {

    .viewer-content {
        width: 100%;
    }

    .viewer-content img {
        width: 100%;

        max-width: 100%;

        max-height: 72vh;
    }

    .viewer-info {
        padding-top: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .viewer-info {
        animation: none;
    }
}

/* =========================================================
   PROJECT VIEWER CLOSE FIX
========================================================= */

.project-viewer {
    cursor: zoom-out;

    touch-action: manipulation;
}

.viewer-content {
    cursor: default;

    touch-action: auto;
}

.viewer-close {
    cursor: pointer;

    -webkit-appearance: none;

    appearance: none;

    touch-action: manipulation;
}
/* =========================================================
   VIEWER CLOSE BUTTON FIX
========================================================= */

.project-viewer {
    pointer-events: auto;
    touch-action: manipulation;
}

.viewer-content {
    position: relative;
    pointer-events: auto;
}

.viewer-close {
    pointer-events: auto;
    
    display: flex;
    align-items: center;
    justify-content: center;
    
    z-index: 99999;
    
    cursor: pointer;
    
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.viewer-content img {
    pointer-events: auto;
}

/* Mobile close button */

@media (max-width: 650px) {
    
    .viewer-close {
        top: -14px;
        right: -6px;
        
        width: 42px;
        height: 42px;
        
        display: flex;
        align-items: center;
        justify-content: center;
        
        z-index: 99999;
    }
    
}
/* =========================================================
   MOBILE IMAGE VIEWER - FINAL POLISH
========================================================= */

.project-viewer {
    padding: 18px;
    overflow: auto;
    overscroll-behavior: contain;
}

.viewer-content {
    width: min(900px, 100%);
    max-height: 92vh;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewer-content img {
    display: block;
    
    width: auto;
    max-width: 100%;
    
    height: auto;
    max-height: 78vh;
    
    object-fit: contain;
}

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

@media (max-width: 650px) {
    
    .project-viewer {
        padding: 12px;
    }
    
    .viewer-content {
        width: 100%;
        max-height: 94vh;
    }
    
    .viewer-content img {
        width: auto;
        max-width: 100%;
        
        height: auto;
        max-height: 75vh;
        
        object-fit: contain;
    }
    
    .viewer-info {
        width: 100%;
        padding-top: 12px;
    }
    
    .viewer-close {
        position: absolute;
        
        top: -8px;
        right: 0;
        
        width: 42px;
        height: 42px;
        
        display: flex;
        align-items: center;
        justify-content: center;
        
        border-radius: 50%;
        
        z-index: 99999;
    }
}
/* =========================================================
   PROJECT VIEWER - CLOSE BUTTON FIX
========================================================= */

.project-viewer {
    pointer-events: auto;
}

.viewer-content {
    pointer-events: auto;
}

.viewer-close {
    pointer-events: auto !important;
    touch-action: manipulation;
    z-index: 99999;
    position: absolute;
}

.project-viewer.active .viewer-close {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* =========================================================
   MOBILE MENU - FINAL
========================================================= */

.menu-toggle {
    display: none;
}

@media (max-width: 768px) {

    .site-header {
        z-index: 9999;
    }

    .menu-toggle {
        display: flex;
        position: relative;
        z-index: 10001;

        width: 44px;
        height: 44px;

        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;

        border: 1px solid rgba(255,255,255,.14);
        border-radius: 50%;

        background: rgba(0,0,0,.35);

        cursor: pointer;

        -webkit-tap-highlight-color: transparent;
    }

    .menu-toggle span {
        display: block;

        width: 15px;
        height: 1px;

        background: #fff;

        transition:
            transform .35s ease,
            opacity .25s ease;
    }

    /* MENU */

    .main-nav {
        position: fixed;

        top: 0;
        right: 0;

        width: min(320px, 85vw);
        height: 100vh;

        padding: 100px 30px 40px;

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        gap: 24px;

        background: rgba(5,5,5,.97);

        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);

        border-left: 1px solid rgba(255,255,255,.12);

        transform: translateX(100%);

        visibility: hidden;
        opacity: 0;

        transition:
            transform .35s ease,
            opacity .35s ease,
            visibility .35s ease;

        z-index: 10000;

        overflow-y: auto;
    }

    /* OPEN */

    .main-nav.open {
        transform: translateX(0);

        visibility: visible;

        opacity: 1;
    }

    /* LINKS */

    .main-nav a {
        display: block;

        width: 100%;

        padding: 8px 0;

        color: #fff;

        font-size: 15px;
        font-weight: 500;

        letter-spacing: .08em;

        border: 0;

        transition:
            color .25s ease,
            transform .25s ease;
    }

    .main-nav a:hover {
        color: var(--gold-light);

        transform: translateX(5px);
    }

    /* HAMBURGER → X */

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform:
            translateY(3px)
            rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform:
            translateY(-3px)
            rotate(-45deg);
    }
}

/* VERY SMALL PHONES */

@media (max-width: 380px) {

    .main-nav {
        width: 88vw;

        padding-left: 25px;
        padding-right: 25px;
    }
}
/* =========================================================
MOBILE MENU FIX
========================================================= */

/* Desktop */
.menu-toggle {
display: none;
}

/* Mobile */
@media (max-width: 768px) {

.menu-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
    flex-shrink: 0;
}
.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    padding: 100px 30px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    background: rgba(5, 5, 5, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid rgba(255,255,255,.12);
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    transition:
        transform .35s ease,
        opacity .35s ease,
        visibility .35s ease;
    z-index: 1000;
    overflow-y: auto;
}
/* OPEN MENU */
.main-nav.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
}
.main-nav a {
    display: block;
    width: 100%;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .08em;
    padding: 8px 0;
    transition:
        color .25s ease,
        transform .25s ease;
}
.main-nav a:hover {
    color: #b8a06a;
    transform: translateX(5px);
}
/* Hamburger animation */
.menu-toggle span {
    display: block;
    width: 15px;
    height: 1px;
    background: #fff;
    transition:
        transform .35s ease,
        opacity .25s ease;
}
.menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
}

}

/* Very small phones */
@media (max-width: 380px) {

.main-nav {
    width: 88vw;
    padding-left: 25px;
    padding-right: 25px;
}

}
/* =========================================================
   MENU BUTTON CLICK FIX
========================================================= */

@media (max-width: 768px) {
    
    .menu-toggle {
        display: flex !important;
        
        pointer-events: auto !important;
        
        position: relative;
        z-index: 10001;
        
        cursor: pointer;
    }
    
    .main-nav {
        pointer-events: auto !important;
    }
}
/* =========================================================
   AYHAN AHMAD
   ULTIMATE CINEMATIC MOBILE NAVIGATION
========================================================= */

@media (max-width: 768px) {

    /* =====================================================
       HEADER
    ===================================================== */

    .site-header {
        z-index: 99999 !important;
    }

    /* =====================================================
       MENU BUTTON
    ===================================================== */

    .menu-toggle {
        display: flex !important;

        pointer-events: auto !important;

        position: relative;

        width: 50px;
        height: 50px;

        padding: 0;

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

        flex-direction: column;
        gap: 6px;

        border:
            1px solid
            rgba(255,255,255,.18);

        border-radius: 50%;

        background:
            rgba(8,8,10,.62);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        box-shadow:
            0 10px 35px rgba(0,0,0,.35),
            inset 0 0 0 1px rgba(255,255,255,.02);

        cursor: pointer;

        z-index: 100002;

        transition:
            transform .45s cubic-bezier(.77,0,.18,1),
            border-color .3s ease,
            box-shadow .3s ease;
    }

    .menu-toggle::before {
        content: "";

        position: absolute;

        inset: 4px;

        border:
            1px solid
            rgba(216,173,85,.08);

        border-radius: 50%;

        pointer-events: none;
    }

    .menu-toggle:hover {
        transform: rotate(8deg) scale(1.06);

        border-color:
            rgba(216,173,85,.55);

        box-shadow:
            0 0 35px
            rgba(216,173,85,.15);
    }

    .menu-toggle span {
        display: block;

        width: 18px;
        height: 1.5px;

        background: #fff;

        transform-origin: center;

        transition:
            transform .45s
            cubic-bezier(.77,0,.18,1),
            width .3s ease,
            opacity .25s ease;
    }

    .menu-toggle[aria-expanded="true"] {
        transform: rotate(90deg);

        border-color:
            rgba(216,173,85,.65);

        box-shadow:
            0 0 40px
            rgba(216,173,85,.16);
    }

    .menu-toggle[aria-expanded="true"] span:first-child {
        transform:
            translateY(3.75px)
            rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] span:last-child {
        transform:
            translateY(-3.75px)
            rotate(-45deg);
    }


    /* =====================================================
       FULLSCREEN NAV
    ===================================================== */

    .main-nav {

        position: fixed !important;

        inset: 0 !important;

        width: 100% !important;
        height: 100dvh !important;

        display: flex !important;

        flex-direction: column;

        justify-content:
            flex-start !important;

        align-items: stretch !important;

        gap: 0 !important;

        padding:
            105px
            28px
            35px !important;

        background:
            radial-gradient(
                circle at 85% 8%,
                rgba(216,173,85,.13),
                transparent 28%
            ),
            radial-gradient(
                circle at 0% 100%,
                rgba(55,100,255,.08),
                transparent 35%
            ),
            linear-gradient(
                135deg,
                #030303 0%,
                #080808 55%,
                #050505 100%
            ) !important;

        backdrop-filter:
            blur(30px);

        -webkit-backdrop-filter:
            blur(30px);

        border: none !important;

        opacity: 0;

        visibility: hidden;

        pointer-events: none;

        transform:
            translateY(-35px)
            scale(.98);

        transform-origin:
            top center;

        transition:
            opacity .45s ease,
            transform .6s
            cubic-bezier(.77,0,.18,1),
            visibility .45s ease;

        z-index: 100000 !important;

        overflow:
            hidden auto;
    }


    /* =====================================================
       OPEN
    ===================================================== */

    .main-nav.open {

        opacity: 1;

        visibility: visible;

        pointer-events: auto;

        transform:
            translateY(0)
            scale(1);
    }


    /* =====================================================
       TECH GRID
    ===================================================== */

    .main-nav::before {

        content: "";

        position: absolute;

        inset: 0;

        background-image:
            linear-gradient(
                rgba(255,255,255,.025) 1px,
                transparent 1px
            ),
            linear-gradient(
                90deg,
                rgba(255,255,255,.025) 1px,
                transparent 1px
            );

        background-size:
            42px 42px;

        mask-image:
            linear-gradient(
                to bottom,
                black 0%,
                rgba(0,0,0,.65) 55%,
                transparent 100%
            );

        pointer-events: none;
    }


    /* =====================================================
       GOLD GLOW
    ===================================================== */

    .main-nav::after {

        content: "";

        position: absolute;

        width: 360px;
        height: 360px;

        top: -170px;
        right: -150px;

        border-radius: 50%;

        background:
            rgba(216,173,85,.09);

        filter:
            blur(75px);

        pointer-events: none;
    }


    /* =====================================================
       TOP BRAND
    ===================================================== */

    .main-nav {
        counter-reset: menu;
    }

    .main-nav::marker {
        display: none;
    }


    /* =====================================================
       NAV LINKS
    ===================================================== */

    .main-nav a {

        position: relative;

        display: flex !important;

        align-items: center;

        width: 100% !important;

        min-height: 52px;

        padding:
            7px
            5px !important;

        margin: 0 !important;

        color:
            rgba(255,255,255,.68);

        font-size:
            clamp(23px, 7.4vw, 39px);

        font-weight: 500;

        line-height: 1;

        letter-spacing:
            -.035em;

        text-decoration: none;

        border-bottom:
            1px solid
            rgba(255,255,255,.07);

        opacity: 0;

        transform:
            translateX(-45px);

        transition:
            opacity .55s ease,
            transform .65s
            cubic-bezier(.77,0,.18,1),
            color .25s ease,
            padding-left .3s ease;
    }


    /* =====================================================
       NUMBER
    ===================================================== */

    .main-nav a::before {

        counter-increment: menu;

        content:
            "0"
            counter(menu);

        position: static;

        width: 34px;

        margin-right: 13px;

        color:
            rgba(216,173,85,.48);

        font-size: 9px;

        font-weight: 500;

        letter-spacing: .12em;

        background: none;

        transform: none;

        transition: color .3s ease;
    }





    /* =====================================================
       OPEN LINK ANIMATION
    ===================================================== */

    .main-nav.open a {

        opacity: 1;

        transform:
            translateX(0);
    }

    .main-nav.open a:nth-child(1) {
        transition-delay: .05s;
    }

    .main-nav.open a:nth-child(2) {
        transition-delay: .09s;
    }

    .main-nav.open a:nth-child(3) {
        transition-delay: .13s;
    }

    .main-nav.open a:nth-child(4) {
        transition-delay: .17s;
    }

    .main-nav.open a:nth-child(5) {
        transition-delay: .21s;
    }

    .main-nav.open a:nth-child(6) {
        transition-delay: .25s;
    }

    .main-nav.open a:nth-child(7) {
        transition-delay: .29s;
    }

    .main-nav.open a:nth-child(8) {
        transition-delay: .33s;
    }


    /* =====================================================
       HOVER / TOUCH
    ===================================================== */

    .main-nav a:hover {

        color: #fff;

        padding-left: 12px !important;

        border-bottom-color:
            rgba(216,173,85,.25);
    }

    .main-nav a:hover::before {

        color:
            rgba(216,173,85,.9);
    }

    .main-nav a:hover::after {

        opacity: 1;

        transform:
            translateY(-50%)
            translateX(0);
    }


    /* =====================================================
       FOOTER AREA FEEL
    ===================================================== */

    .main-nav a:last-child {

        margin-bottom: 15px !important;

        border-bottom:
            1px solid
            rgba(216,173,85,.25);
    }


    /* =====================================================
       SCROLLBAR
    ===================================================== */

    .main-nav::-webkit-scrollbar {
        width: 2px;
    }

    .main-nav::-webkit-scrollbar-track {
        background: transparent;
    }

    .main-nav::-webkit-scrollbar-thumb {
        background:
            rgba(216,173,85,.35);
    }
}


/* =========================================================
   VERY SMALL DEVICES
========================================================= */

@media (max-width: 380px) {

    .main-nav {
        padding:
            92px
            22px
            25px !important;
    }

    .main-nav a {

        min-height: 46px;

        font-size: 22px;
    }

    .main-nav a::before {
        width: 28px;

        margin-right: 8px;
    }

    .menu-toggle {
        width: 46px;
        height: 46px;
    }
}


/* =========================================================
   SHORT MOBILE SCREENS
========================================================= */

@media (max-width: 768px)
and (max-height: 680px) {

    .main-nav {
        padding-top: 82px !important;
    }

    .main-nav a {
        min-height: 42px;

        padding:
            5px 4px !important;

        font-size: 21px;
    }
}