:root {
    --black: #06080f;
    --dark: #0B1120;
    --surface: #0e1420;
    --border: rgba(255, 255, 255, 0.06);
    --neon: #38BDF8;
    --purple: #A855F7;
    --white: #dde6f0;
    --muted: #4a5568;
    --muted2: #6b7280;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ── Loader ── */
#loader {
    position: fixed;
    inset: 0;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.loader-title {
    display: flex;
    justify-content: center;
    gap: 2px;
    font-size: 1.6rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.loader-title span {
    opacity: 0;
    transform: translateY(10px);
    animation: letterIn 0.6s forwards;
}

.loader-title span:nth-child(1) { animation-delay: 0.15s; }
.loader-title span:nth-child(2) { animation-delay: 0.3s; }
.loader-title span:nth-child(3) { animation-delay: 0.45s; }
.loader-title span:nth-child(4) { animation-delay: 0.6s; }
.loader-title span:nth-child(5) { animation-delay: 0.75s; }
.loader-title span:nth-child(6) { animation-delay: 0.9s; }
.loader-title span:nth-child(7) { animation-delay: 1.05s; }

@keyframes letterIn {
    to { opacity: 1; transform: translateY(0); }
}

.loader-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(56, 189, 248, 0.4);
    box-shadow:
        0 0 20px rgba(56, 189, 248, 0.3),
        0 0 40px rgba(168, 85, 247, 0.2);
    animation: pulse 1.8s ease-in-out infinite;
}

.loader-content p {
    font-size: 0.85rem;
    color: var(--muted2);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

@keyframes pulse {
    0%   { transform: scale(1);    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25); }
    50%  { transform: scale(1.08); box-shadow: 0 0 35px rgba(168, 85, 247, 0.35); }
    100% { transform: scale(1);    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25); }
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

/* ── Nav ── */
.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 0.7rem;
    object-fit: cover;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 1.4rem 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .4s, border-color .4s;
    border-bottom: 1px solid transparent;
}

nav.scrolled {
    background: rgba(6, 8, 15, 0.88);
    backdrop-filter: blur(18px);
    border-bottom-color: var(--border);
}

.nav-logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    color: var(--white);
    display: flex;
    align-items: center;
}

.nav-logo span { color: var(--neon); }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted2);
    text-decoration: none;
    transition: color .25s;
}

.nav-links a:hover { color: var(--white); }

.nav-socials {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-social-link {
    color: var(--muted);
    transition: color .25s;
    display: flex;
    align-items: center;
}

.nav-social-link:hover { color: var(--neon); }

.nav-social-link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

/* ── Hamburger ── */
.hbg {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hbg span {
    width: 22px;
    height: 1.5px;
    background: var(--muted2);
    border-radius: 1px;
    transition: .3s;
}

/* Mobile nav open state */
nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 8, 15, 0.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 1.5rem;
    gap: 1.2rem;
}

nav.mobile-open .nav-socials {
    display: flex;
    position: absolute;
    top: calc(100% + 180px); /* adjust based on your link count */
    left: 0;
    right: 0;
    background: rgba(6, 8, 15, 0.96);
    backdrop-filter: blur(18px);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    justify-content: flex-start;
    gap: 1.2rem;
}

/* Animate hamburger into X */
nav.mobile-open .hbg {
    color: var(--neon);
}

/* ── Sections ── */
section { position: relative; z-index: 2; }

/* ── Hero ── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
}

.hero-inner {
    max-width: 1000px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
}

.hero-left { flex: 1; }

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 1.4rem;
    opacity: 0.8;
}

.hero-name {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.hero-name .line2 {
    display: block;
    background: linear-gradient(100deg, var(--neon) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200%;
    animation: gradshift 5s ease infinite alternate;
}

@keyframes gradshift {
    from { background-position: 0%; }
    to   { background-position: 100%; }
}

.hero-typed {
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--muted2);
    margin-bottom: 1.8rem;
    min-height: 1.6em;
    letter-spacing: 0.01em;
}

#typed-text { color: var(--muted2); }

.tblink {
    display: inline-block;
    width: 1.5px;
    height: 0.95em;
    background: var(--neon);
    margin-left: 2px;
    vertical-align: middle;
    animation: blink .85s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

.hero-bio {
    font-size: 0.9rem;
    color: var(--muted2);
    line-height: 1.85;
    max-width: 400px;
    margin-bottom: 2.4rem;
}

.hero-actions {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
    padding: 0.7rem 1.7rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-solid {
    background: var(--neon);
    color: #000;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.25);
}

.btn-solid:hover {
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.45);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--muted2);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.hero-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: center;
}

.hero-socials a {
    color: var(--muted);
    transition: color .25s;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.hero-socials a svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.hero-socials a:hover { color: var(--neon); }

.hero-socials .sep {
    width: 1px;
    height: 14px;
    background: var(--border);
}

/* ── Profile Pic ── */
.hero-photo-wrap {
    position: relative;
    width: 280px;
    height: 280px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-glow {
    position: absolute;
    inset: -40px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(56, 189, 248, 0.18) 0%,
        rgba(168, 85, 247, 0.14) 35%,
        transparent 70%);
    filter: blur(30px);
    animation: pulseGlow 5s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from { transform: scale(1);    opacity: 0.7; }
    to   { transform: scale(1.08); opacity: 1; }
}

.photo-border {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--neon), var(--purple), var(--neon));
    animation: spin 10s linear infinite;
    box-shadow:
        0 0 30px rgba(56, 189, 248, 0.3),
        0 0 60px rgba(168, 85, 247, 0.15);
}

