:root {
    --bg: #050b12;
    --bg-deep: #08131d;
    --surface: rgba(12, 22, 33, 0.78);
    --surface-strong: rgba(15, 28, 42, 0.9);
    --surface-soft: rgba(255, 255, 255, 0.03);
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.16);
    --text: #f5f7fb;
    --muted: #9baebf;
    --accent: #4fc3ff;
    /* --accent: #73ffd1; */
    --accent-strong: #4fc3ff;
    --accent-warm: #ffbc77;
    --danger: #ff7d7d;
    --success: #7cffc2;
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.25);
    --glass-card-bg: rgba(10, 20, 31, 0.58);
    --glass-card-bg-hover: rgba(13, 25, 37, 0.72);
    --glass-card-border: rgba(255, 255, 255, 0.14);
    --glass-card-highlight: rgba(255, 255, 255, 0.08);
    --radius-lg: 30px;
    --radius-md: 22px;
    --radius-sm: 16px;
    --container: 1180px;
    --header-height: 84px;
    --transition: 260ms ease;
}

/* Base reset and shared layout primitives */
*,
*::before,
*::after {
    box-sizing: border-box;
    /* overflow: hidden; */
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 18% 18%, rgba(79, 195, 255, 0.16), transparent 24%),
        radial-gradient(circle at 82% 8%, rgba(255, 188, 119, 0.12), transparent 18%),
        radial-gradient(circle at 70% 82%, rgba(115, 255, 209, 0.12), transparent 26%),
        linear-gradient(180deg, #04080f 0%, #09131d 45%, #050b12 100%);
    overflow-x: hidden
}

.container .about,
.projects,
.skills,
.contact {
    overflow: hidden;
}

.site-header,
.site-footer,
main,
.toTopbtn {
    transition: opacity 700ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.intro-active {
    overflow: hidden;
}

body.intro-active .site-header,
body.intro-active .site-footer,
body.intro-active main,
body.intro-active .toTopbtn {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    filter: blur(14px);
    transform: translateY(12px);
}

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

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

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

::selection {
    background: rgba(79, 195, 255, 0.24);
    color: var(--text);
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 7rem 0;
}
main{
    margin-top: -20px;
}

.section-shell {
    display: grid;
    gap: 3rem;
}

.section-heading {
    max-width: 760px;
}

.section-kicker,
.info-label,
.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--accent);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    width: fit-content;
    max-width: 100%;
    padding: 0.78rem 1.1rem;
    border: 1px solid rgba(79, 195, 255, 0.32);
    border-radius: 999px;
    background: rgba(10, 20, 31, 0.54);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 18px 42px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(12px);
}

.hero-copy .eyebrow {
    background: linear-gradient(rgb(106, 252, 203),
            rgba(165, 206, 226, 0.897),
            rgb(26, 172, 245));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: clamp(0.82rem, 1.4vw, 2rem);
    font-weight: 700;
    font-family: "Syne", sans-serif;
    letter-spacing: 0.28em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.dot {
    position: relative;
    flex: 0 0 auto;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 100%;
    background-color: #1eb2fc;
    box-shadow: 0 0 16px rgba(30, 178, 252, 0.8);
    animation: pulse2 2s ease-in-out infinite;
}

.dot::after {
    content: "";
    position: absolute;
    inset: -0.45rem;
    border-radius: inherit;
    border: 1px solid rgba(79, 195, 255, 0.22);
    opacity: 0.7;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse2 {
    0%,
    100% {
        transform: scale(0.88);
        opacity: 0.72;
        box-shadow: 0 0 10px rgba(30, 178, 252, 0.62);
    }

    50% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 24px rgba(30, 178, 252, 0.86);
    }
}

@keyframes pulse-ring {
    0%,
    100% {
        transform: scale(0.72);
        opacity: 0;
    }

    45% {
        transform: scale(1);
        opacity: 0.75;
    }
}
.hero-copy .eyebrow-name {
    display: inline-block;
    font-family: "Syne", sans-serif;
    opacity: 1;
    transition: opacity 220ms ease;
}

.section-heading h2,
.about-story .about-lead,
.info-card h3,
.stat-card strong,
.project-content h3,
.skill-meta strong,
.contact-note {
    font-family: "Syne", sans-serif;
}

.section-heading h2 {
    margin: 1rem 0 0;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.background-mesh {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black 20%, transparent 78%);
    opacity: 0.18;
    z-index: -2;
    width: 100%;
}

.spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 36rem;
    height: 36rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 195, 255, 0.16) 0%, rgba(79, 195, 255, 0) 72%);
    filter: blur(14px);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Welcome intro overlay and large-name handoff */
/* .intro-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    justify-items: center;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 25%, rgba(79, 195, 255, 0.14), transparent 24%),
        radial-gradient(circle at 78% 24%, rgba(255, 188, 119, 0.1), transparent 18%),
        linear-gradient(180deg, rgba(4, 8, 15, 0.18), rgba(5, 11, 18, 0.06));
    pointer-events: none;
    z-index: 140;
    transition: opacity 9s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 9s cubic-bezier(0.2, 0.8, 0.2, 1);
} */

/* .intro-overlay.is-exiting {
    opacity: 0;
    visibility: hidden;
} */

/* .intro-overlay{
    background:
        radial-gradient(circle at 20% 25%, rgba(79, 195, 255, 0.14), transparent 24%),
        radial-gradient(circle at 78% 24%, rgba(255, 188, 119, 0.1), transparent 18%),
        linear-gradient(180deg, rgba(4, 8, 15, 0.18), rgba(5, 11, 18, 0.06));
    z-index: 150;
    position: fixed;
    inset: 0;
    display: flex;
    justify-items: center;
    align-items: center;
    overflow: hidden;
} */

.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 180;
    opacity: 1;
    visibility: visible;
    transition: opacity 900ms cubic-bezier(0.2, 0.8, 0.2, 1), visibility 900ms cubic-bezier(0.2, 0.8, 0.2, 1);

}

.intro-overlay.is-exiting {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-shell {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    overflow: hidden;
    isolation: isolate;
    z-index: 200;
    /* background:
        radial-gradient(circle at 18% 20%, rgba(79, 195, 255, 0.22), transparent 24%),
        radial-gradient(circle at 82% 18%, rgba(255, 188, 119, 0.16), transparent 18%),
        radial-gradient(circle at 70% 78%, rgba(115, 255, 209, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(4, 8, 15, 0.96), rgba(5, 11, 18, 0.9)); */
    backdrop-filter: blur(28px) saturate(115%);
    -webkit-backdrop-filter: blur(28px) saturate(115%);
    transition: opacity 1200ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 1200ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 1200ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.intro-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 100px 100px;
    /* mask-image: radial-gradient(circle at center, black 24%, transparent 82%); */
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.intro-shell::after {
    content: "";
    display: none;
}

.intro-shell>* {
    grid-area: 1 / 1;
    position: relative;
    z-index: 1;
}

.intro-text {
    display: grid;
    gap: 1.25rem;
    text-align: center;
    justify-items: center;
    max-width: min(900px, 100%);
    padding: clamp(1rem, 2vw, 2rem);
    will-change: opacity, transform, filter;
}

.intro-text h1,
.intro-text p {
    opacity: 0;
    filter: blur(24px);
    transform: translate3d(0, 100px, 0);
    will-change: opacity, transform, filter;
    backface-visibility: hidden;
}

.intro-text h1 {
    font-family: 'Tulpen';
    font-size: 380px;
    line-height: 0.8;
    letter-spacing: 0.08em;
    text-align: center;
    align-self: center;
    margin: 0;
    margin-left: -85px;
    color: transparent;
    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(245, 247, 251, 0.94) 20%,
            rgba(115, 255, 209, 0.94) 56%,
            rgba(79, 195, 255, 0.86) 78%,
            rgba(255, 188, 119, 0.75) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    filter:
        blur(24px) drop-shadow(0 0 18px rgba(79, 195, 255, 0.12)) drop-shadow(0 0 34px rgba(115, 255, 209, 0.08));
    transition:
        opacity 1320ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1320ms cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 1400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.intro-text p {
    margin: 0;
    margin-top: 300px;
    max-width: 40rem;
    font-family: "Syne";
    font-size: 16px;
    letter-spacing: 5px;
    line-height: 1.8;
    color: transparent;
    background:
        linear-gradient(90deg,
            rgba(245, 247, 251, 0.92) 0%,
            rgba(215, 225, 236, 0.86) 42%,
            rgba(155, 174, 191, 0.88) 72%,
            rgba(115, 255, 209, 0.82) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 18px rgba(79, 195, 255, 0.06);
    transition:
        opacity 1180ms cubic-bezier(0.16, 1, 0.3, 1) 140ms,
        transform 1180ms cubic-bezier(0.16, 1, 0.3, 1) 140ms,
        filter 1260ms cubic-bezier(0.16, 1, 0.3, 1) 140ms;
}

.intro-disp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.2rem, 2vw, 2rem);
    transform: translateY(0);
    transition:
        opacity 1200ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1200ms cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 1200ms cubic-bezier(0.2, 0.8, 0.2, 1);
    margin-top: -50px;
    z-index: 999;
}

.intro-disp img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 3px solid rgba(109, 173, 226, 0.88);
    box-shadow:
        0 18px 40px rgba(79, 195, 255, 0.16),
        0 0 0 12px rgba(79, 195, 255, 0.04);
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.64);
    filter: blur(18px);
    display: flex;
    justify-self: center;
    will-change: opacity, transform, filter;
    backface-visibility: hidden;
    transition:
        opacity 1220ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 1220ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 1300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-disp .divider {
    display: block;
    width: 2px;
    height: clamp(80px, 15vw, 180px);
    background: #4FC3FF;
    box-shadow: 0 0 12px rgba(79, 195, 255, 0.6);
    border-radius: 2px;
    opacity: 0;
    transform: scaleY(0);
    transform-origin: center;
    transition: opacity 800ms ease, transform 800ms ease;
    margin: 0 0.5rem;
}

.intro-disp h1 {
    margin: 0;
    font-family: 'Tulpen';
    font-size: clamp(9rem, 18vw, 18rem);
    line-height: 0.8;
    color: var(--accent);
    -webkit-text-fill-color: var(--accent);
    background: none;
    text-shadow: none;
    box-shadow: none !important;
}

#disp-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    opacity: 0;
    transform: translate3d(90px, 0, 0);
    filter: blur(26px);
    will-change: opacity, transform, filter;
    backface-visibility: hidden;
    transition:
        opacity 1160ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 1160ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 1240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-overlay.is-image-in .intro-disp img {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
}

.intro-overlay.is-disp-in #disp-right {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

.intro-overlay.is-disp-in .intro-disp .divider {
    opacity: 1;
    transform: scaleY(1);
}

.intro-overlay.is-text-in .intro-text h1,
.intro-overlay.is-text-in .intro-text p {
    opacity: 1;
}

.intro-overlay.is-text-in .intro-text h1 {
    filter:
        blur(0) drop-shadow(0 0 18px rgba(79, 195, 255, 0.12)) drop-shadow(0 0 34px rgba(115, 255, 209, 0.08));
}

.intro-overlay.is-text-in .intro-text p {
    filter: blur(0);
    transform: translateY(-10px);
}

.intro-overlay.is-dissolving .intro-shell {
    opacity: 0;
    transform: scale(1.035) translate3d(0, -10px, 0);
    filter: blur(28px) saturate(118%);
}

.intro-overlay.is-dissolving .intro-disp,
.intro-overlay.is-dissolving .intro-text {
    opacity: 0;
    transform: scale(1.04) translate3d(0, -12px, 0);
    filter: blur(30px);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    pointer-events: none;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    background: rgba(6, 12, 19, 0.205);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.toTopbtn {
    position: fixed;
    bottom: 35px;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 1px solid rgba(115, 255, 209, 0.3);
    background: #0D1826;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform 300ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
    z-index: 999;
}

.toTopbtn.is-visible {
    opacity: 0.8;
    pointer-events: auto;
}

.toTopbtn i {
    color: var(--accent);
    font-size: 20px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.toTopbtn:hover {
    opacity: 1;
    transform: translateY(-6px) scale(1.08);
    border-color: var(--accent);
    background: #142235;
    box-shadow: 0 12px 32px rgba(115, 255, 209, 0.2);
}

body.intro-active .toTopbtn {
    pointer-events: none;
}

.site-header.scrolled .navbar {
    background: rgba(6, 12, 19, 0.84);
    border-color: rgba(255, 255, 255, 0.12);
}

.brand {
    font-family: "Syne", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    position: relative;
    color: var(--muted);
    transition: color var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.45rem;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: right;
    background: var(--accent);
    transition: transform var(--transition);
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.nav-cta,
.button-primary {
    color: #031017;
    background: var(--accent);
    box-shadow: 0 16px 40px rgba(79, 195, 255, 0.18);
}

.button-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    /* border-color: var(--accent); */
}

.nav-cta:hover,
.button:hover {
    transform: translateY(-3px);
}

.button-secondary:hover {
    /* border-color: rgba(115, 255, 209, 0.4); */
    border-color: var(--accent);
    background: rgba(10, 13, 24, 0.836);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);

}

.nav-toggle {
    display: none;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.nav-toggle span {
    display: block;
    width: 1.25rem;
    height: 2px;
    margin: 0.22rem auto;
    background: var(--text);
    transition: transform var(--transition), opacity var(--transition);
}

/* Hero section and cinematic stage */
.hero {
    min-height: calc(100svh - 2rem);
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 15rem;
    position: relative;
}

.hero-grid,
.hero-glow {
    position: absolute;
    pointer-events: none;
}

.hero-grid {
    inset: 7% 0 auto;
    height: 65%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 100px 100px;
    mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 72%, transparent 100%);
    opacity: 0.22;
}

.hero-glow {
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
}

.hero-glow-left {
    top: 8%;
    left: -6rem;
    background: rgba(79, 195, 255, 0.16);
}

.hero-glow-right {
    right: -6rem;
    bottom: 8%;
    background: rgba(255, 188, 119, 0.18);
}

.hero .reveal {
    filter: blur(12px);
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding-top: 130px;
}

.hero-copy .reveal {
    transform: translate3d(-34px, 28px, 0);
    transition:
        opacity 1220ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1460ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 1540ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-copy .reveal.revealed {
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

.hero-stage.reveal,
.scroll-cue.reveal {
    filter: blur(14px);
    transition:
        opacity 1200ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 1440ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 1520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-stage.reveal.revealed,
.scroll-cue.reveal.revealed {
    filter: blur(0);
}

.hero-title {
    margin: 1rem 0 1.25rem;
    font-family: "Syne", sans-serif;
    font-size: clamp(1.5rem, 8vw, 6.2rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    max-width: 20ch;
    min-width: 10ch;
    /* margin-left: -20px; */
}

/* .hero-title span{
    font-family: 'Tulpen';
    color: red;
} */
.hero-title .word:nth-of-type(3) {
    /* font-family: 'Tulpen'; */
    /* font-size: 160px; */
    /* letter-spacing: 2px; */
    line-height: 0.8;
    background: linear-gradient(rgb(98, 219, 179),
            rgba(188, 229, 250, 0.897),
            rgb(45, 169, 231));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translate3d(-16px, 1.1em, 0);
    filter: blur(10px);
    will-change: opacity, transform, filter;
}

.hero-title.is-ready .word {
    animation: hero-word 1.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--word-index) * 150ms + 320ms);
}

.hero-subtitle {
    max-width: 38rem;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-signals {
    display: grid;
    gap: 0.8rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
}

.hero-signals li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.hero-signals li::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 0 16px rgba(115, 255, 209, 0.35);
}

.hero-signals span {
    color: var(--text);
    font-weight: 800;
}

.hero-stage {
    position: relative;
    min-height: 34rem;
    margin-top: -200px;
}

.stage-panel {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(18, 33, 49, 0.92), rgba(8, 15, 23, 0.86));
    box-shadow: var(--shadow-lg);
}

.stage-primary {
    position: absolute;
    inset: 1.5rem 1rem 2rem 0;
    padding: 1rem;
}

.stage-toolbar {
    display: flex;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.stage-toolbar span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.26);
}

.stage-screen {
    display: grid;
    gap: 1.2rem;
    min-height: calc(100% - 2rem);
    padding: 1.6rem;
    border-radius: calc(var(--radius-lg) - 10px);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01)),
        radial-gradient(circle at top right, rgba(79, 195, 255, 0.18), transparent 36%);
}

