
/* ==========================================================
   SAGAR PORTFOLIO — CINEMATIC HUD V5

   Native Hydra / S ring / particles / TreeScene untouched.

   Motion philosophy:
   - professional static composition
   - right-side project constellation
   - subtle visual connection to native S
   - staggered orbit capture
   - edge-on vertical rotation
   - individual downward departures
   - typography exits independently
   ========================================================== */


#heroTagline1,
#heroTagline2 {
    display: none !important;
}


/* ==========================================================
   ROOT
   ========================================================== */

#portfolioHeroHUD {
    position: fixed;
    inset: 0;

    z-index: 28;

    overflow: hidden;

    pointer-events: none;

    opacity: 0;
    visibility: hidden;

    perspective: 1600px;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Inter,
        Helvetica,
        Arial,
        sans-serif;
}


#portfolioHeroHUD.hud-ready {
    opacity: 1;
    visibility: visible;
}


#portfolioHeroHUD.hud-complete {
    opacity: 0;
    visibility: hidden;
}


/* ==========================================================
   LEFT HERO COPY
   ========================================================== */

.portfolio-hud-v2__copy {
    position: absolute;

    left: clamp(56px, 5.6vw, 92px);
    top: 50%;

    width: min(36vw, 570px);

    transform:
        translate3d(0,-50%,0);

    transform-style: preserve-3d;

    will-change:
        transform,
        opacity,
        filter;
}


.portfolio-hud-v2__eyebrow {
    margin: 0 0 23px;

    font-size:
        clamp(9px,.72vw,12px);

    font-weight: 570;

    line-height: 1.4;

    letter-spacing: .32em;

    color:
        rgba(154,210,242,.88);
}


.portfolio-hud-v2__eyebrow span {
    margin: 0 .24em;

    color:
        rgba(71,185,248,.82);
}


.portfolio-hud-v2__title {
    display: flex;
    flex-direction: column;

    margin: 0;

    font-size:
        clamp(40px,3.72vw,63px);

    font-weight: 650;

    line-height: 1.005;

    letter-spacing: -.045em;

    color:
        rgba(247,250,252,.98);
}


.portfolio-hud-v2__title span {
    display: block;

    white-space: nowrap;

    will-change:
        transform,
        opacity,
        filter;
}


.portfolio-hud-v2__title
.portfolio-hud-v2__accent {
    color: #90d8ff;
}


.portfolio-hud-v2__summary {
    width:
        min(34vw,525px);

    margin: 26px 0 0;

    font-size:
        clamp(13px,.94vw,16px);

    font-weight: 400;

    line-height: 1.6;

    color:
        rgba(221,232,240,.81);

    will-change:
        transform,
        opacity,
        filter;
}


.portfolio-hud-v2__skills {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 9px 13px;

    margin-top: 25px;

    font-size:
        clamp(8px,.62vw,10px);

    font-weight: 600;

    letter-spacing: .15em;

    color:
        rgba(183,207,223,.78);

    will-change:
        transform,
        opacity,
        filter;
}


.portfolio-hud-v2__skills i {
    width: 15px;
    height: 1px;

    display: block;

    background:
        rgba(79,190,249,.67);

    transform:
        rotate(-62deg);
}


/* ==========================================================
   SCROLL CUE
   ========================================================== */

.portfolio-hud-v2__scroll {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-top: 37px;

    padding: 0;

    border: 0;

    background: transparent;

    color:
        rgba(188,215,232,.86);

    font-size: 9px;

    font-weight: 570;

    letter-spacing: .27em;

    pointer-events: auto;

    cursor: pointer;

    will-change:
        transform,
        opacity,
        filter;
}


.portfolio-hud-v2__scroll svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.35;

    stroke-linecap: round;
    stroke-linejoin: round;

    animation:
        portfolioScrollArrow
        1.9s ease-in-out infinite;
}


@keyframes portfolioScrollArrow {
    0%,100% {
        transform: translateY(0);
        opacity: .48;
    }

    50% {
        transform: translateY(7px);
        opacity: 1;
    }
}


/* ==========================================================
   ENERGY CONNECTION NETWORK
   ========================================================== */

.portfolio-orbit-network {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;

    overflow: visible;

    pointer-events: none;

    opacity: .62;

    mix-blend-mode: screen;

    transform-origin:
        50.4% 54%;
}


.portfolio-orbit {
    fill: none;

    stroke:
        url(#portfolioOrbitGradient);

    stroke-width: .82;

    stroke-linecap: round;

    opacity: .52;

    filter:
        url(#portfolioOrbitGlow);
}


.portfolio-orbit-node {
    fill: rgba(191,239,255,.94);

    filter:
        url(#portfolioOrbitGlow);

    opacity: .84;
}


/* ==========================================================
   PROJECT CONSTELLATION
   ========================================================== */

.portfolio-hud-v2__projects {
    position: absolute;

    inset: 0;

    z-index: 2;

    transform-style:
        preserve-3d;
}


/*
   Much smaller cards.
   They now support the S instead of fighting with it.
*/

.portfolio-hud-card {
    position: absolute;

    width:
        clamp(205px,15.7vw,252px);

    min-height: 100px;

    transform-style:
        preserve-3d;

    will-change:
        transform,
        opacity,
        filter;

    opacity: 1;
}


/*
   Right-side asymmetric constellation.

   Jarvis + COC are nearer to S.
   Change + Resume sit farther right.
*/

.portfolio-hud-card--jarvis {
    left: 55.4vw;
    top: 11.5vh;
}


.portfolio-hud-card--change {
    left: 74.7vw;
    top: 21vh;
}


.portfolio-hud-card--coc {
    left: 56.4vw;
    top: 57vh;
}


.portfolio-hud-card--resume {
    left: 75.2vw;
    top: 64vh;
}


/* ==========================================================
   CARD SURFACE
   ========================================================== */

.portfolio-hud-card__surface {
    position: relative;

    display: grid;

    grid-template-columns:
        37px
        minmax(0,1fr)
        21px;

    align-items: start;

    gap: 10px;

    min-height: 98px;

    padding:
        11px 11px 10px 11px;

    overflow: hidden;

    border-radius: 13px;

    background:
        linear-gradient(
            135deg,
            rgba(10,28,41,.84),
            rgba(5,16,25,.69)
        );

    border:
        1px solid
        rgba(103,198,250,.31);

    box-shadow:
        0 18px 48px
        rgba(0,0,0,.28),

        inset 0 1px 0
        rgba(255,255,255,.045),

        0 0 24px
        rgba(46,175,250,.05);

    backdrop-filter:
        blur(11px);

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

    transform-style:
        preserve-3d;
}


.portfolio-hud-card--change
.portfolio-hud-card__surface {
    border-color:
        rgba(74,220,190,.32);
}


.portfolio-hud-card--resume
.portfolio-hud-card__surface {
    border-color:
        rgba(142,114,250,.34);
}


/* soft reflection */

.portfolio-hud-card__surface::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            115deg,
            transparent 16%,
            rgba(127,219,255,.065) 48%,
            transparent 80%
        );

    transform:
        translateX(-115%);

    animation:
        cardReflection
        9s ease-in-out infinite;
}


@keyframes cardReflection {
    0%,72% {
        transform:
            translateX(-115%);
    }

    88%,100% {
        transform:
            translateX(115%);
    }
}


/* ==========================================================
   ICON
   ========================================================== */

.portfolio-hud-card__icon {
    width: 35px;
    height: 35px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    color: #abe3ff;

    background:
        linear-gradient(
            145deg,
            rgba(43,150,242,.23),
            rgba(16,75,128,.13)
        );

    border:
        1px solid
        rgba(132,212,255,.19);

    transform:
        translateZ(16px);
}


.portfolio-hud-card--change
.portfolio-hud-card__icon {
    color: #83efd3;
}


.portfolio-hud-card--resume
.portfolio-hud-card__icon {
    color: #bca5ff;
}


.portfolio-hud-card__icon svg {
    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.55;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ==========================================================
   CARD TEXT
   ========================================================== */

.portfolio-hud-card__text {
    min-width: 0;

    transform:
        translateZ(19px);
}


.portfolio-hud-card__text strong {
    display: block;

    font-size:
        clamp(10px,.76vw,13px);

    font-weight: 620;

    line-height: 1.15;

    letter-spacing: -.012em;

    color:
        rgba(248,251,254,.97);
}


.portfolio-hud-card__text em {
    display: block;

    margin-top: 2px;

    font-size:
        clamp(8px,.56vw,9px);

    font-style: normal;

    line-height: 1.25;

    color:
        rgba(158,210,239,.87);
}


/*
   Keep information but don't turn cards into dashboards.
   Two lines max.
*/

.portfolio-hud-card__text p {
    display: -webkit-box;

    -webkit-box-orient:
        vertical;

    -webkit-line-clamp: 2;

    overflow: hidden;

    margin: 6px 0 0;

    font-size:
        clamp(8px,.55vw,9px);

    line-height: 1.34;

    color:
        rgba(180,203,220,.69);
}


/* show only two chips */

.portfolio-hud-card__meta {
    display: flex;

    gap: 5px;

    margin-top: 6px;
}


.portfolio-hud-card__meta span {
    padding:
        3px 6px;

    border-radius:
        999px;

    border:
        1px solid
        rgba(118,201,250,.14);

    background:
        rgba(69,158,220,.09);

    color:
        rgba(207,232,247,.79);

    font-size: 6.5px;

    font-weight: 600;

    letter-spacing: .065em;

    text-transform: uppercase;
}


.portfolio-hud-card__meta
span:nth-child(n+3) {
    display: none;
}


.portfolio-hud-card__arrow {
    width: 20px;
    height: 20px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    border:
        1px solid
        rgba(173,218,244,.20);

    color:
        rgba(205,234,250,.82);

    font-size: 9px;

    transform:
        translateZ(18px);
}


/* remove old pseudo-line experiments */

.portfolio-hud-card::before,
.portfolio-hud-card::after {
    display: none !important;
}


/* ==========================================================
   NATIVE-IDLE 3D ANGLES
   ========================================================== */

.portfolio-hud-card--jarvis {
    transform:
        perspective(1250px)
        rotateY(-7deg)
        rotateX(3deg);
}


.portfolio-hud-card--change {
    transform:
        perspective(1250px)
        rotateY(8deg)
        rotateX(2deg);
}


.portfolio-hud-card--coc {
    transform:
        perspective(1250px)
        rotateY(-8deg)
        rotateX(-3deg);
}


.portfolio-hud-card--resume {
    transform:
        perspective(1250px)
        rotateY(8deg)
        rotateX(-2deg);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1180px) {

    .portfolio-hud-v2__copy {
        width: 39vw;
    }

    .portfolio-hud-card {
        width: 205px;
    }

}


@media (max-width: 900px) {

    .portfolio-hud-v2__copy {
        left: 7vw;

        width: 84vw;
    }


    .portfolio-hud-v2__summary {
        width: 80vw;
    }


    .portfolio-hud-v2__projects,
    .portfolio-orbit-network {
        display: none;
    }

}


/* ==========================================================
   NATIVE RING SYNC V6
   ========================================================== */

/* User-approved: NO visible connector lines */
.portfolio-orbit-network {
    display: none !important;
}


/*
   The complete HUD rotates around the visual centre
   of the native S-ring.

   JS supplies:
      --ring-p
      --ring-angle
      --ring-drop
*/

#portfolioHeroHUD.hud-ready {
    transform-origin: 50.5% 54.5%;

    transform-style: preserve-3d;

    will-change:
        transform,
        opacity,
        filter;
}


/*
   Text + cards remain one coherent composition.
   We no longer collapse individual cards into the S.
*/

#portfolioHeroHUD.native-ring-exit {

    transform:
        perspective(1700px)

        translate3d(
            calc(var(--ring-p) * 70px),
            calc(var(--ring-drop) * 1px),
            calc(var(--ring-p) * -420px)
        )

        rotateY(
            calc(var(--ring-angle) * 1deg)
        )

        rotateZ(
            calc(var(--ring-p) * -7deg)
        )

        scale(
            calc(
                1 -
                var(--ring-p) * .16
            )
        );
}


/*
   Individual cards retain only subtle local perspective.
   No flying-to-centre transforms.
*/

#portfolioHeroHUD.native-ring-exit
.portfolio-hud-card {

    filter:
        blur(
            calc(
                var(--ring-p) *
                3px
            )
        );

    transition: none !important;
}


#portfolioHeroHUD.native-ring-exit
.portfolio-hud-v2__copy {

    filter:
        blur(
            calc(
                var(--ring-p) *
                3px
            )
        );

    transition: none !important;
}


/*
   Fade happens LATE.

   We want to SEE the complete composition rotate
   with the native ring first.

   JS controls root opacity.
*/

#portfolioHeroHUD.native-ring-exit
.portfolio-hud-card,
#portfolioHeroHUD.native-ring-exit
.portfolio-hud-v2__copy {

    opacity: 1;
}


/* completely gone at approved ring position */

#portfolioHeroHUD.native-ring-complete {

    opacity: 0 !important;

    visibility: hidden !important;

    pointer-events: none !important;
}


/* === SAGAR V6.1 SLOW INTRO BEGIN === */


/* ----------------------------------------------------------
   SLOW PROFESSIONAL HERO INTRO
---------------------------------------------------------- */

#portfolioHeroHUD.intro-slow
.portfolio-hud-v2__copy {

    opacity: 0;

    filter:
        blur(7px);

    transform:
        translate3d(
            -22px,
            -50%,
            -55px
        )
        scale(.985);

    transition:
        opacity 1450ms
        cubic-bezier(.16,1,.3,1),

        transform 1650ms
        cubic-bezier(.16,1,.3,1),

        filter 1450ms ease !important;
}


#portfolioHeroHUD.intro-slow.intro-in
.portfolio-hud-v2__copy {

    opacity: 1;

    filter:
        blur(0);

    transform:
        translate3d(
            0,
            -50%,
            0
        )
        scale(1);
}