@keyframes spin { to { transform: rotate(360deg); } }

.photo-border-mask {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: rgba(14, 20, 32, 0.92);
    backdrop-filter: blur(20px);
    z-index: 1;
}

.photo-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg,
        rgba(255, 255, 255, 0.03),
        rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        inset 4px 4px 10px rgba(255, 255, 255, 0.03),
        inset -6px -6px 12px rgba(0, 0, 0, 0.35),
        0 20px 40px rgba(0, 0, 0, 0.45);
    transition: transform 0.08s ease, box-shadow 0.3s ease;
}

.hero-photo-wrap:hover .photo-inner {
    box-shadow:
        inset 4px 4px 12px rgba(255, 255, 255, 0.05),
        inset -8px -8px 18px rgba(0, 0, 0, 0.45),
        0 0 30px rgba(56, 189, 248, 0.18);
}

.photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-placeholder {
    font-size: 5rem;
    opacity: 0.8;
}

/* ── Reveal animation ── */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s ease, transform .7s ease;
}

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

/* ── Divider ── */
.divider {
    max-width: 1000px;
    margin: 0 auto;
    height: 1px;
    background: var(--border);
    opacity: 0;
    transform: scaleX(0.6);
    transition: opacity .7s ease, transform .7s ease;
}

.divider.on {
    opacity: 1;
    transform: scaleX(1);
}

/* ── About ── */
#about {
    padding: 7rem 4rem;
}

.about-inner {
    max-width: 1000px;
    margin: 5rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.about-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 1.2rem;
    opacity: 0.8;
}

.about-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.about-heading em {
    font-style: normal;
    color: var(--purple);
}

.about-body p {
    font-size: 0.9rem;
    color: var(--muted2);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.about-body p strong {
    color: var(--white);
    font-weight: 500;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.8rem;
}

.about-tag {
    font-size: 0.72rem;
    letter-spacing: 0.07em;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--muted2);
    background: rgba(255, 255, 255, 0.025);
    transition: border-color .25s, color .25s;
}

.about-tag:hover {
    border-color: rgba(56, 189, 248, 0.35);
    color: var(--neon);
}

.stats-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.8rem;
}

.stat-n {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-n span { color: var(--neon); }

.stat-l {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
    text-transform: uppercase;
}

.bar-row { margin-bottom: 1.1rem; }

.bar-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    margin-bottom: 0.4rem;
    color: var(--muted2);
}

.bar-track {
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 1px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 0;
    border-radius: 1px;
    transition: width 1.1s cubic-bezier(.4, 0, .2, 1);
}

.bar-fill.neon {
    background: var(--neon);
    box-shadow: 0 0 6px rgba(56, 189, 248, 0.5);
}

.bar-fill.purple {
    background: var(--purple);
    box-shadow: 0 0 6px rgba(168, 85, 247, 0.5);
}

/* ── Contact ── */
#contact {
    padding: 7rem 4rem 8rem;
}

.contact-inner {
    max-width: 1000px;
    margin: 5rem auto 0;
}

.contact-top {
    margin-bottom: 4rem;
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: var(--muted2);
    margin-bottom: 1.4rem;
}

.availability-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
    animation: dotpulse 2.2s ease-in-out infinite;
}