.code-lines {
    display: grid;
    gap: 0.9rem;
}

.code-line {
    display: block;
    height: 0.8rem;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(115, 255, 209, 0.65), rgba(79, 195, 255, 0.18));
    animation: pulse 4s ease-in-out infinite;
    will-change: opacity, transform;
}

.code-line.short {
    width: 34%;
}

.code-line.medium {
    width: 54%;
}

.code-line.long {
    width: 82%;
}

.stage-metrics {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.info-card,
.stat-card,
.contact-panel,
.contact-form,
.skills-panel,
.project-card {
    background: var(--glass-card-bg);
    border: 1px solid var(--glass-card-border);
    box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-card-highlight);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.metric-card {
    background: linear-gradient(180deg, rgba(18, 29, 42, 0.87), rgba(9, 16, 24, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
}

.metric-card {
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.metric-card i {
    width: 42px;
    height: 42px;
    border-radius: 12px;

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

    background: rgba(79, 209, 197, 0.1);
    color: #4fd1c5;
    font-size: 18px;
}

.metric-card strong {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1rem;
}

.metric-card span {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.stage-float {
    position: absolute;
    display: grid;
    gap: 0.35rem;
    max-width: 14rem;
    padding: 1rem 1.1rem;
    backdrop-filter: blur(16px);
}

.stage-float span {
    color: var(--accent);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.stage-float strong {
    font-size: 0.98rem;
    line-height: 1.4;
}

.stage-float.top {
    top: 10px;
    left: 0;
}

.stage-float.bottom {
    right: 2rem;
    bottom: 0;
}

.scroll-cue {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--muted);
    transform: translateX(-50%);
    font-size: 0.92rem;
}

.scroll-cue span {
    width: 2.6rem;
    height: 1.35rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    position: relative;
}

.scroll-cue span::after {
    content: "";
    position: absolute;
    top: 0.2rem;
    left: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--accent);
    transform: translateX(-50%);
    animation: scroll-dot 2s ease-in-out infinite;
    will-change: opacity, transform;
}

/* About and content sections */
.about {
    padding-top: 8rem;
}

/* Floating profile pill - contains image, name, and subtitle */
.floating-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: auto;
    max-width: 420px;
    padding: 2rem 2.2rem;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(18, 29, 42, 0.88), rgba(9, 16, 24, 0.92));
    border: 1px solid rgba(79, 195, 255, 0.24);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(79, 195, 255, 0.12);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    isolation: isolate;
    position: relative;
    margin: 0 auto;
}

.floating-pill::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from 0deg,
            rgba(79, 195, 255, 0.16),
            rgba(115, 255, 209, 0.85),
            rgba(255, 188, 119, 0.45),
            rgba(79, 195, 255, 0.16),
            rgba(115, 255, 209, 0.85));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    opacity: 0.3;
    z-index: 0;
}

.floating-pill > * {
    position: relative;
    z-index: 1;
}

.floating-pill.reveal {
    opacity: 0;
    transform: scale(0.88) translateY(20px);
    transition: opacity 1400ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 1400ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.floating-pill.reveal.is-scrubbed {
    opacity: var(--reveal-opacity, 0);
    transform: scale(var(--display-scale, 0.88)) translateY(var(--reveal-shift, 20px));
    filter: blur(var(--reveal-blur, 0px));
    transition:
        opacity 180ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 260ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 220ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
    backface-visibility: hidden;
}

.floating-pill.reveal.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.pill-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pill-image-wrapper img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid rgba(79, 195, 255, 0.32);
    box-shadow: 0 12px 32px rgba(79, 195, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    object-fit: cover;
}

.pill-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
}

.pill-content h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-family: "Syne", sans-serif;
    color: var(--text);
}

.pill-subtitle {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.about h1 {
    font-size: 700px;
    letter-spacing: 60px;
    margin-top: 40px;
    z-index: -9999;
    position: absolute;
    font-family: 'Tulpen';
    display: flex;
    justify-self: center;
    filter: opacity(15%);
}

@font-face {
    font-family: 'Tulpen';
    src: url('TulpenOne-Regular.ttf') format('truetype');
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 3rem;
    align-items: start;
}

.floating-pill {
    grid-column: 1;
    grid-row: 1;
}

.about-story {
    grid-column: 1;
    grid-row: 2;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-card-border);
    background: var(--glass-card-bg);
    box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-card-highlight);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.about-story-header {
    margin: 0 0 1.5rem 0;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text);
    font-family: "Syne", sans-serif;
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    grid-column: 1;
    grid-row: 3;
}

.about-story .about-lead {
    margin: 0 0 1.25rem;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1.15;
}

.about-story .about-lead.intro-text-reveal {
    overflow-wrap: anywhere;
}

.about-story .about-lead .intro-word {
    display: inline-block;
    opacity: 0;
    transform: translate3d(0, 0.7em, 0);
    filter: blur(8px);
    transition:
        opacity 620ms ease,
        transform 720ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 720ms ease;
    transition-delay: calc(var(--word-index) * 34ms);
    will-change: opacity, transform, filter;
}

.about-story .about-lead.is-active .intro-word {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
}

.about-story p:not(.about-lead) {
    margin: 0 0 1rem;
    color: var(--muted);
    line-height: 1.9;
}

.about-metrics {
    display: grid;
    gap: 1rem;
}

.info-card,
.stat-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.info-card h3 {
    margin: 1rem 0 0;
    font-size: 1.5rem;
    line-height: 1.2;
}

.stat-card {
    display: grid;
    gap: 0.4rem;
}

.stat-card strong {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.stat-card span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
}

/* Projects grid and hover */
.projects {
    padding-top: 8rem;
}

.projects h1 {
    font-size: 560px;
    letter-spacing: 20px;
    margin-top: 100px;
    z-index: -9999;
    position: absolute;
    font-family: 'Tulpen';
    display: flex;
    justify-self: center;
    filter: opacity(15%);
}

/* Projects Section - Radical Abstract & Professional Project Cards System */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-top: 3rem;
}

.abstract-project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    background: rgba(8, 15, 25, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px) saturate(140%);
    -webkit-backdrop-filter: blur(24px) saturate(140%);
    overflow: hidden;
    isolation: isolate;
    transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1),
                border-color 450ms ease,
                box-shadow 450ms ease;
}

/* Background Abstract Mesh Texture inside card */
.abstract-project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(79, 195, 255, 0.12) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}

/* Massive Watermark Index Number Behind Content */
.card-bg-number {
    position: absolute;
    top: -1.5rem;
    right: 0.5rem;
    font-family: 'Tulpen', sans-serif;
    font-size: clamp(10rem, 16vw, 15rem);
    font-weight: 700;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.035);
    user-select: none;
    pointer-events: none;
    z-index: 0;
    transition: color 450ms ease, transform 450ms ease;
}

.abstract-project-card:hover .card-bg-number {
    color: rgba(79, 195, 255, 0.08);
    transform: translate(-6px, 6px);
}

.abstract-project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(115, 255, 209, 0.38);
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.6), 0 0 35px rgba(79, 195, 255, 0.18);
}

/* Card Visual Deck */
.card-visual-deck {
    position: relative;
    width: 100%;
    padding: 1.35rem 1.35rem 0.5rem;
    z-index: 1;
}

.card-visual-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 18px;
    overflow: hidden;
    background: #040912;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
    filter: brightness(0.88) contrast(1.05);
}

.abstract-project-card:hover .card-img {
    transform: scale(1.06);
    filter: brightness(1);
}

/* Abstract Corner Brackets Frame (┌ ┐ └ ┘) */
.abstract-corners-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.corner-bracket {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: #4FC3FF;
    border-style: solid;
    border-width: 0;
    transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1), border-color 400ms ease;
}

.corner-bracket.top-l {
    top: 10px;
    left: 10px;
    border-top-width: 2px;
    border-left-width: 2px;
}

.corner-bracket.top-r {
    top: 10px;
    right: 10px;
    border-top-width: 2px;
    border-right-width: 2px;
}

.corner-bracket.bot-l {
    bottom: 10px;
    left: 10px;
    border-bottom-width: 2px;
    border-left-width: 2px;
}

.corner-bracket.bot-r {
    bottom: 10px;
    right: 10px;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

.abstract-project-card:hover .corner-bracket.top-l {
    transform: translate(-3px, -3px);
    border-color: #73FFD1;
}

.abstract-project-card:hover .corner-bracket.top-r {
    transform: translate(3px, -3px);
    border-color: #73FFD1;
}

.abstract-project-card:hover .corner-bracket.bot-l {
    transform: translate(-3px, 3px);
    border-color: #73FFD1;
}

.abstract-project-card:hover .corner-bracket.bot-r {
    transform: translate(3px, 3px);
    border-color: #73FFD1;
}

/* Editorial Metadata Pills */
.visual-editorial-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 0.9rem 1.1rem;
    pointer-events: none;
    z-index: 4;
    background: linear-gradient(180deg, rgba(4, 8, 15, 0.7) 0%, transparent 60%);
}