/*
   Cards arrive slowly and independently.
   No sudden pop.
*/

#portfolioHeroHUD.intro-slow
.portfolio-hud-card__surface {

    opacity: 0;

    filter:
        blur(7px);

    transform:
        translate3d(
            0,
            24px,
            -80px
        )
        rotateX(6deg)
        scale(.94);

    transition:
        opacity 1450ms
        cubic-bezier(.16,1,.3,1),

        transform 1700ms
        cubic-bezier(.16,1,.3,1),

        filter 1450ms ease !important;

    transition-delay:
        calc(
            420ms +
            var(--card-index) *
            210ms
        ) !important;
}


#portfolioHeroHUD.intro-slow.intro-in
.portfolio-hud-card__surface {

    opacity: 1;

    filter:
        blur(0);

    transform:
        translate3d(
            0,
            0,
            0
        )
        rotateX(0deg)
        scale(1);
}


/*
   Small extra stagger for card contents.
*/

#portfolioHeroHUD.intro-slow
.portfolio-hud-card__icon,

#portfolioHeroHUD.intro-slow
.portfolio-hud-card__text,

#portfolioHeroHUD.intro-slow
.portfolio-hud-card__arrow {

    opacity: 0;

    transition:
        opacity 1000ms ease !important;

    transition-delay:
        calc(
            800ms +
            var(--card-index) *
            210ms
        ) !important;
}


#portfolioHeroHUD.intro-slow.intro-in
.portfolio-hud-card__icon,

#portfolioHeroHUD.intro-slow.intro-in
.portfolio-hud-card__text,

#portfolioHeroHUD.intro-slow.intro-in
.portfolio-hud-card__arrow {

    opacity: 1;
}


/*
   Once ring exit starts, native-sync JS owns the
   complete composition transform.
*/

#portfolioHeroHUD.native-ring-exit
.portfolio-hud-v2__copy {

    transition:
        none !important;
}


/* Still no visible connectors. */

.portfolio-orbit-network {

    display:
        none !important;
}


/* === SAGAR V6.1 SLOW INTRO END === */


/* === SAGAR CARD STAGGER V6.2 BEGIN === */


/*
   Override previous automatic simultaneous card reveal.
   JS now releases each card separately.
*/

#portfolioHeroHUD.intro-slow
.portfolio-hud-card
.portfolio-hud-card__surface {

    opacity: 0 !important;

    filter:
        blur(8px) !important;

    transform:
        translate3d(
            0,
            30px,
            -110px
        )
        rotateX(8deg)
        scale(.88) !important;

    transition:
        opacity 1200ms
        cubic-bezier(.16,1,.3,1),

        transform 1450ms
        cubic-bezier(.16,1,.3,1),

        filter 1200ms ease !important;

    transition-delay:
        0ms !important;
}


/*
   Card released individually by JS.
*/

#portfolioHeroHUD.intro-slow
.portfolio-hud-card.intro-card-visible
.portfolio-hud-card__surface {

    opacity: 1 !important;

    filter:
        blur(0) !important;

    transform:
        translate3d(
            0,
            0,
            0
        )
        rotateX(0deg)
        scale(1) !important;
}


/*
   Internal card content also gets its own
   softer secondary reveal.
*/

#portfolioHeroHUD.intro-slow
.portfolio-hud-card
.portfolio-hud-card__icon,

#portfolioHeroHUD.intro-slow
.portfolio-hud-card
.portfolio-hud-card__text,

#portfolioHeroHUD.intro-slow
.portfolio-hud-card
.portfolio-hud-card__arrow {

    opacity: 0 !important;

    transform:
        translate3d(
            0,
            8px,
            0
        ) !important;

    transition:
        opacity 850ms ease,

        transform 1000ms
        cubic-bezier(.16,1,.3,1) !important;
}


#portfolioHeroHUD.intro-slow
.portfolio-hud-card.intro-card-visible
.portfolio-hud-card__icon,

#portfolioHeroHUD.intro-slow
.portfolio-hud-card.intro-card-visible
.portfolio-hud-card__text,

#portfolioHeroHUD.intro-slow
.portfolio-hud-card.intro-card-visible
.portfolio-hud-card__arrow {

    opacity: 1 !important;

    transform:
        translate3d(
            0,
            0,
            0
        ) !important;

    transition-delay:
        320ms !important;
}


/*
   Slight premium overshoot sensation,
   without cartoon-style bouncing.
*/

#portfolioHeroHUD
.portfolio-hud-card.intro-card-visible {

    animation:
        none !important;
}


/* === SAGAR CARD STAGGER V6.2 END === */



/* === SAGAR PHASE 2 APPROVED COMPOSITION BEGIN === */

/*
   PHASE 2 PRINCIPLE

   DOM presentation should visually belong to the native
   Hydra composition without pretending to be native geometry.

   Protected:
   - native S ring
   - native creatures
   - native particles
   - native scroll transition
*/


/* ----------------------------------------------------------
   SITE-NATIVE TYPOGRAPHY
---------------------------------------------------------- */

#portfolioHeroHUD {

    font-family:
        "nbarchitekt",
        Helvetica,
        Arial,
        sans-serif !important;

}


/* ----------------------------------------------------------
   LEFT EDITORIAL COMPOSITION
---------------------------------------------------------- */

.portfolio-hud-v2__copy {

    left:
        clamp(
            62px,
            5.45vw,
            90px
        ) !important;

    top:
        49.2% !important;

    width:
        min(
            38vw,
            585px
        ) !important;

    isolation:
        isolate;

}


/*
   Extremely soft local atmosphere.

   This is NOT a panel.
   It simply lowers moving-particle contrast behind text.
*/

.portfolio-hud-v2__copy::before {

    content: "";

    position: absolute;

    z-index: -1;

    left: -90px;
    top: -95px;

    width:
        calc(
            100% +
            165px
        );

    height:
        calc(
            100% +
            190px
        );

    pointer-events:
        none;

    background:

        radial-gradient(
            ellipse at 34% 48%,
            rgba(2,10,15,.24) 0%,
            rgba(2,10,15,.15) 38%,
            rgba(2,10,15,.055) 63%,
            rgba(2,10,15,0) 82%
        );

}


/* ----------------------------------------------------------
   EYEBROW
---------------------------------------------------------- */

.portfolio-hud-v2__eyebrow {

    margin:
        0 0 24px !important;

    font-size:
        clamp(
            9px,
            .68vw,
            11px
        ) !important;

    font-weight:
        400 !important;

    line-height:
        1.4 !important;

    letter-spacing:
        .31em !important;

    color:
        rgba(
            173,
            219,
            241,
            .86
        ) !important;

    white-space:
        nowrap;

}


.portfolio-hud-v2__eyebrow span {

    margin:
        0 .38em !important;

    color:
        rgba(
            105,
            210,
            249,
            .80
        ) !important;

}


/* ----------------------------------------------------------
   HEADLINE
---------------------------------------------------------- */

.portfolio-hud-v2__title {

    display:
        block !important;

    margin:
        0 !important;

    line-height:
        1 !important;

    letter-spacing:
        -.037em !important;

    color:
        rgba(
            246,
            249,
            251,
            .98
        ) !important;

}


.portfolio-hud-v2__title >
.portfolio-hud-v2__title-line {

    display:
        block !important;

    white-space:
        nowrap !important;

}


.portfolio-hud-v2__title-line--primary {

    font-size:
        clamp(
            40px,
            3.48vw,
            58px
        ) !important;

    font-weight:
        700 !important;

    letter-spacing:
        -.043em;

}


.portfolio-hud-v2__title-line--system {

    margin-top:
        7px;

    font-size:
        clamp(
            31px,
            2.73vw,
            45px
        ) !important;

    font-weight:
        700 !important;

    letter-spacing:
        -.038em;

}


/*
   Accent follows the native cool-light family,
   but remains restrained and professional.
*/

.portfolio-hud-v2__accent {

    font-weight:
        inherit;

    color:
        #91dcfb;

    background:
        linear-gradient(
            96deg,
            #78d3f7 0%,
            #bcecff 46%,
            #91daf9 100%
        );

    background-clip:
        text;

    -webkit-background-clip:
        text;

    -webkit-text-fill-color:
        transparent;

}


/* ----------------------------------------------------------
   SUMMARY
---------------------------------------------------------- */

.portfolio-hud-v2__summary {

    width:
        min(
            34vw,
            520px
        ) !important;

    margin:
        27px 0 0 !important;

    font-size:
        clamp(
            12px,
            .91vw,
            15px
        ) !important;

    font-weight:
        300 !important;

    line-height:
        1.62 !important;

    letter-spacing:
        .007em;

    color:
        rgba(
            219,
            231,
            239,
            .79
        ) !important;

}


/* ----------------------------------------------------------
   CAPABILITY STRIP
---------------------------------------------------------- */

.portfolio-hud-v2__skills {

    margin-top:
        25px !important;

    gap:
        9px 14px !important;

    font-size:
        clamp(
            8px,
            .59vw,
            9.5px
        ) !important;

    font-weight:
        400 !important;

    letter-spacing:
        .18em !important;

    color:
        rgba(
            181,
            211,
            226,
            .75
        ) !important;

}


.portfolio-hud-v2__skills i {

    width:
        16px !important;

    height:
        1px !important;

    opacity:
        .82;

    background:
        rgba(
            91,
            202,
            244,
            .72
        ) !important;

}


/* ----------------------------------------------------------
   SCROLL CUE
---------------------------------------------------------- */

.portfolio-hud-v2__scroll {

    margin-top:
        39px !important;

    gap:
        12px !important;

    font-family:
        "nbarchitekt",
        Helvetica,
        sans-serif !important;

    font-size:
        8.5px !important;

    font-weight:
        400 !important;

    letter-spacing:
        .31em !important;

    color:
        rgba(
            187,
            220,
            235,
            .83
        ) !important;

}


/* ----------------------------------------------------------
   NO CONNECTOR GRAPHICS
---------------------------------------------------------- */

.portfolio-orbit-network {

    display:
        none !important;

}


/* ----------------------------------------------------------
   S-RING PROTECTED ZONE
---------------------------------------------------------- */

/*
   Approximate native protected zone at desktop:

       x ≈ 44% → 55%
       y ≈ 34% → 73%

   No card starts inside that zone.
*/


/* ----------------------------------------------------------
   PROJECT CARD HIERARCHY
---------------------------------------------------------- */

.portfolio-hud-card {

    min-height:
        0 !important;

}


/*
   INNER / PRIMARY PROJECTS
   Jarvis + COC
*/

.portfolio-hud-card--jarvis,
.portfolio-hud-card--coc {

    width:
        clamp(
            220px,
            16vw,
            252px
        ) !important;

    z-index:
        4;

}


/*
   OUTER / SECONDARY PROJECTS
   Change + Resume

   Smaller width creates depth without adding fake 3D objects.
*/

.portfolio-hud-card--change,
.portfolio-hud-card--resume {

    width:
        clamp(
            194px,
            14.25vw,
            225px
        ) !important;

    z-index:
        3;

}


/* ----------------------------------------------------------
   ASYMMETRIC CONSTELLATION
---------------------------------------------------------- */

/*
   Jarvis — nearest upper project
*/

.portfolio-hud-card--jarvis {

    left:
        55.7vw !important;

    top:
        10.8vh !important;

    right:
        auto !important;

    bottom:
        auto !important;

    transform:
        perspective(1250px)
        rotateY(-4deg)
        rotateX(2deg) !important;

}


/*
   COC — nearest lower project
*/

.portfolio-hud-card--coc {

    left:
        58.0vw !important;

    top:
        56.5vh !important;

    right:
        auto !important;

    bottom:
        auto !important;

    transform:
        perspective(1250px)
        rotateY(-5deg)
        rotateX(-2deg) !important;

}


/*
   Change — farther / upper-right
*/

.portfolio-hud-card--change {

    left:
        76.0vw !important;

    top:
        19.0vh !important;

    right:
        auto !important;

    bottom:
        auto !important;

    transform:
        perspective(1250px)
        rotateY(5deg)
        rotateX(1.5deg) !important;

}


/*
   Resume — farther / lower-right
*/

.portfolio-hud-card--resume {

    left:
        77.0vw !important;

    top:
        64.0vh !important;

    right:
        auto !important;

    bottom:
        auto !important;

    transform:
        perspective(1250px)
        rotateY(5deg)
        rotateX(-1.5deg) !important;

}


/* ----------------------------------------------------------
   CLEANER RESTING CARD CONTENT
---------------------------------------------------------- */

/*
   Keep descriptions in DOM for Phase 3 hover/focus,
   but remove them from resting composition.
*/

.portfolio-hud-card__text p {

    display:
        none !important;

}


/*
   Two tags at rest.
   Third remains in DOM for future interactions.
*/

.portfolio-hud-card__meta
span:nth-child(n+3) {

    display:
        none !important;

}


/* ----------------------------------------------------------
   CARD GLASS — RESTRAINED PHASE 2 TUNING
---------------------------------------------------------- */

.portfolio-hud-card__surface {

    min-height:
        84px !important;

    padding:
        12px 12px 11px 12px !important;

    grid-template-columns:
        36px
        minmax(0,1fr)
        20px !important;

    gap:
        10px !important;

    border-radius:
        13px !important;

    background:

        linear-gradient(
            132deg,
            rgba(11,30,43,.73),
            rgba(4,16,25,.60)
        ) !important;

    border:
        1px solid
        rgba(
            111,
            204,
            248,
            .29
        ) !important;

    box-shadow:

        inset 0 1px 0
        rgba(255,255,255,.045),

        0 16px 40px
        rgba(0,0,0,.24),

        0 0 25px
        rgba(73,190,243,.038)
        !important;

    backdrop-filter:
        blur(9px)
        saturate(1.06)
        !important;

    -webkit-backdrop-filter:
        blur(9px)
        saturate(1.06)
        !important;

}