@keyframes dotpulse {
    0%, 100% { box-shadow: 0 0 5px rgba(34, 197, 94, 0.5); }
    50%       { box-shadow: 0 0 12px rgba(34, 197, 94, 0.9); }
}

.contact-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 1.2rem;
    opacity: 0.8;
}

.contact-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-heading em {
    font-style: normal;
    background: linear-gradient(100deg, var(--neon) 0%, var(--purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-sub {
    font-size: 0.9rem;
    color: var(--muted2);
    line-height: 1.85;
    max-width: 480px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.3rem 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.018);
    text-decoration: none;
    transition: border-color .25s, background .25s, transform .25s;
}

.contact-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.04);
    transform: translateY(-2px);
}

.contact-card.purple-hover:hover {
    border-color: rgba(168, 85, 247, 0.3);
    background: rgba(168, 85, 247, 0.04);
}

.contact-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon.neon-bg {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.contact-card-icon.purple-bg {
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.contact-card-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-card-icon.neon-bg svg   { color: var(--neon); }
.contact-card-icon.purple-bg svg { color: var(--purple); }

.contact-card-body {
    flex: 1;
    min-width: 0;
}

.contact-card-label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.25rem;
}

.contact-card-value {
    font-size: 0.88rem;
    color: var(--white);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-card-arrow {
    color: var(--muted);
    transition: color .25s, transform .25s;
    flex-shrink: 0;
}

.contact-card:hover .contact-card-arrow {
    color: var(--neon);
    transform: translate(3px, -3px);
}

.contact-card.purple-hover:hover .contact-card-arrow {
    color: var(--purple);
}

.contact-card-arrow svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ── Footer ── */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem 4rem;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--white);
}

.footer-name span { color: var(--neon); }

.footer-copy {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    nav { padding: 1.2rem 1.5rem; }
    .nav-links, .nav-socials { display: none; }
    .hbg { display: flex; }

    #hero { padding: 0 1.5rem; }
    .hero-inner { flex-direction: column; gap: 3rem; padding-top: 6rem; }
    .hero-photo-wrap { width: 200px; height: 200px; }

    #about { padding: 5rem 1.5rem; }
    .about-inner { grid-template-columns: 1fr; gap: 3rem; margin-top: 3rem; }

    #contact { padding: 5rem 1.5rem 6rem; }
    .contact-inner { margin-top: 3rem; }

    footer { padding: 2rem 1.5rem; flex-direction: column; align-items: flex-start; }
}

/* ── Projects ── */
#projects {
    padding: 7rem 4rem;
}

.projects-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.projects-header {
    margin-bottom: 3.5rem;
}

.projects-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 1.2rem;
    opacity: 0.8;
}

.projects-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 0.9rem;
}

.projects-heading em {
    font-style: normal;
    color: var(--purple);
}

.projects-sub {
    font-size: 0.9rem;
    color: var(--muted2);
    line-height: 1.8;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

/* ── Project Card ── */
.project-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.018);
    overflow: hidden;
    transition: border-color .3s, transform .3s;
}

.project-card:hover {
    border-color: rgba(56, 189, 248, 0.25);
    transform: translateY(-3px);
}

/* Placeholder preview area */
.project-preview {
    position: relative;
    height: 150px;
    background: rgba(56, 189, 248, 0.04);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-preview.purple-theme {
    background: rgba(168, 85, 247, 0.04);
}

.project-preview-glow {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.35;
}

.neon-glow   { background: var(--neon);   }
.purple-glow { background: var(--purple); }

/* Decorative animated lines inside preview */
.project-preview-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.project-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
     border-radius: inherit;
}

.project-preview-images-gym {
    position: absolute;
    inset: 0;
    width: 325px;
    height: auto;
}

.project-preview-images-gym img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
}

.project-preview-lines img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
}

.project-card:hover .project-preview-lines span {
    background: rgba(255, 255, 255, 0.12);
}

.project-preview-lines span:nth-child(1) { width: 65%; animation-delay: 0.05s; }
.project-preview-lines span:nth-child(2) { width: 80%; animation-delay: 0.1s;  }
.project-preview-lines span:nth-child(3) { width: 50%; animation-delay: 0.15s; }
.project-preview-lines span:nth-child(4) { width: 70%; animation-delay: 0.2s;  }
.project-preview-lines span:nth-child(5) { width: 40%; animation-delay: 0.25s; }

@keyframes lineIn {
    from { opacity: 0; transform: scaleX(0); }
    to   { opacity: 1; transform: scaleX(1); }
}

