body {
    --cursor-x: 50vw;
    --cursor-y: 50vh;
    font-family: Inter, system-ui, sans-serif;
    margin: 0;
    position: relative;
    min-height: 100svh;
    padding: clamp(1rem, 2vw, 1.6rem);
    color: #edf7fb;
    background:
        radial-gradient(circle at 82% 12%, rgba(71, 220, 255, 0.14), transparent 26rem),
        radial-gradient(circle at 18% 88%, rgba(185, 156, 255, 0.12), transparent 28rem),
        linear-gradient(120deg, #03070d 0%, #07131d 58%, #0b1724 100%);
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at var(--cursor-x) var(--cursor-y), rgba(126, 234, 255, 0.12), transparent 18rem);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    content: "";
}

body.is-pointer-active::before {
    opacity: 1;
}

main {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
    background-size: 76px 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

img,
video,
svg {
    max-width: 100%;
}

img,
video {
    height: auto;
}

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

#navbar {
    position: sticky;
    top: clamp(1rem, 2vw, 1.6rem);
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: min(100%, 1380px);
    margin: auto;
    padding: 10px clamp(1rem, 2.4vw, 30px);
    border: 1px solid rgba(126, 234, 255, 0.2);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(126, 234, 255, 0.12), transparent 42%),
        rgba(5, 12, 20, 0.72);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.34),
        0 0 0 1px rgba(126, 234, 255, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px) saturate(1.18);
    overflow: hidden;
}

#leftside {
    display: flex;
    align-items: center;
    min-width: 0;
}

#logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    background: linear-gradient(135deg, #f8fbff, #7eeaff);
    color: #031018;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
}

#profile-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

#navName {
    font-size: 24px;
    font-weight: bold;
    margin-right: auto;
    color: #f8fbff;
    white-space: nowrap;
}

#navTitle {
    margin-right: auto;
    font-size: 15px;
    color: #b8c8d1;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.25rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    position: relative;
    display: inline-flex;
    padding: 10px;
    font-size: clamp(0.88rem, 1.1vw, 1.125rem);
    color: #dceaf0;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a.is-active {
    color: #7eeaff;
}

.nav-menu li a:hover {
    transform: translateY(-1px);
}

.nav-menu li a::after {
    position: absolute;
    right: 10px;
    bottom: 4px;
    left: 10px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #7eeaff, transparent);
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.2s ease, transform 0.2s ease;
    content: "";
}

.nav-menu li a:hover::after,
.nav-menu li a.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
    margin: clamp(2rem, 5vw, 50px) clamp(0rem, 4vw, 50px) 0;
    min-height: calc(100svh - 210px);
}

.hero-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.circle {
    position: absolute;
    width: min(88%, 520px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(126, 234, 255, 0.22), transparent 62%),
        radial-gradient(circle at 80% 65%, rgba(185, 156, 255, 0.18), transparent 44%);
    filter: blur(6px);
    z-index: 0;
}

.capsule {
    color: #dff9ff;
    border: 1px solid rgba(126, 234, 255, 0.22);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(126, 234, 255, 0.13), transparent 42%),
        rgba(5, 12, 20, 0.7);
    box-shadow:
        0 24px 80px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(126, 234, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px) saturate(1.18);
    padding: 10px 20px;
}

#name {
    font-size: clamp(4.2rem, 10vw, 9rem);
    font-family: Inter, system-ui, sans-serif;
    text-transform: uppercase;
    margin: 50px 0 0;
    display: flex;
    flex-direction: column;
    line-height: 0.5;
}

.first-name,
.last-name {
    display: block;
}

.first-name {
    color: #f8fbff;
    text-shadow: 0 20px 70px rgba(126, 234, 255, 0.16);
}

.last-name {
    font-family: Arial, sans-serif;
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    letter-spacing: 10px;
    font-weight: 900;
}

.tagline {
    font-size: 2rem;
    color: #d8e5eb;
    font-family: "Space Grotesk", sans-serif;
    margin: 0 0 20px;
}

.description {
    font-size: 1.2rem;
    color: #a9bbc5;
    width: min(100%, 600px);
    max-width: 600px;
    overflow-wrap: break-word;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    min-height: 3.4rem;
    padding: 0.95rem clamp(1.5rem, 4vw, 3.125rem);
    border: 0;
    border-radius: 999px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button::before,
.project-action::before,
.contact-submit::before {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.32) 42%, transparent 72%);
    transform: translateX(-120%);
    transition: transform 0.55s ease;
    content: "";
}

.button-secondary {
    border: 1px solid rgba(126, 234, 255, 0.22);
    color: #dff9ff;
    background: linear-gradient(135deg, rgba(126, 234, 255, 0.1), transparent 46%), rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(18px) saturate(1.15);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.button-primary {
    color: #041018;
    background: linear-gradient(135deg, #f8fbff, #7eeaff 48%, #b99cff);
    box-shadow: 0 22px 74px rgba(103, 232, 249, 0.26), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.button:hover {
    transform: translateY(-2px);
}

.button:hover::before,
.project-action:hover::before,
.contact-submit:hover::before {
    transform: translateX(120%);
}

.button:active,
.project-action:active,
.contact-submit:active {
    transform: translateY(0) scale(0.98);
}

.hero-image-wrap {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 520px;
}

.hero-image-wrap picture {
    display: contents;
}

.hero-image {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    max-height: 72svh;
    object-fit: cover;
    object-position: center top;
    border-radius: 100%;
    filter: drop-shadow(0 34px 70px rgba(137, 204, 255, 0.25));
}

@supports (content-visibility: auto) {
    .page-section:not(.projects-section) {
        content-visibility: auto;
        contain-intrinsic-size: auto 980px;
    }
}

@media (max-width: 980px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-image-wrap {
        justify-content: center;
        min-height: 360px;
        order: -1;
    }

    .hero-image {
        width: min(78vw, 420px);
        max-height: 46svh;
    }
}

.page-section {
    margin-top: 50px;
}

.about-section {
    inset: 0;
    z-index: -2;
    -webkit-mask-image: radial-gradient(circle at 42% 60%, black 0 52%, transparent 82%);
    mask-image: radial-gradient(circle at 30% 80%, black 0 52%, transparent 95%);
}

.projects-section {
    min-height: 285svh;
}

.experience-section {
    min-height: 145svh;
    padding-bottom: clamp(4rem, 9vw, 8rem);
}

.experience-lede .section-subtitle {
    width: min(100%, 980px);
}

.skills-section {
    min-height: 100svh;
    padding-bottom: clamp(4rem, 9vw, 8rem);
}

.skills-ecosystem {
    width: min(100% - 80px, 1380px);
    margin: 0 auto;
}

.skills-copy .section-subtitle {
    width: 100%;
    max-width: 760px;
    margin-bottom: 1.25rem;
}

.skills-description {
    width: min(100%, 680px);
    color: #a9bbc5;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.7;
}

.education-section {
    min-height: 88svh;
    padding-bottom: clamp(4rem, 9vw, 8rem);
}

.education-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.9fr);
    align-items: start;
    gap: clamp(2rem, 5vw, 5rem);
    width: min(100% - 80px, 1380px);
    margin: 0 auto;
}

.education-copy .section-subtitle {
    width: 100%;
    max-width: 920px;
}

.education-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1rem, 2vw, 1.4rem);
}