/*
   Individual color identity remains subtle.
*/

.portfolio-hud-card--change
.portfolio-hud-card__surface {

    border-color:
        rgba(
            76,
            219,
            189,
            .30
        ) !important;

}


.portfolio-hud-card--resume
.portfolio-hud-card__surface {

    border-color:
        rgba(
            150,
            125,
            251,
            .31
        ) !important;

}


/* ----------------------------------------------------------
   CARD TYPOGRAPHY — SITE NATIVE
---------------------------------------------------------- */

.portfolio-hud-card__text strong {

    font-family:
        "nbarchitekt",
        Helvetica,
        sans-serif;

    font-size:
        clamp(
            10px,
            .73vw,
            12.5px
        ) !important;

    font-weight:
        700 !important;

    letter-spacing:
        -.01em !important;

}


.portfolio-hud-card__text em {

    margin-top:
        3px !important;

    font-size:
        clamp(
            7.5px,
            .52vw,
            9px
        ) !important;

    font-weight:
        300 !important;

    line-height:
        1.25 !important;

    letter-spacing:
        .01em;

}


.portfolio-hud-card__meta {

    margin-top:
        8px !important;

    gap:
        5px !important;

}


.portfolio-hud-card__meta span {

    min-height:
        17px;

    display:
        inline-flex;

    align-items:
        center;

    padding:
        2px 7px !important;

    font-family:
        "nbarchitekt",
        Helvetica,
        sans-serif;

    font-size:
        6.5px !important;

    font-weight:
        400 !important;

    letter-spacing:
        .075em !important;

}


/* ----------------------------------------------------------
   REFLECTION QUIETER
---------------------------------------------------------- */

.portfolio-hud-card__surface::before {

    opacity:
        .64;

}


/* ----------------------------------------------------------
   DESKTOP NARROW FALLBACK
---------------------------------------------------------- */

@media (
    max-width: 1180px
) {

    .portfolio-hud-v2__copy {

        left:
            5vw !important;

        width:
            41vw !important;

    }


    .portfolio-hud-card--jarvis,
    .portfolio-hud-card--coc {

        width:
            210px !important;

    }


    .portfolio-hud-card--change,
    .portfolio-hud-card--resume {

        width:
            188px !important;

    }


    .portfolio-hud-card--jarvis {

        left:
            54vw !important;

    }


    .portfolio-hud-card--coc {

        left:
            55vw !important;

    }


    .portfolio-hud-card--change {

        left:
            75vw !important;

    }


    .portfolio-hud-card--resume {

        left:
            75.5vw !important;

    }

}


/* ----------------------------------------------------------
   MOBILE BEHAVIOUR REMAINS EXISTING
---------------------------------------------------------- */

@media (
    max-width: 900px
) {

    .portfolio-hud-v2__copy {

        left:
            7vw !important;

        top:
            47% !important;

        width:
            84vw !important;

    }


    .portfolio-hud-v2__title-line--primary {

        font-size:
            clamp(
                36px,
                9vw,
                54px
            ) !important;

    }


    .portfolio-hud-v2__title-line--system {

        font-size:
            clamp(
                24px,
                6.2vw,
                38px
            ) !important;

    }


    .portfolio-hud-v2__summary {

        width:
            80vw !important;

    }

}


/* === SAGAR PHASE 2 APPROVED COMPOSITION END === */




/* === SAGAR PHASE 2 VISUAL CORRECTION BEGIN === */


/* ==========================================================
   TYPOGRAPHY BALANCE

   Large editorial information = clean international sans.
   Small Hydra/system labels = NB Architekt.

   This keeps the portfolio inside the native site's language
   without making all readable content look like a terminal UI.
   ========================================================== */

#portfolioHeroHUD {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif !important;

    -webkit-font-smoothing:
        antialiased;

    text-rendering:
        geometricPrecision;

}


/* Native/Hydra-flavoured micro typography */

.portfolio-hud-v2__eyebrow,
.portfolio-hud-v2__skills,
.portfolio-hud-v2__scroll,
.portfolio-hud-card__meta {

    font-family:
        "nbarchitekt",
        Helvetica,
        sans-serif !important;

}


/* ==========================================================
   LEFT HERO — PROTECT THE S-RING
   ========================================================== */

.portfolio-hud-v2__copy {

    left:
        clamp(
            64px,
            5.45vw,
            88px
        ) !important;

    top:
        49.0% !important;

    /*
       Hard visual limit.
       At 1536px this keeps the copy comfortably
       left of the native S.
    */

    width:
        min(
            34.2vw,
            515px
        ) !important;

}


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

.portfolio-hud-v2__eyebrow {

    margin-bottom:
        23px !important;

    font-size:
        clamp(
            8.5px,
            .64vw,
            10px
        ) !important;

    font-weight:
        400 !important;

    letter-spacing:
        .30em !important;

    color:
        rgba(
            166,
            216,
            239,
            .86
        ) !important;

}


/* ==========================================================
   HEADLINE
   ========================================================== */

.portfolio-hud-v2__title {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif !important;

    letter-spacing:
        -.042em !important;

}


.portfolio-hud-v2__title-line--primary {

    font-size:
        clamp(
            42px,
            3.38vw,
            55px
        ) !important;

    font-weight:
        680 !important;

    letter-spacing:
        -.047em !important;

}


/*
   Critical correction:
   smaller second line prevents DIGITAL SYSTEMS
   from colliding with the native ring.
*/

.portfolio-hud-v2__title-line--system {

    margin-top:
        7px !important;

    font-size:
        clamp(
            27px,
            2.18vw,
            35px
        ) !important;

    font-weight:
        680 !important;

    line-height:
        1.06 !important;

    letter-spacing:
        -.038em !important;

}


.portfolio-hud-v2__accent {

    background:
        linear-gradient(
            96deg,
            #76d4f8 0%,
            #a9e8ff 50%,
            #83d9fb 100%
        ) !important;

    background-clip:
        text !important;

    -webkit-background-clip:
        text !important;

    -webkit-text-fill-color:
        transparent !important;

}


/* ==========================================================
   SUMMARY
   ========================================================== */

.portfolio-hud-v2__summary {

    width:
        min(
            31.8vw,
            475px
        ) !important;

    margin-top:
        26px !important;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif !important;

    font-size:
        clamp(
            12.5px,
            .89vw,
            14.5px
        ) !important;

    font-weight:
        400 !important;

    line-height:
        1.56 !important;

    letter-spacing:
        -.004em !important;

    color:
        rgba(
            220,
            231,
            238,
            .81
        ) !important;

}


/* ==========================================================
   CAPABILITY STRIP
   ========================================================== */

.portfolio-hud-v2__skills {

    margin-top:
        23px !important;

    gap:
        8px 13px !important;

    font-size:
        clamp(
            7.5px,
            .56vw,
            9px
        ) !important;

    letter-spacing:
        .16em !important;

}


/* ==========================================================
   SCROLL CUE
   ========================================================== */

.portfolio-hud-v2__scroll {

    margin-top:
        37px !important;

    font-size:
        8px !important;

}


/* ==========================================================
   CARD TEXT — REMOVE TERMINAL/DASHBOARD FEEL
   ========================================================== */

.portfolio-hud-card__text strong {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif !important;

    font-size:
        clamp(
            10.5px,
            .74vw,
            12.5px
        ) !important;

    font-weight:
        650 !important;

    letter-spacing:
        -.012em !important;

    text-transform:
        none !important;

}


.portfolio-hud-card__text em {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif !important;

    font-size:
        clamp(
            8px,
            .53vw,
            9px
        ) !important;

    font-weight:
        400 !important;

    letter-spacing:
        0 !important;

    text-transform:
        none !important;

}


/* ==========================================================
   FINAL ASYMMETRIC CARD GEOMETRY
   ========================================================== */

/*
   Jarvis:
   inner / upper.
   Current relationship to S is good.
*/

.portfolio-hud-card--jarvis {

    left:
        56.0vw !important;

    top:
        10.8vh !important;

}


/*
   Change:
   outer / upper.
*/

.portfolio-hud-card--change {

    left:
        76.2vw !important;

    top:
        19.2vh !important;

}


/*
   COC was visibly too close to the S-ring.
   Push it right while retaining inner/lower hierarchy.
*/

.portfolio-hud-card--coc {

    left:
        59.8vw !important;

    top:
        55.8vh !important;

}


/*
   Resume:
   outer / lower.
*/

.portfolio-hud-card--resume {

    left:
        77.2vw !important;

    top:
        63.0vh !important;

}


/* ==========================================================
   CARD DEPTH HIERARCHY
   ========================================================== */

.portfolio-hud-card--jarvis,
.portfolio-hud-card--coc {

    width:
        clamp(
            218px,
            15.8vw,
            248px
        ) !important;

}


.portfolio-hud-card--change,
.portfolio-hud-card--resume {

    width:
        clamp(
            190px,
            13.9vw,
            218px
        ) !important;

    opacity:
        .93;

}


/* ==========================================================
   MORE BREATHING ROOM AROUND NATIVE WORLD
   ========================================================== */

.portfolio-hud-card__surface {

    background:
        linear-gradient(
            132deg,
            rgba(9,27,40,.70),
            rgba(4,15,24,.56)
        ) !important;

    box-shadow:

        inset 0 1px 0
        rgba(255,255,255,.04),

        0 15px 38px
        rgba(0,0,0,.22),

        0 0 22px
        rgba(70,188,242,.035)
        !important;

}


/* Keep all connectors gone */

.portfolio-orbit-network {

    display:
        none !important;

}


/* ==========================================================
   NARROW DESKTOP
   ========================================================== */

@media (
    max-width: 1180px
) {

    .portfolio-hud-v2__copy {

        width:
            38vw !important;

    }


    .portfolio-hud-v2__title-line--system {

        font-size:
            clamp(
                25px,
                2.5vw,
                32px
            ) !important;

    }


    .portfolio-hud-card--coc {

        left:
            58.8vw !important;

    }

}


/* === SAGAR PHASE 2 VISUAL CORRECTION END === */




/* === SAGAR PHASE 2 FINAL SCALE BEGIN === */


/* ==========================================================
   FINAL HERO SCALE
   Keep native S-ring completely untouched.
   ========================================================== */

.portfolio-hud-v2__copy {

    left:
        clamp(
            64px,
            5.45vw,
            88px
        ) !important;

    top:
        49.0% !important;

    /*
       Slightly wider than V2 correction,
       but still protected from S-ring collision.
    */

    width:
        min(
            35.3vw,
            540px
        ) !important;

}


/* ----------------------------------------------------------
   MAIN HEADLINE
---------------------------------------------------------- */

.portfolio-hud-v2__title-line--primary {

    font-size:
        clamp(
            45px,
            3.62vw,
            60px
        ) !important;

    line-height:
        .99 !important;

}


/* ----------------------------------------------------------
   SECOND LINE
---------------------------------------------------------- */

.portfolio-hud-v2__title-line--system {

    margin-top:
        7px !important;

    font-size:
        clamp(
            29px,
            2.39vw,
            38px
        ) !important;

    line-height:
        1.04 !important;

}


/* ----------------------------------------------------------
   SUMMARY
---------------------------------------------------------- */

.portfolio-hud-v2__summary {

    width:
        min(
            32.6vw,
            492px
        ) !important;

    font-size:
        clamp(
            13px,
            .94vw,
            15.25px
        ) !important;

    line-height:
        1.58 !important;

    color:
        rgba(
            224,
            234,
            241,
            .84
        ) !important;

}


/* ----------------------------------------------------------
   EYEBROW — KEEP REFINED
---------------------------------------------------------- */

.portfolio-hud-v2__eyebrow {

    font-size:
        clamp(
            8.7px,
            .65vw,
            10.2px
        ) !important;

}


/* ----------------------------------------------------------
   CAPABILITY STRIP
---------------------------------------------------------- */

.portfolio-hud-v2__skills {

    font-size:
        clamp(
            7.8px,
            .58vw,
            9.3px
        ) !important;

}


/* ==========================================================
   CARD SCALE HIERARCHY
   ========================================================== */

/*
   Primary inner cards:
   Jarvis + COC
*/

.portfolio-hud-card--jarvis,
.portfolio-hud-card--coc {

    width:
        clamp(
            238px,
            17.4vw,
            274px
        ) !important;

}


/*
   Secondary outer cards:
   Change + Resume
*/

.portfolio-hud-card--change,
.portfolio-hud-card--resume {

    width:
        clamp(
            208px,
            15.2vw,
            238px
        ) !important;

}


/* ==========================================================
   CARD POSITION REBALANCE
   Slightly left overall, but preserve S breathing room.
   ========================================================== */

.portfolio-hud-card--jarvis {

    left:
        55.6vw !important;

    top:
        10.3vh !important;

}


.portfolio-hud-card--coc {

    left:
        59.1vw !important;

    top:
        55.2vh !important;

}


.portfolio-hud-card--change {

    left:
        75.4vw !important;

    top:
        18.8vh !important;

}


.portfolio-hud-card--resume {

    left:
        76.3vw !important;

    top:
        62.3vh !important;

}


/* ==========================================================
   CARD INTERNAL SCALE
   ========================================================== */

.portfolio-hud-card__surface {

    min-height:
        91px !important;

    padding:
        13px 13px 12px 13px !important;

    grid-template-columns:
        39px
        minmax(0,1fr)
        21px !important;

    gap:
        11px !important;

}


.portfolio-hud-card__icon {

    width:
        38px !important;

    height:
        38px !important;

}


.portfolio-hud-card__icon svg {

    width:
        20px !important;

    height:
        20px !important;

}


.portfolio-hud-card__text strong {

    font-size:
        clamp(
            11px,
            .79vw,
            13.5px
        ) !important;

}


.portfolio-hud-card__text em {

    font-size:
        clamp(
            8px,
            .56vw,
            9.5px
        ) !important;

}


.portfolio-hud-card__meta span {

    font-size:
        6.8px !important;

    padding:
        3px 7px !important;

}


