/* =========================================================
   SANSHA IKBAL — PREMIUM PORTFOLIO
   assets/style.css
   ========================================================= */


/* =========================================================
   01. ROOT
   ========================================================= */

:root {

    --bg: #050608;
    --bg-soft: #080b0e;
    --bg-card: rgba(10, 14, 17, .72);

    --text: #f2f7f8;
    --text-soft: #a7b2b7;
    --text-muted: #68747a;

    --accent: #00e5ff;
    --accent-soft: rgba(0, 229, 255, .10);
    --accent-line: rgba(0, 229, 255, .28);

    --line: rgba(255,255,255,.075);
    --line-strong: rgba(255,255,255,.13);

    --header-height: 58px;
    --container: 1180px;

    --ease: cubic-bezier(.22,1,.36,1);

}


/* =========================================================
   02. RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;

    background: var(--bg);

    scroll-behavior: smooth;

    overflow-x: hidden;
}

body {

    margin: 0;
    padding: 0;

    min-width: 320px;

    color: var(--text);

    background:
        radial-gradient(
            circle at 78% 8%,
            rgba(0,229,255,.045),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(0,229,255,.018),
            transparent 30%
        ),
        var(--bg);

    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    background: none;
    color: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    color: #001114;
    background: var(--accent);
}


/* =========================================================
   03. SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: #020304;
}

::-webkit-scrollbar-thumb {
    background: rgba(0,229,255,.20);
    border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0,229,255,.42);
}


/* =========================================================
   04. GLOBAL
   ========================================================= */

main {
    position: relative;
    z-index: 1;
}

.container {

    width:
        min(
            calc(100% - 48px),
            var(--container)
        );

    margin-inline: auto;
}

section {
    width: 100%;
}


/* =========================================================
   05. BACKGROUND
   ========================================================= */

.site-background {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    z-index: -10;

    overflow: hidden;
}

.background-grid {

    position: absolute;

    inset: 0;

    opacity: .14;

    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: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 85%
        );
}

.ambient {

    position: absolute;

    width: 520px;
    height: 520px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0,229,255,.075),
            transparent 68%
        );

    filter: blur(18px);

    pointer-events: none;
}

.ambient-one {
    top: -270px;
    right: -170px;
}

.ambient-two {
    bottom: -320px;
    left: -250px;
    opacity: .35;
}

.ambient-three {
    top: 42%;
    left: 42%;
    opacity: .10;
    transform: scale(.65);
}


/* =========================================================
   06. HEADER
   ========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: var(--header-height);

    z-index: 9000;

    background:
        rgba(3,5,7,.78);

    border-bottom:
        1px solid rgba(255,255,255,.055);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition:
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.site-header.scrolled {

    background:
        rgba(3,5,7,.95);

    border-bottom-color:
        rgba(0,229,255,.12);

    box-shadow:
        0 12px 35px rgba(0,0,0,.28);
}

.header-inner {

    width:
        min(
            calc(100% - 48px),
            var(--container)
        );

    height: 100%;

    margin-inline: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


/* =========================================================
   07. BRAND
   ========================================================= */

.brand {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}

.brand-mark {

    width: 30px;
    height: 30px;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(0,229,255,.35);

    border-radius: 8px;

    background:
        rgba(0,229,255,.05);

    color: var(--accent);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .04em;

    box-shadow:
        0 0 18px rgba(0,229,255,.035);

    transition:
        transform .3s var(--ease),
        border-color .3s ease;
}

.brand:hover .brand-mark {

    transform:
        translateY(-1px);

    border-color:
        rgba(0,229,255,.7);
}

.brand-name {

    color: #e8edef;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .18em;

    white-space: nowrap;
}


/* =========================================================
   08. DESKTOP NAV
   ========================================================= */

.main-nav {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 28px;

    margin-left: auto;
    margin-right: auto;
}

.main-nav a {

    position: relative;

    padding: 7px 0;

    color: #727d82;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .16em;

    text-transform: uppercase;

    transition:
        color .25s ease;
}