.education-card {
    min-height: 260px;
    padding: clamp(1.2rem, 2vw, 1.6rem);
    border: 1px solid rgba(126, 234, 255, 0.12);
    border-radius: 1.5rem;
    background:
        radial-gradient(circle at 84% 16%, rgba(12, 143, 168, 0.14), transparent 18rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 52%),
        rgba(5, 12, 17, 0.84);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.education-entry + .education-entry {
    margin-top: clamp(1.35rem, 2vw, 1.8rem);
    padding-top: clamp(1.25rem, 2vw, 1.6rem);
    border-top: 1px solid rgba(126, 234, 255, 0.12);
}

.education-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.education-card-heading span {
    flex: 0 0 auto;
    padding-top: 0.35rem;
    color: #8fb4c9;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.education-card h3 {
    margin: 0;
    color: #d8edff;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    font-weight: 800;
    line-height: 1;
}

.education-college,
.education-score {
    max-width: 42rem;
    font-weight: 800;
    line-height: 1.6;
}

.education-college {
    margin: clamp(1rem, 1.6vw, 1.35rem) 0 0;
    color: #c8dce8;
    font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.education-score {
    margin: 0.35rem 0 0;
    color: #9fb7c7;
    font-size: clamp(0.95rem, 1.2vw, 1.08rem);
}

.contact-section {
    min-height: 100svh;
    padding-bottom: clamp(4rem, 9vw, 8rem);
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.7fr);
    align-items: start;
    gap: clamp(1.4rem, 2.5vw, 2.6rem);
    width: min(100% - 32px, 1680px);
    margin: 0 auto;
}

.contact-copy .section-subtitle {
    width: 100%;
    max-width: 780px;
    margin-bottom: 0.8rem;
}

.contact-description {
    width: min(100%, 660px);
    color: #a9bbc5;
    font-size: 0.98rem;
    font-weight: 800;
    line-height: 1.55;
}

.site-footer {
    width: min(100%, 1380px);
    margin: clamp(2rem, 5vw, 4rem) auto 0;
    padding: 1.1rem clamp(1rem, 2.4vw, 1.5rem);
    border: 1px solid rgba(126, 234, 255, 0.12);
    border-radius: 1.2rem;
    color: #9fb7c7;
    background:
        linear-gradient(135deg, rgba(126, 234, 255, 0.08), transparent 48%),
        rgba(5, 12, 20, 0.72);
    text-align: center;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(18px) saturate(1.1);
}

.site-footer p {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 800;
}

.contact-signal-list {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: clamp(0.75rem, 1.4vw, 1.15rem);
    width: 100%;
    margin-top: clamp(1rem, 2vw, 1.6rem);
}

.contact-signal-card {
    position: relative;
    display: grid;
    gap: 0.42rem;
    min-height: 6.35rem;
    padding: clamp(0.85rem, 1.4vw, 1.05rem);
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.35rem;
    background:
        radial-gradient(circle at 86% 18%, rgba(126, 234, 255, 0.08), transparent 18rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 54%),
        rgba(8, 14, 18, 0.82);
    box-shadow:
        0 24px 75px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-signal-card:hover {
    transform: translateY(-2px);
    border-color: rgba(126, 234, 255, 0.28);
}

.contact-signal-card span {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #8fb4c9;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-signal-card span::before {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #7eeaff;
    box-shadow: 0 0 18px rgba(126, 234, 255, 0.55);
    content: "";
}

.contact-signal-card strong {
    color: #f2fbff;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.18rem, 1.7vw, 1.55rem);
    font-style: normal;
    font-weight: 800;
    line-height: 1;
}

.contact-signal-card em {
    color: #a9bbc5;
    font-size: clamp(0.82rem, 1.1vw, 0.98rem);
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.contact-form {
    display: grid;
    gap: clamp(0.95rem, 1.5vw, 1.25rem);
    padding: clamp(1.7rem, 2.8vw, 2.35rem);
    border: 1px solid rgba(126, 234, 255, 0.12);
    border-radius: 1.7rem;
    background:
        radial-gradient(circle at 84% 12%, rgba(12, 143, 168, 0.14), transparent 18rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 52%),
        rgba(3, 10, 15, 0.84);
    box-shadow:
        0 34px 110px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(1.08);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.9rem, 1.4vw, 1.15rem);
}

.contact-form label {
    display: grid;
    gap: 0.5rem;
}

.contact-form label span {
    color: #8fb4c9;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.9rem;
    color: #e8f8ff;
    background: rgba(255, 255, 255, 0.035);
    font: inherit;
    font-weight: 800;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form input,
.contact-form select {
    min-height: 2.65rem;
    padding: 0 0.85rem;
}

.contact-form select {
    color: #e8f8ff;
    background:
        linear-gradient(135deg, rgba(12, 143, 168, 0.16), transparent 52%),
        #06131b;
}

.contact-form select option {
    color: #e8f8ff;
    background: #06131b;
}

.contact-form textarea {
    min-height: 6.5rem;
    padding: 0.85rem;
    resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: rgba(126, 234, 255, 0.45);
    background: rgba(255, 255, 255, 0.055);
    box-shadow: 0 0 0 4px rgba(12, 143, 168, 0.12);
}

.contact-form ::placeholder {
    color: rgba(169, 187, 197, 0.68);
}

.contact-submit {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    min-width: 9rem;
    min-height: 2.65rem;
    padding: 0 1.1rem;
    border: 1px solid rgba(126, 234, 255, 0.18);
    border-radius: 999px;
    color: #e8fbff;
    background: linear-gradient(135deg, #0b8da4, rgba(126, 234, 255, 0.24));
    box-shadow: 0 18px 60px rgba(12, 143, 168, 0.28);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 900;
    cursor: pointer;
}

.skill-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.8rem, 1.5vw, 1.15rem);
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.skill-summary-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: clamp(1.1rem, 1.8vw, 1.5rem);
    border: 1px solid rgba(126, 234, 255, 0.1);
    border-radius: 1.7rem;
    background:
        radial-gradient(circle at 82% 18%, rgba(12, 143, 168, 0.12), transparent 18rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 52%),
        rgba(6, 12, 16, 0.86);
    box-shadow:
        0 32px 100px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(24px) saturate(1.08);
}

.skill-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(1.25rem, 2.6vw, 2rem);
    color: #8fa8b9;
    font-size: clamp(0.76rem, 0.95vw, 0.9rem);
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.skill-card-meta strong {
    color: #abc7d9;
    letter-spacing: 0.08em;
}

.skill-summary-card h3 {
    margin: 0;
    color: #d8edff;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.35rem, 3.25vw, 3.6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    overflow-wrap: normal;
    white-space: normal;
}

.skill-summary-card p {
    margin: clamp(1.2rem, 2.2vw, 1.8rem) 0 0;
    color: #9fb7c7;
    font-size: clamp(1rem, 1.25vw, 1.18rem);
    font-weight: 800;
    line-height: 1.6;
}

.skill-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: clamp(1.1rem, 2vw, 1.65rem);
}

.skill-card-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    min-height: 2rem;
    padding: 0 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    color: #bed2dd;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.76rem;
    font-weight: 900;
}