/* ==========================================================
   OUTER CARD DEPTH
   Keep them slightly secondary.
   ========================================================== */

.portfolio-hud-card--change,
.portfolio-hud-card--resume {

    opacity:
        .94 !important;

}


/* ==========================================================
   S-RING SAFETY
   No visual connection / no crossing.
   ========================================================== */

.portfolio-orbit-network {

    display:
        none !important;

}


/* ==========================================================
   NARROW DESKTOP
   ========================================================== */

@media (
    max-width: 1180px
) {

    .portfolio-hud-v2__title-line--primary {

        font-size:
            clamp(
                42px,
                4.15vw,
                55px
            ) !important;

    }


    .portfolio-hud-v2__title-line--system {

        font-size:
            clamp(
                27px,
                2.72vw,
                35px
            ) !important;

    }


    .portfolio-hud-card--jarvis,
    .portfolio-hud-card--coc {

        width:
            228px !important;

    }


    .portfolio-hud-card--change,
    .portfolio-hud-card--resume {

        width:
            202px !important;

    }

}


/* === SAGAR PHASE 2 FINAL SCALE END === */




/* === SAGAR PHASE 2 FINAL STRUCTURE BEGIN === */


/* ==========================================================
   LEFT EDITORIAL BLOCK
   ========================================================== */

.portfolio-hud-v2__copy {

    left:
        clamp(
            64px,
            5.45vw,
            88px
        ) !important;

    top:
        49% !important;

    width:
        min(
            32.8vw,
            505px
        ) !important;

}


/* ----------------------------------------------------------
   HEADLINE
---------------------------------------------------------- */

.portfolio-hud-v2__title {

    display:
        block !important;

    margin:
        0 !important;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif !important;

    line-height:
        1 !important;

}


/* HR OPERATIONS */

.portfolio-hud-v2__title-line--primary {

    display:
        block !important;

    white-space:
        nowrap !important;

    font-size:
        clamp(
            45px,
            3.58vw,
            59px
        ) !important;

    font-weight:
        690 !important;

    line-height:
        .98 !important;

    letter-spacing:
        -.048em !important;

    color:
        rgba(
            247,
            250,
            252,
            .98
        ) !important;

}


/* AUTOMATION & */

.portfolio-hud-v2__title-line--automation {

    display:
        block !important;

    margin-top:
        9px !important;

    white-space:
        nowrap !important;

    font-size:
        clamp(
            29px,
            2.42vw,
            38px
        ) !important;

    font-weight:
        690 !important;

    line-height:
        1 !important;

    letter-spacing:
        -.039em !important;

}


/* DIGITAL SYSTEMS */

.portfolio-hud-v2__title-line--digital {

    display:
        block !important;

    margin-top:
        4px !important;

    white-space:
        nowrap !important;

    font-size:
        clamp(
            30px,
            2.38vw,
            37px
        ) !important;

    font-weight:
        690 !important;

    line-height:
        1 !important;

    letter-spacing:
        -.041em !important;

    color:
        rgba(
            247,
            250,
            252,
            .98
        ) !important;

}


.portfolio-hud-v2__amp {

    color:
        rgba(
            246,
            250,
            252,
            .96
        );

    margin-left:
        .12em;

}


/* ----------------------------------------------------------
   ACCENT
---------------------------------------------------------- */

.portfolio-hud-v2__accent {

    background:
        linear-gradient(
            95deg,
            #70d0f6 0%,
            #a8e8ff 48%,
            #82dafb 100%
        ) !important;

    background-clip:
        text !important;

    -webkit-background-clip:
        text !important;

    -webkit-text-fill-color:
        transparent !important;

}


/* ----------------------------------------------------------
   SUMMARY FOLLOWS HEADLINE WIDTH
---------------------------------------------------------- */

.portfolio-hud-v2__summary {

    width:
        min(
            30.2vw,
            455px
        ) !important;

    margin-top:
        25px !important;

}


/* ==========================================================
   FINAL CARD CONSTELLATION
   ========================================================== */


/*
   Jarvis:
   primary upper-inner.
   Slightly closer to the constellation,
   but still outside S protected space.
*/

.portfolio-hud-card--jarvis {

    left:
        56.9vw !important;

    top:
        11.4vh !important;

    width:
        clamp(
            238px,
            17.3vw,
            272px
        ) !important;

}


/*
   COC:
   primary lower-inner.

   Moves UP and slightly LEFT from previous version
   to stop forming a horizontal row with Resume.
*/

.portfolio-hud-card--coc {

    left:
        57.5vw !important;

    top:
        51.9vh !important;

    width:
        clamp(
            232px,
            16.8vw,
            264px
        ) !important;

}


/*
   Change:
   secondary upper-outer.
*/

.portfolio-hud-card--change {

    left:
        75.4vw !important;

    top:
        17.7vh !important;

    width:
        clamp(
            198px,
            14.45vw,
            224px
        ) !important;

}


/*
   Resume:
   deepest lower-outer.
*/

.portfolio-hud-card--resume {

    left:
        77.6vw !important;

    top:
        64.5vh !important;

    width:
        clamp(
            194px,
            14.0vw,
            218px
        ) !important;

}


/* ==========================================================
   DEPTH HIERARCHY
   ========================================================== */

.portfolio-hud-card--jarvis {

    opacity:
        1 !important;

    z-index:
        5 !important;

}


.portfolio-hud-card--coc {

    opacity:
        .98 !important;

    z-index:
        4 !important;

}


.portfolio-hud-card--change {

    opacity:
        .94 !important;

    z-index:
        3 !important;

}


.portfolio-hud-card--resume {

    opacity:
        .91 !important;

    z-index:
        2 !important;

}


/* ----------------------------------------------------------
   CARD LOCAL ANGLES
---------------------------------------------------------- */

.portfolio-hud-card--jarvis {

    transform:
        perspective(1250px)
        rotateY(-4deg)
        rotateX(2deg) !important;

}


.portfolio-hud-card--coc {

    transform:
        perspective(1250px)
        rotateY(-5deg)
        rotateX(-2.5deg) !important;

}


.portfolio-hud-card--change {

    transform:
        perspective(1250px)
        rotateY(6deg)
        rotateX(1.5deg) !important;

}


.portfolio-hud-card--resume {

    transform:
        perspective(1250px)
        rotateY(7deg)
        rotateX(-2deg) !important;

}


/* ==========================================================
   CARD INTERNAL SCALE
   ========================================================== */

.portfolio-hud-card--jarvis
.portfolio-hud-card__surface,
.portfolio-hud-card--coc
.portfolio-hud-card__surface {

    min-height:
        92px !important;

}


.portfolio-hud-card--change
.portfolio-hud-card__surface,
.portfolio-hud-card--resume
.portfolio-hud-card__surface {

    min-height:
        86px !important;

}


/* ==========================================================
   NO CONNECTORS — PERMANENT DESIGN RULE
   ========================================================== */

.portfolio-orbit-network {

    display:
        none !important;

}


/* ==========================================================
   S-RING REMAINS COMPLETELY CLEAR
   ========================================================== */

/*
   Approximate protected desktop area:

       x = 44% → 56%
       y = 33% → 73%

   No DOM card or headline is intentionally positioned
   inside this central native visual region.
*/


/* ==========================================================
   NARROW DESKTOP
   ========================================================== */

@media (
    max-width: 1180px
) {

    .portfolio-hud-v2__copy {

        width:
            37vw !important;

    }


    .portfolio-hud-v2__title-line--primary {

        font-size:
            clamp(
                42px,
                4.05vw,
                55px
            ) !important;

    }


    .portfolio-hud-v2__title-line--automation {

        font-size:
            clamp(
                27px,
                2.75vw,
                35px
            ) !important;

    }


    .portfolio-hud-v2__title-line--digital {

        font-size:
            clamp(
                28px,
                2.70vw,
                35px
            ) !important;

    }

}


/* === SAGAR PHASE 2 FINAL STRUCTURE END === */




/* === SAGAR PHASE 2.1 POLISH BEGIN === */


/* ==========================================================
   1. PREVENT FIRST-PAINT CARD FLASH
   ========================================================== */

/*
   preintro exists in static HTML BEFORE JS executes.

   Therefore the browser's very first paint already has
   the cards/copy prepared for their cinematic entrance.
*/

#portfolioHeroHUD.preintro
.portfolio-hud-v2__copy {

    opacity:
        0 !important;

    filter:
        blur(7px) !important;

}


#portfolioHeroHUD.preintro
.portfolio-hud-card
.portfolio-hud-card__surface {

    opacity:
        0 !important;

    filter:
        blur(8px) !important;

    transform:
        translate3d(
            0,
            30px,
            -110px
        )
        rotateX(8deg)
        scale(.88)
        !important;

}


#portfolioHeroHUD.preintro
.portfolio-hud-card__icon,

#portfolioHeroHUD.preintro
.portfolio-hud-card__text,

#portfolioHeroHUD.preintro
.portfolio-hud-card__arrow {

    opacity:
        0 !important;

}


/* ==========================================================
   2. FIX THE HEADLINE STRUCTURE
   ========================================================== */

/*
   Older broad rule:
       .portfolio-hud-v2__title span { display:block; }

   was forcing the ampersand onto its own line.

   Override it explicitly.
*/

.portfolio-hud-v2__title
.portfolio-hud-v2__title-line--automation {

    display:
        flex !important;

    align-items:
        baseline !important;

    gap:
        .18em !important;

    white-space:
        nowrap !important;

}


.portfolio-hud-v2__title
.portfolio-hud-v2__amp {

    display:
        inline !important;

    flex:
        0 0 auto;

    margin:
        0 !important;

    color:
        rgba(
            247,
            250,
            252,
            .97
        ) !important;

    -webkit-text-fill-color:
        rgba(
            247,
            250,
            252,
            .97
        ) !important;

}


/*
   Final title rhythm:

   HR OPERATIONS
   AUTOMATION &
   DIGITAL SYSTEMS
*/

.portfolio-hud-v2__title-line--primary {

    font-size:
        clamp(
            45px,
            3.60vw,
            59px
        ) !important;

}


.portfolio-hud-v2__title-line--automation {

    margin-top:
        8px !important;

    font-size:
        clamp(
            30px,
            2.45vw,
            38px
        ) !important;

}


.portfolio-hud-v2__title-line--digital {

    margin-top:
        2px !important;

    font-size:
        clamp(
            31px,
            2.46vw,
            38px
        ) !important;

}


/* ==========================================================
   3. SUPPORTING COPY READABILITY
   ========================================================== */

.portfolio-hud-v2__summary {

    width:
        min(
            31.2vw,
            468px
        ) !important;

    margin-top:
        27px !important;

    font-size:
        clamp(
            14px,
            1.00vw,
            16px
        ) !important;

    font-weight:
        400 !important;

    line-height:
        1.56 !important;

    color:
        rgba(
            230,
            238,
            243,
            .88
        ) !important;

}


/* ==========================================================
   4. CAPABILITY STRIP
   ========================================================== */

.portfolio-hud-v2__skills {

    margin-top:
        25px !important;

    gap:
        9px 14px !important;

    font-size:
        clamp(
            8.8px,
            .64vw,
            10px
        ) !important;

    font-weight:
        400 !important;

    letter-spacing:
        .16em !important;

    color:
        rgba(
            193,
            218,
            231,
            .82
        ) !important;

}


.portfolio-hud-v2__skills i {

    opacity:
        .90 !important;

}


/* ==========================================================
   5. SCROLL CUE
   ========================================================== */

.portfolio-hud-v2__scroll {

    margin-top:
        39px !important;

    font-size:
        clamp(
            8.5px,
            .60vw,
            9.5px
        ) !important;

    font-weight:
        400 !important;

    letter-spacing:
        .27em !important;

    color:
        rgba(
            198,
            222,
            234,
            .88
        ) !important;

}


.portfolio-hud-v2__scroll svg {

    width:
        19px !important;

    height:
        19px !important;

}


/* ==========================================================
   6. FINAL CARD ALIGNMENT
   ========================================================== */

/*
   Jarvis stays primary upper-inner.
*/

.portfolio-hud-card--jarvis {

    left:
        56.9vw !important;

    top:
        11.4vh !important;

}


/*
   COC gets the last positioning correction:
   right + slightly upward.

   This maintains a proper breathing corridor around S.
*/

.portfolio-hud-card--coc {

    left:
        59.0vw !important;

    top:
        50.7vh !important;

}


/*
   Change remains farther / upper.
*/

.portfolio-hud-card--change {

    left:
        75.4vw !important;

    top:
        17.3vh !important;

}


/*
   Resume remains farthest / lower.
*/

.portfolio-hud-card--resume {

    left:
        77.7vw !important;

    top:
        64.7vh !important;

}


/* ==========================================================
   7. CARD TYPOGRAPHY READABILITY
   ========================================================== */

.portfolio-hud-card--jarvis
.portfolio-hud-card__text strong,
.portfolio-hud-card--coc
.portfolio-hud-card__text strong {

    font-size:
        clamp(
            12px,
            .86vw,
            14px
        ) !important;

}


.portfolio-hud-card--change
.portfolio-hud-card__text strong,
.portfolio-hud-card--resume
.portfolio-hud-card__text strong {

    font-size:
        clamp(
            11px,
            .80vw,
            13px
        ) !important;

}


.portfolio-hud-card__text em {

    margin-top:
        3px !important;

    font-size:
        clamp(
            8.5px,
            .61vw,
            9.8px
        ) !important;

    line-height:
        1.30 !important;

    color:
        rgba(
            167,
            211,
            235,
            .87
        ) !important;

}


.portfolio-hud-card__meta {

    margin-top:
        9px !important;

}


.portfolio-hud-card__meta span {

    font-size:
        7.2px !important;

    min-height:
        18px !important;

    padding:
        3px 8px !important;

    color:
        rgba(
            208,
            233,
            246,
            .84
        ) !important;

}


