/* =========================================================
   MOHAMMAD BEIRANVAND
   PREMIUM DARK / JADE / GLASS PORTFOLIO
   FINAL VERSION
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 75% 10%,
            rgba(25, 230, 193, 0.08),
            transparent 30%
        ),
        #050708;

    color: #f4f8f7;

    font-family:
        "Manrope",
        "Vazirmatn",
        sans-serif;

    overflow-x: hidden;

    transition:
        background 0.45s ease,
        color 0.45s ease;
}

body,
button,
input,
textarea {
    font-family:
        "Manrope",
        "Vazirmatn",
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    outline: 0;
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   ROOT COLORS
========================================================= */

:root {
    --bg: #050708;
    --bg-soft: #080d0c;

    --surface: rgba(10, 18, 17, 0.72);
    --surface-strong: rgba(11, 20, 19, 0.92);

    --border: rgba(255, 255, 255, 0.09);
    --border-light: rgba(255, 255, 255, 0.15);

    --white: #f5f8f7;

    --muted: #8d9b98;
    --muted-light: #b8c4c1;

    --jade: #19e6c1;
    --jade-dark: #087f6c;
    --jade-deep: #063c34;

    --blue: #60a5fa;
    --purple: #8b5cf6;
    --purple-light: #c084fc;

    --glow:
        0 0 45px rgba(25, 230, 193, 0.12);

    --glass:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.018)
        );

    --radius: 26px;
}


/* =========================================================
   GLOBAL
========================================================= */

::selection {
    background: var(--jade);
    color: #00110d;
}

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #030505;
}

::-webkit-scrollbar-thumb {
    background: #164f46;
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--jade);
}


/* =========================================================
   NOISE
========================================================= */

.noise {
    position: fixed;
    inset: 0;

    pointer-events: none;

    opacity: 0.035;

    z-index: 1000;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}


/* =========================================================
   CURSOR GLOW
========================================================= */

.cursor-glow {
    position: fixed;

    width: 380px;
    height: 380px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(25, 230, 193, 0.055),
            transparent 68%
        );

    transform: translate(-50%, -50%);

    pointer-events: none;

    z-index: -1;
}


/* =========================================================
   TYPOGRAPHY
========================================================= */

h1,
h2,
h3,
.brand {
    font-family:
        "Space Grotesk",
        "Vazirmatn",
        sans-serif;

    letter-spacing: -0.035em;
}

h1 {
    font-size: clamp(4rem, 8vw, 8.8rem);
    line-height: 0.88;
    font-weight: 700;
}

h1 span {
    color: transparent;

    -webkit-text-stroke:
        1px rgba(255, 255, 255, 0.42);

    text-shadow:
        0 0 30px rgba(25, 230, 193, 0.04);
}

h2 {
    font-size: clamp(2.2rem, 4vw, 4.5rem);
    line-height: 1;
}

h3 {
    font-size: 1.25rem;
}

p {
    line-height: 1.9;
}


/* =========================================================
   LAYOUT
========================================================= */

.section {
    width: min(1240px, calc(100% - 48px));

    margin-inline: auto;

    padding: 130px 0;
}


/* =========================================================
   GLASS
========================================================= */

.glass {
    background: var(--glass);

    border: 1px solid var(--border);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 25px 80px rgba(0, 0, 0, 0.25);

    transition:
        background 0.45s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;

    top: 18px;
    left: 50%;

    transform: translateX(-50%);

    width: min(1240px, calc(100% - 36px));

    height: 72px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 0 18px;

    border: 1px solid var(--border);

    border-radius: 20px;

    background:
        rgba(5, 9, 8, 0.72);

    backdrop-filter: blur(24px);

    z-index: 500;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35);

    transition:
        background 0.45s ease,
        border-color 0.45s ease;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
    display: flex;

    align-items: center;

    gap: 12px;

    font-size: 0.82rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.brand-mark {
    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    color: var(--jade);

    background:
        linear-gradient(
            145deg,
            rgba(25, 230, 193, 0.14),
            rgba(25, 230, 193, 0.025)
        );

    border: 1px solid rgba(25, 230, 193, 0.22);

    box-shadow:
        0 0 30px rgba(25, 230, 193, 0.08);
}


/* =========================================================
   NAV
========================================================= */

.site-header nav {
    display: flex;

    align-items: center;

    gap: 34px;
}

.site-header nav a {
    position: relative;

    color: #aab5b2;

    font-size: 0.82rem;

    transition: 0.3s;
}

.site-header nav a:hover {
    color: var(--white);
}

.site-header nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--jade);

    transition: 0.3s;
}

.site-header nav a:hover::after {
    width: 100%;
}


/* =========================================================
   ACTIONS
   LANGUAGE SWITCH REMOVED
========================================================= */

.actions {
    display: flex;

    align-items: center;

    gap: 9px;
}


/* =========================================================
   THEME + MENU
========================================================= */

.theme,
.menu {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    color: #c5cfcc;

    background:
        rgba(255, 255, 255, 0.035);

    border: 1px solid var(--border);

    transition: 0.3s;
}