.skill-card-tags span::before {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #0c8fa8;
    box-shadow: 0 0 16px rgba(12, 143, 168, 0.5);
    content: "";
}

.experience-timeline {
    --timeline-progress: 0%;
    position: relative;
    display: grid;
    grid-template-columns: minmax(28px, 0.08fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 3rem);
    width: min(100% - 100px, 1360px);
    min-height: 920px;
    margin: clamp(2rem, 5vw, 5rem) 50px 0;
}

.timeline-rail {
    position: relative;
    align-self: stretch;
    justify-self: center;
    width: 3px;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02));
    overflow: hidden;
}

.timeline-line {
    position: absolute;
    inset: 0 0 auto;
    height: var(--timeline-progress);
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(2, 32, 43, 0.94) 0%, #0c8fa8 54%, #9decff 100%);
    box-shadow:
        0 0 18px rgba(12, 143, 168, 0.38),
        0 0 56px rgba(157, 236, 255, 0.24);
}

.timeline-cards {
    display: grid;
    gap: clamp(2rem, 6vw, 4.5rem);
    padding: clamp(1rem, 2vw, 2rem) 0;
}

.timeline-card {
    position: relative;
    width: min(100%, 1060px);
    padding: clamp(1.6rem, 3vw, 2.15rem);
    border: 1px solid rgba(126, 234, 255, 0.12);
    border-radius: 1.7rem;
    background:
        radial-gradient(circle at 86% 18%, rgba(10, 126, 144, 0.16), transparent 22rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.055), transparent 48%),
        rgba(4, 12, 17, 0.82);
    box-shadow:
        0 34px 110px rgba(0, 0, 0, 0.46),
        0 0 80px rgba(0, 186, 220, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(26px) saturate(1.1);
}

.timeline-card-left {
    justify-self: start;
    transform: translateX(clamp(-1.8rem, -3vw, -0.8rem));
}

.timeline-card-right {
    justify-self: end;
    width: min(100%, 1060px);
    transform: translateX(clamp(1.2rem, 5vw, 4rem));
}

.timeline-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(0.9rem, 2vw, 1.4rem);
    color: #8fb4c9;
    font-size: clamp(0.65rem, 0.85vw, 0.78rem);
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.timeline-card-main {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(280px, 1fr);
    gap: clamp(1.4rem, 4vw, 5rem);
    align-items: start;
}

.timeline-role {
    display: block;
    margin-bottom: 0.65rem;
    color: #72e8ff;
    font-size: clamp(0.7rem, 0.85vw, 0.82rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.timeline-card h3 {
    margin: 0;
    color: #d8edff;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(3.1rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: 0;
}

.timeline-card p {
    margin: 0;
    color: #9cb5c4;
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    font-weight: 800;
    line-height: 1.7;
}

.timeline-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.75rem, 1.4vw, 1rem);
    margin: clamp(1.35rem, 2.6vw, 2rem) 0 0;
    padding: 0;
    color: #9fb7c7;
    font-size: clamp(0.86rem, 1vw, 0.96rem);
    font-weight: 800;
    line-height: 1.45;
    list-style: none;
}

.timeline-highlights li {
    position: relative;
    min-height: 4.15rem;
    padding: 1rem 1rem 1rem 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 0.85rem;
    background: rgba(1, 8, 12, 0.32);
}

.timeline-highlights li::before {
    position: absolute;
    top: 1.25rem;
    left: 0.8rem;
    width: 0.36rem;
    height: 0.36rem;
    border-radius: 50%;
    background: #0db1cf;
    box-shadow: 0 0 14px rgba(13, 177, 207, 0.58);
    content: "";
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

.timeline-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.82rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 999px;
    color: #bed2dd;
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.72rem;
    font-weight: 900;
}

.projects-intro {
    width: min(100% - 100px, 980px);
    margin: 0 50px;
}

.projects-intro .section-subtitle {
    width: 100%;
    max-width: 940px;
    margin-bottom: 1.25rem;
}

.section-title-svg {
    display: block;
    width: min(1050px, 112vw);
    height: auto;
    overflow: visible;
    transform: translateX(34vw);
    will-change: transform;
}

.projects-title-svg {
    width: min(1320px, 140vw);
    filter: drop-shadow(42px 0 32px rgba(126, 234, 255, 0.22));
}

.projects-title-text {
    stroke: url("#projects-title-fade");
}

.title {
    font-family: Arial, sans-serif;
    font-size: 9rem;
    font-weight: 900;
    fill: none;
    stroke: rgba(216, 247, 255, 0.88);
    stroke-width: 1;
    letter-spacing: 10px;
}

.section-title {
    margin: -5rem 0 1rem;
    color: #9decff;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: clamp(3.5rem, 6vw, 6rem);
    margin: 0 0 50px;
    color: #d8e5eb;
    font-family: "Space Grotesk", sans-serif;
    line-height: 1;
    width: min(100%, 980px);
}