/* ==========================================================
   8. PRIMARY / SECONDARY CARD VISIBILITY
   ========================================================== */

.portfolio-hud-card--jarvis {

    opacity:
        1 !important;

}


.portfolio-hud-card--coc {

    opacity:
        .98 !important;

}


.portfolio-hud-card--change {

    opacity:
        .95 !important;

}


.portfolio-hud-card--resume {

    opacity:
        .93 !important;

}


/* ==========================================================
   9. KEEP CONNECTOR GRAPHICS PERMANENTLY OFF
   ========================================================== */

.portfolio-orbit-network {

    display:
        none !important;

}


/* === SAGAR PHASE 2.1 POLISH END === */




/* === SAGAR PHASE 2 PARTICLE GLOW POLISH BEGIN === */


/* ==========================================================
   ANIMATABLE CARD LIGHT ANGLE
   ========================================================== */

@property --sagar-card-light-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}


/* ==========================================================
   FINAL HERO TYPOGRAPHY
   USER-APPROVED: ALL THREE MAIN LINES = 48PX
   ========================================================== */

.portfolio-hud-v2__title {

    line-height:
        .98 !important;

}


.portfolio-hud-v2__title-line--primary,
.portfolio-hud-v2__title-line--automation,
.portfolio-hud-v2__title-line--digital {

    font-size:
        48px !important;

    font-weight:
        680 !important;

    letter-spacing:
        -.043em !important;

    line-height:
        .98 !important;

}


/* HR OPERATIONS */

.portfolio-hud-v2__title-line--primary {

    margin:
        0 !important;

}


/* AUTOMATION & */

.portfolio-hud-v2__title
.portfolio-hud-v2__title-line--automation {

    display:
        flex !important;

    align-items:
        baseline !important;

    gap:
        .18em !important;

    margin-top:
        7px !important;

    white-space:
        nowrap !important;

}


/* DIGITAL SYSTEMS */

.portfolio-hud-v2__title-line--digital {

    margin-top:
        3px !important;

}


/* & must remain beside AUTOMATION */

.portfolio-hud-v2__amp {

    display:
        inline !important;

    margin:
        0 !important;

    color:
        rgba(
            248,
            250,
            252,
            .98
        ) !important;

    -webkit-text-fill-color:
        rgba(
            248,
            250,
            252,
            .98
        ) !important;

}


/* ==========================================================
   AUTOMATION ACCENT
   ========================================================== */

.portfolio-hud-v2__accent {

    background:
        linear-gradient(
            96deg,
            #72d4f8 0%,
            #95e4ff 38%,
            #72cdf5 73%,
            #aeeaff 100%
        ) !important;

    background-size:
        180% 100% !important;

    background-clip:
        text !important;

    -webkit-background-clip:
        text !important;

    -webkit-text-fill-color:
        transparent !important;

    animation:
        sagarAutomationLight
        7.5s
        ease-in-out
        infinite;

}


@keyframes sagarAutomationLight {

    0%,
    100% {

        background-position:
            0% 50%;

    }

    50% {

        background-position:
            100% 50%;

    }

}


/* ==========================================================
   SUPPORTING COPY
   ========================================================== */

.portfolio-hud-v2__summary {

    font-size:
        15.5px !important;

    line-height:
        1.57 !important;

    color:
        rgba(
            231,
            239,
            244,
            .89
        ) !important;

}


.portfolio-hud-v2__skills {

    font-size:
        9.7px !important;

    color:
        rgba(
            198,
            221,
            233,
            .84
        ) !important;

}


.portfolio-hud-v2__scroll {

    font-size:
        9.2px !important;

    color:
        rgba(
            202,
            226,
            237,
            .89
        ) !important;

}


/* ==========================================================
   PARTICLE-LIGHT GLASS SYSTEM
   ========================================================== */

/*
   We do NOT sample Hydra pixels.

   Instead each DOM glass card uses the same visual palette
   currently present in the native particles/ring:

   cyan
   electric blue
   violet
   magenta/pink
   amber/gold
   cyan

   The highlight travels around the border slowly.
*/


.portfolio-hud-card {

    --sagar-card-light-angle:
        0deg;

    --sagar-card-cyan:
        rgba(89,222,255,.92);

    --sagar-card-blue:
        rgba(74,157,255,.84);

    --sagar-card-violet:
        rgba(164,106,255,.82);

    --sagar-card-pink:
        rgba(255,92,171,.84);

    --sagar-card-amber:
        rgba(255,177,66,.90);

}


/* ==========================================================
   GLASS CARD BODY
   ========================================================== */

.portfolio-hud-card__surface {

    position:
        relative !important;

    overflow:
        visible !important;

    isolation:
        isolate;

    border:
        1px solid
        transparent !important;

    background:

        linear-gradient(
            135deg,
            rgba(7,24,36,.78),
            rgba(3,13,21,.67)
        )
        padding-box,

        conic-gradient(
            from
            var(--sagar-card-light-angle),

            rgba(74,190,240,.24) 0deg,

            var(--sagar-card-cyan) 32deg,

            rgba(70,154,255,.35) 80deg,

            rgba(160,100,255,.28) 135deg,

            var(--sagar-card-pink) 181deg,

            rgba(255,113,117,.32) 225deg,

            var(--sagar-card-amber) 275deg,

            rgba(255,209,109,.25) 315deg,

            rgba(74,190,240,.24) 360deg
        )
        border-box
        !important;

    box-shadow:

        inset 0 1px 0
        rgba(255,255,255,.055),

        inset 0 -1px 0
        rgba(80,180,220,.025),

        0 18px 44px
        rgba(0,0,0,.27),

        0 0 23px
        rgba(70,185,235,.055)
        !important;

    backdrop-filter:
        blur(11px)
        saturate(1.12)
        !important;

    -webkit-backdrop-filter:
        blur(11px)
        saturate(1.12)
        !important;

    animation:
        sagarParticleCardRim
        9s
        linear
        infinite;

}


/* ==========================================================
   MOVING EXTERNAL PARTICLE REFLECTION
   ========================================================== */

.portfolio-hud-card__surface::after {

    content:
        "";

    position:
        absolute;

    z-index:
        -1;

    inset:
        -2px;

    border-radius:
        inherit;

    pointer-events:
        none;

    background:

        conic-gradient(
            from
            var(--sagar-card-light-angle),

            transparent 0deg,

            rgba(78,221,255,.10) 20deg,

            rgba(78,221,255,.46) 43deg,

            transparent 72deg,

            transparent 142deg,

            rgba(255,91,171,.38) 174deg,

            transparent 205deg,

            transparent 252deg,

            rgba(255,176,63,.44) 283deg,

            transparent 314deg,

            transparent 360deg
        );

    filter:
        blur(7px);

    opacity:
        .55;

    animation:
        sagarCardGlowBreath
        5.6s
        ease-in-out
        infinite;

}


/* ==========================================================
   INTERNAL LIGHT SWEEP
   ========================================================== */

.portfolio-hud-card__surface::before {

    content:
        "";

    position:
        absolute;

    z-index:
        0;

    inset:
        1px;

    border-radius:
        inherit;

    pointer-events:
        none;

    opacity:
        .58;

    background:

        radial-gradient(
            circle at 18% 0%,
            rgba(88,221,255,.11),
            transparent 31%
        ),

        linear-gradient(
            115deg,

            transparent 0%,

            transparent 34%,

            rgba(137,223,255,.07) 45%,

            rgba(255,167,93,.055) 50%,

            transparent 61%,

            transparent 100%
        );

    background-size:
        100% 100%,
        220% 100%;

    animation:
        sagarInternalParticleSweep
        7.4s
        ease-in-out
        infinite;

}


/* ==========================================================
   CARD LIGHT MOTION
   ========================================================== */

@keyframes sagarParticleCardRim {

    from {

        --sagar-card-light-angle:
            0deg;

    }

    to {

        --sagar-card-light-angle:
            360deg;

    }

}


@keyframes sagarCardGlowBreath {

    0%,
    100% {

        opacity:
            .30;

        filter:
            blur(8px);

    }

    48% {

        opacity:
            .66;

        filter:
            blur(10px);

    }

    70% {

        opacity:
            .46;

        filter:
            blur(7px);

    }

}


@keyframes sagarInternalParticleSweep {

    0% {

        background-position:
            0 0,
            115% 0;

    }

    52% {

        background-position:
            0 0,
            -35% 0;

    }

    100% {

        background-position:
            0 0,
            -85% 0;

    }

}


/* ==========================================================
   UNIQUE CARD PHASE OFFSETS

   Same light family.
   Different moments.
   Prevents all 4 cards glowing together.
   ========================================================== */

.portfolio-hud-card--jarvis
.portfolio-hud-card__surface {

    animation-delay:
        0s;

}


.portfolio-hud-card--coc
.portfolio-hud-card__surface {

    animation-delay:
        -2.2s;

}


.portfolio-hud-card--change
.portfolio-hud-card__surface {

    animation-delay:
        -4.5s;

}


.portfolio-hud-card--resume
.portfolio-hud-card__surface {

    animation-delay:
        -6.6s;

}


/* ==========================================================
   ICONS CATCH THE SAME ENVIRONMENTAL LIGHT
   ========================================================== */

.portfolio-hud-card__icon {

    border:
        1px solid
        rgba(116,218,255,.23)
        !important;

    background:

        radial-gradient(
            circle at 28% 20%,
            rgba(126,224,255,.20),
            transparent 44%
        ),

        linear-gradient(
            145deg,
            rgba(35,122,185,.22),
            rgba(10,49,79,.13)
        )
        !important;

    box-shadow:

        inset 0 1px 0
        rgba(255,255,255,.06),

        0 0 14px
        rgba(69,197,249,.09);

}


/* Change Request */

.portfolio-hud-card--change
.portfolio-hud-card__icon {

    color:
        #77efd0 !important;

}


/* COC */

.portfolio-hud-card--coc
.portfolio-hud-card__icon {

    color:
        #9be4ff !important;

}


/* Resume */

.portfolio-hud-card--resume
.portfolio-hud-card__icon {

    color:
        #c3a6ff !important;

}


/* ==========================================================
   CARD TEXT READABILITY
   ========================================================== */

.portfolio-hud-card__text strong {

    color:
        rgba(
            250,
            252,
            254,
            .98
        ) !important;

}


.portfolio-hud-card__text em {

    color:
        rgba(
            174,
            216,
            237,
            .88
        ) !important;

}


.portfolio-hud-card__meta span {

    background:
        rgba(65,148,198,.09)
        !important;

    border-color:
        rgba(118,205,248,.18)
        !important;

}


/* ==========================================================
   HOVER — RESTRAINED PREVIEW OF PHASE 3 DEPTH
   ========================================================== */

@media (hover:hover) {

    .portfolio-hud-card__surface:hover {

        box-shadow:

            inset 0 1px 0
            rgba(255,255,255,.075),

            0 21px 52px
            rgba(0,0,0,.31),

            0 0 32px
            rgba(78,202,247,.11)
            !important;

    }

}


/* ==========================================================
   RESPONSIVE HEADLINE
   ========================================================== */

@media (
    max-width: 1180px
) {

    .portfolio-hud-v2__title-line--primary,
    .portfolio-hud-v2__title-line--automation,
    .portfolio-hud-v2__title-line--digital {

        font-size:
            42px !important;

    }

}


@media (
    max-width: 900px
) {

    .portfolio-hud-v2__title-line--primary,
    .portfolio-hud-v2__title-line--automation,
    .portfolio-hud-v2__title-line--digital {

        font-size:
            clamp(
                31px,
                8vw,
                40px
            ) !important;

    }

}


/* ==========================================================
   ACCESSIBILITY / LOW-MOTION FALLBACK
   ========================================================== */

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

    .portfolio-hud-card__surface,
    .portfolio-hud-card__surface::before,
    .portfolio-hud-card__surface::after,
    .portfolio-hud-v2__accent {

        animation:
            none !important;

    }

}


/* === SAGAR PHASE 2 PARTICLE GLOW POLISH END === */




/* === SAGAR PROFESSIONAL CARD V7 BEGIN === */


/* ==========================================================
   HEADLINE — FINAL USER-APPROVED STRUCTURE

   HR OPERATIONS
   AUTOMATION
   DIGITAL SYSTEMS

   All three = 48px desktop
   ========================================================== */

.portfolio-hud-v2__title-line--primary,
.portfolio-hud-v2__title-line--automation,
.portfolio-hud-v2__title-line--digital {

    display: block !important;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif !important;

    font-size: 48px !important;

    font-weight: 680 !important;

    line-height: .98 !important;

    letter-spacing: -.043em !important;

    white-space: nowrap !important;

}


.portfolio-hud-v2__title
.portfolio-hud-v2__title-line--automation {

    display: block !important;

    margin-top: 7px !important;

}


.portfolio-hud-v2__title-line--digital {

    margin-top: 4px !important;

}


/* old ampersand rule must have no visual influence */

.portfolio-hud-v2__amp {

    display: none !important;

}


/* ==========================================================
   AUTOMATION ACCENT
   Refined cyan only — no rainbow typography
   ========================================================== */

.portfolio-hud-v2__accent {

    background:
        linear-gradient(
            95deg,
            #72d4f8 0%,
            #a9e9ff 47%,
            #73d1f7 100%
        ) !important;

    background-size: 170% 100% !important;

    background-clip: text !important;

    -webkit-background-clip: text !important;

    -webkit-text-fill-color: transparent !important;

    animation:
        sagarHeadlineLightV7
        8s
        ease-in-out
        infinite !important;

}


@keyframes sagarHeadlineLightV7 {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

}


/* ==========================================================
   PROFESSIONAL CARD SYSTEM

   IMPORTANT:
   no rainbow body
   no large colored blobs
   no heavy neon

   Particle colors appear only as environmental rim light.
   ========================================================== */

.portfolio-hud-card {

    --card-cyan:  87, 216, 255;
    --card-blue:  82, 154, 255;
    --card-pink:  229, 100, 187;
    --card-gold:  240, 176, 82;

}