.project-preview-label {
    position: absolute;
    bottom: 0.75rem;
    right: 0.85rem;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.445);
    background: rgba(6, 8, 15, 0.6);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    border: 1px solid var(--border);
}

/* Card body */
.project-card-body {
    padding: 1.3rem 1.5rem 1.5rem;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.project-tag {
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    color: var(--muted2);
    background: rgba(255, 255, 255, 0.02);
}

.project-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
    margin-bottom: 0.55rem;
}

.project-desc {
    font-size: 0.83rem;
    color: var(--muted2);
    line-height: 1.75;
    margin-bottom: 1.2rem;
}

.project-links {
    display: flex;
    gap: 0.7rem;
    align-items: center;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    padding: 0.45rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all .25s;
    background: var(--neon);
    color: #000;
}

.project-link svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.project-link:hover {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    transform: translateY(-1px);
}

.project-link.ghost {
    background: transparent;
    color: var(--muted2);
    border: 1px solid var(--border);
}

.project-link.ghost svg {
    fill: currentColor;
    stroke: none;
    width: 13px;
    height: 13px;
}

.project-link.ghost:hover {
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    box-shadow: none;
}

@media (max-width: 768px) {
    #projects { padding: 5rem 1.5rem; }
    .projects-grid { grid-template-columns: 1fr; }
}

 #scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 9999;
  }

  #scroll-indicator.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  #scroll-indicator-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    object-fit: cover;
    box-shadow: 0 0 0 4px rgba(0, 255, 180, 0.15);
  }

  #scroll-indicator-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
  }

  #scroll-indicator-arrow {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.6);
    animation: bounceArrow 1.4s ease-in-out infinite;
  }

  @keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(5px); }
  }

  
/* ── Mission ── */
#mission {
    padding: 7rem 4rem;
}

.mission-inner {
    max-width: 1000px;
    margin: 5rem auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.mission-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 1.2rem;
    opacity: 0.8;
}

.mission-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.mission-heading em {
    font-style: normal;
    color: var(--purple);
}

.mission-left p {
    font-size: 0.9rem;
    color: var(--muted2);
    line-height: 1.9;
    margin-bottom: 1rem;
}

.mission-left p strong {
    color: var(--white);
    font-weight: 500;
}

.mission-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mission-card {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.3rem 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.018);
    transition: border-color .25s, background .25s, transform .25s;
}

.mission-card:hover {
    border-color: rgba(56, 189, 248, 0.25);
    background: rgba(56, 189, 248, 0.04);
    transform: translateY(-2px);
}

.mission-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mission-card-icon svg {
    width: 20px;
    height: 20px;
}

.mission-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.mission-card-desc {
    font-size: 0.82rem;
    color: var(--muted2);
    line-height: 1.7;
}

@media (max-width: 768px) {
    #mission { padding: 5rem 1.5rem; }
    .mission-inner { grid-template-columns: 1fr; gap: 3rem; margin-top: 3rem; }
}

@keyframes appear {
    from {
  opacity: 0;
   scale:0.5;
    } to {
  opacity: 1;
    scale:1.0;
    }
}

.block {
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

.warp {
  animation: warp linear both;
  animation-timeline: view();
  animation-range: entry 13% cover 60%;
}

/* Keyframes */
@keyframes warp {

  0% {
    opacity: 0;
    transform: translateY(35px) scale(0.94) skewY(2deg);

    box-shadow:
      inset 3px 3px 6px #c9cdd6,
      inset -3px -3px 6px #e6e9ef;

    filter: blur(3px);
  }

  50% {
    opacity: 1;
    transform: translateY(-6px) scale(1.015) skewY(-0.5deg);

    /* softer, less aggressive */
    box-shadow:
      4px 4px 10px rgba(0, 0, 0, 0.10),
      -4px -4px 10px rgba(255, 255, 255, 0.35);

    filter: blur(0px);
  }

  /* glow starts fading */
  85% {
    opacity: 1;
    transform: translateY(-1px) scale(1.005) skewY(0deg);

    box-shadow:
      2px 2px 6px rgba(0, 0, 0, 0.06),
      -2px -2px 6px rgba(255, 255, 255, 0.2);
  }

  /* final clean state */
  100% {
    opacity: 1;
    transform: translateY(0px) scale(1) skewY(0deg);

    box-shadow: none; /* fully remove glow */
    filter: blur(0px);
  }
}