.theme:hover,
.menu:hover {
    color: var(--jade);

    border-color:
        rgba(25, 230, 193, 0.25);
}

.menu {
    display: none;
}


/* =========================================================
   MOBILE NAV
========================================================= */

.mobile-nav {
    position: fixed;

    top: 102px;

    left: 18px;
    right: 18px;

    padding: 20px;

    display: none;

    flex-direction: column;

    gap: 8px;

    border: 1px solid var(--border);

    border-radius: 18px;

    background:
        rgba(6, 11, 10, 0.94);

    backdrop-filter: blur(25px);

    z-index: 400;
}

.mobile-nav a {
    padding: 15px;

    border-radius: 12px;

    color: #aab5b2;

    direction: ltr;
    text-align: left;
}

.mobile-nav a:hover {
    background:
        rgba(25, 230, 193, 0.06);

    color: var(--jade);
}

.mobile-nav.active {
    display: flex;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    min-height: 100vh;

    padding-top: 170px;

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    align-items: center;

    gap: 80px;
}


/* =========================================================
   HERO COPY
========================================================= */

.hero-copy {
    position: relative;

    z-index: 3;
}

.eyebrow {
    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--jade);

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    direction: ltr;
}

.eyebrow i {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--jade);

    box-shadow:
        0 0 14px var(--jade);
}

.kicker {
    margin-top: 28px;
    margin-bottom: 24px;

    color: var(--muted);

    font-size: 0.92rem;
}

.lead {
    max-width: 580px;

    margin-top: 30px;

    color: var(--muted-light);

    font-size: 1rem;
}


/* =========================================================
   BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 34px;
}

.btn {
    min-height: 50px;

    padding: 0 22px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    border-radius: 13px;

    font-size: 0.78rem;
    font-weight: 700;

    transition:
        transform 0.3s,
        box-shadow 0.3s,
        background 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn.primary {
    color: #00110d;

    background: var(--jade);

    box-shadow:
        0 12px 35px rgba(25, 230, 193, 0.16);
}

.btn.primary:hover {
    box-shadow:
        0 16px 45px rgba(25, 230, 193, 0.25);
}

.btn.ghost {
    color: #d4ddda;

    background:
        rgba(255, 255, 255, 0.035);

    border:
        1px solid var(--border);
}

.btn.ghost:hover {
    border-color:
        rgba(25, 230, 193, 0.3);

    color: var(--jade);
}


/* =========================================================
   META
========================================================= */

.meta {
    display: flex;

    gap: 45px;

    margin-top: 55px;
}

.meta div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.meta b {
    font-family: "Space Grotesk";

    font-size: 1.1rem;
}

.meta small {
    color: #6f7d79;

    font-size: 0.65rem;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 570px;

    display: grid;

    place-items: center;
}

.grid {
    position: absolute;

    inset: 0;

    opacity: 0.24;

    background-image:
        linear-gradient(
            rgba(25, 230, 193, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(25, 230, 193, 0.06) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    mask-image:
        radial-gradient(
            circle,
            black,
            transparent 70%
        );
}


/* =========================================================
   ORBS
========================================================= */

.orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(3px);
}

.orb.a {
    width: 300px;
    height: 300px;

    background:
        radial-gradient(
            circle,
            rgba(25, 230, 193, 0.22),
            transparent 70%
        );

    top: 30px;
    right: 10px;
}

.orb.b {
    width: 220px;
    height: 220px;

    background:
        radial-gradient(
            circle,
            rgba(0, 105, 91, 0.25),
            transparent 70%
        );

    bottom: 30px;
    left: 10px;
}


/* =========================================================
   PROFILE
========================================================= */

.profile {
    position: relative;

    width: min(390px, 82%);

    padding: 10px;

    border-radius: 30px;

    transform: rotate(3deg);

    transition: 0.5s;
}

.profile:hover {
    transform:
        rotate(0deg)
        translateY(-8px);

    box-shadow:
        0 35px 100px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(25, 230, 193, 0.08);
}

.profile-photo {
    position: relative;

    aspect-ratio: 0.82;

    overflow: hidden;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            #101a18,
            #050706
        );
}

.profile-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.profile-photo .placeholder {
    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    text-align: center;

    color: rgba(255, 255, 255, 0.12);

    font-family: "Space Grotesk";

    font-size: 2rem;
    font-weight: 700;
}

.profile-photo .placeholder small {
    display: block;

    margin-top: 10px;

    color: rgba(255, 255, 255, 0.2);

    font-family: "Manrope";

    font-size: 0.55rem;
}

.caption {
    display: flex;

    justify-content: space-between;

    padding: 16px 8px 7px;

    color: #71807c;

    font-size: 0.6rem;

    letter-spacing: 0.1em;

    direction: ltr;
}

.caption span:first-child {
    color: var(--white);
}


/* =========================================================
   CHIP
========================================================= */

.chip {
    position: absolute;

    right: -20px;
    bottom: 80px;

    padding: 13px 16px;

    display: flex;

    align-items: center;

    gap: 12px;

    border-radius: 14px;

    font-size: 0.65rem;
}

