/* =========================================================
   ROOT
========================================================= */

:root {

    --black: #030303;
    --black-2: #070707;
    --black-3: #0d0d0d;

    --white: #ffffff;
    --white-soft: #eeeeee;
    --gray: #999999;
    --gray-dark: #555555;

    /* RGB PALETTE */
    --rgb-red: #ff003c;
    --rgb-green: #00ff9c;
    --rgb-blue: #008cff;

    --border: rgba(255,255,255,.12);
    --border-strong: rgba(255,255,255,.22);

    --font-fa: "Vazirmatn", sans-serif;
    --font-en: "Space Grotesk", sans-serif;

    --container: 1400px;

    --ease: cubic-bezier(.16,1,.3,1);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
    background: var(--black);
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-fa);
    overflow-x: hidden;
    cursor: none;
}

body.loading {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    color: #000;
    background: #fff;
}


/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: #020202;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        var(--rgb-red),
        var(--rgb-blue),
        var(--rgb-green)
    );
}


/* =========================================================
   LOADER
========================================================= */

#loader {

    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255,255,255,.04),
            transparent 35%
        ),
        #020202;

    transition:
        opacity 1s var(--ease),
        visibility 1s var(--ease);

}

#loader.loaded {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

}

.loader-grid {

    position: absolute;

    inset: 0;

    opacity: .13;

    background-image:

        linear-gradient(
            rgba(255,255,255,.08) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,.08) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    transform:
        perspective(600px)
        rotateX(65deg)
        scale(1.8);

    transform-origin: center bottom;

}

.loader-content {

    position: relative;

    z-index: 2;

    width: min(500px, 80%);

}

.loader-logo {

    font-family: var(--font-en);

    font-size: clamp(5rem, 13vw, 11rem);

    font-weight: 700;

    letter-spacing: -.09em;

    line-height: .8;

    margin-bottom: 40px;

}

.loader-logo span {

    color: var(--rgb-red);

    text-shadow:
        20px 0 var(--rgb-blue),
        40px 0 var(--rgb-green);

}

.loader-title {

    font-family: var(--font-en);

    font-size: 12px;

    letter-spacing: .3em;

    color: var(--gray);

    margin-bottom: 16px;

}

.loader-progress {

    height: 2px;

    background: rgba(255,255,255,.1);

    overflow: hidden;

}

#loader-progress-bar {

    height: 100%;

    width: 0%;

    background:
        linear-gradient(
            90deg,
            var(--rgb-red),
            var(--rgb-blue),
            var(--rgb-green)
        );

}

.loader-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 12px;

    font-family: var(--font-en);

    font-size: 10px;

    letter-spacing: .15em;

    color: #666;

}

#loader-percent {

    color: #fff;

}

.loader-corner {

    position: absolute;

    width: 50px;

    height: 50px;

    border-color: rgba(255,255,255,.3);

}

.loader-corner-top {

    top: 30px;

    right: 30px;

    border-top: 1px solid;

    border-right: 1px solid;

}

.loader-corner-bottom {

    bottom: 30px;

    left: 30px;

    border-bottom: 1px solid;

    border-left: 1px solid;

}


/* =========================================================
   CURSOR
========================================================= */

#cursor-glow {

    position: fixed;

    width: 280px;

    height: 280px;

    border-radius: 50%;

    pointer-events: none;

    z-index: 9990;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,.11) 0%,
            rgba(0,140,255,.035) 25%,
            transparent 70%
        );

    filter: blur(12px);

    mix-blend-mode: screen;

}

#cursor-dot {

    position: fixed;

    width: 8px;

    height: 8px;

    border-radius: 50%;

    pointer-events: none;

    z-index: 9999;

    transform: translate(-50%, -50%);

    background: #fff;

    box-shadow:
        0 0 12px rgba(255,255,255,.8),
        0 0 30px rgba(0,140,255,.45);

}


/* =========================================================
   THREE BACKGROUND
========================================================= */

#three-container {

    position: fixed;

    inset: 0;

    z-index: 0;

    pointer-events: none;

    overflow: hidden;

}

#three-canvas {

    width: 100%;

    height: 100%;

    display: block;

}