.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: 0;

    height: 1px;

    background: var(--accent);

    transform:
        scaleX(0);

    transform-origin: center;

    transition:
        transform .3s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {

    color: #eef5f7;
}

.main-nav a:hover::after,
.main-nav a.active::after {

    transform:
        scaleX(1);
}


/* =========================================================
   09. HEADER ACTION
   ========================================================= */

.header-action {

    min-height: 30px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 0 13px;

    border:
        1px solid rgba(0,229,255,.25);

    border-radius: 6px;

    color: var(--accent);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;

    transition:
        background .25s ease,
        border-color .25s ease,
        transform .25s var(--ease);
}

.header-action:hover {

    background:
        rgba(0,229,255,.07);

    border-color:
        rgba(0,229,255,.65);

    transform:
        translateY(-1px);
}


/* =========================================================
   10. MOBILE MENU
   ========================================================= */

.mobile-menu-button {

    display: none;

    width: 34px;
    height: 34px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    border:
        1px solid rgba(255,255,255,.1);

    border-radius: 7px;

    background:
        rgba(255,255,255,.025);

    cursor: pointer;
}

.mobile-menu-button span {

    display: block;

    width: 15px;
    height: 1px;

    background: #dce5e8;

    transition:
        transform .3s ease,
        opacity .3s ease;
}

.mobile-menu-button.active span:nth-child(1) {

    transform:
        translateY(3px)
        rotate(45deg);
}

.mobile-menu-button.active span:nth-child(2) {

    transform:
        translateY(-3px)
        rotate(-45deg);
}

.mobile-nav {

    position: fixed;

    top: var(--header-height);

    left: 0;
    right: 0;

    z-index: 8999;

    display: none;

    flex-direction: column;

    padding: 12px 20px 18px;

    background:
        rgba(3,5,7,.97);

    border-bottom:
        1px solid rgba(255,255,255,.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.mobile-nav.open {
    display: flex;
}

.mobile-nav a {

    padding: 12px 5px;

    color: #8d999e;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: .13em;

    text-transform: uppercase;

    border-bottom:
        1px solid rgba(255,255,255,.045);
}

.mobile-nav a:hover {
    color: var(--accent);
}


/* =========================================================
   11. CUSTOM CURSOR
   ========================================================= */

.cursor-dot,
.cursor-ring,
.cursor-label {

    position: fixed;

    pointer-events: none;

    z-index: 10000;
}

.cursor-dot {

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 10px rgba(0,229,255,.8);

    transform:
        translate(-50%,-50%);
}

.cursor-ring {

    width: 27px;
    height: 27px;

    border:
        1px solid rgba(0,229,255,.45);

    border-radius: 50%;

    transform:
        translate(-50%,-50%);

    transition:
        width .25s var(--ease),
        height .25s var(--ease),
        border-color .25s ease,
        background .25s ease;
}

.cursor-label {

    color: var(--accent);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: .16em;

    opacity: 0;

    transform:
        translate(15px,-50%);

    transition:
        opacity .2s ease;
}

.cursor-label.visible {
    opacity: 1;
}

.cursor-hover .cursor-ring {

    width: 42px;
    height: 42px;

    background:
        rgba(0,229,255,.035);

    border-color:
        rgba(0,229,255,.8);
}


/* =========================================================
   12. CURSOR BUBBLES
   ========================================================= */

.cursor-bubble-container {

    position: fixed !important;

    inset: 0 !important;

    width: 100vw;
    height: 100vh;

    overflow: hidden;

    pointer-events: none !important;

    z-index: 9997;
}

.cursor-bubble {

    position: absolute;

    display: block;

    border-radius: 50%;

    background:
        rgba(0,229,255,.12);

    border:
        1px solid rgba(0,229,255,.42);

    box-shadow:
        0 0 7px rgba(0,229,255,.25),
        0 0 14px rgba(0,229,255,.08);

    opacity: .8;

    transform:
        translate(-50%,-50%)
        scale(.35);

    animation:
        cursorBubbleFloat
        ease-out
        forwards;
}

@keyframes cursorBubbleFloat {

    0% {

        opacity: .8;

        transform:
            translate(-50%,-50%)
            scale(.35);
    }

    35% {
        opacity: .5;
    }

    100% {

        opacity: 0;

        transform:
            translate(
                calc(-50% + var(--bubble-x)),
                calc(-50% + var(--bubble-y))
            )
            scale(1.2);
    }
}


/* =========================================================
   13. HERO
   ========================================================= */

.hero {

    position: relative;

    min-height:
        calc(100vh - var(--header-height));

    padding-top:
        var(--header-height);

    display: flex;

    align-items: center;

    overflow: hidden;
}

.hero-grid {

    min-height:
        calc(100vh - var(--header-height));

    display: grid;

    grid-template-columns:
        minmax(0,.95fr)
        minmax(0,1.05fr);

    align-items: center;

    gap: 45px;
}


/* =========================================================
   14. HERO COPY
   ========================================================= */

.hero-copy {

    position: relative;

    z-index: 3;

    padding:
        45px 0 65px;
}

.hero-status {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 17px;

    color: #79858a;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .18em;

    text-transform: uppercase;
}

.status-indicator {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--accent);

    box-shadow:
        0 0 10px rgba(0,229,255,.75);

    animation:
        statusPulse 2.2s ease-in-out infinite;
}

@keyframes statusPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .45;
        transform: scale(.78);
    }
}