.chip b {
    color: #00110d;

    background: var(--jade);

    padding: 5px 7px;

    border-radius: 7px;
}

.chip span {
    color: #b9c4c1;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.heading {
    display: grid;

    grid-template-columns: 50px 1fr auto;

    align-items: end;

    gap: 25px;

    margin-bottom: 55px;
}

.heading > span {
    color: var(--jade);

    font-family: "Space Grotesk";

    font-size: 0.7rem;

    direction: ltr;
}

.heading .eyebrow {
    margin-bottom: 13px;
}

.heading h2 {
    direction: ltr;
    text-align: left;
}

.heading .note {
    max-width: 320px;

    color: var(--muted);

    font-size: 0.78rem;

    line-height: 1.8;

    direction: ltr;
    text-align: left;
}


/* =========================================================
   SERVICES
========================================================= */

.services {
    display: grid;

    grid-template-columns:
        1.25fr
        1fr
        1fr;

    gap: 14px;
}

.card {
    min-height: 390px;

    padding: 28px;

    border-radius: var(--radius);

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    transition: 0.4s;
}

.card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(25, 230, 193, 0.2);

    box-shadow:
        var(--glow);
}

.card.featured {
    background:
        linear-gradient(
            145deg,
            rgba(25, 230, 193, 0.11),
            rgba(255, 255, 255, 0.025)
        );
}

.card > small {
    color: #60706c;

    font-size: 0.62em;

    letter-spacing: 0.1em;

    direction: ltr;
    text-align: left;
}

.card em {
    width: 50px;
    height: 50px;

    margin-bottom: 25px;

    display: grid;

    place-items: center;

    border-radius: 15px;

    color: var(--jade);

    background:
        rgba(25, 230, 193, 0.07);

    border:
        1px solid rgba(25, 230, 193, 0.14);

    font-style: normal;

    font-size: 1.35rem;
}

.card h3 {
    margin-bottom: 15px;

    direction: ltr;
    text-align: left;
}

.card p {
    max-width: 380px;

    color: var(--muted);

    font-size: 0.82rem;
}

.card footer {
    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: #71807c;

    font-size: 0.62rem;

    letter-spacing: 0.06em;
}


/* =========================================================
   PROJECTS
========================================================= */

.projects {
    display: grid;

    grid-template-columns:
        1.15fr
        0.85fr;

    gap: 25px;
}

.project {
    min-width: 0;
}

.project.big {
    grid-row: span 2;
}

.media {
    position: relative;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    border-radius: 23px;

    background:
        linear-gradient(
            145deg,
            #101a18,
            #050807
        );

    border: 1px solid var(--border);
}

.project.big .media {
    height: 100%;

    aspect-ratio: auto;
}

.media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    opacity: 0.72;

    transition:
        transform 0.7s,
        opacity 0.5s;
}

.project:hover .media img {
    transform: scale(1.04);

    opacity: 0.9;
}

.media::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(0, 0, 0, 0.55)
        );
}

.media > b {
    position: absolute;

    top: 18px;
    left: 18px;

    z-index: 2;

    color: var(--jade);

    font-family: "Space Grotesk";

    font-size: 0.7rem;

    direction: ltr;
}

.fallback {
    position: absolute;

    inset: 0;

    display: grid;

    place-items: center;

    text-align: center;

    color: rgba(255, 255, 255, 0.13);

    font-family: "Space Grotesk";

    font-size: 1.2rem;

    font-weight: 700;

    pointer-events: none;
}

.fallback small {
    display: block;

    margin-top: 7px;

    font-family: "Manrope";

    font-size: 0.5rem;

    color: rgba(255, 255, 255, 0.2);
}

.project-info {
    padding: 17px 4px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    direction: ltr;
}

.project-info small {
    color: #61716d;

    font-size: 0.58rem;

    letter-spacing: 0.08em;

    text-align: left;
}

.project-info h3 {
    margin-top: 6px;

    font-size: 1rem;

    text-align: left;
    direction: ltr;
}

.project-info > a {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    color: var(--jade);

    border: 1px solid var(--border);

    transition: 0.3s;
}

.project-info > a:hover {
    background: var(--jade);

    color: #00110d;

    transform: rotate(5deg);
}


/* =========================================================
   ABOUT
========================================================= */

.about {
    display: grid;

    grid-template-columns:
        1fr
        0.9fr;

    gap: 100px;

    align-items: start;
}

.quote {
    max-width: 680px;

    font-family:
        "Vazirmatn",
        sans-serif;

    font-size:
        clamp(1.6rem, 3vw, 2.7rem);

    line-height: 1.65;

    color: #edf3f1;
}

.muted {
    color: var(--muted);

    font-size: 0.86rem;
}

.about .muted {
    max-width: 650px;

    margin-top: 30px;
}


/* =========================================================
   TIMELINE
========================================================= */

.timeline {
    border-right: 1px solid var(--border);

    padding-right: 30px;
}