.meta-tag-left {
    font-family: 'Manrope', monospace, sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #4FC3FF;
    background: rgba(4, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(79, 195, 255, 0.35);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.meta-tag-right {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Manrope', monospace, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #73FFD1;
    background: rgba(4, 10, 18, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(115, 255, 209, 0.35);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.meta-tag-right.dev-status {
    color: #FFBC77;
    border-color: rgba(255, 188, 119, 0.35);
}

.live-dot, .dev-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
}

/* Card Body Section */
.card-body-deck {
    position: relative;
    padding: 1.5rem 1.8rem 1.9rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 1;
}

.card-kicker {
    font-family: 'Manrope', monospace, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #73FFD1;
    margin-bottom: 0.4rem;
}

.card-title {
    margin: 0 0 0.4rem;
    font-family: "Syne", sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #F5F7FA;
    letter-spacing: -0.01em;
    border-left: 3px solid #4FC3FF;
    padding-left: 0.75rem;
}

.card-tagline {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    color: #73FFD1;
    font-weight: 600;
    margin: 0 0 0.6rem;
    padding-left: 0.75rem;
    text-transform: uppercase;
}

.card-desc {
    margin: 0.5rem 0 1.4rem;
    color: #9BAEBF;
    font-size: 0.95rem;
    line-height: 1.68;
    flex-grow: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.6rem;
}

.card-tags span {
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.035);
    color: #D1DCEE;
    font-family: 'Manrope', monospace, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Solid High-Contrast Action Button */
.card-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    cursor: pointer;
    background: #4FC3FF;
    color: #031017;
    border: 1px solid #4FC3FF;
    box-shadow: none !important;
    transition: transform 300ms ease, background 300ms ease;
    width: fit-content;
}

.card-cta-btn:hover {
    background: #73FFD1;
    border-color: #73FFD1;
    transform: translateY(-2px);
    box-shadow: none !important;
}

.card-cta-btn.disabled-btn {
    background: rgba(255, 255, 255, 0.06);
    color: #6C7D93;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: none;
    cursor: not-allowed;
}

@media (max-width: 900px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }
}

@media (max-width: 600px) {
    .card-visual-deck {
        padding: 0.9rem 0.9rem 0.4rem;
    }

    .card-body-deck {
        padding: 1.2rem 1.25rem 1.4rem;
    }

    .card-title {
        font-size: 1.45rem;
    }

    .card-cta-btn {
        width: 100%;
        min-height: 48px;
    }
}

.edx-button {
    background: rgba(255, 255, 255, 0.05);
    color: #6C7D93;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: not-allowed;
}

/* Reusable project card system */
.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 21.5rem), 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
    align-items: stretch;
}

.project-card {
    --project-accent: var(--accent);
    --project-accent-soft: rgba(79, 195, 255, 0.16);
    display: grid;
    grid-template-rows: minmax(12.5rem, 44%) 1fr;
    min-height: clamp(29rem, 38vw, 33rem);
    border-radius: 24px;
    background: var(--glass-card-bg);
    border-color: color-mix(in srgb, var(--project-accent) 32%, rgba(255, 255, 255, 0.12));
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 var(--glass-card-highlight);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    overflow: hidden;
    /* isolation: isolate; */
    /* transition:
        transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 320ms ease,
        box-shadow 320ms ease,
        background 320ms ease,
        filter 320ms ease; */
        transition: 5s;
    
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.project-card:hover,
.project-card:focus-visible,
.project-card:focus-within {
    transform: translateY(-8px);
    border-color: color-mix(in srgb, var(--project-accent) 52%, rgba(255, 255, 255, 0.18));
    background: var(--glass-card-bg-hover);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.3),
        0 18px 44px color-mix(in srgb, var(--project-accent) 20%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.11);
    filter: none;
    height: 460px;
}

.exam-card {
    --project-accent: #4fc3ff;
    --project-accent-soft: rgba(79, 195, 255, 0.17);
}

.noir-card {
    --project-accent: #ffbc77;
    --project-accent-soft: rgba(255, 188, 119, 0.16);
}

.edx-card {
    --project-accent: #73ffd1;
    --project-accent-soft: rgba(115, 255, 209, 0.16);
}

.project-visual,
.visual-exam,
.visual-noir,
.visual-edx {
    min-height: 0;
    aspect-ratio: auto;
    background: rgba(255, 255, 255, 0.045);
    border-bottom: 1px solid color-mix(in srgb, var(--project-accent) 24%, rgba(255, 255, 255, 0.08));
}

.project-visual::before {
    width: 10rem;
    height: 10rem;
    right: -2.8rem;
    top: -2.4rem;
    background: var(--project-accent-soft);
}

.project-visual::after {
    width: 7rem;
    height: 7rem;
    left: -2.2rem;
    bottom: -2.4rem;
    background: rgba(255, 255, 255, 0.07);
}

.project-content,
.exam-content,
.noir-content,
.edx-content {
    display: grid;
    align-content: start;
    gap: 0.95rem;
    min-height: 0;
    padding: clamp(1.25rem, 2.2vw, 1.7rem);
}

.project-content h3,
.exam-content h3,
.noir-content h3,
.edx-content h3 {
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.project-content p,
.exam-content p,
.noir-content p,
.edx-content > p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    :root {
        --container: 960px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 6vw, 4rem);
    }

    .hero-stage {
        min-height: auto;
        margin-top: 0;
        padding-top: 1rem;
    }

    .hero {
        padding-top: 1.2rem;
        padding-bottom: 2rem;
    }

    .stage-primary {
        position: relative;
        inset: auto;
        margin: 0;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-metrics {
        grid-column: 1 / -1;
        grid-row: auto;
        margin-top: 0;
    }

    .display {
        width: 100%;
        height: auto;
        gap: 1rem;
        padding: 1rem;
        flex-direction: row;
        justify-content: flex-start;
    }

    .display h2 {
        font-size: clamp(2rem, 8vw, 4rem);
        margin-top: 0;
        margin-right: 0;
    }

    .display-img-wrapper::after { display: none; }

    .projects-grid { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }

    .site-header .nav-toggle { display: block; }

    .nav-menu {
        position: fixed;
        top: calc(var(--header-height) + 12px);
        right: 12px;
        left: auto;
        display: none;
        flex-direction: column;
        gap: 0.6rem;
        padding: 1.2rem;
        background: linear-gradient(135deg, rgba(10, 20, 31, 0.78), rgba(8, 15, 23, 0.82));
        border-radius: 16px;
        border: 1px solid rgba(79, 195, 255, 0.18);
        box-shadow: 0 18px 50px rgba(0,0,0,0.45), 0 8px 20px rgba(79,195,255,0.12);
        backdrop-filter: blur(18px) saturate(150%);
        -webkit-backdrop-filter: blur(18px) saturate(150%);
        z-index: 120;
        min-width: 200px;
    }

    .nav-menu.is-open { display: flex; }

    .nav-menu .nav-link { padding: 0.6rem 0.8rem; }

    .nav-cta, .button { padding: 0.7rem 1rem; }

    .intro-disp img {
        width: clamp(120px, 28vw, 220px);
        height: auto;
    }

    .intro-text p { font-size: clamp(0.85rem, 2.2vw, 1rem); margin-top: 0; }

    .about h1, .projects h1, .intro-text h1 { display: none; }

    .cv-card { grid-template-columns: 1fr; }

    .cv-image { width: 200px; height: 200px; }

    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
    :root { --container: 680px; --header-height: 64px; }

    .container { width: calc(100% - 1.4rem); }

    .hero-layout { gap: clamp(1rem, 6vw, 2.4rem); }

    .hero-title { 
        font-size: clamp(3.25rem, 7vw, 2.6rem); max-width: 100%; 
    }

    .hero-stage { min-height: auto; margin-top: 0; transform: none; }

    /* .stage-float { display: none; } */

    .display { flex-direction: column; align-items: center; text-align: center; }

    .display img { width: clamp(96px, 20vw, 140px); height: auto; }

    .floating-pill { max-width: 100%; padding: 1.5rem; }

    .projects-grid { grid-template-columns: 1fr; gap: 1rem; }

    .project-card {
        grid-template-rows: auto 1fr;
        min-height: auto;
        padding: 1.5rem;
        border-left: 4px solid var(--project-accent);
    }

    .project-visual {
        display: none !important;
    }

    .project-content {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 0;
    }

    .project-content h3 {
        font-size: 1.3rem;
        margin: 0;
    }

    .project-content > p {
        font-size: 0.9rem;
        line-height: 1.6;
        margin: 0;
        color: var(--muted);
    }

    .project-tags {
        flex-wrap: wrap;
        gap: 0.6rem;
    }

    .project-tags span {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
        border-radius: 6px;
        background: rgba(79, 195, 255, 0.08);
        color: rgba(79, 195, 255, 0.8);
        border: none;
    }

    .project-card a {
        align-self: flex-start;
    }

    /* Remove hover effects on mobile */
    .project-card:hover,
    .project-card:hover .project-visual {
        transform: none;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .project-card a:hover,
    .exam-button:hover,
    .noir-button:hover,
    .sabor-button:hover,
    .edx-button:hover {
        transform: none;
        background: inherit;
    }

    .toTopbtn { right: 0.8rem; bottom: 18px; }

    .nav-menu {
        left: 8px;
        right: 8px;
        top: calc(var(--header-height) + 8px);
        padding: 1rem 1.2rem;
        background: linear-gradient(135deg, rgba(10, 20, 31, 0.88), rgba(8, 15, 23, 0.92));
        border: 1px solid rgba(79, 195, 255, 0.22);
        box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 10px 24px rgba(79,195,255,0.15);
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
        border-radius: 18px;
    }

    .intro-shell { padding: 1rem; }

    .intro-text p { letter-spacing: 0.06em; }

    .cv-card { grid-template-columns: 1fr; gap: 1.5rem; }

    .cv-image { width: 100%; max-width: 240px; height: auto; }

    .cv-image-wrapper:hover::before { opacity: 0; }

    .cv-image:hover {
        transform: none;
    }

    .footer-top { grid-template-columns: 1fr; }

    .footer-links { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* Ensure images and media never overflow */
img, picture, video { max-width: 100%; height: auto; }

/* CV Section */
.cv-section {
    padding-top: 6rem;
}

.cv-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.cv-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(79, 195, 255, 0.18);
    background: linear-gradient(135deg, rgba(18, 29, 42, 0.6), rgba(9, 16, 24, 0.7));
    box-shadow: 
        0 32px 80px rgba(0, 0, 0, 0.35),
        0 16px 40px rgba(79, 195, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.cv-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cv-image-wrapper::before {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 20px;
    background: conic-gradient(from 45deg, rgba(79, 195, 255, 0.3), rgba(115, 255, 209, 0.2), rgba(255, 188, 119, 0.3));
    opacity: 0;
    transition: opacity 400ms ease;
    z-index: -1;
}

.cv-image-wrapper:hover::before {
    opacity: 1;
}

.cv-image {
    width: 300px;
    height: 340px;
    border-radius: 20px;
    border: 2px solid rgba(79, 195, 255, 0.22);
    box-shadow: 
        0 24px 64px rgba(79, 195, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    object-fit: cover;
    cursor: pointer;
    transition: 
        transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1),
        box-shadow 400ms ease,
        border-color 400ms ease;
    filter: brightness(0.98);
}

.cv-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 32px 80px rgba(79, 195, 255, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    border-color: rgba(79, 195, 255, 0.4);
}

.cv-content {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding-right: 1rem;
}

.cv-content h3 {
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-family: "Syne", sans-serif;
    font-weight: 700;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--text), rgba(79, 195, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cv-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--muted);
    letter-spacing: 0.01em;
}

.cv-download-btn {
    align-self: flex-start;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(79, 195, 255, 0.12), rgba(115, 255, 209, 0.08));
    border: 1.5px solid rgba(79, 195, 255, 0.32);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.cv-download-btn:hover {
    background: rgba(79, 195, 255, 0.18);
    border-color: rgba(79, 195, 255, 0.6);
    transform: translateX(4px);
    box-shadow: 0 12px 32px rgba(79, 195, 255, 0.2);
}

/* CV Modal */
.cv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 11, 18, 0.92);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 300ms ease;
}

.cv-modal.active {
    display: flex;
    opacity: 1;
}

.cv-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 128px rgba(79, 195, 255, 0.2);
    animation: modalSlideIn 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.cv-modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cv-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(5, 11, 18, 0.8);
    border: 1px solid rgba(79, 195, 255, 0.3);
    border-radius: 50%;
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 300ms ease;
    backdrop-filter: blur(12px);
}