.hero-eyebrow {

    margin:
        0 0 14px;

    color: var(--accent);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .20em;

    text-transform: uppercase;
}

.hero h1 {

    max-width: 780px;

    margin: 0;

    color: #f4f8f9;

    font-size:
        clamp(48px,6vw,82px);

    font-weight: 800;

    line-height: .98;

    letter-spacing: -.055em;
}

.hero h1 span {

    display: block;

    color:
        rgba(242,247,248,.36);
}

.hero h2 {

    max-width: 580px;

    margin:
        20px 0 0;

    color: #d4dde0;

    font-size:
        clamp(19px,2vw,27px);

    font-weight: 500;

    line-height: 1.25;

    letter-spacing: -.025em;
}

.hero-text {

    max-width: 560px;

    margin:
        19px 0 0;

    color: var(--text-soft);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   15. HERO BUTTONS
   ========================================================= */

.hero-actions {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 25px;
}

.button {

    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 38px;

    padding:
        0 17px;

    border:
        1px solid rgba(255,255,255,.13);

    border-radius: 6px;

    color: #e8f0f2;

    background:
        rgba(255,255,255,.025);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;

    overflow: hidden;

    transition:
        color .25s ease,
        border-color .25s ease,
        background .25s ease,
        transform .3s var(--ease);
}

.button::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            100deg,
            transparent,
            rgba(0,229,255,.09),
            transparent
        );

    transform:
        translateX(-120%);

    transition:
        transform .55s var(--ease);
}

.button:hover::before {

    transform:
        translateX(120%);
}

.button:hover {

    border-color:
        rgba(0,229,255,.5);

    background:
        rgba(0,229,255,.045);

    color: var(--accent);

    transform:
        translateY(-2px);
}

.button-primary {

    color: #001114;

    background:
        var(--accent);

    border-color:
        var(--accent);
}

.button-primary:hover {

    color: #001114;

    background:
        #26eaff;

    border-color:
        #26eaff;
}


/* =========================================================
   16. HERO META
   ========================================================= */

.hero-meta {

    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    max-width: 570px;

    margin-top: 38px;

    border-top:
        1px solid var(--line);

    border-bottom:
        1px solid var(--line);
}

.meta-item {

    padding:
        13px 12px 13px 0;

    border-right:
        1px solid var(--line);
}

.meta-item:last-child {

    border-right: 0;

    padding-left: 12px;
}

.meta-label {

    display: block;

    margin-bottom: 3px;

    color: #667278;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: .14em;

    text-transform: uppercase;
}