.timeline > div {
    position: relative;

    padding: 0 0 32px 0;

    margin-bottom: 28px;

    border-bottom: 1px solid var(--border);
}

.timeline > div::before {
    content: "";

    position: absolute;

    right: -35px;
    top: 5px;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: var(--jade);

    box-shadow:
        0 0 15px rgba(25, 230, 193, 0.45);
}

.timeline b {
    color: var(--jade);

    font-family: "Space Grotesk";
}

.timeline p {
    margin: 7px 0;

    font-weight: 700;
}

.timeline small {
    color: var(--muted);

    font-size: 0.72rem;
}


/* =========================================================
   SKILLS
========================================================= */

.skill-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}

.skillbox {
    padding: 30px;

    border-radius: var(--radius);
}

.skillbox h3 {
    margin-bottom: 32px;

    color: #dce5e2;

    font-size: 0.9rem;

    direction: ltr;
    text-align: left;
}

.skill {
    margin-bottom: 24px;
}

.skill span {
    display: flex;

    justify-content: space-between;

    margin-bottom: 9px;

    color: #b8c4c1;

    font-size: 0.72rem;

    direction: ltr;
}

.skill span b {
    color: var(--jade);

    font-weight: 600;
}

.skill > i {
    display: block;

    height: 4px;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.06);

    overflow: hidden;
}

.skill > i em {
    display: block;

    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--jade-dark),
            var(--jade)
        );

    box-shadow:
        0 0 15px rgba(25, 230, 193, 0.25);
}


/* =========================================================
   TAGS
========================================================= */

.tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 18px;
}

.tags span {
    padding: 9px 13px;

    border: 1px solid var(--border);

    border-radius: 10px;

    color: #82908c;

    font-size: 0.62rem;

    background:
        rgba(255, 255, 255, 0.02);
}


/* =========================================================
   LANGUAGES
========================================================= */

.languages {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;

    margin-top: 35px;
}

.languages > div {
    position: relative;

    min-height: 180px;

    padding: 28px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    border:
        1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 45px rgba(0, 0, 0, 0.28);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.languages > div::before {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    top: -55px;
    right: -45px;

    background:
        rgba(0, 255, 210, 0.10);

    filter: blur(35px);

    border-radius: 50%;

    pointer-events: none;
}

.languages > div::after {
    content: "";

    position: absolute;

    left: 28px;
    right: 28px;
    bottom: 0;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 220, 190, 0.65),
            transparent
        );

    opacity: 0.45;
}

.languages > div b {
    position: relative;

    z-index: 2;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #00cdb8;

    direction: ltr;
}

.languages > div strong {
    position: relative;

    z-index: 2;

    margin-top: 18px;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 27px;

    font-weight: 700;

    color: #f4ffff;

    direction: ltr;
    text-align: left;
}

.languages > div small {
    position: relative;

    z-index: 2;

    margin-top: 8px;

    font-family:
        "Manrope",
        sans-serif;

    font-size: 13px;

    color:
        rgba(220, 235, 233, 0.58);

    direction: ltr;
    text-align: left;
}

.languages > div:hover {
    transform: translateY(-7px);

    border-color:
        rgba(0, 230, 205, 0.35);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 25px 55px rgba(0, 0, 0, 0.38),
        0 0 30px rgba(0, 220, 190, 0.08);
}


/* =========================================================
   GITHUB
========================================================= */

.github-card {
    padding: 50px;

    border-radius: 28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    background:
        linear-gradient(
            120deg,
            rgba(25, 230, 193, 0.08),
            rgba(255, 255, 255, 0.025)
        );
}

.github-card h2 {
    margin: 12px 0;

    font-size:
        clamp(2rem, 4vw, 3.8rem);

    direction: ltr;
    text-align: left;
}

.github-card p:last-child {
    color: var(--muted);

    font-size: 0.8rem;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
    text-align: center;

    padding-top: 85px;
    padding-bottom: 160px;

    display: flex;

    flex-direction: column;

    align-items: center;
}

.contact .eyebrow {
    justify-content: center;

    direction: ltr;

    text-align: center;

    margin-bottom: 12px;
}


/* =========================================================
   MY MIND / HAVE A PROJECT
========================================================= */

.contact h2 {
    width: 100%;

    margin: 5px 0 18px;

    font-size:
        clamp(3rem, 7vw, 7rem);

    line-height: 0.92;

    direction: ltr;

    text-align: center;

    color: #ffffff;

    font-family:
        "Space Grotesk",
        sans-serif;
}

.contact h2 span {
    display: block;

    margin-top: 6px;

    direction: ltr;

    text-align: center;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 15%,
            #60a5fa 55%,
            #8b5cf6 100%
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;

    color: transparent;
}


/* =========================================================
   CONTACT TEXT
========================================================= */

.contact > .muted {
    max-width: 600px;

    margin: 0 auto 25px;

    color: var(--muted);

    text-align: center;

    direction: ltr;
}