.cv-modal-close:hover {
    background: rgba(79, 195, 255, 0.1);
    border-color: rgba(79, 195, 255, 0.6);
    transform: scale(1.1);
}

/* Footer Redesign */
.site-footer {
    background: rgba(6, 12, 19, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    display: grid;
    gap: 3rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.footer-brand h2 {
    margin: 0 0 0.5rem 0;
    font-size: 2rem;
    font-family: "Syne", sans-serif;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.footer-brand p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-link-group h4 {
    margin: 0 0 0.8rem 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text);
    font-family: "Syne", sans-serif;
}

.footer-link-group a {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--muted);
    font-size: 0.9rem;
    transition: color var(--transition);
    text-decoration: none;
}

.footer-link-group a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.85rem;
    margin: 0;
}

.project-tags,
.exam-tags,
.noir-tags,
.edx-tags {
    margin: 0;
}

.exam-button,
.noir-button,
.edx-button {
    width: fit-content;
    margin-top: 0.15rem;
}

@media (hover: hover) and (pointer: fine) {
    .project-card .project-content > p,
    .project-card .project-tags,
    .project-card .exam-button,
    .project-card .noir-button,
    .project-card .edx-button {
        max-height: 0;
        opacity: 0;
        transform: translateY(0.8rem);
        overflow: hidden;
        transition:
            max-height 520ms cubic-bezier(0.16, 1, 0.3, 1),
            opacity 320ms ease,
            transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    .project-card:hover .project-content > p,
    .project-card:focus-visible .project-content > p,
    .project-card:focus-within .project-content > p,
    .project-card:hover .project-tags,
    .project-card:focus-visible .project-tags,
    .project-card:focus-within .project-tags,
    .project-card:hover .exam-button,
    .project-card:focus-visible .exam-button,
    .project-card:focus-within .exam-button,
    .project-card:hover .noir-button,
    .project-card:focus-visible .noir-button,
    .project-card:focus-within .noir-button,
    .project-card:hover .edx-button,
    .project-card:focus-visible .edx-button,
    .project-card:focus-within .edx-button {
        max-height: 14rem;
        opacity: 1;
        transform: translateY(0);
    }

    .project-card:hover .project-tags,
    .project-card:focus-visible .project-tags,
    .project-card:focus-within .project-tags {
        transition-delay: 45ms;
    }

    .project-card:hover .exam-button,
    .project-card:focus-visible .exam-button,
    .project-card:focus-within .exam-button,
    .project-card:hover .noir-button,
    .project-card:focus-visible .noir-button,
    .project-card:focus-within .noir-button,
    .project-card:hover .edx-button,
    .project-card:focus-visible .edx-button,
    .project-card:focus-within .edx-button {
        transition-delay: 90ms;
    }
}

/* Skills and contact panels */
.skills-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.6rem;
    align-items: stretch;
}

.skills h1 {
    font-size: 700px;
    letter-spacing: 40px;
    margin-top: 80px;
    z-index: -9999;
    position: absolute;
    font-family: 'Tulpen';
    display: flex;
    justify-self: center;
    filter: opacity(15%);
}

.skills-copy,
.skills-panel {
    border-radius: var(--radius-lg);
    min-height: clamp(31rem, 42vw, 35rem);
}

.skills-copy {
    position: relative;
    display: grid;
    align-content: center;
    gap: 1.15rem;
    padding: clamp(1.5rem, 2.6vw, 1.9rem);
    border: 1px solid var(--glass-card-border);
    background: var(--glass-card-bg);
    box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-card-highlight);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
    overflow: hidden;
}

.skills-copy::before {
    content: "";
    position: absolute;
    inset: 1rem auto 1rem 1rem;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, transparent, rgba(115, 255, 209, 0.7), transparent);
}

.skills-copy-top {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    z-index: 1;
}

.skills-copy-top>div {
    min-width: 0;
}

.skills-orbit {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    color: var(--accent);
    background: rgba(115, 255, 209, 0.08);
    border: 1px solid rgba(115, 255, 209, 0.22);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24), inset 0 0 22px rgba(115, 255, 209, 0.08);
}

.skills-orbit::after {
    content: "";
    position: absolute;
    inset: -0.45rem;
    border-radius: inherit;
    border: 1px dashed rgba(255, 255, 255, 0.12);
}

.skills-orbit i {
    font-size: 1.65rem;
}

.skills-label {
    margin: 0 0 0.45rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.skills-copy h3 {
    margin: 0;
    max-width: 13ch;
    font-family: "Syne", sans-serif;
    font-size: clamp(1.9rem, 3.3vw, 2.8rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.skills-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    font-size: 1.02rem;
}

.skills-lead,
.skill-focus-list,
.skills-copy .skill-pills {
    position: relative;
    z-index: 1;
}

.skills-lead {
    max-width: 34rem;
}

.skill-focus-list {
    display: grid;
    gap: 0;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.skill-focus {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    padding: 0.82rem 0;
}

.skill-focus+.skill-focus {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.skill-focus i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1.08rem;
}

.skill-focus strong {
    display: block;
    margin-bottom: 0.22rem;
    color: var(--text);
    font-size: 0.98rem;
}

.skill-focus span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.5rem;
}

.skills-copy .skill-pills {
    margin-top: 0;
}

.skills-copy .skill-pills span {
    opacity: 0;
    transform: translate3d(-0.7rem, 0.8rem, 0) scale(0.94);
    filter: blur(8px);
    will-change: transform, opacity, filter;
}

.skills-copy.reveal.revealed .skill-pills span {
    animation: skill-pill-intro 1.05s cubic-bezier(0.2, 0.85, 0.2, 1) both;
    animation-delay: calc(var(--pill-index, 1) * 0.09s);
}

.skill-pills span:nth-child(1) { --pill-index: 1; }
.skill-pills span:nth-child(2) { --pill-index: 2; }
.skill-pills span:nth-child(3) { --pill-index: 3; }
.skill-pills span:nth-child(4) { --pill-index: 4; }
.skill-pills span:nth-child(5) { --pill-index: 5; }
.skill-pills span:nth-child(6) { --pill-index: 6; }
.skill-pills span:nth-child(7) { --pill-index: 7; }

.skills-copy .skill-pills span:nth-child(4) {
    color: #031017;
    border-color: transparent;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 14px 34px rgba(79, 195, 255, 0.18);
}

.skills-panel {
    position: relative;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 18% 14%, rgba(115, 255, 209, 0.12), transparent 30%),
        radial-gradient(circle at 82% 76%, rgba(255, 188, 119, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(12, 21, 31, 0.72), rgba(8, 15, 22, 0.88));
    overflow: hidden;
}

.skill-cloud {
    display: grid;
    align-content: center;
    justify-content: center;
    gap: 1.45rem;
}

.skill-cloud::before {
    content: "";
    position: absolute;
    inset: 1rem;
    border-radius: calc(var(--radius-lg) - 0.4rem);
    border: 1px solid rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.skill-cloud-head {
    position: relative;
    z-index: 1;
    max-width: 27rem;
    margin: 0 auto;
    text-align: center;
}

.skill-cloud-head span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.7rem;
    padding: 0.44rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(115, 255, 209, 0.16);
    background: rgba(115, 255, 209, 0.06);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.skill-cloud-head h3 {
    margin: 0;
    font-family: "Syne", sans-serif;
    font-size: clamp(1.45rem, 2.4vw, 2.1rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.skill-cloud-grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.skill-chip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3rem;
    padding: 0.78rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.055);
    color: var(--text);
    font-weight: 700;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
    animation: float-pill 6.8s ease-in-out infinite;
    animation-delay: calc(var(--chip-index, 0) * -0.55s);
}

.skills-panel.reveal.revealed .skill-chip {
    animation: skill-chip-intro 1.08s cubic-bezier(0.2, 0.85, 0.2, 1) both, float-pill 6.8s ease-in-out infinite;
    animation-delay: calc(var(--chip-index, 0) * 0.12s), calc(var(--chip-index, 0) * -0.55s);
}

.skill-chip:nth-child(1) {
    --chip-index: 1;
}

.skill-chip:nth-child(2) {
    --chip-index: 2;
}

.skill-chip:nth-child(3) {
    --chip-index: 3;
}

.skill-chip:nth-child(4) {
    --chip-index: 4;
}

.skill-chip:nth-child(5) {
    --chip-index: 5;
}

.skill-chip:nth-child(6) {
    --chip-index: 6;
}

.skill-chip:nth-child(7) {
    --chip-index: 7;
}

.skill-chip:nth-child(8) {
    --chip-index: 8;
}

.skill-chip:nth-child(9) {
    --chip-index: 9;
}

.skill-chip-large {
    min-height: 3.4rem;
    padding-inline: 1.25rem;
    font-size: 1.05rem;
    background: linear-gradient(135deg, rgba(115, 255, 209, 0.14), rgba(79, 195, 255, 0.08));
    border-color: rgba(115, 255, 209, 0.22);
}

.skill-chip-wide {
    padding-inline: 1.35rem;
}

.skill-chip i {
    color: var(--accent);
    font-size: 1.2rem;
}

@keyframes float-pill {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -8px, 0);
    }
}

@keyframes skill-pill-intro {
    0% {
        opacity: 0;
        transform: translate3d(-0.8rem, 0.9rem, 0) scale(0.92);
        filter: blur(10px);
    }

    55% {
        opacity: 0.82;
        transform: translate3d(0.5rem, -0.25rem, 0) scale(0.98);
        filter: blur(3px);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

@keyframes skill-chip-intro {
    0% {
        opacity: 0;
        transform: translate3d(-0.95rem, 0.9rem, 0) scale(0.92);
        filter: blur(10px);
    }

    60% {
        opacity: 0.9;
        transform: translate3d(0.35rem, -0.18rem, 0) scale(0.98);
        filter: blur(2px);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: blur(0);
    }
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    /* grid-template-columns: 1fr 0.9fr; */
    gap: 2rem;
    align-items: stretch;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    /* width: 500px; */
    /* padding: 100px 2000px 10px 20px; */
}

.contacts {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    /* flex-direction: column; */
    /* gap: 60px; */
    align-items: start;
    gap: 2rem;
    position: relative;
}

.contact h1 {
    font-size: 500px;
    letter-spacing: 30px;
    margin-top: 150px;
    z-index: -9999;
    position: absolute;
    font-family: 'Tulpen';
    display: flex;
    justify-self: center;
    filter: opacity(18%);
    pointer-events: none;
    white-space: nowrap;
}

.contact-panel,
.contact-form {
    padding: 1.8rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(15, 28, 42, 0.4), rgba(12, 22, 33, 0.4));
    border: 1px solid rgba(115, 255, 209, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    width: min(1200px, 100%);
}

.contact-panel {
    display: grid;
    gap: 2rem;
    grid-column: 1 / -1;
    margin-inline: auto;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-md);
}

.contact-panel::before {
    content: "";
    position: absolute;
    inset: -24% 48% 38% -12%;
    background: radial-gradient(circle, rgba(79, 195, 255, 0.22), transparent 72%);
    pointer-events: none;
}

.contact-panel::after {
    content: "";
    position: absolute;
    inset: auto -10% -34% 42%;
    height: 72%;
    background: radial-gradient(circle, rgba(115, 255, 209, 0.14), transparent 72%);
    pointer-events: none;
}

@media (min-width: 1100px) {
    .contact-panel {
        grid-column: 1;
        gap: 2.5rem;
    }

    .contact-note {
        font-size: 2rem;
    }

    .contact-list {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
    }

    .cta-container {
        flex-direction: column;
        gap: 1.2rem;
        margin-top: 2rem;
    }

    .cta-container .button {
        width: 100%;
    }
}

.contact-note {
    margin: 0;
    font-size: clamp(1.55rem, 3vw, 2.3rem);
    line-height: 1.15;
    width: auto;
    max-width: 30ch;
    margin-top: 0;
}

.contacts>.contact-note,
.contact-right {
    position: relative;
    z-index: 1;
}

.contacts>.contact-note {
    display: flex;
    align-items: center;
    min-height: 100%;
}

.contacts>.contact-note>.contact-note {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1.08;
    max-width: 22ch;
}

.contact-list {
    display: grid;
    gap: 1rem;
    margin-top: 0.75rem;
}

.contact-right {
    display: grid;
    align-content: start;
    gap: 1rem;
    margin-left: 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    transition: transform 300ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
    text-decoration: none;
    color: inherit;
    width: 100%;
    min-height: 5rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 38px rgba(0, 0, 0, 0.16);
}

.contact-item:hover {
    transform: translateY(-4px);
    border-color: rgba(115, 255, 209, 0.25);
    background: rgba(115, 255, 209, 0.06);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.07),
        0 14px 32px rgba(79, 195, 255, 0.12);
}

.contact-item>div {
    min-width: 0;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(115, 255, 209, 0.15), rgba(79, 195, 255, 0.1));
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.3rem;
}