.background-vignette {

    position: fixed;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        radial-gradient(
            circle at center,
            transparent 20%,
            rgba(0,0,0,.42) 80%,
            rgba(0,0,0,.85) 100%
        );

}

.rgb-orb {

    position: fixed;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    filter: blur(140px);

    opacity: .055;

    pointer-events: none;

    z-index: 1;

}

.orb-red {

    background: var(--rgb-red);

    top: 5%;

    left: -15%;

}

.orb-blue {

    background: var(--rgb-blue);

    right: -15%;

    top: 35%;

}

.orb-green {

    background: var(--rgb-green);

    left: 20%;

    bottom: -20%;

}


/* =========================================================
   HEADER
========================================================= */

.site-header {

    position: fixed;

    top: 0;

    right: 0;

    left: 0;

    z-index: 900;

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0
        clamp(20px, 5vw, 70px);

    border-bottom: 1px solid rgba(255,255,255,.06);

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.75),
            transparent
        );

    backdrop-filter: blur(8px);

}

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

}

.brand-mark {

    display: grid;

    place-items: center;

    width: 38px;

    height: 38px;

    border: 1px solid rgba(255,255,255,.3);

    font-family: var(--font-en);

    font-size: 12px;

    font-weight: 700;

}

.brand-name {

    font-family: var(--font-en);

    font-size: 12px;

    letter-spacing: .12em;

}

.desktop-nav {

    display: flex;

    gap: clamp(20px, 3vw, 48px);

}

.desktop-nav a {

    position: relative;

    font-size: 12px;

    color: #aaa;

    transition: color .3s ease;

}

.desktop-nav a::after {

    content: "";

    position: absolute;

    right: 0;

    bottom: -8px;

    width: 0;

    height: 1px;

    background: #fff;

    transition: width .4s var(--ease);

}

.desktop-nav a:hover {

    color: #fff;

}

.desktop-nav a:hover::after {

    width: 100%;

}

.header-actions {

    display: flex;

    align-items: center;

    gap: 15px;

}

.language-toggle {

    border: 1px solid rgba(255,255,255,.2);

    background: rgba(255,255,255,.03);

    color: #fff;

    padding: 8px 12px;

    cursor: pointer;

    font-family: var(--font-en);

    font-size: 11px;

}

.mobile-menu-button {

    display: none;

    width: 42px;

    height: 42px;

    border: 1px solid rgba(255,255,255,.2);

    background: transparent;

    cursor: pointer;

    position: relative;

}

.mobile-menu-button span {

    position: absolute;

    right: 10px;

    width: 20px;

    height: 1px;

    background: #fff;

    transition: .3s;

}

.mobile-menu-button span:first-child {
    top: 16px;
}

.mobile-menu-button span:last-child {
    top: 24px;
}


/* =========================================================
   MOBILE MENU
========================================================= */

#mobile-menu {

    position: fixed;

    inset: 0;

    z-index: 850;

    background: rgba(0,0,0,.96);

    transform: translateY(-100%);

    transition: transform .7s var(--ease);

    display: none;

}

#mobile-menu.active {

    transform: translateY(0);

}

.mobile-menu-inner {

    min-height: 100%;

    padding:
        130px
        30px
        50px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 18px;

}

.mobile-menu-number {

    font-family: var(--font-en);

    font-size: 10px;

    color: #555;

    letter-spacing: .15em;

    margin-bottom: 20px;

}

.mobile-menu-inner a {

    font-size: clamp(28px, 8vw, 50px);

    font-weight: 700;

}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

main {

    position: relative;

    z-index: 2;

}

.section {

    position: relative;

    min-height: 100vh;

    padding:
        160px
        clamp(20px, 5vw, 70px);

}

.section-container {

    width: min(var(--container), 100%);

    margin: auto;

}


/* =========================================================
   HERO
========================================================= */

.hero {

    min-height: 100svh;

    padding-top: 120px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.hero-grid {

    width: min(var(--container), 100%);

    margin: auto;

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    align-items: center;

    gap: 70px;

}

.eyebrow {

    display: flex;

    align-items: center;

    gap: 12px;

    color: #777;

    font-family: var(--font-en);

    font-size: 10px;

    letter-spacing: .18em;

    margin-bottom: 35px;

}

.eyebrow-line {

    width: 50px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--rgb-red),
            var(--rgb-blue),
            var(--rgb-green)
        );

}