.phone {
    display: inline-block;

    direction: ltr;

    color: var(--jade);

    font-family:
        "Space Grotesk";

    font-size:
        clamp(1.5rem, 3vw, 2.5rem);

    margin-bottom: 30px;

    transition: 0.3s;
}

.phone:hover {
    text-shadow:
        0 0 30px rgba(25, 230, 193, 0.25);
}

.contact > div {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;
}


/* =========================================================
   CONTACT TITLE HELPERS
========================================================= */

.contact-title {
    direction: ltr;

    text-align: center;
}

.contact-title .title-line {
    direction: ltr;

    unicode-bidi: isolate;
}

.contact-title .question-mark {
    display: inline-block;

    direction: ltr;

    unicode-bidi: isolate;

    margin-left: 4px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: min(1240px, calc(100% - 48px));

    margin: 0 auto;

    padding: 35px 0 45px;

    border-top:
        1px solid var(--border);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   FOOTER INFO
========================================================= */

.footer-info {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.footer-info span {
    color: #697672;

    font-size: 0.6rem;

    letter-spacing: 0.08em;
}

.footer-info span:first-child {
    color: #aebbb7;

    font-weight: 600;
}


/* =========================================================
   FOOTER SOCIALS
========================================================= */

.footer-socials {
    display: flex;

    align-items: center;

    gap: 14px;
}

.social-box {
    position: relative;

    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 18px;

    color: #8d9a97;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.02)
        );

    border:
        1px solid rgba(255, 255, 255, 0.10);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 30px rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(16px);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        color 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.social-box::before {
    content: "";

    position: absolute;

    width: 80px;
    height: 80px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(25, 230, 193, 0.18),
            transparent 70%
        );

    filter: blur(8px);

    opacity: 0;

    transition: 0.35s;
}

.social-box img {
    position: relative;

    z-index: 2;

    width: 27px;
    height: 27px;

    object-fit: contain;

    display: block;

    transition:
        transform 0.35s ease,
        filter 0.35s ease;
}

.social-box:hover {
    transform:
        translateY(-6px)
        scale(1.04);

    color: var(--jade);

    border-color:
        rgba(0, 255, 210, 0.45);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(0, 255, 210, 0.12);
}

.social-box:hover::before {
    opacity: 1;
}

.social-box:hover img {
    transform: scale(1.12);
}

.social-box.telegram:hover {
    color: #19e6c1;
}

.social-box.github:hover {
    color: #ffffff;
}

.social-box.phone-link:hover {
    color: #19e6c1;
}


/* =========================================================
   LIGHT MODE
========================================================= */

body.light {
    --bg: #eef5f3;
    --bg-soft: #e7efed;

    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: rgba(255, 255, 255, 0.94);

    --border: rgba(15, 50, 46, 0.11);
    --border-light: rgba(15, 50, 46, 0.17);

    --white: #102321;

    --muted: #5e6d69;
    --muted-light: #465955;

    background:
        radial-gradient(
            circle at 70% 0%,
            rgba(25, 180, 160, 0.13),
            transparent 30%
        ),
        #eef5f3;

    color: #102321;
}


/* =========================================================
   LIGHT HEADER
========================================================= */

body.light .site-header {
    background:
        rgba(248, 252, 251, 0.84);

    border-color:
        rgba(10, 50, 45, 0.10);

    box-shadow:
        0 20px 60px rgba(20, 55, 50, 0.10);
}

body.light .site-header nav a {
    color: #52615e;
}

body.light .site-header nav a:hover {
    color: #102321;
}

body.light .theme,
body.light .menu {
    color: #40504d;

    background:
        rgba(10, 70, 65, 0.045);

    border-color:
        rgba(10, 70, 65, 0.10);
}

body.light .theme:hover,
body.light .menu:hover {
    color: #008f82;
}


/* =========================================================
   LIGHT GLASS
========================================================= */

body.light .glass {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.92),
            rgba(239, 247, 245, 0.75)
        );

    border-color:
        rgba(10, 70, 65, 0.10);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 20px 60px rgba(20, 50, 48, 0.08);
}


/* =========================================================
   LIGHT TYPOGRAPHY
========================================================= */

body.light h1,
body.light h2,
body.light h3 {
    color: #102321;
}

body.light h1 span {
    -webkit-text-stroke:
        1px rgba(0, 60, 55, 0.28);
}

body.light .lead,
body.light .muted {
    color: #52615f;
}

body.light .kicker {
    color: #5f6e6b;
}


/* =========================================================
   LIGHT SERVICES
========================================================= */

body.light .card {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.94),
            rgba(235, 244, 242, 0.82)
        );

    border-color:
        rgba(10, 70, 65, 0.10);

    box-shadow:
        0 15px 45px rgba(20, 50, 48, 0.07);
}

body.light .card.featured {
    background:
        linear-gradient(
            145deg,
            rgba(25, 230, 193, 0.13),
            rgba(255, 255, 255, 0.88)
        );
}

body.light .card > small {
    color: #71807c;
}

body.light .card p {
    color: #5d6c69;
}

body.light .card footer {
    color: #667572;

    border-color:
        rgba(10, 70, 65, 0.10);
}