.contact-divider {
    border: 0;
    background: linear-gradient(180deg, rgba(79, 195, 255, 0.16), rgba(115, 255, 209, 0.52), rgba(79, 195, 255, 0.16));
    position: absolute;
    height: 18rem;
    width: 2px;
    border-radius: 999px;
    top: 50%;
    left: 480px;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    box-shadow: 0 0 16px rgba(79, 195, 255, 0.14);
    pointer-events: none;
}

.contact-value {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    word-break: break-word;
}

.contact-list a,
.contact-list span {
    color: var(--muted);
    font-size: 1rem;
}

.social-row {
    display: grid;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 12px;
    border: 1px solid rgba(115, 255, 209, 0.2);
    background: linear-gradient(135deg, rgba(115, 255, 209, 0.08), rgba(79, 195, 255, 0.06));
    color: var(--accent);
    font-size: 1.3rem;
    transition: transform 300ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
    will-change: transform, box-shadow;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 10px 20px rgba(0, 0, 0, 0.14);
}

.social-icon:hover {
    scale: 1.08;
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(115, 255, 209, 0.18), rgba(79, 195, 255, 0.14));
    box-shadow: 0 12px 32px rgba(115, 255, 209, 0.18);
}

.cta-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
}

.cta-container .button {
    flex: 1;
    min-width: 12rem;
}

.site-footer {
    position: relative;
    width: min(1240px, calc(100% - 1rem));
    margin: 0 auto 1rem;
    padding: clamp(2.4rem, 4vw, 3.2rem) 1.1rem 1.4rem;
    border: 1px solid var(--glass-card-border);
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(79, 195, 255, 0.16), transparent 32%),
        linear-gradient(135deg, rgba(10, 20, 31, 0.92), rgba(7, 14, 21, 0.82));
    box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-card-highlight);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    overflow: hidden;
    height: auto;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: rgba(79, 195, 255, 0.5);
    pointer-events: none;
}

.footer-content {
    display: grid;
    gap: 2rem;
    width: min(1100px, calc(100% - 2.75rem));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(15rem, 0.7fr);
    align-items: center;
    gap: 2rem;
}

.container {
    border: none;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.95rem;
    justify-content: center;
    max-width: 46rem;
    text-align: left;
}

.footer-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.48rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(115, 255, 209, 0.16);
    background: rgba(255, 255, 255, 0.04);
    color: var(--accent);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-kicker::before {
    content: "";
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px rgba(79, 195, 255, 0.75);
}

.footer-section h3 {
    font-family: "Syne", sans-serif;
    font-size: clamp(2.2rem, 5vw, 4.1rem);
    line-height: 1.02;
    letter-spacing: 0;
    margin: 0;
    max-width: 12ch;
    color: var(--text);
}

.footer-section p {
    color: var(--muted);
    font-size: clamp(0.98rem, 1.2vw, 1.05rem);
    line-height: 1.75;
    width: 100%;
    max-width: 38rem;
    margin: 0;

}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
}

.footer-group h4 {
    margin: 0 0 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    font-family: "Manrope", sans-serif;
    font-weight: 600;
}


.footer-cta {
    display: grid;
    gap: 1rem;
    align-content: start;
    justify-items: start;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.1rem;
    padding: 0.85rem 1.15rem;
    border: 1px solid var(--accent);
    border-radius: 999px;
    background: rgba(79, 195, 255, 0.1);
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    flex: 1 1 10rem;
    transition: transform 300ms cubic-bezier(0.2, 0.9, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
}

.footer-link-btn i {
    font-size: 1.08rem;
}

.footer-link-secondary {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
}

.footer-link-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(115, 255, 209, 0.4);
    background: rgba(79, 195, 255, 0.16);
    box-shadow: 0 8px 24px rgba(79, 195, 255, 0.15);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    margin: 0;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.footer-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 700;
}

/* Shared motion helpers */
.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity var(--transition), transform 120ms linear;
    z-index: 120;
}

.cursor-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--accent);
}

.cursor-ring {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(115, 255, 209, 0.4);
    border-radius: 50%;
}

body.has-cursor .cursor-dot,
body.has-cursor .cursor-ring {
    opacity: 1;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1400ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 1400ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.reveal.is-scrubbed {
    opacity: var(--reveal-opacity, 0);
    transform: translate3d(0, var(--reveal-shift, 30px), 0);
    filter: blur(var(--reveal-blur, 0px));
    transition:
        opacity 180ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
        filter 210ms cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
    backface-visibility: hidden;
}

.reveal.is-scrubbed.delay-1,
.reveal.is-scrubbed.delay-2,
.reveal.is-scrubbed.delay-3 {
    transition-delay: 0ms;
}

.reveal.delay-1 {
    transition-delay: 220ms;
}

.reveal.delay-2 {
    transition-delay: 380ms;
}

.reveal.delay-3 {
    transition-delay: 540ms;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);

}

.typing-caret::after {
    content: "|";
    margin-left: 0.12em;
    color: var(--accent);
    animation: blink 1s steps(1) infinite;
}

:focus-visible {
    outline: 2px solid rgba(115, 255, 209, 0.5);
    outline-offset: 3px;
}

@keyframes hero-word {
    from {
        opacity: 0;
        transform: translate3d(-16px, 1.1em, 0);
        filter: blur(10px);
    }

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

@keyframes pulse {

    0%,
    100% {
        opacity: 0.72;
        transform: translateX(0);
    }

    50% {
        opacity: 1;
        transform: translateX(8px);
    }
}

@keyframes display-border-breathe {

    0%,
    100% {
        opacity: 0.22;
        filter: brightness(0.85) drop-shadow(0 0 0 rgba(115, 255, 209, 0));
    }

    50% {
        opacity: 1;
        filter:
            brightness(1.35) drop-shadow(0 0 10px rgba(115, 255, 209, 0.38)) drop-shadow(0 0 24px rgba(79, 195, 255, 0.28));
    }
}

@keyframes scroll-dot {

    0%,
    100% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    40% {
        opacity: 1;
    }

    70% {
        opacity: 1;
        transform: translate(-50%, 0.45rem);
    }
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    50.01%,
    100% {
        opacity: 0;
    }
}

/* Responsive behavior */
@media (max-width: 980px) {
    .nav-toggle {
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.9rem);
        right: 0;
        left: 0;
        display: grid;
        gap: 1rem;
        padding: 1.1rem;
        border: 1px solid var(--line);
        border-radius: 28px;
        background: rgba(6, 12, 19, 0.94);
        backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    }

    .nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .nav-cta {
        width: 100%;
    }

    .hero-layout,
    .about-layout,
    .skills-layout,
    .contact-layout,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skills-copy,
    .skills-panel {
        min-height: auto;
    }

    .skills-panel {
        min-height: 24rem;
    }

    .contact-layout {
        display: grid;
        grid-template-columns: 1fr;
    }

    .display,
    .about-story,
    .about-metrics {
        grid-column: 1;
        grid-row: auto;
    }

    .display {
        width: min(100%, 40rem);
        height: auto;
        padding: 1.2rem;
        gap: 1.15rem;
    }

    .display h2 {
        margin-top: 0;
        margin-right: 0;
        font-size: clamp(4rem, 14vw, 6rem);
    }

    .display h2::after {
        margin-right: 0;
    }

    .about-metrics {
        margin-top: 0;
    }

    .visual-aurora img {
        top: 0;
        height: 100%;
        object-fit: cover;
    }

    .contacts {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .contact-divider {
        display: none;
    }

    .contact-panel {
        grid-column: 1;
        padding: 1.45rem;
    }

    .contact-note {
        max-width: none;
    }

    .contacts>.contact-note>.contact-note {
        max-width: 26ch;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: start;
        align-items: start;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .footer-actions {
        justify-content: flex-start;
    }

    .about h1,
    .projects h1,
    .skills h1,
    .contact h1 {
        font-size: clamp(9rem, 22vw, 15rem);
        letter-spacing: clamp(0.55rem, 1.8vw, 1.25rem);
        margin-top: 72px;
    }

    .hero-stage {
        min-height: 28rem;
    }

    .stage-primary {
        inset: 2.5rem 0.2rem 0.8rem;
    }

    .stage-float.bottom {
        right: 0.4rem;
    }
}

@media (max-width: 700px) {
    .section {
        padding: 5.5rem 0;
    }

    .navbar {
        min-height: 74px;
        padding: 0.8rem 1rem;
    }

    .hero {
        min-height: auto;
        padding-top: 1.5rem;
    }

    .intro-shell {
        padding: 1.05rem;
    }

    .intro-shell::before {
        background-size: 72px 72px;
        opacity: 0.14;
    }

    .intro-shell::after {
        inset: 8% 5%;
        border-radius: 30px;
    }

    .intro-text {
        max-width: 100%;
        gap: 0.95rem;
        padding: 0.5rem;
    }

    .intro-disp {
        margin-top: 0;
        gap: 1rem;
    }

    .intro-disp img {
        width: 230px;
        height: 230px;
    }

    .intro-disp h1 {
        font-size: clamp(6.2rem, 19vw, 11rem);
    }

    .intro-note {
        font-size: 0.95rem;
        max-width: 30rem;
        line-height: 1.7;
    }

    .hero-layout {
        gap: 2rem;
    }

    .hero-status {
        padding: 0.65rem 0.95rem;
    }

    .hero-copy .eyebrow {
        font-size: 0.82rem;
        letter-spacing: 0.22em;
    }

    .hero-title {
        max-width: 100%;
    }

    .hero-stage {
        min-height: 24rem;
    }

    .stage-metrics {
        grid-template-columns: 1fr;
    }

    .stage-float {
        max-width: 12rem;
    }

    .stage-float.bottom {
        margin-bottom: 100px;
        margin-left: 20px;
    }

    .about-story,
    .skills-copy,
    .skills-panel,
    .contact-panel {
        padding: 1.3rem;
    }

    .skills-copy-top {
        align-items: center;
    }

    .skill-cloud {
        gap: 1.1rem;
    }

    .skill-cloud-head h3 {
        font-size: clamp(1.3rem, 6vw, 1.7rem);
    }

    .skill-cloud-grid {
        gap: 0.65rem;
    }

    .skill-chip {
        min-height: 2.75rem;
        padding: 0.66rem 0.86rem;
        font-size: 0.9rem;
    }

    .cta-container {
        flex-direction: column;
    }

    .cta-container .button {
        width: 100%;
    }

    .contact-note {
        font-size: 1.6rem;
    }

    .display {
        /* flex-direction: column; */
        text-align: center;
        width: 100%;
        gap: 0.7rem;
    }

    .display img {
        width: 120px;
        height: 120px;
    }

    .display h2 {
        font-size: clamp(3.8rem, 16vw, 5rem);
        margin-top: 30px;
    }

    .display h2::after {
        font-size: 11px;
        margin-left: 20px;
        width: 100%;
    }

    /* .display-img-wrapper::after {
        left: 50%;
        right: auto;
        top: auto;
        bottom: -0.85rem;
        width: 6rem;
        height: 2px;
        transform: translateX(-50%);
    } */

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

    .contact-item {
        padding: 1rem;
    }

    .footer-content {
        width: min(1180px, calc(100% - 1.4rem));
    }

    .footer-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        justify-items: center;
    }

    .footer-section h3 {
        font-size: clamp(1.75rem, 7vw, 2.3rem);
        max-width: 28ch;
    }

    .footer-section {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }

    .footer-section h3,
    .footer-section p {
        max-width: 32rem;
    }

    .footer-actions {
        justify-content: center;
        width: 100%;
        padding: 0.9rem 1rem;
        flex-direction: row;
    }

    .footer-link-btn {
        flex: 1 1 12rem;
        font-size: 0.9rem;
        padding: 0.8rem 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        width: 100%;
    }

    .about h1,
    .projects h1,
    .skills h1,
    .contact h1 {
        font-size: clamp(7.6rem, 24vw, 11.5rem);
        letter-spacing: clamp(0.42rem, 1.6vw, 0.85rem);
        margin-top: 52px;
    }

    .footer-cta {
        order: -1;
    }

    .scroll-cue {
        position: static;
        transform: none;
        margin: 2rem auto 0;
        width: fit-content;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(var(--container), calc(100% - 1.25rem));
    }

    .intro-shell {
        padding: 0.85rem;
    }

    .intro-shell::before {
        background-size: 58px 58px;
        opacity: 0.12;
    }

    .intro-shell::after {
        inset: 4.5% 3.5%;
        border-radius: 22px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-status {
        padding: 0.56rem 0.82rem;
        gap: 0.55rem;
    }

    .hero-copy .eyebrow {
        font-size: 0.76rem;
        letter-spacing: 0.18em;
    }

    .intro-text {
        gap: 0.75rem;
        padding: 0.2rem;
    }

    .intro-disp {
        flex-direction: row;
        gap: 0.75rem;
        margin-top: 0;
    }

    .intro-disp .divider {
        width: 0;
        height: 96px;
    }

    #disp-right {
        flex-direction: row;
        gap: 0.45rem;
        transform: translate3d(54px, 0px, 0);
    }

    .intro-text h1 {
        font-size: clamp(4.6rem, 22vw, 7.4rem);
        letter-spacing: 0.05em;
    }

    .intro-text p {
        max-width: 22rem;
        font-size: 0.92rem;
        line-height: 1.7;
    }

    .intro-note {
        max-width: 20rem;
    }

    .intro-disp img {
        width: 180px;
        height: 180px;
    }

    .intro-disp h1 {
        font-size: clamp(4.8rem, 20vw, 6.8rem);
    }

    .button,
    .button-primary,
    .button-secondary,
    .submit-button {
        width: 100%;
    }

    .skills-copy-top {
        gap: 0.85rem;
    }

    .skills-orbit {
        width: 3.25rem;
        height: 3.25rem;
    }

    .skills-orbit i {
        font-size: 1.42rem;
    }

    .skill-focus {
        gap: 0.75rem;
    }

    .skill-cloud-head {
        max-width: 22rem;
    }

    .skill-chip-large,
    .skill-chip-wide {
        padding-inline: 0.95rem;
    }

    .footer-actions {
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        padding: 0.85rem 1rem;
        justify-content: center;
    }

    .footer-link-btn {
        width: 100%;
        font-size: 0.88rem;
        min-height: 2.9rem;
        padding: 0.78rem 1rem;
    }

    .footer-layout {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .footer-section h3 {
        font-size: clamp(1.5rem, 7.5vw, 1.95rem);
    }

    .footer-section p {
        font-size: 0.92rem;
    }

    .footer-group h4 {
        font-size: 0.8rem;
    }

    .footer-group a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }

    .footer-bottom a {
        font-size: 0.8rem;
    }

    .site-footer {
        padding: clamp(2rem, 3.5vw, 2.8rem) 0.85rem 1.2rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .about h1,
    .projects h1,
    .skills h1,
    .contact h1 {
        font-size: clamp(6.8rem, 28vw, 10rem);
        letter-spacing: clamp(0.35rem, 2.4vw, 0.8rem);
    }
}

@media (max-width: 420px) {
    .hero {
        justify-content: center;
        justify-items: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .intro-shell::after {
        inset: 3.5% 3%;
        border-radius: 20px;
    }

    .intro-disp {
        margin-top: -100px;
    }

    .intro-text {
        display: none;
    }

    .intro-disp #introImg {
        height: 150px;
        width: 150px;
    }

    #disp-right h1 {
        font-size: 150px;
    }

    #load {
        /* width: 150px; */
        width: 0;
        height: 0;
        border: 2px solid rgba(46, 172, 235, 0.808);
        box-shadow: 0px 0px 15px rgba(98, 198, 248, 0.897);
        border-radius: 100px;
        /* border-color: red; */
        position: absolute;
        bottom: -25px;
        transition: 2s;
        position: absolute;
        left: 70px;
    }

    .hero-status {
        padding: 0.5rem 0.72rem;
    }

    .hero-copy .eyebrow {
        font-size: 0.72rem;
        letter-spacing: 0.16em;
    }

    .stage-primary {
        width: 98%;
        height: 220px;
    }

    .stage-float {
        left: auto;
        right: 0.25rem;
        position: absolute;
        width: min(12rem, 58vw);
    }

    .stage-float.bottom {
        margin-bottom: 100px;
        margin-left: 0;
    }

    .stage-metrics {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 155px;
        position: absolute;
        left: 0;
        gap: 1px;
    }

    .metric-card {
        display: flex;
        gap: 12px;
    }


    .intro-text h1 {
        font-size: clamp(4rem, 19vw, 5.8rem);
    }

    .intro-note {
        max-width: 17.5rem;
        font-size: 0.86rem;
    }



    .intro-disp h1 {
        font-size: clamp(4.1rem, 18vw, 5.8rem);
    }

    .stage-float.top {
        left: 0.25rem;
        right: auto;
        scale: 0.9;
    }

    .stage-float.bottom {
        scale: 0.9;

    }

    /* .toTopbtn {
        right: 100px;
    } */
    .intro-disp {
        justify-self: center;
        /* margin-left: -90px; */
        margin-top: -40px;
    }

    #load {
        left: 40px;
    }

    .intro-disp #introImg {
        height: 110px;
        width: 110px;
    }

    #disp-right h1 {
        font-size: 100px;
    }
}