/* ==========================================================
   NEUTRAL DEEP GLASS BODY
   ========================================================== */

.portfolio-hud-card__surface {

    position: relative !important;

    isolation: isolate !important;

    overflow: hidden !important;

    border:
        1px solid
        rgba(
            118,
            202,
            240,
            .24
        ) !important;

    background:

        linear-gradient(
            145deg,
            rgba(10,27,39,.78) 0%,
            rgba(5,18,28,.76) 48%,
            rgba(3,13,21,.82) 100%
        ) !important;

    backdrop-filter:
        blur(13px)
        saturate(1.08)
        !important;

    -webkit-backdrop-filter:
        blur(13px)
        saturate(1.08)
        !important;

    box-shadow:

        inset 0 1px 0
        rgba(255,255,255,.060),

        inset 0 -1px 0
        rgba(69,167,218,.035),

        0 17px 42px
        rgba(0,0,0,.29),

        0 0 0 1px
        rgba(36,124,166,.025)
        !important;

}


/* ==========================================================
   REMOVE PREVIOUS LARGE RAINBOW BODY WASH
   ========================================================== */

.portfolio-hud-card__surface::before {

    content: "" !important;

    position: absolute !important;

    z-index: 0 !important;

    inset: 0 !important;

    pointer-events: none !important;

    border-radius: inherit !important;

    opacity: .42 !important;

    background:

        linear-gradient(
            115deg,
            transparent 0%,
            transparent 38%,
            rgba(133,220,255,.055) 48%,
            transparent 58%,
            transparent 100%
        ) !important;

    background-size:
        240% 100% !important;

    animation:
        sagarGlassSweepV7
        8.5s
        ease-in-out
        infinite !important;

    filter: none !important;

}


@keyframes sagarGlassSweepV7 {

    0% {
        background-position: 140% 0%;
    }

    50% {
        background-position: -20% 0%;
    }

    100% {
        background-position: -100% 0%;
    }

}


/* ==========================================================
   THIN PARTICLE-COLOUR EDGE LIGHT

   This is where cyan / blue / pink / amber move.
   The body itself stays dark.
   ========================================================== */

.portfolio-hud-card__surface::after {

    content: "" !important;

    position: absolute !important;

    z-index: 4 !important;

    inset: -1px !important;

    border-radius: inherit !important;

    padding: 1px !important;

    pointer-events: none !important;

    background:

        conic-gradient(
            from var(--sagar-card-light-angle),

            rgba(var(--card-cyan), .10) 0deg,

            rgba(var(--card-cyan), .88) 22deg,

            rgba(var(--card-blue), .18) 56deg,

            rgba(var(--card-blue), .08) 110deg,

            rgba(var(--card-pink), .10) 150deg,

            rgba(var(--card-pink), .72) 179deg,

            rgba(var(--card-pink), .08) 211deg,

            rgba(var(--card-gold), .10) 258deg,

            rgba(var(--card-gold), .76) 284deg,

            rgba(var(--card-gold), .07) 318deg,

            rgba(var(--card-cyan), .10) 360deg
        ) !important;

    -webkit-mask:
        linear-gradient(#fff 0 0)
        content-box,
        linear-gradient(#fff 0 0)
        !important;

    -webkit-mask-composite:
        xor !important;

    mask-composite:
        exclude !important;

    filter:
        drop-shadow(
            0 0 4px
            rgba(var(--card-cyan), .15)
        ) !important;

    opacity:
        .82 !important;

    animation:
        sagarProfessionalRimV7
        10s
        linear
        infinite !important;

}


@keyframes sagarProfessionalRimV7 {

    from {
        --sagar-card-light-angle: 0deg;
    }

    to {
        --sagar-card-light-angle: 360deg;
    }

}


/* ==========================================================
   DIFFERENT LIGHT PHASE PER CARD
   Prevent synchronized flashing
   ========================================================== */

.portfolio-hud-card--jarvis
.portfolio-hud-card__surface::after {

    animation-delay: 0s !important;

}


.portfolio-hud-card--coc
.portfolio-hud-card__surface::after {

    animation-delay: -2.4s !important;

}


.portfolio-hud-card--change
.portfolio-hud-card__surface::after {

    animation-delay: -4.8s !important;

}


.portfolio-hud-card--resume
.portfolio-hud-card__surface::after {

    animation-delay: -7.1s !important;

}


/* ==========================================================
   INDIVIDUAL CARD ENVIRONMENTAL ACCENT
   Very subtle only.
   ========================================================== */

.portfolio-hud-card--jarvis
.portfolio-hud-card__surface {

    border-color:
        rgba(
            86,
            205,
            250,
            .29
        ) !important;

}


.portfolio-hud-card--change
.portfolio-hud-card__surface {

    border-color:
        rgba(
            90,
            222,
            193,
            .25
        ) !important;

}


.portfolio-hud-card--coc
.portfolio-hud-card__surface {

    border-color:
        rgba(
            92,
            191,
            250,
            .27
        ) !important;

}


.portfolio-hud-card--resume
.portfolio-hud-card__surface {

    border-color:
        rgba(
            165,
            128,
            246,
            .25
        ) !important;

}


/* ==========================================================
   ICONS — PREMIUM, NOT NEON BOXES
   ========================================================== */

.portfolio-hud-card__icon {

    background:

        linear-gradient(
            145deg,
            rgba(37,105,145,.22),
            rgba(7,35,55,.30)
        ) !important;

    border:
        1px solid
        rgba(
            118,
            210,
            250,
            .20
        ) !important;

    box-shadow:

        inset 0 1px 0
        rgba(255,255,255,.055),

        0 0 13px
        rgba(77,193,241,.055)
        !important;

}


/* ==========================================================
   TEXT — PROFESSIONAL HIERARCHY
   ========================================================== */

.portfolio-hud-card__text strong {

    color:
        rgba(
            248,
            251,
            253,
            .96
        ) !important;

    font-weight:
        650 !important;

}


.portfolio-hud-card__text em {

    color:
        rgba(
            168,
            208,
            229,
            .79
        ) !important;

}


.portfolio-hud-card__meta span {

    color:
        rgba(
            188,
            220,
            237,
            .78
        ) !important;

    border:
        1px solid
        rgba(
            107,
            194,
            236,
            .14
        ) !important;

    background:
        rgba(
            54,
            132,
            177,
            .065
        ) !important;

}


/* ==========================================================
   ARROW — QUIETER
   ========================================================== */

.portfolio-hud-card__arrow {

    border-color:
        rgba(
            128,
            199,
            230,
            .20
        ) !important;

    color:
        rgba(
            192,
            225,
            239,
            .74
        ) !important;

}


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

   Slight forward emphasis only.
   No giant glow.
   ========================================================== */

@media (hover:hover) {

    .portfolio-hud-card__surface:hover {

        border-color:
            rgba(
                116,
                219,
                255,
                .39
            ) !important;

        box-shadow:

            inset 0 1px 0
            rgba(255,255,255,.075),

            0 20px 48px
            rgba(0,0,0,.32),

            0 0 24px
            rgba(83,195,239,.075)
            !important;

    }

}


/* ==========================================================
   SMALLER VIEWPORT
   ========================================================== */

@media (max-width:1180px) {

    .portfolio-hud-v2__title-line--primary,
    .portfolio-hud-v2__title-line--automation,
    .portfolio-hud-v2__title-line--digital {

        font-size:
            42px !important;

    }

}


@media (max-width:900px) {

    .portfolio-hud-v2__title-line--primary,
    .portfolio-hud-v2__title-line--automation,
    .portfolio-hud-v2__title-line--digital {

        font-size:
            clamp(
                31px,
                8vw,
                40px
            ) !important;

    }

}


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

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

    .portfolio-hud-card__surface::before,
    .portfolio-hud-card__surface::after,
    .portfolio-hud-v2__accent {

        animation:
            none !important;

    }

}


/* === SAGAR PROFESSIONAL CARD V7 END === */




/* === SAGAR DOM BRIGHTNESS V8 BEGIN === */

/* HERO EYEBROW */
.portfolio-hud-v2__eyebrow,
.portfolio-hud-v2__eyebrow span,
.portfolio-hud-v2__eyebrow a {
    color: rgba(194, 223, 240, 0.90) !important;
    text-shadow: 0 0 10px rgba(105, 200, 255, 0.08) !important;
}

/* HEADLINE */
.portfolio-hud-v2__title-line--primary,
.portfolio-hud-v2__title-line--digital {
    color: rgba(248, 250, 252, 0.97) !important;
    text-shadow:
        0 0 16px rgba(255,255,255,0.035),
        0 0 26px rgba(107, 196, 255, 0.035) !important;
}

.portfolio-hud-v2__title-line--automation,
.portfolio-hud-v2__accent {
    background: linear-gradient(
        90deg,
        #7fdcff 0%,
        #b7efff 45%,
        #7acfff 100%
    ) !important;
    background-size: 170% 100% !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: none !important;
}

/* SUMMARY */
.portfolio-hud-v2__summary,
.portfolio-hud-v2__summary p {
    color: rgba(231, 239, 245, 0.90) !important;
    text-shadow: 0 0 14px rgba(130, 190, 220, 0.035) !important;
}

/* CAPABILITY STRIP */
.portfolio-hud-v2__capabilities,
.portfolio-hud-v2__capabilities span,
.portfolio-hud-v2__capabilities li,
.portfolio-hud-v2__meta,
.portfolio-hud-v2__meta span {
    color: rgba(180, 212, 231, 0.88) !important;
}

/* SCROLL CTA */
.portfolio-hud-v2__scroll,
.portfolio-hud-v2__scroll span,
.portfolio-hud-v2__scroll-label,
.portfolio-hud-v2__scroll-arrow {
    color: rgba(205, 232, 244, 0.92) !important;
    opacity: 1 !important;
}

/* CARDS: BRIGHTER BUT STILL PROFESSIONAL */
.portfolio-hud-card__surface {
    background:
        linear-gradient(
            145deg,
            rgba(12, 30, 44, 0.86) 0%,
            rgba(8, 22, 34, 0.83) 48%,
            rgba(5, 16, 26, 0.88) 100%
        ) !important;
    border: 1px solid rgba(118, 210, 250, 0.34) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -1px 0 rgba(90,180,225,0.05),
        0 18px 46px rgba(0,0,0,0.28),
        0 0 28px rgba(74, 178, 255, 0.055) !important;
}

/* GLASS SWEEP LITTLE MORE VISIBLE */
.portfolio-hud-card__surface::before {
    opacity: 0.58 !important;
}

/* RIM LITTLE STRONGER */
.portfolio-hud-card__surface::after {
    opacity: 0.95 !important;
    filter:
        drop-shadow(0 0 6px rgba(110, 205, 255, 0.18))
        drop-shadow(0 0 12px rgba(120, 170, 255, 0.06)) !important;
}

/* CARD TEXT */
.portfolio-hud-card__text strong,
.portfolio-hud-card__title {
    color: rgba(248, 251, 253, 0.98) !important;
}

.portfolio-hud-card__text em,
.portfolio-hud-card__subtitle,
.portfolio-hud-card__desc,
.portfolio-hud-card__description {
    color: rgba(188, 218, 235, 0.84) !important;
}

/* META CHIPS */
.portfolio-hud-card__meta span,
.portfolio-hud-card__pill,
.portfolio-hud-card__tag {
    color: rgba(220, 240, 250, 0.90) !important;
    background: rgba(80, 150, 190, 0.10) !important;
    border: 1px solid rgba(120, 205, 245, 0.18) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04) !important;
}

/* ICONS */
.portfolio-hud-card__icon {
    background:
        linear-gradient(
            145deg,
            rgba(38, 108, 145, 0.28),
            rgba(10, 42, 62, 0.34)
        ) !important;
    border: 1px solid rgba(136, 218, 255, 0.28) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 0 18px rgba(88, 195, 255, 0.08) !important;
}

/* ARROW */
.portfolio-hud-card__arrow {
    color: rgba(214, 237, 246, 0.88) !important;
    border-color: rgba(128, 208, 240, 0.24) !important;
}

/* HOVER */
@media (hover:hover) {
    .portfolio-hud-card__surface:hover {
        border-color: rgba(128, 224, 255, 0.46) !important;
        box-shadow:
            inset 0 1px 0 rgba(255,255,255,0.09),
            0 20px 54px rgba(0,0,0,0.30),
            0 0 32px rgba(90, 200, 255, 0.09) !important;
    }
}

/* === SAGAR DOM BRIGHTNESS V8 END === */




/* === SAGAR PHASE 3 SUSPENDED GLASS BEGIN === */


/* ==========================================================
   PHASE 3 FOUNDATION
   ========================================================== */

#portfolioHeroHUD.phase3-ready {

    /*
       The HUD itself continues to be controlled by
       PortfolioHeroHUD.js during native-ring exit.
    */

    --phase3-focus-transition:
        620ms
        cubic-bezier(.16,.84,.22,1);

}


/* ==========================================================
   CARD DEPTH VARIABLES
   ========================================================== */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card {

    --phase3-x:
        0px;

    --phase3-y:
        0px;

    --phase3-z:
        0px;

    --phase3-rx:
        0deg;

    --phase3-ry:
        0deg;

    transform-style:
        preserve-3d !important;

    backface-visibility:
        hidden;

    will-change:
        transform,
        opacity;

}


/* ==========================================================
   BASE LOCAL ORIENTATION + LIVE DEPTH
   ========================================================== */


/* Jarvis — nearest */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card--jarvis {

    transform:

        perspective(1350px)

        translate3d(
            var(--phase3-x),
            var(--phase3-y),
            var(--phase3-z)
        )

        rotateX(
            calc(
                2deg +
                var(--phase3-rx)
            )
        )

        rotateY(
            calc(
                -4deg +
                var(--phase3-ry)
            )
        )

        !important;

}