/* =========================================================
   LIGHT PROJECTS
========================================================= */

body.light .media {
    border-color:
        rgba(10, 70, 65, 0.10);

    box-shadow:
        0 15px 40px rgba(20, 50, 48, 0.08);
}

body.light .project-info small {
    color: #687774;
}

body.light .project-info h3 {
    color: #152522;
}

body.light .project-info > a {
    border-color:
        rgba(10, 70, 65, 0.12);

    color: #008f82;
}


/* =========================================================
   LIGHT ABOUT
========================================================= */

body.light #about .quote {
    color: #102c2a !important;
}

body.light #about .muted {
    color: #52615f !important;
}

body.light #about .timeline p {
    color: #17201f !important;
}

body.light #about .timeline small {
    color: #667371 !important;
}

body.light #about .timeline b {
    color: #008f83 !important;
}

body.light #about h2 {
    color: #10201f !important;
}

body.light #about .eyebrow {
    color: #008f83 !important;
}

body.light #about .heading > span {
    color: #008f83 !important;
}

body.light .timeline {
    border-color:
        rgba(10, 70, 65, 0.12);
}

body.light .timeline > div {
    border-color:
        rgba(10, 70, 65, 0.10);
}


/* =========================================================
   LIGHT SKILLS
========================================================= */

body.light .skillbox {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.94),
            rgba(235, 244, 242, 0.84)
        );

    border-color:
        rgba(10, 70, 65, 0.10);
}

body.light .skillbox h3 {
    color: #1b302d;
}

body.light .skill span {
    color: #53635f;
}

body.light .skill > i {
    background:
        rgba(10, 70, 65, 0.08);
}

body.light .tags span {
    color: #586864;

    background:
        rgba(10, 70, 65, 0.035);

    border-color:
        rgba(10, 70, 65, 0.10);
}


/* =========================================================
   LIGHT LANGUAGES
========================================================= */

body.light .languages > div {
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.96),
            rgba(235, 244, 242, 0.86)
        );

    border-color:
        rgba(10, 70, 65, 0.12);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 15px 35px rgba(20, 50, 48, 0.10);
}

body.light .languages > div strong {
    color: #142321;
}

body.light .languages > div small {
    color: #62716e;
}

body.light .languages > div b {
    color: #008f82;
}


/* =========================================================
   LIGHT GITHUB
========================================================= */

body.light .github-card {
    background:
        linear-gradient(
            120deg,
            rgba(25, 180, 160, 0.11),
            rgba(255, 255, 255, 0.88)
        );

    border-color:
        rgba(10, 70, 65, 0.10);

    box-shadow:
        0 20px 60px rgba(20, 50, 48, 0.08);
}

body.light .github-card h2 {
    color: #102321;
}

body.light .github-card p:last-child {
    color: #5c6c68;
}


/* =========================================================
   LIGHT CONTACT
========================================================= */

body.light .contact h2 {
    color: #102321;
}

body.light .contact h2 span {
    background:
        linear-gradient(
            90deg,
            #102321 0%,
            #2563eb 55%,
            #7c3aed 100%
        );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    background-clip: text;
}

body.light .contact > .muted {
    color: #52615f;
}

body.light .phone {
    color: #008f82;
}


/* =========================================================
   LIGHT FOOTER
========================================================= */

body.light footer {
    border-color:
        rgba(10, 70, 65, 0.10);
}

body.light .footer-info span {
    color: #6b7976;
}

body.light .footer-info span:first-child {
    color: #30413e;
}

body.light .social-box {
    color: #60706c;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #e6edeb
        );

    border-color:
        rgba(0, 0, 0, 0.08);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 30px rgba(20, 50, 48, 0.10);
}


/* =========================================================
   LIGHT MOBILE NAV
========================================================= */

body.light .mobile-nav {
    background:
        rgba(248, 252, 251, 0.96);

    border-color:
        rgba(10, 70, 65, 0.10);

    box-shadow:
        0 20px 50px rgba(20, 50, 48, 0.12);
}

body.light .mobile-nav a {
    color: #53635f;
}

body.light .mobile-nav a:hover {
    background:
        rgba(25, 180, 160, 0.07);

    color: #008f82;
}


/* =========================================================
   RTL / LTR
========================================================= */

html[dir="rtl"] body {
    font-family:
        "Vazirmatn",
        "Manrope",
        sans-serif;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
    font-family:
        "Vazirmatn",
        "Space Grotesk",
        sans-serif;

    letter-spacing: -0.045em;
}

html[dir="ltr"] body {
    font-family:
        "Manrope",
        sans-serif;
}

html[dir="ltr"] h1,
html[dir="ltr"] h2,
html[dir="ltr"] h3,
html[dir="ltr"] .brand {
    font-family:
        "Space Grotesk",
        "Manrope",
        sans-serif;
}


/* =========================================================
   ENGLISH TITLES
========================================================= */