.hero-title {

    font-size: clamp(70px, 11vw, 180px);

    line-height: .82;

    letter-spacing: -.075em;

    margin: 0 0 35px;

}

.hero-title-line {

    display: block;

}

.hero-title-line.outline {

    color: transparent;

    -webkit-text-stroke: 1px rgba(255,255,255,.55);

}

.hero-role {

    font-size: clamp(18px, 2vw, 28px);

    font-weight: 600;

    margin-bottom: 22px;

}

.hero-description {

    max-width: 620px;

    color: #999;

    line-height: 2;

    font-size: 14px;

}

.hero-buttons {

    display: flex;

    gap: 12px;

    margin-top: 35px;

    flex-wrap: wrap;

}

.btn {

    display: inline-flex;

    align-items: center;

    gap: 15px;

    min-height: 52px;

    padding: 0 24px;

    border: 1px solid rgba(255,255,255,.2);

    font-size: 12px;

    transition:
        background .3s ease,
        color .3s ease,
        transform .3s ease;

}

.btn:hover {

    transform: translateY(-3px);

}

.btn-primary {

    background: #fff;

    color: #000;

}

.btn-primary:hover {

    background:
        linear-gradient(
            90deg,
            var(--rgb-red),
            var(--rgb-blue),
            var(--rgb-green)
        );

    color: #fff;

}

.btn-outline {

    color: #fff;

    background: rgba(255,255,255,.02);

}

.btn-outline:hover {

    background: rgba(255,255,255,.08);

}

.hero-profile {

    position: relative;

    display: flex;

    justify-content: center;

}

.profile-frame {

    position: relative;

    width: min(440px, 80vw);

    aspect-ratio: 1 / 1.18;

    overflow: hidden;

    border: 1px solid rgba(255,255,255,.25);

    background: #111;

    transform-style: preserve-3d;

}

.profile-frame::before {

    content: "";

    position: absolute;

    inset: 15px;

    border: 1px solid rgba(255,255,255,.1);

    z-index: 3;

    pointer-events: none;

}

.profile-image {

    width: 100%;

    height: 100%;

    object-fit: cover;

    filter:
        grayscale(100%)
        contrast(1.05);

    transform: scale(1.04);

    transition: transform 1.2s var(--ease);

}

.profile-frame:hover .profile-image {

    transform: scale(1.09);

}

.profile-scan {

    position: absolute;

    left: 0;

    right: 0;

    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.8),
            transparent
        );

    box-shadow:
        0 0 25px rgba(255,255,255,.4);

    animation: scan 4s linear infinite;

}

@keyframes scan {

    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }

}

.profile-number {

    position: absolute;

    z-index: 5;

    top: 25px;

    left: 25px;

    font-family: var(--font-en);

    font-size: 11px;

    color: #fff;

    letter-spacing: .2em;

}

.profile-orbit {

    position: absolute;

    border: 1px solid rgba(255,255,255,.12);

    border-radius: 50%;

    pointer-events: none;

}

.orbit-1 {

    width: 115%;

    aspect-ratio: 1;

    animation: orbit 18s linear infinite;

}

.orbit-2 {

    width: 130%;

    aspect-ratio: 1;

    transform: rotateX(70deg);

    animation: orbit 25s linear infinite reverse;

}

.orbit-3 {

    width: 105%;

    aspect-ratio: 1;

    transform: rotateY(65deg);

    animation: orbit 14s linear infinite;

}