.meta-value {

    display: block;

    color: #cbd5d8;

    font-size: 10px;

    font-weight: 700;
}


/* =========================================================
   17. HERO VISUAL
   ========================================================= */

.hero-visual {

    position: relative;

    min-height: 590px;

    display: flex;

    align-items: center;
    justify-content: center;

    z-index: 2;
}

.visual-glow {

    position: absolute;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0,229,255,.085),
            transparent 68%
        );

    filter: blur(12px);

    pointer-events: none;
}

.visual-frame {

    position: relative;

    width:
        min(100%,560px);

    aspect-ratio: .86;

    display: flex;

    align-items: center;
    justify-content: center;
}

.frame-top,
.frame-bottom {

    position: absolute;

    left: 10%;
    right: 10%;

    height: 1px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0,229,255,.38),
            transparent
        );

    opacity: .65;
}

.frame-top {
    top: 9%;
}

.frame-bottom {
    bottom: 8%;
}

.frame-code,
.frame-status {

    position: absolute;

    top: -13px;

    color: #556267;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: .15em;

    white-space: nowrap;
}

.frame-code {
    left: 0;
}

.frame-status {
    right: 0;
}


/* =========================================================
   18. PORTRAIT
   ========================================================= */

.portrait-wrap {

    position: relative;

    width: 82%;
    height: 84%;

    display: flex;

    align-items: center;
    justify-content: center;
}

.portrait {

    position: relative;

    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center bottom;

    z-index: 2;

    filter:
        drop-shadow(
            0 30px 45px rgba(0,0,0,.55)
        );

    transition:
        transform .6s var(--ease),
        filter .6s ease;
}

.hero-visual:hover .portrait {

    transform:
        translateY(-4px)
        scale(1.015);

    filter:
        drop-shadow(
            0 35px 55px rgba(0,0,0,.65)
        );
}

.portrait-orbit {

    position: absolute;

    width: 79%;

    aspect-ratio: 1;

    border:
        1px solid rgba(0,229,255,.16);

    border-radius: 50%;

    transform:
        rotate(-16deg);

    box-shadow:
        0 0 50px rgba(0,229,255,.025);
}

.portrait-orbit::before {

    content: "";

    position: absolute;

    width: 7px;
    height: 7px;

    top: 7%;
    right: 14%;

    border-radius: 50%;

    background:
        var(--accent);

    box-shadow:
        0 0 13px rgba(0,229,255,.8);
}


/* =========================================================
   19. CANVAS
   ========================================================= */

#traceCanvas {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    pointer-events: none;

    z-index: 3;
}


/* =========================================================
   20. HERO SCROLL
   ========================================================= */

.hero-scroll {

    position: absolute;

    left: 50%;

    bottom: 19px;

    transform:
        translateX(-50%);

    display: flex;

    align-items: center;

    gap: 9px;

    color: #606b70;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: .2em;

    text-transform: uppercase;

    white-space: nowrap;
}

.hero-scroll::before {

    content: "";

    width: 25px;
    height: 1px;

    background:
        rgba(0,229,255,.4);
}


/* =========================================================
   21. GENERAL SECTIONS
   ========================================================= */

.section {

    position: relative;

    padding:
        125px 0;
}

.section-index {

    margin-bottom: 14px;

    color: var(--accent);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .20em;

    text-transform: uppercase;
}

.section-intro {

    max-width: 900px;

    display: grid;

    grid-template-columns:
        minmax(0,.9fr)
        minmax(260px,.55fr);

    align-items: end;

    gap: 70px;

    margin-bottom: 58px;
}

.section-intro h2 {

    margin: 0;

    color: #eef4f5;

    font-size:
        clamp(42px,5vw,68px);

    font-weight: 800;

    line-height: .98;

    letter-spacing:
        -.055em;
}

.section-lead {

    margin: 0;

    color: var(--text-soft);

    font-size: 13px;

    line-height: 1.85;
}


/* =========================================================
   22. ABOUT
   ========================================================= */