.section-lede {
    margin: 0 50px clamp(2.5rem, 5vw, 5rem);
}

.about-content {
    display: block;
    max-width: 980px;
}

.about-content .section-subtitle {
    width: 100%;
    max-width: 860px;
    margin-bottom: 0;
}

.content-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(1rem, 2vw, 2rem);
    margin-top: clamp(2rem, 2vw, 2rem);
}

.glass-panel {
    flex: 1 1 0;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 44%), rgba(255, 255, 255, 0.055);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px) saturate(1.12);
    border-radius: 1.75rem;
    padding: clamp(1.35rem, 2vw, 1.85rem);
    min-width: 0;
}

.glass-panel .section-title {
    margin-top: 0;
}

.glass-panel .section-subtitle {
    font-size: 2.5rem;
    width: 100%;
    margin-bottom: 0;
}

.glass-panel .section-description {
    font-size: 1rem;
    line-height: 1.5;
}

.mindset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
    gap: 0.8rem;
}

.mindset-item {
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px) saturate(1.12);
    border-radius: 1.75rem;
    padding: clamp(1.35rem, 2vw, 1.85rem);
}

.section-title.mini-title {
    font-size: 1rem;
}

.section-description.mindset-description {
    font-weight: 800;
}

.projects-description {
    width: min(100%, 760px);
    color: #a9bbc5;
    font-size: 1.12rem;
    line-height: 1.7;
}

.project-scroll-stage {
    position: relative;
    height: var(--project-scroll-height, 260svh);
    margin-top: 0;
}

.project-category-header {
    width: min(100%, 980px);
    margin: clamp(2rem, 5vw, 4.5rem) 0 clamp(1.2rem, 3vw, 2rem);
}

.project-category-header span {
    display: block;
    margin-bottom: 0.5rem;
    color: #8fb4c9;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.project-category-header h3 {
    margin: 0;
    color: #d7f2ff;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(2.3rem, 6vw, 5.8rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: 0;
}

.design-category-header {
    margin-top: clamp(4rem, 9vw, 8rem);
}

.creative-social-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.7rem, 1.2vw, 1rem);
    width: min(100%, 920px);
    margin: 0 0 clamp(1.2rem, 2.4vw, 1.8rem);
}

.creative-social-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(0.7rem, 1.2vw, 1rem);
    min-height: 4.35rem;
    min-width: 0;
    padding: 0.55rem 4.05rem 0.55rem clamp(0.9rem, 1.5vw, 1.1rem);
    border: 1px solid rgba(126, 234, 255, 0.14);
    border-radius: 999px;
    background:
        radial-gradient(circle at 92% 20%, rgba(126, 234, 255, 0.12), transparent 9rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.065), transparent 52%),
        rgba(3, 10, 15, 0.84);
    box-shadow:
        0 24px 74px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(126, 234, 255, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(22px) saturate(1.1);
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.creative-social-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 38%;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(126, 234, 255, 0.13), transparent 68%);
    pointer-events: none;
    content: "";
}