@keyframes orbit {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

.profile-caption {

    position: absolute;

    bottom: -35px;

    right: 0;

    display: flex;

    gap: 10px;

    font-family: var(--font-en);

    font-size: 9px;

    color: #555;

}

.profile-caption strong {

    color: #aaa;

}

.hero-bottom {

    width: min(var(--container), 100%);

    margin: 60px auto 0;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.scroll-indicator {

    display: flex;

    align-items: center;

    gap: 12px;

    color: #666;

    font-family: var(--font-en);

    font-size: 9px;

    letter-spacing: .15em;

}

.scroll-line {

    width: 80px;

    height: 1px;

    background: #333;

}

.hero-index {

    font-family: var(--font-en);

    color: #444;

    font-size: 10px;

}


/* =========================================================
   SECTION HEADER
========================================================= */

.section-header {

    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 40px;

    margin-bottom: 100px;

}

.section-number {

    font-family: var(--font-en);

    font-size: 12px;

    color: #555;

    padding-top: 10px;

}

.section-kicker {

    display: block;

    font-family: var(--font-en);

    font-size: 10px;

    color: #777;

    letter-spacing: .2em;

    margin-bottom: 20px;

}

.section-title {

    font-size: clamp(40px, 6vw, 90px);

    line-height: 1;

    letter-spacing: -.06em;

}

.section-title span {

    color: #666;

}


/* =========================================================
   ABOUT
========================================================= */

.about-layout {

    display: grid;

    grid-template-columns: 1.2fr .8fr;

    gap: 100px;

    margin-bottom: 120px;

}

.about-large-text p {

    font-size: clamp(28px, 4vw, 60px);

    line-height: 1.45;

    letter-spacing: -.04em;

    margin-bottom: 25px;

}

.about-large-text strong {

    color: #fff;

}

.about-details {

    align-self: end;

    color: #888;

    line-height: 2;

    font-size: 14px;

}

.about-details p + p {

    margin-top: 30px;

}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

}

.stat-item {

    padding: 35px 20px;

    border-left: 1px solid var(--border);

}

.stat-item:first-child {

    border-right: 1px solid var(--border);

}

.stat-number {

    font-family: var(--font-en);

    display: block;

    font-size: clamp(45px, 6vw, 85px);

    line-height: 1;

    letter-spacing: -.08em;

}

.stat-label {

    display: block;

    color: #666;

    font-size: 11px;

    margin-top: 12px;

}


/* =========================================================
   TIMELINE
========================================================= */

.timeline {

    position: relative;

    border-top: 1px solid var(--border);

}

.timeline::before {

    content: "";

    position: absolute;

    top: 0;

    bottom: 0;

    right: 150px;

    width: 1px;

    background:
        linear-gradient(
            180deg,
            var(--rgb-red),
            var(--rgb-blue),
            var(--rgb-green)
        );

    opacity: .35;

}

.timeline-item {

    display: grid;

    grid-template-columns: 200px 1fr;

    gap: 80px;

    padding: 70px 0;

    border-bottom: 1px solid var(--border);

}

.timeline-date {

    font-family: var(--font-en);

    font-size: 11px;

    color: #666;

}

.timeline-type {

    font-family: var(--font-en);

    font-size: 9px;

    letter-spacing: .18em;

    color: #666;

}

.timeline-content h3 {

    font-size: clamp(30px, 4vw, 55px);

    margin: 15px 0 8px;

    letter-spacing: -.04em;

}

.timeline-content h4 {

    font-size: 14px;

    font-weight: 400;

    color: #999;

}

.timeline-content > p {

    color: #666;

    margin-top: 10px;

    font-size: 13px;

}

.timeline-description {

    max-width: 700px;

    color: #888;

    line-height: 2;

    font-size: 13px;

    margin-top: 25px;

}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience-list {

    border-top: 1px solid var(--border);

}

.experience-card {

    display: grid;

    grid-template-columns: 100px 1fr;

    gap: 50px;

    padding: 70px 0;

    border-bottom: 1px solid var(--border);

    transition:
        background .4s ease,
        padding .4s var(--ease);

}

.experience-card:hover {

    padding-right: 25px;

    padding-left: 25px;

    background: rgba(255,255,255,.025);

}

.experience-index {

    font-family: var(--font-en);

    font-size: 12px;

    color: #444;

}

.experience-top {

    display: flex;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 30px;

}

.experience-company {

    display: block;

    color: #777;

    font-family: var(--font-en);

    font-size: 11px;

    margin-bottom: 10px;

}

.experience-top h3 {

    font-size: clamp(28px, 4vw, 52px);

    letter-spacing: -.04em;

}

.experience-date {

    flex-shrink: 0;

    font-family: var(--font-en);

    font-size: 10px;

    color: #555;

    padding-top: 8px;

}

.experience-main ul {

    list-style: none;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px 40px;

}

.experience-main li {

    color: #888;

    font-size: 13px;

    line-height: 1.9;

    position: relative;

    padding-right: 18px;

}

.experience-main li::before {

    content: "";

    position: absolute;

    right: 0;

    top: 11px;

    width: 5px;

    height: 5px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--rgb-red),
            var(--rgb-blue),
            var(--rgb-green)
        );

}