@media (max-width: 320px) {

    .stage-float.top {
        left: 0;
        scale: 0.8;
    }

    /* .toTopbtn {
        right: 100px;
    } */
    .intro-disp {
        justify-self: center;
        margin-top: -20px;
    }

    #load {
        left: 40px;
    }

    .intro-disp #introImg {
        height: 110px;
        width: 110px;
    }

    #disp-right h1 {
        font-size: 100px;
    }

    .hero {
        justify-content: center;
        justify-items: center;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .intro-shell::after {
        inset: 3.5% 3%;
        border-radius: 20px;
    }

    .hero-status {
        padding: 0.48rem 0.65rem;
    }

    .hero-copy .eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.14em;
    }

    .stage-primary {
        width: 98%;
        height: 220px;
    }

    .stage-float {
        left: auto;
        right: 0.15rem;
        position: absolute;
        width: min(11rem, 62vw);
    }

    .stage-metrics {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 155px;
        position: absolute;
        left: 0;
        gap: 1px;
    }

    .metric-card {
        display: flex;
        gap: 12px;
    }


    .intro-text h1 {
        font-size: clamp(4rem, 19vw, 5.8rem);
    }

    .intro-note {
        max-width: 17.5rem;
        font-size: 0.86rem;
    }

    .site-footer {
        padding: clamp(1.8rem, 3vw, 2.4rem) 0.75rem 1rem;
    }

    .footer-section h3 {
        font-size: clamp(1.35rem, 6.5vw, 1.75rem);
    }

    .footer-section p {
        font-size: 0.88rem;
    }

    .footer-link-btn {
        font-size: 0.82rem;
        min-height: 2.75rem;
        padding: 0.7rem 0.85rem;
    }

    .footer-actions {
        padding: 0.8rem 0.85rem;
        gap: 0.65rem;
    }

    .footer-bottom {
        gap: 0.6rem;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }

    .footer-kicker {
        font-size: 0.68rem;
        padding: 0.4rem 0.75rem;
    }
}

@media (hover: none),
(pointer: coarse) {

    .cursor-dot,
    .cursor-ring,
    .spotlight {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: smooth;
    }

    /*
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    } */

    .reveal,
    .hero-title .word {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
    }

    .skill-chip {
        animation: none;
    }
}

.site-footer {
    border: 1px solid var(--glass-card-border);
    width: min(1240px, calc(100% - 1rem));
    border-radius: 28px;
    align-self: auto;
    display: block;
    justify-self: center;
    justify-content: normal;
    margin: 0 auto 1rem;
    padding: clamp(2.5rem, 4vw, 3.4rem) 0 1.4rem;
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    background: var(--glass-card-bg);
    box-shadow: var(--shadow-md), inset 0 1px 0 var(--glass-card-highlight);
}

/* Final card and project gallery pass */
.info-card,
.stat-card,
.about-story,
.display,
.skills-copy,
.skills-panel,
.contact-panel,
.contact-form,
.project-card,
.site-footer {
    background: rgba(10, 20, 31, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 26px 70px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(24px) saturate(155%);
    -webkit-backdrop-filter: blur(24px) saturate(155%);
}

.display::before,
.skills-copy::before,
.contact-panel::before,
.contact-panel::after {
    content: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.4rem);
    align-items: stretch;
}

.project-card,
.exam-card,
.noir-card,
.edx-card {
    --project-accent: #4fc3ff;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: clamp(17rem, 24vw, 21rem);
    max-height: clamp(17rem, 24vw, 21rem);
    padding: 0;
    border-radius: 26px;
    overflow: hidden;
    isolation: isolate;
    color: var(--text);
    transform: translateZ(0);
    cursor: default;
    transition:
        transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
        max-height 520ms cubic-bezier(0.16, 1, 0.3, 1),
        border-color 520ms ease,
        box-shadow 520ms ease,
        background 520ms ease;
}

.project-card:nth-child(2n) {
    margin-left: clamp(1.2rem, 4vw, 3rem);
}

.project-card:nth-child(2n + 1) {
    margin-right: clamp(1.2rem, 4vw, 3rem);
}

.project-card:nth-child(3n) {
    transform: rotate(-0.8deg);
}

.project-card:nth-child(3n + 1) {
    transform: rotate(0.8deg);
}

.exam-card {
    --project-accent: #4fc3ff;
}

.noir-card {
    --project-accent: #ffbc77;
}

.edx-card {
    --project-accent: #73ffd1;
}

.project-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.13);
    pointer-events: none;
    z-index: 3;
}

.project-card::after {
    content: "";
    position: absolute;
    width: 12rem;
    height: 12rem;
    right: -4rem;
    top: -4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    filter: blur(18px);
    opacity: 0.7;
    z-index: 0;
    transition: transform 780ms cubic-bezier(0.16, 1, 0.3, 1), opacity 520ms ease;
}

.project-card:hover,
.project-card:focus-within {
    max-height: 64rem;
    transform: translateY(-9px) rotate(0deg);
    border-color: color-mix(in srgb, var(--project-accent) 48%, rgba(255, 255, 255, 0.18));
    background: rgba(13, 25, 37, 0.64);
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.34),
        0 18px 42px color-mix(in srgb, var(--project-accent) 18%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.project-card:hover::after,
.project-card:focus-within::after {
    opacity: 1;
    transform: translate3d(-1.4rem, 1.2rem, 0) scale(1.12);
}

.project-visual,
.visual-exam,
.visual-noir,
.visual-edx {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: clamp(10.5rem, 62%, 14rem);
    aspect-ratio: auto;
    padding: clamp(1rem, 2vw, 1.4rem);
    background: rgba(255, 255, 255, 0.045);
    border: 0;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-visual::before,
.project-visual::after,
.visual-exam::before,
.visual-exam::after,
.visual-noir::before,
.visual-noir::after,
.visual-edx::before,
.visual-edx::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--project-accent) 42%, rgba(255, 255, 255, 0.1));
    background: transparent;
    filter: none;
    opacity: 0.75;
    transition: transform 560ms cubic-bezier(0.16, 1, 0.3, 1), opacity 320ms ease;
}