/* COC — second nearest */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card--coc {

    transform:

        perspective(1350px)

        translate3d(
            var(--phase3-x),
            var(--phase3-y),
            var(--phase3-z)
        )

        rotateX(
            calc(
                -2.5deg +
                var(--phase3-rx)
            )
        )

        rotateY(
            calc(
                -5deg +
                var(--phase3-ry)
            )
        )

        !important;

}


/* Change — farther */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card--change {

    transform:

        perspective(1350px)

        translate3d(
            var(--phase3-x),
            var(--phase3-y),
            var(--phase3-z)
        )

        rotateX(
            calc(
                1.5deg +
                var(--phase3-rx)
            )
        )

        rotateY(
            calc(
                6deg +
                var(--phase3-ry)
            )
        )

        !important;

}


/* Resume — farthest */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card--resume {

    transform:

        perspective(1350px)

        translate3d(
            var(--phase3-x),
            var(--phase3-y),
            var(--phase3-z)
        )

        rotateX(
            calc(
                -2deg +
                var(--phase3-rx)
            )
        )

        rotateY(
            calc(
                7deg +
                var(--phase3-ry)
            )
        )

        !important;

}


/* ==========================================================
   HOVER — ROTATE TOWARD VIEWER
   ========================================================== */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card.phase3-hovered {

    transform:

        perspective(1350px)

        translate3d(
            var(--phase3-x),
            var(--phase3-y),
            var(--phase3-z)
        )

        rotateX(
            var(--phase3-rx)
        )

        rotateY(
            var(--phase3-ry)
        )

        scale(1.018)

        !important;

    z-index:
        20 !important;

}


/* ==========================================================
   OTHER CARDS QUIETEN DURING FOCUS
   ========================================================== */

#portfolioHeroHUD.phase3-has-hover
.portfolio-hud-card:not(.phase3-hovered) {

    opacity:
        .72 !important;

    filter:
        saturate(.76)
        brightness(.84);

}


/* ==========================================================
   SURFACE — SUSPENDED GLASS
   ========================================================== */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card
.portfolio-hud-card__surface {

    transform-style:
        preserve-3d;

    transition:

        transform
        var(--phase3-focus-transition),

        border-color
        520ms
        ease,

        box-shadow
        620ms
        ease,

        background
        620ms
        ease

        !important;

}


/*
   Hover does NOT create a neon explosion.

   It moves the glass slightly toward the viewer and
   increases environmental response.
*/

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card.phase3-hovered
.portfolio-hud-card__surface {

    transform:
        translate3d(
            0,
            -2px,
            18px
        )
        scale(1.012)
        !important;

    border-color:
        rgba(
            142,
            221,
            255,
            .48
        ) !important;

    background:

        linear-gradient(
            145deg,
            rgba(14,34,48,.91) 0%,
            rgba(8,23,34,.87) 48%,
            rgba(5,17,27,.92) 100%
        ) !important;

    box-shadow:

        inset 0 1px 0
        rgba(255,255,255,.095),

        inset 0 -1px 0
        rgba(95,185,225,.055),

        0 25px 60px
        rgba(0,0,0,.34),

        0 0 30px
        rgba(89,198,244,.095)

        !important;

}


/* ==========================================================
   ENVIRONMENTAL REFLECTION RESPONSE
   ========================================================== */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card
.portfolio-hud-card__surface::before {

    transition:
        opacity
        650ms
        ease,

        filter
        650ms
        ease
        !important;

}


#portfolioHeroHUD.phase3-ready
.portfolio-hud-card.phase3-hovered
.portfolio-hud-card__surface::before {

    opacity:
        .76 !important;

}


/* Rim strengthens only locally */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card
.portfolio-hud-card__surface::after {

    transition:
        opacity
        520ms
        ease,

        filter
        520ms
        ease
        !important;

}


#portfolioHeroHUD.phase3-ready
.portfolio-hud-card.phase3-hovered
.portfolio-hud-card__surface::after {

    opacity:
        1 !important;

    filter:

        drop-shadow(
            0 0 7px
            rgba(110,205,255,.20)
        )

        drop-shadow(
            0 0 15px
            rgba(125,170,255,.065)
        )

        !important;

}


/* ==========================================================
   INTERNAL DEPTH
   ========================================================== */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card__icon {

    transform:
        translateZ(18px)
        !important;

}


#portfolioHeroHUD.phase3-ready
.portfolio-hud-card__text {

    transform:
        translateZ(22px)
        !important;

}


#portfolioHeroHUD.phase3-ready
.portfolio-hud-card__arrow {

    transform:
        translateZ(20px)
        !important;

}


/* ==========================================================
   DESCRIPTION — PRESENT BUT HIDDEN AT REST
   ========================================================== */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card__text p {

    display:
        block !important;

    max-height:
        0;

    overflow:
        hidden;

    opacity:
        0;

    margin:
        0 !important;

    transform:
        translateY(5px);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    font-size:
        clamp(
            8.3px,
            .57vw,
            9.5px
        );

    line-height:
        1.38;

    color:
        rgba(
            190,
            218,
            232,
            .78
        );

    transition:

        max-height
        650ms
        cubic-bezier(.16,.84,.22,1),

        opacity
        430ms
        ease,

        margin
        650ms
        cubic-bezier(.16,.84,.22,1),

        transform
        650ms
        cubic-bezier(.16,.84,.22,1)

        !important;

}


/* Hover reveal */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card.phase3-hovered
.portfolio-hud-card__text p {

    max-height:
        58px;

    opacity:
        1;

    margin:
        7px 0 1px
        !important;

    transform:
        translateY(0);

}


/* ==========================================================
   THIRD TAG APPEARS WITH DESCRIPTION
   ========================================================== */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card__meta
span:nth-child(n+3) {

    display:
        none !important;

}


#portfolioHeroHUD.phase3-ready
.portfolio-hud-card.phase3-hovered
.portfolio-hud-card__meta
span:nth-child(n+3) {

    display:
        inline-flex !important;

}


/* ==========================================================
   CARD CONTENT TRANSITIONS
   ========================================================== */

#portfolioHeroHUD.phase3-ready
.portfolio-hud-card__icon,
#portfolioHeroHUD.phase3-ready
.portfolio-hud-card__text,
#portfolioHeroHUD.phase3-ready
.portfolio-hud-card__arrow {

    transition:

        transform
        var(--phase3-focus-transition),

        opacity
        420ms
        ease

        !important;

}


/* ==========================================================
   EXIT HANDOFF
   ========================================================== */

/*
   Existing PortfolioHeroHUD controls the entire HUD transform.

   Phase 3 merely neutralizes interaction and lets that
   approved native-ring choreography take over.
*/

#portfolioHeroHUD.native-ring-exit
.portfolio-hud-card {

    pointer-events:
        none !important;

}


#portfolioHeroHUD.native-ring-exit
.portfolio-hud-card.phase3-hovered {

    transform:

        perspective(1350px)

        translate3d(
            0,
            0,
            0
        )

        !important;

}


#portfolioHeroHUD.native-ring-exit
.portfolio-hud-card__text p {

    max-height:
        0 !important;

    opacity:
        0 !important;

    margin:
        0 !important;

}


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

@media (
    hover:none
) {

    #portfolioHeroHUD.phase3-ready
    .portfolio-hud-card {

        --phase3-x:
            0px !important;

        --phase3-y:
            0px !important;

        --phase3-z:
            0px !important;

        --phase3-rx:
            0deg !important;

        --phase3-ry:
            0deg !important;

    }


    #portfolioHeroHUD.phase3-ready
    .portfolio-hud-card__text p {

        display:
            none !important;

    }

}


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

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

    #portfolioHeroHUD.phase3-ready
    .portfolio-hud-card {

        --phase3-x:
            0px !important;

        --phase3-y:
            0px !important;

        --phase3-z:
            0px !important;

        --phase3-rx:
            0deg !important;

        --phase3-ry:
            0deg !important;

    }

}


/* === SAGAR PHASE 3 SUSPENDED GLASS END === */




/* === SAGAR PROJECT BEACONS V1 BEGIN === */


/* ==========================================================
   PROJECT BEACON SYSTEM

   No cards.
   No glass rectangles.
   No backdrop filters.
   No continuous animation.

   Existing card DOM is reused only as positioning/content.
   ========================================================== */


/* ----------------------------------------------------------
   OUTER PROJECT OBJECT
---------------------------------------------------------- */

.portfolio-hud-card {

    width:
        auto !important;

    min-width:
        0 !important;

    max-width:
        none !important;

    height:
        auto !important;

    overflow:
        visible !important;

    background:
        transparent !important;

    border:
        0 !important;

    box-shadow:
        none !important;

    filter:
        none !important;

    backdrop-filter:
        none !important;

    -webkit-backdrop-filter:
        none !important;

}


/* ----------------------------------------------------------
   REMOVE ALL RECTANGULAR CARD SURFACES
---------------------------------------------------------- */

.portfolio-hud-card
.portfolio-hud-card__surface {

    position:
        relative !important;

    display:
        grid !important;

    grid-template-columns:
        66px
        minmax(0, auto)
        24px !important;

    align-items:
        center !important;

    column-gap:
        14px !important;

    width:
        auto !important;

    min-width:
        0 !important;

    min-height:
        0 !important;

    padding:
        0 !important;

    overflow:
        visible !important;

    border:
        0 !important;

    border-radius:
        0 !important;

    background:
        transparent !important;

    box-shadow:
        none !important;

    filter:
        none !important;

    backdrop-filter:
        none !important;

    -webkit-backdrop-filter:
        none !important;

    transform:
        none !important;

}


/*
   Kill old card glass overlays completely.
*/

.portfolio-hud-card
.portfolio-hud-card__surface::before,

.portfolio-hud-card
.portfolio-hud-card__surface::after {

    content:
        none !important;

    display:
        none !important;

}


/* ==========================================================
   LUMINOUS PROJECT ORB
   ========================================================== */

.portfolio-hud-card__icon {

    position:
        relative !important;

    width:
        62px !important;

    height:
        62px !important;

    display:
        grid !important;

    place-items:
        center !important;

    border-radius:
        50% !important;

    border:
        1px solid
        rgba(
            126,
            221,
            255,
            .52
        ) !important;

    background:

        radial-gradient(
            circle at 38% 31%,
            rgba(214,248,255,.30) 0%,
            rgba(103,218,255,.17) 22%,
            rgba(31,107,155,.13) 49%,
            rgba(2,17,29,.48) 72%,
            rgba(1,8,15,.64) 100%
        )

        !important;

    color:
        rgba(
            162,
            235,
            255,
            .98
        ) !important;

    box-shadow:

        inset 0 0 15px
        rgba(100,217,255,.14),

        0 0 0 5px
        rgba(82,194,239,.025),

        0 0 17px
        rgba(69,197,250,.20),

        0 0 38px
        rgba(62,181,241,.08)

        !important;

    transition:

        transform
        480ms
        cubic-bezier(.16,.84,.22,1),

        border-color
        420ms
        ease,

        box-shadow
        480ms
        ease

        !important;

}


/*
   Small orbital halo.
   Static — therefore very cheap.
*/

.portfolio-hud-card__icon::before {

    content:
        "";

    position:
        absolute;

    inset:
        -8px;

    border:
        1px solid
        rgba(101,212,255,.12);

    border-radius:
        50%;

    transform:
        rotate(-18deg)
        scaleY(.48);

    pointer-events:
        none;

}


.portfolio-hud-card__icon::after {

    content:
        "";

    position:
        absolute;

    width:
        5px;

    height:
        5px;

    right:
        -5px;

    top:
        19px;

    border-radius:
        50%;

    background:
        rgba(154,236,255,.90);

    box-shadow:
        0 0 9px
        rgba(103,220,255,.68);

    pointer-events:
        none;

}


.portfolio-hud-card__icon svg {

    width:
        25px !important;

    height:
        25px !important;

    filter:
        drop-shadow(
            0 0 6px
            rgba(103,220,255,.24)
        );

}


/* ==========================================================
   PROJECT-SPECIFIC LIGHT
   ========================================================== */


/* JARVIS — CYAN */

.portfolio-hud-card--jarvis
.portfolio-hud-card__icon {

    border-color:
        rgba(83,219,255,.62)
        !important;

    color:
        #8feaff !important;

    box-shadow:

        inset 0 0 16px
        rgba(64,205,255,.17),

        0 0 17px
        rgba(58,203,255,.26),

        0 0 40px
        rgba(61,186,255,.09)

        !important;

}


/* CHANGE — TEAL */

.portfolio-hud-card--change
.portfolio-hud-card__icon {

    border-color:
        rgba(82,236,203,.58)
        !important;

    color:
        #87f2d8 !important;

    box-shadow:

        inset 0 0 16px
        rgba(72,230,194,.14),

        0 0 17px
        rgba(57,221,185,.22),

        0 0 38px
        rgba(47,195,171,.08)

        !important;

}


/* COC — BLUE */

.portfolio-hud-card--coc
.portfolio-hud-card__icon {

    border-color:
        rgba(103,178,255,.64)
        !important;

    color:
        #a5d9ff !important;

    box-shadow:

        inset 0 0 16px
        rgba(80,169,255,.16),

        0 0 18px
        rgba(74,157,255,.25),

        0 0 40px
        rgba(73,144,255,.08)

        !important;

}


/* RESUME — VIOLET */

.portfolio-hud-card--resume
.portfolio-hud-card__icon {

    border-color:
        rgba(185,129,255,.62)
        !important;

    color:
        #cfb0ff !important;

    box-shadow:

        inset 0 0 16px
        rgba(169,102,255,.16),

        0 0 18px
        rgba(161,94,255,.24),

        0 0 40px
        rgba(145,82,255,.08)

        !important;

}


/* ==========================================================
   PROJECT TYPOGRAPHY
   ========================================================== */

.portfolio-hud-card__text {

    display:
        block !important;

    min-width:
        0 !important;

    max-width:
        190px !important;

    padding:
        0 !important;

    background:
        transparent !important;

    transform:
        none !important;

}