.experience-card.featured {

    border-right: 2px solid transparent;

    border-image:
        linear-gradient(
            180deg,
            var(--rgb-red),
            var(--rgb-blue),
            var(--rgb-green)
        )
        1;

}


/* =========================================================
   SKILLS
========================================================= */

.skills-cloud {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    max-width: 1100px;

    margin-bottom: 130px;

}

.skill-pill {

    padding: 13px 18px;

    border: 1px solid var(--border);

    color: #aaa;

    font-family: var(--font-en);

    font-size: 11px;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;

}

.skill-pill:hover {

    transform: translateY(-5px) rotate(-1deg);

    background: #fff;

    color: #000;

}

.skills-columns {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    border-top: 1px solid var(--border);

}

.skill-column {

    padding: 40px 30px;

    border-left: 1px solid var(--border);

}

.skill-column:first-child {

    border-right: 1px solid var(--border);

}

.skill-column-number {

    font-family: var(--font-en);

    color: #555;

    font-size: 10px;

}

.skill-column h3 {

    font-family: var(--font-en);

    font-size: 25px;

    margin: 50px 0 20px;

}

.skill-column p {

    color: #777;

    font-size: 13px;

    line-height: 2;

}


/* =========================================================
   PROJECTS
========================================================= */

.projects-list {

    border-top: 1px solid var(--border);

}

.project-card {

    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 70px;

    padding: 65px 0;

    border-bottom: 1px solid var(--border);

    transition:
        transform .5s var(--ease),
        padding .5s var(--ease),
        background .4s ease;

}

.project-card:hover {

    transform: translateX(-15px);

    background: rgba(255,255,255,.02);

    padding-right: 30px;

    padding-left: 30px;

}

.project-number {

    font-family: var(--font-en);

    font-size: 12px;

    color: #444;

}

.project-info > span {

    color: #666;

    font-family: var(--font-en);

    font-size: 9px;

    letter-spacing: .15em;

}

.project-info h3 {

    font-size: clamp(35px, 6vw, 80px);

    margin: 12px 0 20px;

    letter-spacing: -.06em;

}

.project-info p {

    max-width: 800px;

    color: #888;

    line-height: 2;

    font-size: 13px;

}

.project-info a {

    display: inline-block;

    margin-top: 30px;

    border-bottom: 1px solid #555;

    padding-bottom: 5px;

    font-size: 12px;

}


/* =========================================================
   RESEARCH
========================================================= */

.research-grid {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 1px;

    background: var(--border);

    border: 1px solid var(--border);

}

.research-card {

    min-height: 350px;

    padding: 45px;

    background: rgba(4,4,4,.88);

    position: relative;

}

.research-card.large {

    grid-row: span 2;

    min-height: 700px;

}

.research-index {

    font-family: var(--font-en);

    font-size: 11px;

    color: #444;

}

.research-label {

    display: block;

    margin-top: 50px;

    font-family: var(--font-en);

    font-size: 9px;

    letter-spacing: .18em;

    color: #666;

}

.research-card h3 {

    font-size: clamp(28px, 4vw, 52px);

    margin: 15px 0 20px;

    letter-spacing: -.04em;

}

.research-card p {

    color: #888;

    font-size: 13px;

    line-height: 2;

}

.research-date {

    display: block;

    margin-top: 30px;

    font-family: var(--font-en);

    color: #555;

    font-size: 10px;

}

.research-meta {

    display: flex;

    justify-content: space-between;

    margin-top: 40px;

    padding-top: 20px;

    border-top: 1px solid var(--border);

    color: #555;

    font-size: 10px;

}

.research-card a {

    display: inline-block;

    margin-top: 30px;

    color: #fff;

    border-bottom: 1px solid #444;

    padding-bottom: 5px;

}


/* =========================================================
   SOFT SKILLS
========================================================= */

.soft-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    border-top: 1px solid var(--border);

    border-bottom: 1px solid var(--border);

}