.project-visual::before,
.visual-exam::before,
.visual-noir::before,
.visual-edx::before {
    width: min(15rem, 70%);
    height: min(15rem, 70%);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.project-visual::after,
.visual-exam::after,
.visual-noir::after,
.visual-edx::after {
    width: min(9rem, 45%);
    height: min(9rem, 45%);
    right: 10%;
    top: 14%;
}

.project-card:hover .project-visual::before,
.project-card:hover .visual-exam::before,
.project-card:hover .visual-noir::before,
.project-card:hover .visual-edx::before {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(18deg) scale(1.08);
}

.project-card:hover .project-visual::after,
.project-card:hover .visual-exam::after,
.project-card:hover .visual-noir::after,
.project-card:hover .visual-edx::after {
    opacity: 1;
    transform: translate3d(-0.8rem, 1rem, 0) scale(1.08);
}

.exam-placeholder,
.noir-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: color-mix(in srgb, var(--project-accent) 44%, rgba(255, 255, 255, 0.2));
    font-family: "Syne", sans-serif;
    font-size: clamp(3.6rem, 9vw, 6rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    opacity: 0.58;
    transform: translateY(-0.25rem);
    transition: opacity 320ms ease, transform 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.exam-placeholder {
    font-size: 0;
}

.exam-placeholder::before {
    content: "EXAM";
    font-size: clamp(3.2rem, 8vw, 5.4rem);
}

.visual-edx img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: saturate(0.92) contrast(1.05);
    transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1), opacity 320ms ease, filter 320ms ease;
}

.project-card:hover .visual-edx img {
    transform: scale(1.07);
    opacity: 0.72;
    filter: saturate(1.08) contrast(1.08);
}

.project-card:hover .exam-placeholder,
.project-card:hover .noir-placeholder {
    opacity: 0.78;
    transform: translateY(-0.7rem) scale(0.96);
}

.project-content,
.exam-content,
.noir-content,
.edx-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.6rem;
    flex: 0 0 auto;
    max-height: 6rem;
    overflow: hidden;
    min-height: 0;
    padding: clamp(1rem, 1.6vw, 1.3rem);
    color: var(--text);
    background: rgba(4, 10, 15, 0.42);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    transition: max-height 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.exam-header,
.noir-header,
.edx-header {
    margin: 0;
}

.exam-category,
.noir-category,
.edx-category {
    display: block;
    margin: 0 0 0.5rem;
    color: color-mix(in srgb, var(--project-accent) 84%, white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.project-content h3,
.exam-content h3,
.noir-content h3,
.edx-content h3 {
    margin: 0;
    color: var(--text);
    font-family: "Syne", sans-serif;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1;
}

.edx-tagline {
    margin: 0.45rem 0 0;
    color: var(--muted);
    font-size: 0.72rem;
    letter-spacing: 0.13em;
}

.project-content p,
.exam-content p,
.noir-content p,
.edx-content > p,
.project-tags,
.exam-tags,
.noir-tags,
.edx-tags,
.exam-button,
.noir-button,
.edx-button {
    margin: 0;
}

.project-tags,
.exam-tags,
.noir-tags,
.edx-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.project-tags span,
.exam-tags span,
.noir-tags span,
.edx-tags span {
    padding: 0.42rem 0.66rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 0.76rem;
}

.exam-button,
.noir-button,
.edx-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 2.55rem;
    padding: 0.68rem 1rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--project-accent) 56%, rgba(255, 255, 255, 0.16));
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.edx-button {
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .project-card:hover .project-content,
    .project-card:focus-within .project-content,
    .project-card:hover .exam-content,
    .project-card:focus-within .exam-content,
    .project-card:hover .noir-content,
    .project-card:focus-within .noir-content,
    .project-card:hover .edx-content,
    .project-card:focus-within .edx-content {
        max-height: 32rem;
        overflow: visible;
    }
}

@media (max-width: 760px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card,
    .exam-card,
    .noir-card,
    .edx-card {
        min-height: 22rem;
        max-height: 22rem;
    }

    .project-card:hover,
    .project-card:focus-within {
        max-height: 52rem;
    }

    .project-visual,
    .visual-exam,
    .visual-noir,
    .visual-edx {
        height: clamp(9rem, 18vw, 11rem);
    }

    .project-content,
    .exam-content,
    .noir-content,
    .edx-content {
        max-height: 5.5rem;
    }

    .project-card:hover .project-content,
    .project-card:focus-within .project-content,
    .project-card:hover .exam-content,
    .project-card:focus-within .exam-content,
    .project-card:hover .noir-content,
    .project-card:focus-within .noir-content,
    .project-card:hover .edx-content,
    .project-card:focus-within .edx-content {
        max-height: 28rem;
    }
}

.contact-methods {
    display: flex;
    gap: 100px;
}





/* .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
    gap: clamp(1rem, 2vw, 1.4rem);
    align-items: stretch;
} */

@media (max-width: 760px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 760px) {
    .project-card:nth-child(2n),
    .project-card:nth-child(2n + 1) {
        margin-left: 0;
        margin-right: 0;
    }
    .project-card:nth-child(3n),
    .project-card:nth-child(3n + 1) {
        transform: none;
    }
    .project-card{
        /* height: 1000px; */
    }
}
@media (max-width: 700px) {
    .profile-pill {
        top: 0.6rem;
        right: 0.6rem;
        padding: 0.4rem 0.7rem;
    }
    .profile-pill h2 {
        font-size: 1.15rem;
    }
    .profile-subtitle {
        font-size: 0.62rem;
    }
}

/* Mobile glass and abstract polish pass */
.intro-overlay {
    background:
        linear-gradient(120deg, rgba(79, 195, 255, 0.12), transparent 34%),
        linear-gradient(240deg, rgba(115, 255, 209, 0.1), transparent 36%),
        linear-gradient(180deg, rgba(4, 8, 15, 0.96), rgba(5, 11, 18, 0.9));
}

.intro-shell {
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.08), transparent 20%, transparent 78%, rgba(255, 255, 255, 0.05)),
        rgba(5, 11, 18, 0.36);
}

.intro-shell::after {
    content: "";
    display: block;
    position: absolute;
    inset: clamp(1rem, 4vw, 3rem);
    border-radius: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.11), transparent 24%, transparent 74%, rgba(79, 195, 255, 0.08));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05),
        0 30px 90px rgba(0, 0, 0, 0.22);
    pointer-events: none;
    opacity: 0.72;
    z-index: 0;
}

.floating-pill {
    flex-direction: row;
    justify-content: flex-start;
    width: fit-content;
    max-width: min(100%, 35rem);
    min-height: 8.75rem;
    padding: 1rem 1.45rem 1rem 1rem;
    border-radius: 999px;
    background:
        linear-gradient(118deg, rgba(255, 255, 255, 0.13), transparent 22%, transparent 72%, rgba(79, 195, 255, 0.1)),
        linear-gradient(135deg, rgba(18, 29, 42, 0.55), rgba(9, 16, 24, 0.48));
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.28),
        0 16px 36px rgba(79, 195, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.floating-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.2) 11%, transparent 27%);
    transform: translateX(-115%);
    animation: glass-shine 6.8s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.pill-image-wrapper {
    position: relative;
    flex: 0 0 auto;
}

.pill-image-wrapper::after {
    content: "";
    position: absolute;
    inset: -0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), transparent 48%);
    pointer-events: none;
}

.pill-image-wrapper img {
    width: clamp(5.75rem, 13vw, 7.8rem);
    height: clamp(5.75rem, 13vw, 7.8rem);
}

.pill-content {
    align-items: flex-start;
    text-align: left;
    min-width: 0;
}

.pill-content h2 {
    font-size: clamp(1.55rem, 4vw, 2.45rem);
}

.about-story,
.info-card,
.stat-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.1), transparent 26%, transparent 76%, rgba(115, 255, 209, 0.07)),
        rgba(10, 20, 31, 0.5);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 28px 72px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

.about-story::before,
.info-card::before,
.stat-card::before,
.contact-panel::before,
.cv-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(104deg, transparent 0%, rgba(255, 255, 255, 0.14) 14%, transparent 31%);
    transform: translateX(-120%);
    animation: glass-shine 8.5s ease-in-out infinite;
    pointer-events: none;
}

.project-card,
.exam-card,
.noir-card,
.sabor-card,
.edx-card {
    --project-accent: #4fc3ff;
    min-height: clamp(24rem, 32vw, 31rem);
    max-height: none;
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 18%, transparent 72%, color-mix(in srgb, var(--project-accent) 13%, transparent)),
        rgba(7, 16, 25, 0.56);
    clip-path: polygon(0 0, calc(100% - 2.4rem) 0, 100% 2.4rem, 100% 100%, 2.2rem 100%, 0 calc(100% - 2.2rem));
    box-shadow:
        0 30px 76px rgba(0, 0, 0, 0.28),
        0 14px 34px color-mix(in srgb, var(--project-accent) 12%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.sabor-card {
    --project-accent: #ff7fb9;
    --project-accent-soft: rgba(255, 127, 185, 0.15);
}

.project-card::before {
    inset: 1px;
    border-radius: 29px;
    clip-path: inherit;
    border-color: color-mix(in srgb, var(--project-accent) 38%, rgba(255, 255, 255, 0.12));
}

.project-card::after {
    width: 44%;
    height: 62%;
    right: -8%;
    top: -14%;
    border-radius: 34% 66% 45% 55%;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--project-accent) 28%, transparent), rgba(255, 255, 255, 0.06));
    filter: blur(2px);
    opacity: 0.66;
    transform: rotate(18deg);
}

.project-visual,
.visual-exam,
.visual-noir,
.visual-sabor,
.visual-edx {
    height: clamp(12rem, 44vw, 16rem);
    margin: 0.85rem 0.85rem 0;
    width: calc(100% - 1.7rem);
    border-radius: 24px 24px 16px 16px;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--project-accent) 16%, transparent), transparent 40%),
        rgba(255, 255, 255, 0.045);
    clip-path: polygon(0 0, 100% 0, 100% 74%, 86% 100%, 0 100%);
}

.project-visual::before,
.visual-exam::before,
.visual-noir::before,
.visual-sabor::before,
.visual-edx::before {
    width: min(16rem, 78%);
    height: min(16rem, 78%);
    border-radius: 34% 66% 42% 58%;
    transform: translate(-50%, -50%) rotate(-14deg);
}

.project-visual::after,
.visual-exam::after,
.visual-noir::after,
.visual-sabor::after,
.visual-edx::after {
    width: min(9rem, 48%);
    height: min(9rem, 48%);
    border-radius: 68% 32% 58% 42%;
    right: 7%;
    top: 12%;
}

.project-content,
.exam-content,
.noir-content,
.sabor-content,
.edx-content {
    max-height: none;
    overflow: visible;
    margin: -1.6rem 0.85rem 0.85rem;
    padding: clamp(1.15rem, 2.5vw, 1.55rem);
    border-radius: 22px;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, 0.11), transparent 26%, transparent 78%, color-mix(in srgb, var(--project-accent) 12%, transparent)),
        rgba(5, 12, 18, 0.64);
    border: 1px solid color-mix(in srgb, var(--project-accent) 30%, rgba(255, 255, 255, 0.12));
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.5rem), calc(100% - 1.5rem) 100%, 0 100%);
}

.project-content > p,
.exam-content > p,
.noir-content > p,
.sabor-content > p,
.edx-content > p {
    font-size: clamp(0.9rem, 2vw, 0.98rem);
}

.project-tags span,
.exam-tags span,
.noir-tags span,
.sabor-tags span,
.edx-tags span {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), color-mix(in srgb, var(--project-accent) 10%, transparent));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-panel {
    position: relative;
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.13), transparent 22%, transparent 76%, rgba(79, 195, 255, 0.09)),
        rgba(8, 18, 29, 0.54);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.3),
        0 18px 42px rgba(79, 195, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

.contact-panel::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(90deg, transparent 0 48%, rgba(255, 255, 255, 0.08) 48% 48.2%, transparent 48.2%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 24%);
    pointer-events: none;
    opacity: 0.7;
}

.contact-item {
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.09), transparent 34%),
        rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.14);
}