.about-section {

    border-top:
        1px solid rgba(255,255,255,.045);
}

.about-layout {

    display: grid;

    grid-template-columns:
        minmax(0,1.05fr)
        minmax(280px,.65fr);

    gap: 100px;

    padding-top: 20px;
}

.about-lead {

    max-width: 700px;

    color: #dce5e7;

    font-size:
        clamp(25px,3vw,40px);

    font-weight: 400;

    line-height: 1.35;

    letter-spacing:
        -.025em;
}

.about-lead strong {

    color: #ffffff;

    font-weight: 700;
}

.about-details {

    max-width: 470px;

    color: #8c989d;

    font-size: 13px;

    line-height: 1.85;
}

.about-details p {

    margin:
        0 0 20px;
}

.about-signature {

    padding-top: 16px;

    color: var(--accent);

    font-family:
        Georgia,
        serif;

    font-size: 24px;

    font-style: italic;
}


/* =========================================================
   23. SKILLS
   ========================================================= */

.skills-list {

    border-top:
        1px solid var(--line);
}

.skill-item {

    min-height: 130px;

    display: grid;

    grid-template-columns:
        80px
        minmax(0,1fr)
        60px;

    align-items: center;

    gap: 25px;

    border-bottom:
        1px solid var(--line);

    transition:
        background .3s ease,
        padding .3s var(--ease);
}

.skill-item:hover {

    padding-left: 10px;
    padding-right: 10px;

    background:
        rgba(0,229,255,.018);
}

.skill-number {

    color: var(--accent);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .15em;
}

.skill-item h3 {

    margin:
        0 0 8px;

    color: #e7eef0;

    font-size: 21px;

    font-weight: 700;

    letter-spacing:
        -.02em;
}

.skill-item p {

    margin: 0;

    color: #778389;

    font-size: 12px;

    line-height: 1.6;
}

.skill-arrow {

    color: #68757a;

    font-size: 20px;

    text-align: right;

    transition:
        color .25s ease,
        transform .3s var(--ease);
}

.skill-item:hover .skill-arrow {

    color: var(--accent);

    transform:
        translateX(5px);
}


/* =========================================================
   24. WORK
   ========================================================= */

.work-grid {

    display: grid;

    grid-template-columns:
        repeat(2,minmax(0,1fr));

    gap: 14px;
}

.work-card {

    position: relative;

    min-height: 325px;

    padding: 27px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border:
        1px solid rgba(255,255,255,.075);

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.026),
            rgba(255,255,255,.006)
        );

    transition:
        border-color .35s ease,
        background .35s ease,
        transform .35s var(--ease),
        box-shadow .35s ease;
}

.work-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 40%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            var(--accent),
            transparent
        );

    opacity: .7;
}

.work-card::after {

    content: "";

    position: absolute;

    right: -100px;
    bottom: -100px;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0,229,255,.075),
            transparent 70%
        );

    pointer-events: none;
}

.work-card:hover {

    border-color:
        rgba(0,229,255,.28);

    background:
        linear-gradient(
            145deg,
            rgba(0,229,255,.035),
            rgba(255,255,255,.008)
        );

    box-shadow:
        0 25px 70px rgba(0,0,0,.25);
}

.work-card-light {

    position: absolute;

    top: -100px;
    right: -100px;

    width: 240px;
    height: 240px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(0,229,255,.035),
            transparent 68%
        );

    pointer-events: none;
}

.work-card-top {

    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}

.work-number {

    color: #59656a;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .15em;
}

.work-category {

    color: #647176;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: .14em;

    text-transform: uppercase;
}

.work-symbol {

    position: relative;

    z-index: 2;

    width: 50px;
    height: 50px;

    margin-top: 28px;

    display: grid;

    place-items: center;

    border:
        1px solid rgba(0,229,255,.18);

    border-radius: 10px;

    color: var(--accent);

    background:
        rgba(0,229,255,.035);

    font-size: 20px;

    box-shadow:
        0 0 25px rgba(0,229,255,.035);
}