.soft-card {

    padding: 60px 40px;

    border-left: 1px solid var(--border);

}

.soft-card:first-child {

    border-right: 1px solid var(--border);

}

.soft-card span {

    font-family: var(--font-en);

    color: #444;

    font-size: 10px;

}

.soft-card h3 {

    font-size: 35px;

    margin: 60px 0 20px;

}

.soft-card p {

    color: #777;

    font-size: 13px;

    line-height: 2;

}

.tools-marquee {

    overflow: hidden;

    margin-top: 120px;

    white-space: nowrap;

}

.marquee-track {

    display: inline-flex;

    gap: 50px;

    animation: marquee 25s linear infinite;

}

.marquee-track span {

    font-family: var(--font-en);

    font-size: clamp(45px, 8vw, 120px);

    letter-spacing: -.08em;

    color: transparent;

    -webkit-text-stroke: 1px #333;

}

@keyframes marquee {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }

}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {

    min-height: 100svh;

    display: flex;

    align-items: center;

    overflow: hidden;

}

.contact-background-text {

    position: absolute;

    left: 0;

    right: 0;

    top: 50%;

    transform: translateY(-50%);

    font-family: var(--font-en);

    font-size: clamp(100px, 20vw, 320px);

    font-weight: 700;

    letter-spacing: -.1em;

    white-space: nowrap;

    color: rgba(255,255,255,.018);

    text-align: center;

    pointer-events: none;

}

.contact-container {

    position: relative;

}

.contact-title {

    font-size: clamp(60px, 11vw, 170px);

    line-height: .9;

    letter-spacing: -.08em;

    margin: 25px 0 35px;

}

.contact-title span {

    display: block;

    color: transparent;

    -webkit-text-stroke: 1px #666;

}

.contact-description {

    max-width: 600px;

    color: #888;

    line-height: 2;

    font-size: 14px;

    margin-bottom: 70px;

}

.contact-links {

    border-top: 1px solid var(--border);

}

.contact-link {

    display: grid;

    grid-template-columns: 160px 1fr 40px;

    align-items: center;

    gap: 20px;

    padding: 25px 0;

    border-bottom: 1px solid var(--border);

    transition: padding .4s var(--ease);

}

.contact-link:hover {

    padding-right: 20px;

    background: rgba(255,255,255,.02);

}

.contact-link-label {

    color: #555;

    font-family: var(--font-en);

    font-size: 9px;

    letter-spacing: .15em;

}

.contact-link-value {

    font-family: var(--font-en);

    font-size: clamp(18px, 3vw, 30px);

}

.contact-link > span {

    font-size: 20px;

}

.ltr {

    direction: ltr;

    text-align: left;

}

.contact-footer {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 60px;

    color: #444;

    font-family: var(--font-en);

    font-size: 9px;

    letter-spacing: .12em;

}


/* =========================================================
   REVEALS
========================================================= */

.reveal,
.reveal-up {

    opacity: 0;

}

.reveal {

    transform: translateY(35px);

}

.reveal-up {

    transform: translateY(70px);

}


/* =========================================================
   RESPONSIVE TABLET
========================================================= */