.creative-social-card:hover {
    border-color: rgba(126, 234, 255, 0.34);
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.38),
        0 0 30px rgba(126, 234, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.creative-social-meta,
.creative-social-content,
.creative-social-action {
    position: relative;
    z-index: 1;
}

.creative-social-meta {
    display: grid;
    align-items: center;
    justify-items: center;
    gap: 0.1rem;
    width: 3.45rem;
    height: 3.45rem;
    border: 1px solid rgba(126, 234, 255, 0.16);
    border-radius: 50%;
    background: rgba(126, 234, 255, 0.055);
}

.creative-social-meta span {
    display: block;
    color: #8fb4c9;
    font-size: 0.48rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.creative-social-meta span::before {
    display: none;
}

.creative-social-meta strong {
    color: rgba(216, 237, 255, 0.72);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.creative-social-content {
    display: grid;
    gap: 0.22rem;
    min-width: 0;
}

.creative-social-content strong {
    color: #f2fbff;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 800;
    line-height: 1;
    overflow-wrap: anywhere;
    text-shadow: 0 20px 70px rgba(126, 234, 255, 0.14);
}

.creative-social-content em {
    justify-self: start;
    color: #c8dce8;
    background: transparent;
    font-size: 0.76rem;
    font-style: normal;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.creative-social-action {
    position: absolute;
    top: 50%;
    right: 0.62rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    min-height: 3rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #dff9ff;
    background: linear-gradient(135deg, #0b8da4, rgba(126, 234, 255, 0.24));
    box-shadow: 0 18px 60px rgba(12, 143, 168, 0.26);
    font-size: 0;
    font-weight: 900;
    transform: translateY(-50%);
}

.creative-social-action::after {
    display: block;
    font-size: 1.08rem;
    line-height: 1;
    content: "↗";
}

.project-scroll-sticky {
    position: sticky;
    top: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100svh;
    overflow: hidden;
}

.project-card-track {
    display: flex;
    gap: clamp(1.4rem, 3vw, 2.5rem);
    width: max-content;
    padding: 0 clamp(6rem, 12vw, 14rem) 0 50px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.project-card {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(360px, 1.14fr);
    align-items: stretch;
    gap: clamp(1.4rem, 2.6vw, 2.6rem);
    width: min(68vw, 1080px);
    min-height: min(48svh, 450px);
    padding: clamp(1rem, 1.6vw, 1.4rem);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 82% 12%, rgba(126, 234, 255, 0.08), transparent 22rem),
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 44%),
        rgba(2, 8, 12, 0.74);
    box-shadow:
        0 36px 110px rgba(0, 0, 0, 0.48),
        0 0 80px rgba(0, 186, 220, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(28px) saturate(1.12);
}

.web-project-card-track {
    align-items: stretch;
}

.web-project-card-track .project-card {
    grid-template-columns: 1fr;
    width: clamp(330px, 35vw, 520px);
    min-height: min(58svh, 560px);
    padding: clamp(1.15rem, 1.8vw, 1.65rem);
}

.web-project-card-track .project-card-copy {
    justify-content: flex-start;
}

.web-project-card-track .project-card h3 {
    max-width: 12ch;
    font-size: clamp(2rem, 3vw, 3.05rem);
}

.web-project-card-track .project-card p {
    max-width: 100%;
}

.web-project-card-track .project-tags {
    gap: 0.42rem;
}

.web-project-card-track .project-tags span {
    min-height: 1.85rem;
    padding-inline: 0.68rem;
    font-size: 0.72rem;
}

.web-project-card-track .project-highlights {
    gap: 0.38rem;
    font-size: clamp(0.8rem, 0.9vw, 0.9rem);
}

.web-project-card-track .project-actions {
    margin-top: auto;
    padding-top: clamp(0.85rem, 1.5vw, 1.1rem);
}

.project-card-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: clamp(0.55rem, 1.4vw, 1rem);
}

.project-kicker {
    color: #9fb7c7;
    font-size: clamp(0.78rem, 1vw, 1rem);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-number {
    color: #b9d8ed;
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    font-weight: 900;
}

.project-card h3 {
    max-width: 11ch;
    margin: 0 0 0.65rem;
    color: #cfe8ff;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.9rem, 3.2vw, 3.35rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: 0;
}

.project-card p {
    max-width: 36rem;
    margin: 0;
    color: #98adbc;
    font-size: clamp(0.84rem, 0.95vw, 0.98rem);
    font-weight: 800;
    line-height: 1.45;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: clamp(0.75rem, 1.5vw, 1.1rem);
}

.project-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #c6d8e5;
    background: rgba(255, 255, 255, 0.025);
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.project-highlights {
    display: grid;
    gap: 0.45rem;
    margin: clamp(0.75rem, 1.5vw, 1.1rem) 0 0;
    padding: 0;
    color: #9fb7c7;
    font-size: clamp(0.82rem, 0.95vw, 0.92rem);
    font-weight: 800;
    line-height: 1.4;
    list-style: none;
}

.project-highlights li {
    position: relative;
    padding-left: 1.05rem;
}

.project-highlights li::before {
    position: absolute;
    top: 0.52em;
    left: 0;
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 50%;
    background: #0c8fa8;
    box-shadow: 0 0 18px rgba(12, 143, 168, 0.6);
    content: "";
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: clamp(0.8rem, 1.5vw, 1.15rem);
}

.project-action {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    flex: 1 1 9rem;
    align-items: center;
    justify-content: center;
    min-width: clamp(7.5rem, 8vw, 9rem);
    min-height: 2.7rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    color: #d9eef9;
    font-weight: 900;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.project-action:hover {
    transform: translateY(-2px);
    border-color: rgba(126, 234, 255, 0.28);
}

.project-action-primary {
    color: #dff9ff;
    background: linear-gradient(135deg, #0b8da4, rgba(126, 234, 255, 0.24));
    box-shadow: 0 18px 60px rgba(12, 143, 168, 0.28);
}

.project-action-secondary {
    background: rgba(255, 255, 255, 0.025);
}

.stat-span {
    display: block;
    font-size: 3.5rem;
    font-weight: 900;
    text-shadow: 0 20px 70px rgba(126, 234, 255, 0.16);
}

.media-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(190px, 18vw, 280px);
    gap: clamp(0.8rem, 1.8vw, 1.3rem);
    width: 100%;
    margin-top: clamp(1.4rem, 3vw, 2.4rem);
}

.media-gallery,
.creative-social-grid,
.skill-card-grid,
.education-card-grid,
.contact-signal-list,
.timeline-cards {
    contain: layout paint;
}

.gallery-item {
    position: relative;
    min-height: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.2rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 48%),
        rgba(2, 8, 12, 0.76);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
    overflow: hidden;
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item-wide {
    grid-column: span 2;
}

.gallery-item img,
.gallery-item video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item img[data-lightbox-src],
.gallery-item video[data-lightbox-src],
.collection-grid button {
    cursor: zoom-in;
}

.gallery-collection {
    padding: clamp(0.75rem, 1.4vw, 1rem);
}

.gallery-collection::after {
    height: 54%;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
    gap: 0.5rem;
    width: 100%;
    height: 100%;
}

.collection-grid button {
    position: relative;
    min-width: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.collection-grid button:first-child {
    grid-column: auto;
}

.collection-grid button:focus-visible {
    outline: 2px solid rgba(126, 234, 255, 0.8);
    outline-offset: 3px;
}

.collection-grid img,
.collection-grid video {
    transition: transform 0.25s ease;
}

.collection-grid video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-collection-grid {
    grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
}

.video-collection-grid button:first-child,
.video-collection-grid button:last-child {
    grid-column: auto;
}

.video-collection-grid button::after {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: #f6fcff;
    background: rgba(0, 0, 0, 0.48);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    transform: translate(-50%, -50%);
    content: "\25B6";
    font-size: 0.8rem;
    line-height: 1;
    pointer-events: none;
}

.collection-grid button:hover img,
.collection-grid button:hover video {
    transform: scale(1.04);
}

.gallery-item::after {
    position: absolute;
    inset: auto 0 0;
    height: 46%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    pointer-events: none;
    content: "";
}

.gallery-item figcaption {
    position: absolute;
    right: clamp(0.85rem, 1.6vw, 1.2rem);
    bottom: clamp(0.85rem, 1.6vw, 1.2rem);
    left: clamp(0.85rem, 1.6vw, 1.2rem);
    z-index: 1;
    display: grid;
    gap: 0.25rem;
    pointer-events: none;
}

.gallery-item figcaption span {
    color: #a9c7d8;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.gallery-item figcaption strong {
    color: #effaff;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.25rem, 2vw, 1.9rem);
    font-weight: 800;
    line-height: 1;
}

.media-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    place-items: center;
    padding: clamp(1rem, 3vw, 2.5rem);
}

.media-lightbox.is-open {
    display: grid;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(16px);
}

.lightbox-panel {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(1120px, 94vw);
    max-height: 90svh;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1.2rem;
    background: rgba(2, 8, 12, 0.94);
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.62);
    overflow: hidden;
}

.lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 4rem;
    padding: 0.8rem clamp(1rem, 2vw, 1.3rem);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-header h3 {
    margin: 0;
    color: #e9f8ff;
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0;
}

.lightbox-close {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: #f5fbff;
    background: rgba(255, 255, 255, 0.06);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-body {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(0.45rem, 1.5vw, 1rem);
    min-height: 0;
    padding: clamp(0.85rem, 2vw, 1.2rem);
}

.lightbox-media {
    display: grid;
    place-items: center;
    min-width: 0;
    min-height: 0;
}

.lightbox-media img,
.lightbox-media video {
    display: block;
    max-width: 100%;
    max-height: calc(90svh - 6.8rem);
    border-radius: 0.8rem;
    object-fit: contain;
    background: #02080c;
}

.lightbox-nav {
    display: inline-grid;
    place-items: center;
    width: clamp(2.6rem, 5vw, 3.4rem);
    height: clamp(2.6rem, 5vw, 3.4rem);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    color: #f4fbff;
    background: rgba(255, 255, 255, 0.07);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.lightbox-nav:hover {
    transform: translateY(-1px);
}

.lightbox-nav:disabled {
    opacity: 0.28;
    cursor: default;
}

.lightbox-nav:disabled:hover {
    transform: none;
}

.lightbox-panel:not(.has-gallery-nav) .lightbox-nav {
    display: none;
}

.lightbox-panel:not(.has-gallery-nav) .lightbox-body {
    grid-template-columns: minmax(0, 1fr);
}

body.lightbox-open {
    overflow: hidden;
}

.tilt-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --spotlight-x: 50%;
    --spotlight-y: 50%;
    position: relative;
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0);
    transform-style: preserve-3d;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
    will-change: transform;
}

.tilt-card::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: radial-gradient(circle at var(--spotlight-x) var(--spotlight-y), rgba(126, 234, 255, 0.18), transparent 18rem);
    opacity: 0;
    transition: opacity 0.22s ease;
    pointer-events: none;
    content: "";
}

.tilt-card:hover,
.tilt-card:focus-within {
    border-color: rgba(126, 234, 255, 0.3);
    box-shadow:
        0 38px 120px rgba(0, 0, 0, 0.48),
        0 0 80px rgba(126, 234, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.tilt-card:hover::before,
.tilt-card:focus-within::before {
    opacity: 1;
}

.interactive-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.tilt-card.interactive-reveal {
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(24px);
}

.interactive-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tilt-card.interactive-reveal.is-visible {
    transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(0);
}

.project-tags span,
.timeline-tags span,
.skill-card-tags span {
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.project-tags span:hover,
.timeline-tags span:hover,
.skill-card-tags span:hover {
    transform: translateY(-2px);
    border-color: rgba(126, 234, 255, 0.24);
    background: rgba(126, 234, 255, 0.07);
}

.gallery-item img,
.gallery-item video,
.hero-image {
    transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-item:hover img,
.gallery-item:hover video {
    transform: scale(1.045);
}

.gallery-item:hover figcaption {
    transform: translateY(-4px);
}

.gallery-item figcaption {
    transition: transform 0.25s ease;
}

.hero-image-wrap:hover .hero-image {
    transform: translateY(-4px) scale(1.015);
    filter: drop-shadow(0 40px 84px rgba(126, 234, 255, 0.3));
}

.contact-signal-card::after,
.education-card::after,
.skill-summary-card::after {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(126, 234, 255, 0.7);
    box-shadow: 0 0 22px rgba(126, 234, 255, 0.48);
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.22s ease, transform 0.22s ease;
    content: "";
}

.contact-signal-card:hover::after,
.education-card:hover::after,
.skill-summary-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
    border-color: rgba(126, 234, 255, 0.22);
    background: rgba(255, 255, 255, 0.048);
}

.site-toast {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: clamp(1rem, 3vw, 2rem);
    z-index: 120;
    max-width: min(22rem, calc(100vw - 2rem));
    padding: 0.85rem 1rem;
    border: 1px solid rgba(126, 234, 255, 0.18);
    border-radius: 1rem;
    color: #eafaff;
    background:
        linear-gradient(135deg, rgba(126, 234, 255, 0.12), transparent 46%),
        rgba(3, 10, 15, 0.92);
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
    font-size: 0.9rem;
    font-weight: 800;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.site-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

:is(a, button, input, select, textarea):focus-visible {
    outline: 2px solid rgba(126, 234, 255, 0.78);
    outline-offset: 4px;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
    body::before {
        display: none;
    }

    .tilt-card,
    .interactive-reveal,
    .interactive-reveal.is-visible {
        transform: none;
        transition: none;
    }

    .tilt-card::before {
        display: none;
    }

    .section-title-svg,
    .project-card-track {
        will-change: auto;
    }
}

@media (max-width: 1180px) {
    #navbar {
        flex-wrap: wrap;
        border-radius: 1.4rem;
    }

    #main-nav {
        flex: 1 1 100%;
    }

    .nav-menu {
        justify-content: center;
    }

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

    .contact-signal-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .section-title-svg {
        transform: translateX(18vw);
        width: min(760px, 135vw);
    }

    .projects-title-svg {
        width: min(960px, 170vw);
    }

    .section-subtitle {
        font-size: 3.5rem;
        width: 100%;
    }

    .section-lede {
        margin: 0 0 clamp(2rem, 7vw, 3rem);
    }

    .projects-intro {
        width: 100%;
        margin: 0;
    }

    .skills-ecosystem {
        width: 100%;
        margin: 0;
    }

    .education-layout {
        grid-template-columns: 1fr;
        width: 100%;
        margin: 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        width: 100%;
        margin: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .skill-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .skill-summary-card h3 {
        font-size: clamp(2.7rem, 10vw, 4rem);
    }

    .experience-section {
        min-height: auto;
    }

    .experience-timeline {
        grid-template-columns: 38px minmax(0, 1fr);
        width: 100%;
        min-height: auto;
        margin: clamp(2rem, 8vw, 3rem) 0 0;
        gap: 1rem;
    }

    .timeline-rail {
        height: 100%;
        min-height: 100%;
    }

    .timeline-cards {
        gap: 2rem;
        padding: 0;
    }

    .timeline-card,
    .timeline-card-left,
    .timeline-card-right {
        width: 100%;
        transform: none;
    }

    .timeline-card {
        padding: clamp(1rem, 4vw, 1.35rem);
    }

    .timeline-card-main,
    .timeline-highlights {
        grid-template-columns: 1fr;
    }

    .timeline-card h3 {
        font-size: clamp(2.6rem, 14vw, 4.1rem);
    }

    .timeline-card-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.35rem;
    }

    .project-category-header h3 {
        font-size: clamp(2.2rem, 12vw, 4rem);
    }

    .project-scroll-stage {
        height: var(--project-scroll-height, 230svh);
    }

    .project-scroll-sticky {
        top: 0;
    }

    .project-card-track {
        padding: 0 clamp(3rem, 18vw, 6rem) 0 0;
    }

    .project-card {
        grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.1fr);
        width: min(150vw, 720px);
        min-height: 330px;
        padding: clamp(0.9rem, 2.4vw, 1.2rem);
    }

    .web-project-card-track .project-card {
        grid-template-columns: 1fr;
        width: min(78vw, 460px);
        min-height: 430px;
    }

    .project-card h3 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .web-project-card-track .project-card h3 {
        font-size: clamp(2rem, 6.2vw, 2.7rem);
    }

    .project-card-meta {
        margin-bottom: 2rem;
    }

    .project-tags span {
        min-height: 2.25rem;
        padding: 0 0.85rem;
        font-size: 0.82rem;
    }

    .project-action {
        min-width: 8.75rem;
        min-height: 3.2rem;
    }

    .creative-social-grid {
        width: 100%;
    }

    .content-grid {
        flex-direction: column;
    }

    .glass-panel {
        width: 100%;
    }

    .media-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(260px, 58vw);
    }

    .gallery-item,
    .gallery-item-large,
    .gallery-item-wide {
        grid-column: auto;
        grid-row: auto;
    }

    .collection-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .collection-grid button:first-child {
        grid-column: span 1;
    }

    .video-collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .video-collection-grid button:last-child {
        grid-column: span 1;
    }

    .lightbox-panel {
        width: 94vw;
        max-height: 86svh;
    }

    .lightbox-body {
        grid-template-columns: 1fr 1fr;
    }

    .lightbox-media {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .lightbox-prev,
    .lightbox-next {
        grid-row: 2;
        justify-self: center;
    }

    .lightbox-media img,
    .lightbox-media video {
        max-height: calc(86svh - 6.5rem);
    }
}

@media (max-width: 680px) {
    body {
        padding: 0.6rem;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    main {
        width: calc(100vw - 1.2rem);
        max-width: calc(100vw - 1.2rem);
        overflow: hidden;
    }

    #navbar {
        top: 0.6rem;
        position: sticky;
        align-items: center;
        flex-direction: row;
        gap: 0.45rem;
        min-height: 4.2rem;
        padding: 0.55rem 3.55rem 0.55rem 0.55rem;
        width: calc(100vw - 1.2rem);
        max-width: 100%;
        margin-inline: auto;
        border-radius: 1rem;
        overflow: visible;
    }

    #leftside {
        min-width: 0;
        width: auto;
        flex: 1 1 auto;
    }

    #profile-info {
        align-items: flex-start;
        min-width: 0;
    }

    #logo {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    #navName {
        max-width: 100%;
        font-size: 0.96rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #navTitle {
        max-width: 100%;
        font-size: 0.66rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-toggle {
        position: absolute;
        top: 50%;
        right: 1rem;
        z-index: 9999;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 auto;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 0.22rem;
        place-items: center;
        width: 2.15rem;
        height: 2.15rem;
        padding: 0;
        border: 1px solid rgba(126, 234, 255, 0.18);
        border-radius: 50%;
        color: #031018;
        background: linear-gradient(135deg, #f8fbff, #7eeaff);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.38);
        cursor: pointer;
        margin-left: auto;
        transform: translateY(-50%);
    }

    .nav-toggle span {
        display: block;
        width: 1rem;
        height: 2px;
        border-radius: 999px;
        background: #031018;
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    .nav-toggle .nav-toggle-icon {
        display: none;
    }

    .nav-toggle span + span {
        margin-top: 0;
    }

    body.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(0.36rem) rotate(45deg);
    }

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

    body.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-0.36rem) rotate(-45deg);
    }

    #main-nav {
        display: none;
        flex: none;
        position: fixed;
        top: 0.6rem;
        right: 0.6rem;
        z-index: 40;
        width: min(78vw, 18rem);
        max-height: calc(100svh - 1.2rem);
        padding: 4.2rem 0.8rem 0.8rem;
        border: 1px solid rgba(126, 234, 255, 0.18);
        border-radius: 1.15rem;
        background:
            linear-gradient(145deg, rgba(126, 234, 255, 0.12), transparent 44%),
            rgba(5, 12, 20, 0.94);
        box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(24px) saturate(1.14);
        overflow-y: auto;
    }

    body.nav-open #main-nav {
        display: block;
    }

    .nav-menu {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.45rem;
        overflow: visible;
        padding-bottom: 0;
        scrollbar-width: none;
    }

    .nav-menu li {
        min-width: 0;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu li a {
        justify-content: center;
        width: 100%;
        min-width: 0;
        min-height: 2.55rem;
        padding: 0.45rem 0.7rem;
        border: 1px solid rgba(255, 255, 255, 0.07);
        border-radius: 0.8rem;
        background: rgba(255, 255, 255, 0.025);
        font-size: 0.86rem;
        line-height: 1;
        text-align: center;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .nav-menu li a::after {
        right: 18%;
        bottom: 0.2rem;
        left: 18%;
    }

    .hero {
        position: relative;
        gap: 1.2rem;
        margin-top: 1.5rem;
        min-height: auto;
        max-width: calc(100vw - 1.2rem);
        overflow: hidden;
        text-align: center;
    }

    .hero-content {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        overflow: visible;
        padding-top: 0;
    }

    .hero-image-wrap {
        display: none;
    }

    .hero-image {
        width: min(74vw, 320px);
        height: min(74vw, 320px);
        aspect-ratio: 1;
        max-height: none;
        border-radius: 50%;
        object-fit: cover;
        object-position: center top;
        filter: drop-shadow(0 24px 58px rgba(137, 204, 255, 0.22));
    }

    #name {
        width: 100%;
        max-width: 100%;
        overflow: visible;
        margin-top: 1.25rem;
        font-size: clamp(3.9rem, 15.5vw, 5.8rem);
        line-height: 0.62;
        align-items: center;
        text-align: center;
    }

    .capsule {
        align-self: center;
    }

    .first-name {
        font-size: 0.94em;
    }

    #name svg {
        width: min(100%, 24rem);
        height: auto;
        overflow: visible;
    }

    .last-name {
        font-size: 1.72em;
        letter-spacing: 0.08em;
        stroke-width: 1.55;
        transform: translateX(72px);
    }

    .tagline {
        width: 100%;
        max-width: 22rem;
        font-size: clamp(1.2rem, 6.2vw, 1.55rem);
        overflow-wrap: break-word;
        text-align: center;
    }

    .description {
        font-size: 1rem;
        width: 100%;
        max-width: 19rem;
        margin-inline: auto;
        text-align: center;
    }

    .cta-buttons,
    .button {
        width: 100%;
        max-width: 20rem;
    }

    .cta-buttons {
        align-self: center;
        justify-content: center;
    }

    .section-title-svg {
        display: none;
    }

    .about-section .section-title-svg {
        width: 100%;
        margin-bottom: 0.15rem;
    }

    .title {
        x: 50%;
        font-size: clamp(8rem, 39vw, 13.5rem);
        fill: rgba(216, 247, 255, 0.018);
        letter-spacing: 1px;
        stroke: rgba(216, 247, 255, 0.28);
        stroke-width: 0.9;
        text-anchor: middle;
    }

    .projects-title-text {
        font-size: clamp(6.4rem, 31vw, 11rem);
    }

    .section-title {
        display: inline-flex;
        align-items: center;
        min-height: 1.85rem;
        margin: 0 0 0.85rem;
        padding: 0 0.65rem;
        border: 1px solid rgba(126, 234, 255, 0.18);
        border-radius: 999px;
        background: rgba(126, 234, 255, 0.055);
        font-size: 0.74rem;
        letter-spacing: 0.14em;
    }

    .section-subtitle {
        width: calc(100vw - 1.2rem);
        margin-bottom: 1.5rem;
        max-width: 100%;
        font-size: clamp(1.5rem, 7.2vw, 2rem);
        line-height: 1.06;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .page-section {
        width: 100%;
        max-width: calc(100vw - 1.2rem);
        margin-top: 3rem;
        margin-right: auto;
        margin-left: auto;
        padding: clamp(1rem, 4vw, 1.35rem) 0;
        overflow: hidden;
    }

    .section-lede,
    .about-content,
    .projects-intro,
    .skills-ecosystem,
    .education-layout,
    .contact-layout {
        width: 100%;
        max-width: 100%;
    }

    .about-section {
        -webkit-mask-image: none;
        mask-image: none;
    }

    .content-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .about-section .section-lede + .content-grid {
        grid-template-columns: 1fr;
    }

    .glass-panel {
        width: auto;
        min-width: 0;
        padding: 1rem;
    }

    .glass-panel .section-subtitle {
        font-size: clamp(1.25rem, 6.4vw, 1.85rem);
        line-height: 1.04;
        overflow-wrap: break-word;
        word-break: break-word;
    }

    .glass-panel .section-description {
        font-size: 0.86rem;
        overflow-wrap: break-word;
        word-break: break-word;
    }

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

    .mindset-item {
        padding: 0.72rem 0.8rem;
    }

    .mindset-item .section-title {
        margin-bottom: 0.3rem;
    }

    .section-title.mini-title {
        margin-top: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: 0.74rem;
        letter-spacing: 0.08em;
    }

    .section-description.mindset-description {
        margin-top: 0;
        line-height: 1.35;
    }

    .stat-span {
        font-size: clamp(2.4rem, 13vw, 3.2rem);
        line-height: 1;
    }

    .glass-panel,
    .mindset-item,
    .skill-summary-card,
    .creative-social-card,
    .education-card,
    .timeline-card,
    .contact-form,
    .contact-signal-card {
        border-radius: 1.1rem;
    }

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

    .skill-card-meta {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .experience-timeline {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 0.75rem;
    }

    .timeline-card h3 {
        font-size: clamp(2.2rem, 13vw, 3.2rem);
    }

    .timeline-highlights li {
        min-height: auto;
    }

    .project-scroll-stage {
        height: auto;
    }

    .project-scroll-sticky {
        position: static;
        display: block;
        height: auto;
        overflow: visible;
    }

    .project-card-track {
        display: grid;
        gap: 1rem;
        width: 100%;
        padding: 0;
        transform: none !important;
        will-change: auto;
    }

    .project-card {
        position: relative;
        grid-template-columns: 1fr;
        width: 100%;
        min-height: auto;
    }

    .web-project-card-track .project-card {
        width: 100%;
        min-height: auto;
    }

    .project-card h3 {
        max-width: none;
    }

    .web-project-card-track .project-card h3 {
        max-width: none;
    }

    .project-card-meta {
        align-items: center;
        flex-direction: row;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 0.9rem;
    }

    .project-number {
        position: static;
        flex: 0 0 auto;
        line-height: 1;
    }

    .project-kicker {
        min-width: 0;
    }

    .project-action {
        min-width: 0;
        width: auto;
        min-height: 2.75rem;
        padding-inline: 0.75rem;
    }

    .project-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .creative-social-grid {
        grid-template-columns: 1fr;
    }

    .creative-social-card {
        grid-template-columns: auto minmax(0, 1fr);
        min-height: 4.2rem;
        padding-left: 0.65rem;
        padding-right: 3.8rem;
        border-radius: 999px;
    }

    .creative-social-content strong {
        font-size: clamp(0.98rem, 4.8vw, 1.2rem);
    }

    .surface-preview {
        display: none;
    }

    .media-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: clamp(150px, 40vw, 210px);
    }

    .gallery-item,
    .gallery-item-large,
    .gallery-item-wide {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-item-large:not(.gallery-collection),
    .gallery-item-wide:not(.gallery-collection) {
        grid-column: 1 / -1;
    }

    .gallery-collection.gallery-item-wide,
    .gallery-collection.gallery-item-large {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .gallery-collection {
        padding: 0.42rem;
    }

    .collection-grid,
    .video-collection-grid {
        display: grid;
        align-items: stretch;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.32rem;
        overflow: visible;
        scroll-snap-type: none;
    }

    .video-collection-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }

    .collection-grid button,
    .video-collection-grid button {
        width: 100%;
        min-height: 0;
        aspect-ratio: 4 / 5;
        border-radius: 0.55rem;
    }

    .collection-grid::-webkit-scrollbar,
    .video-collection-grid::-webkit-scrollbar {
        display: none;
    }

    .collection-grid img,
    .collection-grid video,
    .video-collection-grid video {
        object-fit: contain;
        background: rgba(0, 0, 0, 0.28);
    }

    .timeline-card-topline {
        display: flex;
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .timeline-card-topline time {
        margin-left: auto;
        text-align: right;
    }

    .contact-form {
        padding: 1.15rem;
    }

    .contact-submit {
        justify-self: stretch;
    }

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

    .contact-signal-list {
        grid-template-columns: 1fr;
    }

    .lightbox-body {
        grid-template-columns: 1fr 1fr;
    }

    .lightbox-nav {
        width: 2.5rem;
        height: 2.5rem;
    }
}