.work-card-content {

    position: relative;

    z-index: 2;

    margin-top: 25px;
}

.work-card-content h3 {

    margin:
        0 0 9px;

    color: #edf4f5;

    font-size: 23px;

    font-weight: 750;

    letter-spacing:
        -.025em;
}

.work-card-content p {

    max-width: 520px;

    margin: 0;

    color: #849095;

    font-size: 12px;

    line-height: 1.75;
}

.work-tech {

    margin-top: 17px;

    color: #657277;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .11em;

    text-transform: uppercase;
}

.work-link {

    position: relative;

    z-index: 3;

    margin-top: auto;

    padding-top: 25px;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--accent);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .12em;

    text-transform: uppercase;

    transition:
        gap .3s var(--ease);
}

.work-link span {

    font-size: 12px;

    transition:
        transform .3s var(--ease);
}

.work-link:hover {
    gap: 12px;
}

.work-link:hover span {
    transform:
        translate(2px,-2px);
}


/* =========================================================
   25. SERVICES
   ========================================================= */

.services-list {

    border-top:
        1px solid var(--line);
}

.service-row {

    min-height: 115px;

    display: grid;

    grid-template-columns:
        70px
        minmax(230px,.8fr)
        minmax(280px,1fr)
        45px;

    align-items: center;

    gap: 30px;

    border-bottom:
        1px solid var(--line);

    transition:
        background .3s ease,
        padding .3s var(--ease);
}

.service-row:hover {

    padding-left: 10px;
    padding-right: 10px;

    background:
        rgba(0,229,255,.018);
}

.service-number {

    color: var(--accent);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .15em;
}

.service-row h3 {

    margin: 0;

    color: #e6edef;

    font-size: 18px;

    font-weight: 700;

    letter-spacing:
        -.02em;
}

.service-row p {

    margin: 0;

    color: #7d898e;

    font-size: 11px;

    line-height: 1.7;
}

.service-arrow {

    color: #68757a;

    font-size: 19px;

    text-align: right;

    transition:
        color .25s ease,
        transform .3s var(--ease);
}

.service-row:hover .service-arrow {

    color: var(--accent);

    transform:
        translateX(5px);
}


/* =========================================================
   26. CONTACT
   ========================================================= */

.contact-section {

    position: relative;

    padding:
        145px 0;

    overflow: hidden;

    border-top:
        1px solid rgba(255,255,255,.045);
}

.contact-background {

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 75% 50%,
            rgba(0,229,255,.065),
            transparent 32%
        );
}

.contact-content {

    position: relative;

    z-index: 2;

    max-width: 850px;
}

.contact-label {

    margin-bottom: 17px;

    color: var(--accent);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: .20em;

    text-transform: uppercase;
}

.contact-title {

    margin: 0 0 27px;

    color: #f0f5f6;

    font-size:
        clamp(48px,7vw,88px);

    font-weight: 800;

    line-height: .96;

    letter-spacing:
        -.06em;
}

.contact-email {

    display: inline-flex;

    align-items: center;

    padding-bottom: 6px;

    color: var(--accent);

    font-size:
        clamp(17px,2vw,24px);

    font-weight: 600;

    border-bottom:
        1px solid rgba(0,229,255,.25);

    transition:
        border-color .25s ease,
        color .25s ease;
}

.contact-email:hover {

    border-color:
        var(--accent);
}

.contact-socials {

    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 40px;
}

.contact-socials a {

    color: #69757a;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .14em;

    text-transform: uppercase;

    transition:
        color .25s ease;
}

.contact-socials a:hover {
    color: var(--accent);
}


/* =========================================================
   27. FOOTER
   ========================================================= */

.site-footer {

    padding:
        24px 0;

    border-top:
        1px solid rgba(255,255,255,.06);

    color: #586368;

    font-size: 8px;

    letter-spacing: .11em;

    text-transform: uppercase;
}

.footer-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-mark {
    color: #4f5b60;
}

.footer-copy {
    color: #586368;
}


/* =========================================================
   28. BACK TO TOP
   ========================================================= */