.portfolio-hud-card__text strong {

    display:
        block !important;

    margin:
        0 !important;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif !important;

    font-size:
        13.5px !important;

    font-weight:
        650 !important;

    line-height:
        1.16 !important;

    letter-spacing:
        -.015em !important;

    color:
        rgba(
            248,
            251,
            253,
            .96
        ) !important;

    text-shadow:
        0 0 12px
        rgba(120,210,255,.045);

}


.portfolio-hud-card__text em {

    display:
        block !important;

    margin-top:
        4px !important;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif !important;

    font-size:
        9.6px !important;

    font-style:
        normal !important;

    font-weight:
        400 !important;

    line-height:
        1.28 !important;

    color:
        rgba(
            171,
            211,
            231,
            .79
        ) !important;

}


/* ==========================================================
   DESCRIPTION
   Hidden at rest.
   We will revisit interaction only after native phases.
   ========================================================== */

.portfolio-hud-card__text p {

    display:
        none !important;

}


/* ==========================================================
   TAGS — SMALL TECHNICAL SIGNALS
   ========================================================== */

.portfolio-hud-card__meta {

    display:
        flex !important;

    flex-wrap:
        wrap !important;

    gap:
        5px !important;

    margin-top:
        8px !important;

}


.portfolio-hud-card__meta span {

    display:
        inline-flex !important;

    align-items:
        center !important;

    min-height:
        17px !important;

    padding:
        2px 7px !important;

    border:
        1px solid
        rgba(119,203,242,.16)
        !important;

    border-radius:
        999px !important;

    background:
        rgba(37,104,139,.085)
        !important;

    box-shadow:
        none !important;

    font-family:
        "NB Architekt",
        monospace !important;

    font-size:
        6.8px !important;

    font-weight:
        400 !important;

    line-height:
        1 !important;

    letter-spacing:
        .07em !important;

    color:
        rgba(
            190,
            222,
            238,
            .78
        ) !important;

}


/*
   Keep at most two signals visible at rest.
*/

.portfolio-hud-card__meta
span:nth-child(n+3) {

    display:
        none !important;

}


/* ==========================================================
   ARROW — TINY NAVIGATION SIGNAL
   ========================================================== */

.portfolio-hud-card__arrow {

    width:
        22px !important;

    height:
        22px !important;

    display:
        grid !important;

    place-items:
        center !important;

    align-self:
        start !important;

    margin-top:
        4px !important;

    border:
        1px solid
        rgba(132,207,240,.18)
        !important;

    border-radius:
        50% !important;

    background:
        rgba(6,25,36,.20)
        !important;

    color:
        rgba(
            203,
            233,
            245,
            .72
        ) !important;

    box-shadow:
        none !important;

    transform:
        none !important;

}


/* ==========================================================
   VERY LIGHT HOVER

   No large panel expansion.
   No heavy glass.
   ========================================================== */

@media (hover:hover) and (pointer:fine) {

    .portfolio-hud-card:hover
    .portfolio-hud-card__icon {

        transform:
            translateY(-2px)
            scale(1.055)
            !important;

        box-shadow:

            inset 0 0 18px
            rgba(105,220,255,.18),

            0 0 20px
            rgba(80,211,255,.30),

            0 0 44px
            rgba(67,181,245,.11)

            !important;

    }


    .portfolio-hud-card:hover
    .portfolio-hud-card__text strong {

        color:
            #ffffff !important;

    }


    .portfolio-hud-card:hover
    .portfolio-hud-card__arrow {

        border-color:
            rgba(135,221,255,.34)
            !important;

        color:
            rgba(225,245,252,.95)
            !important;

    }

}


/* ==========================================================
   FINAL BEACON SIZES / POSITIONS

   Existing constellation preserved.
   Only compensate for removal of rectangular card widths.
   ========================================================== */

.portfolio-hud-card--jarvis {

    left:
        56.5vw !important;

    top:
        11.7vh !important;

}


.portfolio-hud-card--change {

    left:
        75.5vw !important;

    top:
        19.2vh !important;

}


.portfolio-hud-card--coc {

    left:
        59.0vw !important;

    top:
        53.4vh !important;

}


.portfolio-hud-card--resume {

    left:
        77.6vw !important;

    top:
        66.2vh !important;

}


/* ==========================================================
   EXIT — EXISTING PORTFOLIO HUD REMAINS AUTHORITATIVE
   ========================================================== */

#portfolioHeroHUD.native-ring-exit
.portfolio-hud-card {

    pointer-events:
        none !important;

}


/* ==========================================================
   SMALLER SCREENS
   ========================================================== */

@media (max-width:1180px) {

    .portfolio-hud-card__icon {

        width:
            54px !important;

        height:
            54px !important;

    }


    .portfolio-hud-card__text strong {

        font-size:
            12px !important;

    }


    .portfolio-hud-card__text {

        max-width:
            165px !important;

    }

}


/* === SAGAR PROJECT BEACONS V1 END === */




/* === SAGAR BEACON SPHERE 1.1 BEGIN === */


/* ==========================================================
   STATIC OPTICAL DEPTH ONLY
   NO CONTINUOUS MOTION
   ========================================================== */

.portfolio-hud-card {

    --beacon-rgb:
        91, 216, 255;

}


/* ----------------------------------------------------------
   PROJECT-SPECIFIC ENVIRONMENTAL COLOR
---------------------------------------------------------- */

.portfolio-hud-card--jarvis {

    --beacon-rgb:
        73, 215, 255;

}


.portfolio-hud-card--change {

    --beacon-rgb:
        73, 232, 196;

}


.portfolio-hud-card--coc {

    --beacon-rgb:
        95, 168, 255;

}


.portfolio-hud-card--resume {

    --beacon-rgb:
        178, 116, 255;

}


/* ==========================================================
   LET EACH SPHERE CONTROL ITS OWN SIZE
   ========================================================== */

.portfolio-hud-card
.portfolio-hud-card__surface {

    grid-template-columns:
        auto
        minmax(0, auto)
        22px !important;

    column-gap:
        14px !important;

}


/* ==========================================================
   TRUE SPHERE ILLUSION
   ========================================================== */

.portfolio-hud-card__icon {

    position:
        relative !important;

    overflow:
        visible !important;

    border-radius:
        50% !important;

    /*
       Layer 1:
       small white/cyan specular reflection

       Layer 2:
       translucent upper hemisphere illumination

       Layer 3:
       dark lower-right lens depth

       Layer 4:
       coloured glass body
    */

    background:

        radial-gradient(
            circle at 29% 20%,
            rgba(255,255,255,.62) 0%,
            rgba(226,249,255,.42) 5%,
            rgba(var(--beacon-rgb),.20) 12%,
            transparent 27%
        ),

        radial-gradient(
            ellipse at 37% 28%,
            rgba(var(--beacon-rgb),.22) 0%,
            rgba(var(--beacon-rgb),.10) 27%,
            transparent 56%
        ),

        radial-gradient(
            circle at 63% 70%,
            rgba(0,0,0,.02) 0%,
            rgba(0,8,15,.18) 46%,
            rgba(0,7,13,.48) 78%,
            rgba(0,5,10,.69) 100%
        ),

        radial-gradient(
            circle at 50% 48%,
            rgba(var(--beacon-rgb),.19) 0%,
            rgba(var(--beacon-rgb),.11) 37%,
            rgba(5,28,42,.70) 69%,
            rgba(2,14,24,.90) 100%
        )

        !important;


    border:
        1px solid
        rgba(
            var(--beacon-rgb),
            .68
        ) !important;


    /*
       Inner refraction + outer environmental glow.
       No filter required.
    */

    box-shadow:

        inset 2px 2px 5px
        rgba(255,255,255,.15),

        inset -5px -7px 12px
        rgba(0,0,0,.33),

        inset 0 0 12px
        rgba(var(--beacon-rgb),.20),

        inset 0 0 0 4px
        rgba(var(--beacon-rgb),.035),

        0 0 0 1px
        rgba(var(--beacon-rgb),.15),

        0 0 10px
        rgba(var(--beacon-rgb),.22),

        0 0 24px
        rgba(var(--beacon-rgb),.12),

        0 10px 26px
        rgba(0,0,0,.22)

        !important;


    transition:

        transform
        420ms
        cubic-bezier(.16,.84,.22,1),

        border-color
        420ms
        ease,

        box-shadow
        460ms
        ease

        !important;

}


/* ==========================================================
   DEPTH HIERARCHY
   ========================================================== */


/* Primary */

.portfolio-hud-card--jarvis
.portfolio-hud-card__icon {

    width:
        64px !important;

    height:
        64px !important;

}


.portfolio-hud-card--coc
.portfolio-hud-card__icon {

    width:
        62px !important;

    height:
        62px !important;

}


/* Secondary */

.portfolio-hud-card--change
.portfolio-hud-card__icon {

    width:
        58px !important;

    height:
        58px !important;

}


.portfolio-hud-card--resume
.portfolio-hud-card__icon {

    width:
        56px !important;

    height:
        56px !important;

}


/* ==========================================================
   OUTER ORBITAL REFRACTION RING
   ========================================================== */

.portfolio-hud-card__icon::before {

    content:
        "" !important;

    display:
        block !important;

    position:
        absolute !important;

    left:
        50% !important;

    top:
        50% !important;

    width:
        124% !important;

    height:
        48% !important;

    border:
        1px solid
        rgba(
            var(--beacon-rgb),
            .20
        ) !important;

    border-radius:
        50% !important;

    background:
        transparent !important;

    box-shadow:

        inset 0 0 5px
        rgba(var(--beacon-rgb),.035),

        0 0 7px
        rgba(var(--beacon-rgb),.045)

        !important;

    transform:
        translate(-50%,-50%)
        rotate(-18deg)
        !important;

    pointer-events:
        none !important;

}


/* ==========================================================
   RIM SPARKLE
   ========================================================== */

.portfolio-hud-card__icon::after {

    content:
        "" !important;

    display:
        block !important;

    position:
        absolute !important;

    width:
        4px !important;

    height:
        4px !important;

    right:
        1px !important;

    top:
        15px !important;

    border:
        0 !important;

    border-radius:
        50% !important;

    background:
        rgba(
            235,
            253,
            255,
            .96
        ) !important;

    box-shadow:

        0 0 4px
        rgba(255,255,255,.80),

        0 0 8px
        rgba(var(--beacon-rgb),.65)

        !important;

    pointer-events:
        none !important;

}


/* ==========================================================
   ICON APPEARS INSIDE THE GLASS, NOT ON TOP OF IT
   ========================================================== */

.portfolio-hud-card__icon svg {

    position:
        relative !important;

    z-index:
        2 !important;

    width:
        24px !important;

    height:
        24px !important;

    opacity:
        .94 !important;

    filter:
        none !important;

}


/* ==========================================================
   PROJECT LABEL POLISH
   ========================================================== */

.portfolio-hud-card__text {

    padding-left:
        1px !important;

}


.portfolio-hud-card__text strong {

    color:
        rgba(
            248,
            251,
            253,
            .97
        ) !important;

    text-shadow:

        0 0 10px
        rgba(var(--beacon-rgb),.04)

        !important;

}


.portfolio-hud-card__text em {

    color:
        rgba(
            183,
            215,
            232,
            .82
        ) !important;

}


/* ==========================================================
   TAGS — QUIET SO THE SPHERE REMAINS HERO
   ========================================================== */

.portfolio-hud-card__meta span {

    border-color:
        rgba(
            var(--beacon-rgb),
            .16
        ) !important;

    background:
        rgba(
            var(--beacon-rgb),
            .055
        ) !important;

    color:
        rgba(
            197,
            225,
            239,
            .79
        ) !important;

}


/* ==========================================================
   ARROW
   ========================================================== */

.portfolio-hud-card__arrow {

    border-color:
        rgba(
            var(--beacon-rgb),
            .18
        ) !important;

    background:
        rgba(
            3,
            19,
            29,
            .23
        ) !important;

}


/* ==========================================================
   RESTRAINED HOVER
   STATIC CSS ONLY
   ========================================================== */

@media (hover:hover) and (pointer:fine) {

    .portfolio-hud-card:hover
    .portfolio-hud-card__icon {

        transform:
            translateY(-2px)
            scale(1.045)
            !important;

        border-color:
            rgba(
                var(--beacon-rgb),
                .88
            ) !important;

        box-shadow:

            inset 2px 2px 6px
            rgba(255,255,255,.18),

            inset -5px -7px 12px
            rgba(0,0,0,.31),

            inset 0 0 14px
            rgba(var(--beacon-rgb),.24),

            inset 0 0 0 4px
            rgba(var(--beacon-rgb),.045),

            0 0 0 1px
            rgba(var(--beacon-rgb),.20),

            0 0 13px
            rgba(var(--beacon-rgb),.30),

            0 0 29px
            rgba(var(--beacon-rgb),.15),

            0 12px 28px
            rgba(0,0,0,.24)

            !important;

    }

}


/* ==========================================================
   KEEP NATIVE SCROLL AUTHORITATIVE
   ========================================================== */

#portfolioHeroHUD.native-ring-exit
.portfolio-hud-card {

    pointer-events:
        none !important;

}


/* ==========================================================
   NARROW DESKTOP
   ========================================================== */

@media (max-width:1180px) {

    .portfolio-hud-card--jarvis
    .portfolio-hud-card__icon {

        width:
            58px !important;

        height:
            58px !important;

    }


    .portfolio-hud-card--coc
    .portfolio-hud-card__icon {

        width:
            56px !important;

        height:
            56px !important;

    }


    .portfolio-hud-card--change
    .portfolio-hud-card__icon {

        width:
            53px !important;

        height:
            53px !important;

    }


    .portfolio-hud-card--resume
    .portfolio-hud-card__icon {

        width:
            51px !important;

        height:
            51px !important;

    }

}


/* === SAGAR BEACON SPHERE 1.1 END === */