@media (max-width: 1000px) {

    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    #mobile-menu {
        display: block;
    }

    .hero-grid {

        grid-template-columns: 1fr;

        gap: 80px;

    }

    .hero-copy {
        order: 1;
    }

    .hero-profile {
        order: 2;
    }

    .profile-frame {

        width: min(400px, 70vw);

    }

    .about-layout {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    .stats-grid {

        grid-template-columns: repeat(2,1fr);

    }

    .skill-column {

        padding: 35px 20px;

    }

    .skills-columns {

        grid-template-columns: repeat(2,1fr);

    }

    .soft-grid {

        grid-template-columns: 1fr;

    }

    .soft-card {

        border-bottom: 1px solid var(--border);

    }

}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 700px) {

    body {

        cursor: auto;

    }

    #cursor-glow,
    #cursor-dot {

        display: none;

    }

    .site-header {

        height: 72px;

        padding: 0 18px;

    }

    .brand-name {

        display: none;

    }

    .brand-mark {

        width: 36px;

        height: 36px;

    }

    .header-actions {

        gap: 8px;

    }

    .language-toggle {

        padding: 7px 10px;

    }

    .section {

        padding:
            110px
            18px;

    }

    .hero {

        padding-top: 100px;

        min-height: auto;

    }

    .hero-grid {

        gap: 70px;

    }

    .hero-title {

        font-size: clamp(70px, 23vw, 130px);

    }

    .hero-role {

        font-size: 17px;

        line-height: 1.8;

    }

    .hero-description {

        font-size: 13px;

        line-height: 2;

    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }

    .btn {

        justify-content: space-between;

    }

    .hero-profile {

        margin-top: 20px;

    }

    .profile-frame {

        width: 85vw;

        max-width: 380px;

    }

    .profile-orbit {

        display: none;

    }

    .profile-caption {

        bottom: -28px;

        right: 5%;

    }

    .hero-bottom {

        margin-top: 70px;

    }

    .hero-index {

        display: none;

    }

    .section-header {

        grid-template-columns: 45px 1fr;

        gap: 15px;

        margin-bottom: 65px;

    }

    .section-title {

        font-size: clamp(40px, 13vw, 70px);

        line-height: 1.05;

    }

    .about-large-text p {

        font-size: 29px;

    }

    .stats-grid {

        grid-template-columns: repeat(2,1fr);

    }

    .stat-item {

        padding: 25px 15px;

    }

    .stat-number {

        font-size: 50px;

    }

    .stat-label {

        font-size: 10px;

        line-height: 1.7;

    }

    .timeline::before {

        display: none;

    }

    .timeline-item {

        grid-template-columns: 1fr;

        gap: 20px;

        padding: 45px 0;

    }

    .timeline-content h3 {

        font-size: 35px;

    }

    .experience-card {

        grid-template-columns: 40px 1fr;

        gap: 15px;

        padding: 45px 0;

    }

    .experience-card:hover {

        padding-right: 10px;

        padding-left: 10px;

    }

    .experience-top {

        flex-direction: column;

        gap: 12px;

    }

    .experience-top h3 {

        font-size: 32px;

        line-height: 1.25;

    }

    .experience-date {

        padding: 0;

    }

    .experience-main ul {

        grid-template-columns: 1fr;

        gap: 12px;

    }

    .experience-main li {

        font-size: 12px;

    }

    .skills-cloud {

        gap: 7px;

        margin-bottom: 70px;

    }

    .skill-pill {

        padding: 10px 12px;

        font-size: 10px;

    }

    .skills-columns {

        grid-template-columns: 1fr;

    }

    .skill-column {

        border-left: 0;

        border-bottom: 1px solid var(--border);

        padding: 35px 0;

    }

    .skill-column:first-child {

        border-right: 0;

    }

    .skill-column h3 {

        margin-top: 35px;

    }

    .project-card {

        grid-template-columns: 40px 1fr;

        gap: 15px;

        padding: 45px 0;

    }

    .project-card:hover {

        transform: none;

        padding-right: 10px;

        padding-left: 10px;

    }

    .project-info h3 {

        font-size: 42px;

    }

    .research-grid {

        grid-template-columns: 1fr;

    }

    .research-card.large {

        grid-row: auto;

        min-height: auto;

    }

    .research-card {

        min-height: auto;

        padding: 35px 25px;

    }

    .soft-card {

        padding: 40px 0;

        border-left: 0;

    }

    .contact-title {

        font-size: clamp(60px, 18vw, 100px);

    }

    .contact-link {

        grid-template-columns: 80px 1fr 25px;

        gap: 10px;

    }

    .contact-link-value {

        font-size: 15px;

        overflow-wrap: anywhere;

    }

    .contact-footer {

        flex-direction: column;

        gap: 15px;

    }

    .contact-background-text {

        font-size: 28vw;

    }

}


/* =========================================================
   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;

    }

}
/* Small structural corrections requested — original visual language preserved. */
.skills-subtitle {
    grid-column: 1 / -1;
    margin: 8px 0 -2px;
    color: #555;
    font-family: var(--font-en);
    font-size: 9px;
    letter-spacing: .18em;
}
.skills-cloud {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.research-card.large {
    grid-row: auto;
    min-height: 350px;
}