.back-to-top {

    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 36px;
    height: 36px;

    display: grid;

    place-items: center;

    z-index: 5000;

    border:
        1px solid rgba(0,229,255,.22);

    border-radius: 7px;

    background:
        rgba(5,8,10,.82);

    color: var(--accent);

    font-size: 13px;

    opacity: 0;

    visibility: hidden;

    transform:
        translateY(10px);

    transition:
        opacity .3s ease,
        visibility .3s ease,
        transform .3s var(--ease),
        border-color .25s ease;
}

.back-to-top.visible {

    opacity: 1;

    visibility: visible;

    transform:
        translateY(0);
}

.back-to-top:hover {

    border-color:
        rgba(0,229,255,.7);
}


/* =========================================================
   29. PAGE LOADED
   ========================================================= */

body.page-loaded .hero-copy {

    animation:
        heroContentIn
        .8s
        var(--ease)
        both;
}

body.page-loaded .hero-visual {

    animation:
        heroVisualIn
        1s
        .12s
        var(--ease)
        both;
}

@keyframes heroContentIn {

    from {
        opacity: 0;
        transform:
            translateY(20px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}

@keyframes heroVisualIn {

    from {
        opacity: 0;
        transform:
            translateY(15px)
            scale(.985);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}


/* =========================================================
   30. RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .hero-grid {

        grid-template-columns:
            minmax(0,1fr)
            minmax(0,.9fr);

        gap: 25px;
    }

    .hero h1 {

        font-size:
            clamp(45px,6vw,70px);
    }

    .hero-visual {
        min-height: 530px;
    }

    .section-intro {

        gap: 40px;
    }

    .about-layout {

        gap: 55px;
    }

    .service-row {

        grid-template-columns:
            55px
            minmax(190px,.8fr)
            minmax(220px,1fr)
            35px;

        gap: 20px;
    }
}


/* =========================================================
   31. MOBILE NAV
   ========================================================= */

@media (max-width: 900px) {

    .main-nav,
    .header-action {

        display: none !important;
    }

    .mobile-menu-button {

        display: flex !important;
    }

    .header-inner {

        width:
            calc(100% - 30px);
    }

    .hero {

        min-height: auto;

        padding-top:
            var(--header-height);
    }

    .hero-grid {

        width:
            calc(100% - 30px);

        min-height: auto;

        grid-template-columns:
            1fr;

        gap: 0;
    }

    .hero-copy {

        padding:
            75px 0 15px;
    }

    .hero h1 {

        max-width: 700px;

        font-size:
            clamp(44px,11vw,65px);
    }

    .hero h2 {

        font-size:
            clamp(18px,5vw,25px);
    }

    .hero-text {
        font-size: 13px;
    }

    .hero-visual {

        min-height: 490px;

        margin-top: -5px;
    }

    .visual-frame {

        width:
            min(100%,510px);
    }

    .portrait-wrap {

        width: 75%;
        height: 82%;
    }

    .section {

        padding:
            90px 0;
    }

    .section-intro {

        grid-template-columns:
            1fr;

        gap: 20px;

        margin-bottom: 40px;
    }

    .section-intro h2 {

        font-size:
            clamp(40px,9vw,58px);
    }

    .about-layout {

        grid-template-columns:
            1fr;

        gap: 35px;
    }

    .work-grid {

        grid-template-columns:
            1fr;
    }

    .service-row {

        grid-template-columns:
            55px
            minmax(0,1fr)
            35px;

        gap: 18px;

        padding:
            22px 0;
    }

    .service-row p {

        grid-column:
            2 / 3;

        margin-top: -8px;
    }

    .contact-section {

        padding:
            100px 0;
    }

}


/* =========================================================
   32. SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .container {

        width:
            calc(100% - 30px);
    }

    .brand-name {

        font-size: 9px;

        letter-spacing:
            .14em;
    }

    .brand-mark {

        width: 29px;
        height: 29px;
    }

    .hero-grid {

        width:
            calc(100% - 30px);
    }

    .hero-copy {

        padding-top:
            65px;
    }

    .hero-status {

        font-size: 7px;
    }

    .hero h1 {

        font-size:
            clamp(40px,12vw,55px);
    }

    .hero h2 {

        margin-top: 16px;

        font-size: 18px;
    }

    .hero-text {

        margin-top: 15px;

        font-size: 12px;

        line-height: 1.75;
    }

    .hero-actions {

        margin-top: 20px;

        gap: 7px;
    }

    .button {

        min-height: 36px;

        padding:
            0 13px;

        font-size: 8px;
    }

    .hero-meta {

        grid-template-columns:
            1fr;

        margin-top: 28px;
    }

    .meta-item {

        padding:
            10px 0;

        border-right: 0;

        border-bottom:
            1px solid var(--line);
    }

    .meta-item:last-child {

        padding-left: 0;

        border-bottom: 0;
    }

    .hero-visual {

        min-height: 420px;

        margin-top: 10px;
    }

    .visual-frame {
        width: 100%;
    }

    .portrait-wrap {

        width: 82%;
        height: 80%;
    }

    .hero-scroll {
        display: none;
    }

    .section {

        padding:
            75px 0;
    }

    .section-intro {

        margin-bottom: 32px;
    }

    .section-intro h2 {

        font-size:
            clamp(34px,10vw,48px);
    }

    .section-lead {

        font-size: 12px;
    }

    .about-lead {

        font-size:
            clamp(23px,7vw,31px);
    }

    .about-details {

        font-size: 12px;
    }

    .skill-item {

        min-height: 120px;

        grid-template-columns:
            45px
            minmax(0,1fr)
            30px;

        gap: 12px;
    }

    .skill-item h3 {
        font-size: 17px;
    }

    .skill-item p {
        font-size: 11px;
    }

    .work-card {

        min-height: 290px;

        padding: 22px;
    }

    .work-card-content h3 {

        font-size: 20px;
    }

    .work-card-content p {

        font-size: 11px;
    }

    .service-row {

        min-height: auto;

        grid-template-columns:
            42px
            minmax(0,1fr)
            28px;

        gap: 10px;
    }

    .service-row h3 {

        font-size: 16px;
    }

    .service-row p {

        font-size: 10px;
    }

    .contact-section {

        padding:
            90px 0;
    }

    .contact-title {

        font-size:
            clamp(40px,12vw,58px);
    }

    .contact-email {

        font-size: 16px;

        word-break:
            break-word;
    }

    .contact-socials {

        gap: 18px;

        flex-wrap: wrap;
    }

    .footer-inner {

        align-items:
            flex-start;

        flex-direction:
            column;

        gap: 8px;
    }

}


/* =========================================================
   33. VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 37px;
    }

    .hero-visual {
        min-height: 370px;
    }

    .portrait-wrap {
        width: 88%;
    }

    .work-card {
        min-height: 270px;
    }

    .skill-item {
        grid-template-columns:
            35px
            minmax(0,1fr)
            25px;
    }

}


/* =========================================================
   34. TOUCH DEVICES
   ========================================================= */

@media (hover:none), (pointer:coarse) {

    .cursor-dot,
    .cursor-ring,
    .cursor-label,
    .cursor-bubble-container {

        display: none !important;
    }

    .work-card:hover {

        transform: none;
    }

}


/* =========================================================
   35. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {

        animation-duration:
            .001ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .001ms !important;
    }

    .cursor-bubble-container {
        display: none !important;
    }

}


/* =========================================================
   36. PRINT
   ========================================================= */

@media print {

    .site-header,
    .mobile-nav,
    .cursor-dot,
    .cursor-ring,
    .cursor-label,
    .cursor-bubble-container,
    .hero-scroll,
    .back-to-top,
    .site-background {

        display: none !important;
    }

    body {

        background: #fff;

        color: #000;
    }

    .hero,
    .section,
    .contact-section {

        min-height: auto;

        padding:
            35px 0;
    }

}