.cv-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    background:
        linear-gradient(125deg, rgba(255, 255, 255, 0.13), transparent 24%, transparent 72%, rgba(115, 255, 209, 0.08)),
        rgba(8, 18, 29, 0.58);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.32),
        0 18px 42px rgba(115, 255, 209, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.cv-image {
    aspect-ratio: 0.78;
    height: auto;
    object-fit: cover;
}

.cv-download-btn {
    border-radius: 999px;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(79, 195, 255, 0.2), rgba(115, 255, 209, 0.1));
    box-shadow:
        0 18px 42px rgba(79, 195, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

@keyframes glass-shine {
    0%, 42% {
        transform: translateX(-120%);
        opacity: 0;
    }

    52% {
        opacity: 1;
    }

    72%, 100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

@media (max-width: 980px) {
    .nav-menu {
        gap: 0.72rem;
        padding: 0.9rem;
        border-radius: 30px;
        background:
            linear-gradient(125deg, rgba(255, 255, 255, 0.14), transparent 24%, transparent 76%, rgba(79, 195, 255, 0.12)),
            rgba(6, 12, 19, 0.62);
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow:
            0 26px 70px rgba(0, 0, 0, 0.34),
            0 14px 36px rgba(79, 195, 255, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            inset 0 -1px 0 rgba(255, 255, 255, 0.06);
        backdrop-filter: blur(26px) saturate(170%);
        -webkit-backdrop-filter: blur(26px) saturate(170%);
        overflow: hidden;
    }

    .nav-menu::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(104deg, transparent 0%, rgba(255, 255, 255, 0.18) 16%, transparent 34%);
        transform: translateX(-120%);
        animation: glass-shine 7.2s ease-in-out infinite;
        pointer-events: none;
    }

    .nav-link,
    .nav-cta {
        min-height: 3.05rem;
        border-radius: 999px;
    }

    .nav-link {
        display: flex;
        align-items: center;
        padding: 0.85rem 1rem;
        background: rgba(255, 255, 255, 0.045);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-link::after {
        content: none;
    }
}

@media (max-width: 760px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .section {
        padding: 4.75rem 0;
    }

    .container,
    .hero-layout,
    .hero-copy,
    .hero-stage,
    .stage-panel,
    .stage-screen {
        min-width: 0;
        max-width: 100%;
    }

    .hero-title {
        max-width: 100%;
        min-width: 0;
        font-size: clamp(2.05rem, 9.2vw, 2.35rem);
        line-height: 1.02;
        letter-spacing: 0;
        overflow-wrap: break-word;
        text-wrap: balance;
    }

    .hero-title .word {
        display: inline;
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
        font-size: 0.98rem;
        line-height: 1.7;
        overflow-wrap: break-word;
    }

    .hero-signals li {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 0.2rem;
        min-width: 0;
    }

    .hero-signals li::before {
        margin-top: 0.42rem;
        flex: 0 0 auto;
    }

    .hero-signals span {
        flex: 0 0 auto;
    }

    .section-shell {
        gap: 1.35rem;
    }

    .section-heading h2 {
        font-size: clamp(2rem, 9vw, 3.1rem);
        line-height: 1.04;
    }

    .floating-pill {
        min-height: 6.4rem;
        padding: 0.65rem 0.9rem 0.65rem 0.65rem;
        gap: 0.85rem;
        margin-inline: auto;
    }

    .pill-content h2 {
        font-size: clamp(1.28rem, 6.4vw, 1.85rem);
        line-height: 1.05;
    }

    .pill-subtitle {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

    .about-story {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .about-story-header {
        font-size: clamp(1.45rem, 7vw, 2.1rem);
    }

    .about-story .about-lead {
        font-size: clamp(1.35rem, 7vw, 2rem);
    }

    .about-story p:not(.about-lead) {
        line-height: 1.7;
    }

    .projects-grid {
        gap: 1.2rem;
    }

    .project-card,
    .exam-card,
    .noir-card,
    .sabor-card,
    .edx-card {
        min-height: 0;
        max-height: none;
        clip-path: polygon(0 0, calc(100% - 1.55rem) 0, 100% 1.55rem, 100% 100%, 1.45rem 100%, 0 calc(100% - 1.45rem));
        transform: none;
    }

    .project-card:hover,
    .project-card:focus-within {
        transform: translateY(-4px);
        max-height: none;
    }

    .project-visual,
    .visual-exam,
    .visual-noir,
    .visual-sabor,
    .visual-edx {
        height: clamp(9rem, 42vw, 12rem);
        margin: 0.65rem 0.65rem 0;
        width: calc(100% - 1.3rem);
        border-radius: 20px 20px 14px 14px;
    }

    .project-content,
    .exam-content,
    .noir-content,
    .sabor-content,
    .edx-content {
        max-height: none;
        margin: -1.1rem 0.65rem 0.65rem;
        padding: 1rem;
        border-radius: 18px;
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1rem), calc(100% - 1rem) 100%, 0 100%);
    }

    .project-content h3,
    .exam-content h3,
    .noir-content h3,
    .sabor-content h3,
    .edx-content h3 {
        font-size: clamp(1.38rem, 8vw, 1.9rem);
    }

    .exam-category,
    .noir-category,
    .sabor-category,
    .edx-category {
        font-size: 0.66rem;
        letter-spacing: 0.11em;
    }

    .contact-panel {
        padding: 1rem;
        border-radius: 24px;
    }

    .contact-panel::after {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 22%);
    }

    .contacts {
        gap: 1rem;
    }

    .contacts > .contact-note > .contact-note {
        max-width: 100%;
        font-size: clamp(1.35rem, 7vw, 1.9rem);
        line-height: 1.12;
    }

    .contact-item {
        align-items: center;
        min-height: 4.6rem;
        padding: 0.95rem;
        border-radius: 18px;
    }

    .contact-value {
        font-size: 0.88rem;
    }

    .cv-card {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        padding: 1.05rem;
        border-radius: 24px;
    }

    .cv-content {
        gap: 1rem;
        padding-right: 0;
    }

    .cv-download-btn {
        width: 100%;
        text-align: center;
        padding: 0.95rem 1.2rem;
    }
}

@media (max-width: 420px) {
    .navbar {
        min-height: 68px;
        padding: 0.65rem 0.75rem;
    }

    .nav-toggle {
        width: 2.9rem;
        height: 2.9rem;
    }

    .floating-pill {
        width: 100%;
        max-width: 100%;
    }

    .pill-image-wrapper img {
        width: 4.75rem;
        height: 4.75rem;
    }

    .pill-content h2 {
        font-size: clamp(1.16rem, 7vw, 1.5rem);
    }

    .hero-title {
        font-size: clamp(1.92rem, 9vw, 2.18rem);
    }

    .project-tags span,
    .exam-tags span,
    .noir-tags span,
    .sabor-tags span,
    .edx-tags span {
        font-size: 0.7rem;
        padding: 0.36rem 0.56rem;
    }
}

@media (max-width: 760px) {
    .hero-layout,
    .hero-copy,
    .hero-stage,
    .projects-grid,
    .about-layout,
    .contact-layout,
    .cv-container {
        width: min(100%, calc(100vw - 1.25rem));
        margin-inline: auto;
    }

    .hero-title {
        width: min(100%, 9.2ch);
        max-width: 9.2ch;
    }

    .hero-subtitle,
    .hero-signals {
        width: min(100%, 34ch);
        max-width: 34ch;
    }

    .stage-float {
        max-width: min(13rem, calc(100vw - 2rem));
    }

    .stage-float.bottom {
        right: 0;
        left: auto;
        max-width: min(14.5rem, calc(100vw - 2rem));
    }
}

@media (max-width: 420px) {
    .hero-title {
        width: min(100%, 8.7ch);
        max-width: 8.7ch;
    }
}

@media (max-width: 760px) {
    .hero-title {
        width: min(100%, calc(100vw - 1.4rem));
        max-width: min(100%, calc(100vw - 1.4rem));
        font-size: clamp(1.9rem, 8.8vw, 2.12rem);
    }

    .hero-copy {
        padding-inline: 0.35rem;
        padding-top: 50px;
    }

    .hero-title .word {
        display: inline;
    }

    .hero-title .word:nth-of-type(3)::after,
    .hero-title .word:nth-of-type(6)::after,
    .hero-title .word:nth-of-type(8)::after {
        content: "\A";
        white-space: pre;
    }

    .hero-subtitle,
    .hero-signals {
        width: min(100%, 29ch);
        max-width: 29ch;
    }

    .hero-stage {
        /* overflow: hidden; */
        border-radius: 28px;
        display: none;
    }

    .stage-float,
    .stage-float.top,
    .stage-float.bottom {
        left: 1rem;
        /* right: auto ; */
        max-width: min(12.5rem, calc(100vw - 3.5rem));
        width: min(12.5rem, calc(100vw - 3.5rem));
        scale: 1;
    }

    .stage-float.bottom {
        transform: none; 
        left: 10rem;
    }
}

/* ==========================================================================
   CV SECTION & FULL IMAGE LIGHTBOX MODAL FIX
   ========================================================================== */
.cv-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.cv-container {
    max-width: 900px;
    margin: 2.5rem auto 0;
}

.cv-card {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 1.8rem;
    border-radius: 24px;
    background: rgba(10, 18, 28, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
}

.cv-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 195, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 24px rgba(79, 195, 255, 0.12);
}

.cv-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.35;
    border-radius: 14px;
    overflow: hidden;
    background: #060D17;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cv-image-wrapper::after {
    content: "🔍 Expand CV";
    position: absolute;
    inset: 0;
    background: rgba(4, 8, 15, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4FC3FF;
    font-family: 'Manrope', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
}

.cv-image-wrapper:hover::after {
    opacity: 1;
}

.cv-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 400ms ease;
}

.cv-image-wrapper:hover .cv-image {
    transform: scale(1.04);
}

.cv-content h3 {
    margin: 0 0 0.6rem;
    font-family: "Syne", sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: #F5F7FA;
}

.cv-content p {
    margin: 0 0 1.5rem;
    color: #9BAEBF;
    font-size: 0.95rem;
    line-height: 1.65;
}

.cv-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.8rem;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
    color: #031017;
    box-shadow: 0 12px 28px rgba(79, 195, 255, 0.22);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.cv-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(79, 195, 255, 0.35);
}

/* Fullscreen CV Image Modal (Fits Entire Screen) */
.cv-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(3, 7, 13, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 350ms ease, visibility 350ms ease;
}

.cv-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cv-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.12);
    background: #060D17;
    transform: scale(0.94);
    transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.cv-modal.active .cv-modal-content {
    transform: scale(1);
}

.cv-modal-image {
    max-width: 88vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.cv-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(6, 14, 23, 0.88);
    color: #F5F7FA;
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: background 250ms ease, transform 250ms ease, color 250ms ease;
    z-index: 10;
}

.cv-modal-close:hover {
    background: #FF5A5A;
    color: #FFF;
    transform: scale(1.1);
}

/* ==========================================================================
   SITE FOOTER (DESKTOP & MOBILE REFINEMENT)
   ========================================================================== */
.site-footer {
    padding: 4.5rem 0 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #03070D;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

.footer-brand h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: #F5F7FA;
    letter-spacing: 0.02em;
}

.footer-brand p {
    color: #9BAEBF;
    font-size: 0.95rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-link-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link-group h4 {
    font-family: 'Manrope', monospace, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #73FFD1;
    margin: 0 0 0.4rem;
}

.footer-link-group a {
    color: #9BAEBF;
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 200ms ease, transform 200ms ease;
    display: inline-block;
}

.footer-link-group a:hover {
    color: #4FC3FF;
    transform: translateX(3px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-bottom p {
    color: #6C7D93;
    font-size: 0.85rem;
    margin: 0;
}

/* Mobile Adjustments for CV & Footer */
@media (max-width: 768px) {
    .cv-card {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        padding: 1.35rem;
        text-align: center;
    }

    .cv-image-wrapper {
        max-width: 220px;
        margin: 0 auto;
    }

    .cv-download-btn {
        width: 100%;
        min-height: 48px;
    }

    .cv-modal {
        padding: 1rem;
    }

    .cv-modal-image {
        max-width: 95vw;
        max-height: 80vh;
    }

    .site-footer {
        padding: 3.5rem 0 2rem;
    }

    .footer-top {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2.5rem;
        width: 100%;
    }

    .footer-link-group {
        align-items: center;
        min-width: 140px;
    }
}

/* Ensure no text-shadow or box-shadow on any buttons */
button,
.button,
.card-cta-btn,
.project-btn,
.cv-download-btn,
.toTopbtn,
button:hover,
.button:hover,
.card-cta-btn:hover,
.project-btn:hover,
.cv-download-btn:hover,
.toTopbtn:hover {
    text-shadow: none !important;
    box-shadow: none !important;
}

/* Mobile Intro Divider Guarantee */
@media (max-width: 768px) {
    .intro-disp {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
    }

    .intro-disp img {
        width: clamp(90px, 25vw, 150px);
        height: clamp(90px, 25vw, 150px);
    }

    .intro-disp .divider {
        display: block !important;
        width: 2px !important;
        height: clamp(50px, 14vw, 90px) !important;
        background: #4FC3FF !important;
        box-shadow: 0 0 10px rgba(79, 195, 255, 0.6) !important;
        opacity: 1 !important;
        transform: scaleY(1) !important;
        margin: 0 0.25rem !important;
    }

    .intro-disp h1 {
        font-size: clamp(4.5rem, 20vw, 8.5rem);
    }
}