.heading h2,
.heading .eyebrow,
.services h3,
.project-info h3,
.skillbox h3,
.languages strong,
.github-card h2 {
    direction: ltr;
    text-align: left;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 1050px) {

    .site-header nav {
        display: none;
    }

    .menu {
        display: grid;
    }

    .hero {
        grid-template-columns: 1fr;

        padding-top: 150px;

        gap: 60px;
    }

    .hero-visual {
        min-height: 500px;
    }

    .services {
        grid-template-columns:
            1fr 1fr;
    }

    .card.featured {
        grid-column: span 2;
    }

    .about {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .languages {
        grid-template-columns:
            repeat(2, 1fr);
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media (max-width: 800px) {

    .languages {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .languages > div {
        min-height: 150px;
    }
}


@media (max-width: 760px) {

    .section {
        width:
            min(
                calc(100% - 28px),
                600px
            );

        padding: 90px 0;
    }

    .site-header {
        width:
            calc(100% - 24px);

        top: 12px;

        height: 64px;
    }

    .brand > span:last-child {
        max-width: 150px;

        white-space: nowrap;

        overflow: hidden;

        text-overflow: ellipsis;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .theme,
    .menu {
        width: 36px;
        height: 36px;
    }

    .hero {
        padding-top: 130px;
    }

    h1 {
        font-size:
            clamp(
                3.4rem,
                15vw,
                6rem
            );
    }

    .hero-visual {
        min-height: 430px;
    }

    .profile {
        width:
            min(
                340px,
                88%
            );
    }

    .chip {
        right: 0;

        bottom: 45px;
    }

    .heading {
        grid-template-columns:
            35px 1fr;

        align-items: start;
    }

    .heading .note {
        grid-column:
            2 / -1;

        margin-top: -10px;
    }

    .services {
        grid-template-columns: 1fr;
    }

    .card.featured {
        grid-column: auto;
    }

    .card {
        min-height: 340px;
    }

    .projects {
        grid-template-columns: 1fr;
    }

    .project.big {
        grid-row: auto;
    }

    .project.big .media {
        aspect-ratio: 16 / 10;

        height: auto;
    }

    .skill-grid {
        grid-template-columns: 1fr;
    }

    .languages > div {
        min-height: 150px;
    }

    .github-card {
        padding: 30px;

        flex-direction: column;

        align-items: flex-start;
    }

    .contact {
        padding-top: 60px;
        padding-bottom: 110px;
    }

    .contact h2 {
        font-size:
            clamp(
                3rem,
                15vw,
                5rem
            );

        line-height: 0.9;
    }

    .contact h2 span {
        margin-top: 5px;
    }

    footer {
        width:
            calc(100% - 28px);

        flex-direction: column;

        align-items: flex-start;

        padding-bottom: 30px;
    }

    .footer-socials {
        width: 100%;
    }

    .social-box {
        flex: 1;

        height: 56px;
    }
}


/* =========================================================
   RESPONSIVE - SMALL PHONES
========================================================= */

@media (max-width: 430px) {

    .section {
        padding: 75px 0;
    }

    .site-header {
        padding: 0 10px;
    }

    .brand {
        font-size: 0.65rem;
    }

    .actions {
        gap: 5px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .meta {
        gap: 25px;
    }

    .meta small {
        font-size: 0.56rem;
    }

    .social-box {
        border-radius: 14px;
    }

    .chip {
        padding: 10px 12px;

        font-size: 0.58rem;
    }

    .contact h2 {
        font-size: clamp(2.8rem, 15vw, 4.5rem);
    }
}
.hero-copy .eyebrow {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    direction: rtl;
}

.hero-copy .eyebrow span[data-i18n="available"] {
    direction: rtl;
    text-align: right;
    display: block;
}



/* مخفی کردن کامل بخش پروژه‌ها */
.projects {
    display: none !important;
}


/* =====================================================
   HIDE PROJECTS SECTION COMPLETELY
===================================================== */

.section:has(.projects) {
    display: none !important;
}

/* مخفی کردن دکمه مشاهده پروژه در بخش Hero */
.hero-buttons .btn.primary {
    display: none !important;
}
/* WHAT I BUILD + BUTTON */
.github-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    direction: ltr;
}

.github-card > div:first-child {
    text-align: left;
    margin-right: auto;
}

.github-card > div:first-child .eyebrow,
.github-card > div:first-child h2,
.github-card > div:first-child p {
    text-align: left;
    direction: ltr;
}

.github-card > div:last-child {
    margin-left: auto;
    flex-shrink: 0;
}
@media (max-width: 760px) {
    .github-card {
        flex-direction: column;
        align-items: stretch;
    }

    .github-card > div:first-child {
        text-align: left;
    }

    .github-card > div:last-child {
        margin-left: 0;
        margin-top: 20px;
        align-self: flex-start;
    }
}

/* =========================================================
   PREMIUM PAGE ANIMATIONS
========================================================= */

/* ---------- INITIAL PAGE LOAD ---------- */

body {
    animation: pageReveal 1s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes pageReveal {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* ---------- HEADER ---------- */

.site-header {
    animation:
        headerDrop 1s cubic-bezier(.16, 1, .3, 1) 0.15s both;
}

@keyframes headerDrop {
    from {
        opacity: 0;
        transform: translate(-50%, -35px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}


/* ---------- HERO ---------- */

.hero-copy {
    animation:
        heroText 1.1s cubic-bezier(.16, 1, .3, 1) 0.25s both;
}

.hero-visual {
    animation:
        heroVisual 1.3s cubic-bezier(.16, 1, .3, 1) 0.4s both;
}

@keyframes heroText {
    from {
        opacity: 0;
        transform: translateY(45px);
        filter: blur(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroVisual {
    from {
        opacity: 0;
        transform: translateY(55px) scale(.94);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}


/* ---------- HERO PROFILE FLOAT ---------- */

.profile {
    animation:
        profileFloat 6s ease-in-out infinite;
}

@keyframes profileFloat {
    0%,
    100% {
        transform: rotate(3deg) translateY(0);
    }

    50% {
        transform: rotate(2deg) translateY(-10px);
    }
}

.profile:hover {
    animation-play-state: paused;
}


/* ---------- GLOW ORBS ---------- */

.orb.a {
    animation: orbFloatA 8s ease-in-out infinite;
}

.orb.b {
    animation: orbFloatB 10s ease-in-out infinite;
}

@keyframes orbFloatA {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 25px) scale(1.08);
    }
}

@keyframes orbFloatB {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}


/* ---------- SECTION REVEAL ---------- */

.section {
    animation: sectionReveal linear both;

    animation-timeline: view();
    animation-range: entry 5% cover 30%;
}

@keyframes sectionReveal {
    from {
        opacity: 0;
        transform: translateY(70px);
        filter: blur(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}


/* ---------- SECTION HEADINGS ---------- */

.heading {
    animation: headingReveal linear both;

    animation-timeline: view();
    animation-range: entry 10% cover 35%;
}

@keyframes headingReveal {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ---------- CARDS ---------- */

.card,
.project,
.skillbox,
.languages > div {
    animation: cardReveal linear both;

    animation-timeline: view();
    animation-range: entry 5% cover 30%;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(50px) scale(.97);
        filter: blur(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}


/* ---------- CARD HOVER ---------- */

.card,
.languages > div,
.skillbox,
.project .media {
    transition:
        transform .45s cubic-bezier(.16, 1, .3, 1),
        border-color .35s ease,
        box-shadow .45s ease;
}

.card:hover,
.languages > div:hover,
.skillbox:hover {
    transform: translateY(-9px);
}


/* ---------- PROJECT IMAGE ---------- */

.project .media {
    overflow: hidden;
}

.project .media img {
    transition:
        transform .8s cubic-bezier(.16, 1, .3, 1),
        opacity .5s ease;
}

.project:hover .media img {
    transform: scale(1.07);
}


/* ---------- GITHUB / WHAT I BUILD ---------- */

.github-card {
    animation: githubReveal linear both;

    animation-timeline: view();
    animation-range: entry 5% cover 35%;
}

@keyframes githubReveal {
    from {
        opacity: 0;
        transform: translateY(55px) scale(.96);
        filter: blur(7px);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}


/* ---------- CONTACT ---------- */

.contact {
    animation: contactReveal linear both;

    animation-timeline: view();
    animation-range: entry 5% cover 35%;
}

@keyframes contactReveal {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ---------- CONTACT TITLE ---------- */

.contact h2 {
    animation: contactTitle 1s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes contactTitle {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.96);
        letter-spacing: .08em;
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: normal;
    }
}


/* ---------- BUTTON GLOW ---------- */

.btn.primary {
    position: relative;
    overflow: hidden;
}

.btn.primary::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 70%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.45),
            transparent
        );

    transform: skewX(-20deg);

    transition: left .7s ease;
}

.btn.primary:hover::before {
    left: 140%;
}


/* ---------- SOCIAL ICONS ---------- */

.social-box {
    transition:
        transform .4s cubic-bezier(.16, 1, .3, 1),
        border-color .35s ease,
        box-shadow .4s ease;
}

.social-box:hover {
    transform:
        translateY(-7px)
        scale(1.05);
}


/* ---------- PHONE ---------- */

.phone {
    transition:
        transform .35s ease,
        text-shadow .35s ease;
}

.phone:hover {
    transform: translateY(-3px);
}


/* ---------- SCROLL PROGRESS ---------- */

body::before {
    content: "";

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    z-index: 2000;

    background:
        linear-gradient(
            90deg,
            var(--jade-dark),
            var(--jade),
            #60a5fa
        );

    transform-origin: left;

    transform: scaleX(0);

    animation: scrollProgress linear;
    animation-timeline: scroll();
}

@keyframes scrollProgress {
    to {
        transform: scaleX(1);
    }
}


/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}


/* ---------- MOBILE PERFORMANCE ---------- */

@media (max-width: 760px) {

    .section {
        animation-range: entry 5% cover 20%;
    }

    .profile {
        animation-duration: 8s;
    }

    .orb {
        animation-duration: 12s;
    }
}