* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0e0d;
    --bg-gradient-start: #111315;
    --bg-gradient-end: #1a1d20;
    --green-primary: #c7cbcf;
    --green-glow: rgba(199, 203, 207, 0.22);
    --green-accent: #4dff91;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --overlay-dark: rgba(0, 0, 0, 0.95);
    --project-thumb-fit: contain;
    --project-thumb-position: center top;
    --project-thumb-bg: #0c1115;
    --project-thumb-padding: 0.38rem;
}

/* Page Load Animation */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background:
        radial-gradient(1000px 620px at 50% 180px, rgba(77, 255, 145, 0.14) 0%, rgba(77, 255, 145, 0.06) 30%, rgba(77, 255, 145, 0.01) 52%, transparent 68%),
        linear-gradient(180deg, #1d2226 0%, #181c20 42%, #14171a 72%, #111316 100%);
    background-attachment: scroll;
    color: var(--text-white);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    animation: pageLoad 0.8s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        filter: blur(10px);
    }

    to {
        opacity: 1;
        filter: blur(0);
    }
}

/* Animated Background Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 16%, rgba(77, 255, 145, 0.06) 0%, rgba(77, 255, 145, 0.02) 28%, transparent 55%);
    pointer-events: none;
    z-index: 0;
    animation: backgroundPulse 10s ease-in-out infinite;
}

@keyframes backgroundPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.03);
    }
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 3rem;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(23, 27, 31, 0.88) 0%, rgba(23, 27, 31, 0.16) 70%, transparent 100%);
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1800px;
    margin: 0 auto;
}

.header-left .intro-text {
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 0.3rem;
    color: var(--text-white);
    animation: fadeIn 1s ease-out 0.2s both;
}

.header-name {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-white);
    animation: fadeIn 1s ease-out 0.3s both;
}

.menu-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: var(--text-white);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease-out 0.4s both;
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--green-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(77, 255, 145, 0.2);
}

.menu-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.menu-icon {
    display: flex;
    gap: 0.2rem;
}

.menu-icon .arrow {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 3rem 3rem;
    z-index: 1;
}

.hero-content {
    max-width: 1800px;
    width: 100%;
    position: relative;
}

.hero-name {
    font-size: clamp(3.08rem, 8.2vw, 9.52rem);
    font-weight: 699;
    letter-spacing: -0.02em;
    color: var(--green-primary);
    line-height: 0.9;
    position: absolute;
    top: 2rem;
    left: -0.5rem;
    z-index: 1;
    overflow: visible;
    white-space: nowrap;
}

/* Wave letter animation */
.name-first,
.name-last {
    display: inline;
}

.hero-name .wave-letter {
    display: inline-block;
    opacity: 0;
    animation: waveIn 0.614s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-name .wave-space {
    display: inline-block;
    width: 0.35em;
}

@keyframes waveIn {
    0% {
        opacity: 0;
        transform: translateY(70px) scaleY(0.9);
    }

    55% {
        opacity: 1;
        transform: translateY(-18px) scaleY(1.05);
    }

    75% {
        transform: translateY(6px) scaleY(0.97);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scaleY(1);
    }
}



/* Profile Container */
.profile-container {
    position: relative;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    align-self: flex-end;
    z-index: 2;
    animation: slideInLeft 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.profile-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/6;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.profile-container:hover .profile-image {
    transform: scale(1.02);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: filter 0.5s ease;
    display: block;
    -webkit-mask-image:
        linear-gradient(to bottom, black 0%, black 88%, transparent 100%),
        radial-gradient(ellipse 90% 95% at 50% 40%, black 50%, transparent 100%);
    -webkit-mask-composite: intersect;
    mask-image:
        linear-gradient(to bottom, black 0%, black 88%, transparent 100%),
        radial-gradient(ellipse 90% 95% at 50% 40%, black 50%, transparent 100%);
    mask-composite: intersect;
}

.profile-container:hover .profile-image img {
    filter: brightness(1.05);
}

.profile-glow {
    position: absolute;
    top: -40%;
    left: -40%;
    right: -40%;
    bottom: -40%;
    background: radial-gradient(circle at 50% 45%,
            rgba(199, 203, 207, 0.18) 0%,
            rgba(199, 203, 207, 0.13) 10%,
            rgba(199, 203, 207, 0.08) 20%,
            rgba(199, 203, 207, 0.04) 30%,
            rgba(0, 0, 0, 0.32) 48%,
            rgba(0, 0, 0, 0.62) 64%,
            rgba(0, 0, 0, 0.88) 80%,
            rgb(0, 0, 0) 100%);
    pointer-events: none;
    animation: glowBreath 3s ease-in-out infinite;
    filter: blur(35px);
    z-index: -1;
}

/* Additional outer glow layers */
.profile-glow::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    right: -20%;
    bottom: -20%;
    background: radial-gradient(circle at 50% 45%,
            rgba(199, 203, 207, 0.10) 0%,
            rgba(199, 203, 207, 0.06) 16%,
            rgba(199, 203, 207, 0.025) 28%,
            rgba(0, 0, 0, 0.35) 46%,
            rgba(0, 0, 0, 0.82) 68%,
            rgb(0, 0, 0) 94%);
    filter: blur(50px);
    z-index: -2;
}

.profile-glow::after {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    background: radial-gradient(circle at 50% 45%,
            rgba(199, 203, 207, 0.08) 0%,
            rgba(199, 203, 207, 0.05) 14%,
            rgba(199, 203, 207, 0.02) 26%,
            rgba(0, 0, 0, 0.42) 44%,
            rgba(0, 0, 0, 0.84) 70%,
            rgb(0, 0, 0) 100%);
    filter: blur(40px);
    z-index: -1;
}

@keyframes glowBreath {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}


@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px var(--green-glow);
    }

    50% {
        transform: scale(1.15);
        box-shadow: 0 0 30px var(--green-glow);
    }
}

/* Description Section */
.description-section {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    max-width: 420px;
    z-index: 3;
    /* Anchored to .hero-section which has guaranteed 100svh height */
    animation: slideInRight 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateY(-50%) translateX(60px);
    }

    to {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
    }
}

.scroll-text {
    position: absolute;
    right: -2.5rem;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-gray);
    transform-origin: center;
    animation: fadeIn 1.5s ease-out 1.2s both, floatVertical 3s ease-in-out 2s infinite;
}

@keyframes floatVertical {

    0%,
    100% {
        transform: translateY(-50%) rotate(90deg) translateY(0);
    }

    50% {
        transform: translateY(-50%) rotate(90deg) translateY(-10px);
    }
}

.description-content {
    padding-right: 2rem;
}

.description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-white);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
    position: relative;
    z-index: 1;
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    padding: 1.8rem 6rem 3.4rem;
    font-family: inherit;
    color: #f2f5f6;
    background: transparent;
    border-top: none;
    overflow: hidden;
}

.site-footer::before {
    content: none;
}

/* ── Divider lines — hidden for seamless flow ── */
.site-footer-divider {
    display: none;
}

.site-footer-divider-bottom {
    display: none;
}

.site-footer-line {
    display: none;
}

.site-footer-mark {
    display: none;
}

/* ── Three-column grid ───────────────────────────────────── */
.site-footer-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(1.1rem, 2vw, 2.8rem);
    margin-top: 0.6rem;
    padding: 1rem 0 1.4rem;
    position: relative;
    z-index: 1;
}

.site-footer-column-center {
    justify-self: center;
}

.site-footer-column-right {
    justify-self: end;
    text-align: right;
}

/* Column headings */
.site-footer-title {
    font-size: 1.26rem;
    color: #d2d7dc;
    font-weight: 600;
    margin-bottom: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Nav links */
.site-footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.site-footer-nav a {
    display: inline-block;
    color: #c8cdd3;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.6;
    text-transform: uppercase;
    transition: color 0.25s ease, transform 0.25s ease;
}

.site-footer-nav a:hover {
    color: #f2f5f6;
    transform: translateX(2px);
}

/* ── Contact block ───────────────────────────────────────── */
.site-footer-contact {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0 0;
    position: relative;
    z-index: 1;
}

.site-footer-contact-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.54rem;
    line-height: 1.6;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color 0.25s ease;
}

.site-footer-contact-link:hover {
    color: #dce1e6;
}

.site-footer-bottom-note {
    margin-top: 0.7rem;
    font-size: 0.78rem;
    color: #9aa3ad;
    letter-spacing: 0.02em;
}

/* ── Glow dot removed ── */
.site-footer-glow-dot {
    display: none;
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 5.6rem;
    right: 3rem;
    width: min(240px, calc(100vw - 1.2rem));
    background: linear-gradient(180deg, rgba(21, 25, 30, 0.98) 0%, rgba(16, 20, 24, 0.96) 100%);
    backdrop-filter: blur(14px);
    z-index: 1000;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    padding: 0.8rem 0.88rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.close-btn {
    display: none;
}

.menu-nav ul {
    list-style: none;
    padding: 0;
}

.menu-nav li {
    margin: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.2s ease;
}

.menu-overlay.active .menu-nav li {
    opacity: 1;
    transform: translateX(0);
}

.menu-overlay.active .menu-nav li:nth-child(1) {
    transition-delay: 0.02s;
}

.menu-overlay.active .menu-nav li:nth-child(2) {
    transition-delay: 0.04s;
}

.menu-overlay.active .menu-nav li:nth-child(3) {
    transition-delay: 0.06s;
}

.menu-overlay.active .menu-nav li:nth-child(4) {
    transition-delay: 0.08s;
}

.menu-overlay.active .menu-nav li:nth-child(5) {
    transition-delay: 0.1s;
}

.menu-nav a {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    padding: 0.42rem 0.46rem;
    border-radius: 8px;
    letter-spacing: 0.01em;
    position: relative;
}

.menu-nav a::after {
    display: none;
}

.menu-nav a:hover {
    color: var(--green-primary);
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(2px);
}

/* Responsive styles are in responsive.css */

/* ============================================================
   SKILLS SECTION
============================================================ */
.skills-section {
    position: relative;
    z-index: 1;
    padding: 6rem 6rem 10rem;
    max-width: 1800px;
    margin: 0 auto;
    background: transparent;
}

.skills-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-bottom: 6rem;
}

/* ── Left column ── */
.skills-tag {
    font-size: 1rem;
    font-weight: 600;
    color: #d2d6dc;
    letter-spacing: 0.5px;
    margin-bottom: 2.5rem;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.skill-item {
    padding: 1.5rem 0 0;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.skill-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: 0.2px;
}

.skill-header-right {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.skill-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d5dae0;
    display: inline-block;
    box-shadow: 0 0 8px rgba(213, 218, 224, 0.45);
    animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        box-shadow: 0 0 8px rgba(213, 218, 224, 0.45);
    }

    50% {
        box-shadow: 0 0 14px rgba(234, 237, 241, 0.7);
    }
}

.skill-icon {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-family: monospace;
    letter-spacing: 1px;
}

.skill-tags {
    font-size: 0.95rem;
    color: var(--text-gray);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.skill-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.28);
    width: 100%;
}

/* ── Right column ── */
.skills-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    padding-top: 3.5rem;
}

.skills-about {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-white);
    font-weight: 400;
    letter-spacing: 0.2px;
}

.resume-btn {
    display: inline-block;
    background: #d4d8de;
    color: #0b0d10;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #d4d8de;
}

.resume-btn:hover {
    background: rgba(212, 216, 222, 0.08);
    color: #f0f2f5;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 234, 239, 0.18);
}

/* ── Stats Row ── */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: none;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.stat-item+.stat-item {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    padding-left: 2rem;
}

.stat-number {
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 900;
    color: var(--text-white);
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #c0c5cc;
    letter-spacing: 0.3px;
}

/* ============================================================
   SERVICES Q&A SECTION
============================================================ */
.services-qa-section {
    position: relative;
    z-index: 1;
    max-width: 1800px;
    margin: 0 auto;
    padding: 6rem 6rem 7.5rem;
    background: transparent;
}

.services-qa-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
    align-items: start;
    margin-bottom: 1.7rem;
}

.services-qa-tag {
    font-size: 1.08rem;
    font-weight: 600;
    color: #8d949c;
    letter-spacing: 0.35px;
}

.services-qa-title {
    font-size: clamp(1.9rem, 3.9vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #f4f7fa;
    font-weight: 760;
}

.services-qa-divider {
    display: none;
}

.services-qa-divider-mark {
    color: #7ff0a5;
    font-size: 1.52rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.services-qa-divider-track {
    position: relative;
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(194, 205, 218, 0.32) 0%, rgba(194, 205, 218, 0.2) 100%);
}

.services-qa-layout {
    display: grid;
    grid-template-columns: minmax(420px, 0.48fr) minmax(0, 0.52fr);
    gap: 3rem;
    align-items: start;
}

.services-qa-media {
    width: min(100%, 760px);
    aspect-ratio: 1.42 / 1;
    justify-self: start;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(160deg, #edf2f7 0%, #d7e0ea 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.services-qa-screen {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1.42 / 1;
    background:
        linear-gradient(160deg, #f4f6f9 0%, #d9e0e8 100%);
}

.services-qa-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.9) contrast(1.02);
}

.services-qa-list {
    display: grid;
}

.services-qa-item {
    display: block;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.15rem 0;
}

.services-qa-item[open] {
    background: rgba(255, 255, 255, 0.01);
}

.services-qa-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.24s ease, opacity 0.2s ease;
}

.services-qa-content-inner {
    overflow: hidden;
}

.services-qa-item[open] .services-qa-content {
    grid-template-rows: 1fr;
    opacity: 1;
}

.services-qa-item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.7rem;
    cursor: pointer;
    list-style: none;
}

.services-qa-item-top::-webkit-details-marker {
    display: none;
}

.services-qa-question {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 18px;
    color: #f1f5f8;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.services-qa-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.services-qa-index {
    color: #9aa6b2;
    font-size: 0.95rem;
    line-height: 1;
    letter-spacing: 0.02em;
}

.services-qa-caret {
    color: #7ff0a5;
    font-size: 0.95rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.services-qa-item[open] .services-qa-caret {
    transform: rotate(45deg);
}

.services-qa-answer {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin-top: 0.66rem;
    max-width: 58ch;
    color: #c3ccd6;
    line-height: 1.58;
    font-size: 14px;
}

.services-qa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.9rem;
    color: #63ee98;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(99, 238, 152, 0.6);
    padding-bottom: 0.18rem;
    transform: translateY(4px);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.services-qa-item[open] .services-qa-link {
    transform: translateY(0);
    opacity: 1;
}

/* ============================================================
   WORKFLOW SECTION
============================================================ */
.workflow-section {
    position: relative;
    z-index: 1;
    max-width: 1800px;
    margin: 0 auto;
    padding: 5.8rem 6rem 6.8rem;
    background: transparent;
}

.workflow-head {
    display: grid;
    grid-template-columns: 0.68fr 1.32fr;
    gap: 2.2rem;
    align-items: start;
    margin-bottom: 1.8rem;
}

.workflow-tag {
    font-size: 1.02rem;
    font-weight: 600;
    color: #7eeea4;
    letter-spacing: 0.3px;
}

.workflow-title {
    font-size: clamp(1.9rem, 3.9vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #f5f7f9;
    font-weight: 760;
    max-width: 18ch;
}

.workflow-divider {
    margin-bottom: 3rem;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.workflow-step {
    padding: 1.1rem 2rem 0 0;
    min-height: 430px;
}

.workflow-step+.workflow-step {
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.workflow-step-number {
    font-size: clamp(4.6rem, 8vw, 8rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    font-weight: 800;
    color: #68f194;
    margin-bottom: 6.8rem;
}

.workflow-step-title {
    font-size: clamp(1.26rem, 2vw, 1.9rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: #f3f6f9;
    margin-bottom: 1rem;
}

.workflow-step-copy {
    max-width: 30ch;
    font-size: 1.08rem;
    line-height: 1.6;
    color: #bac3cc;
}

/* ============================================================
   TESTIMONIALS SECTION
============================================================ */
.testimonials-section {
    position: relative;
    z-index: 1;
    max-width: 1800px;
    margin: 0 auto;
    padding: 5.8rem 6rem 6.8rem;
    background: transparent;
}

.testimonials-head {
    display: grid;
    grid-template-columns: 0.68fr 1.32fr;
    gap: 2.2rem;
    align-items: start;
    margin-bottom: 1.8rem;
}

.testimonials-tag {
    font-size: 1.02rem;
    font-weight: 600;
    color: #8f969c;
    letter-spacing: 0.3px;
}

.testimonials-title {
    font-size: clamp(1.9rem, 3.9vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #f5f7f9;
    font-weight: 760;
    max-width: 19ch;
}

.testimonials-divider {
    margin-bottom: 3rem;
}

.testimonials-shell {
    min-height: 520px;
}

.testimonials-state {
    font-size: 1rem;
    color: #bfc5cc;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.2rem;
}

.testimonials-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 3.5rem;
    align-items: start;
}

.testimonials-quote-wrap {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    width: 100%;
    gap: 0;
    position: relative;
    padding-top: 0.8rem;
}

.testimonials-quote-mark {
    position: absolute;
    top: -0.15rem;
    left: -0.22rem;
    z-index: 0;
    font-size: clamp(7rem, 11vw, 11rem);
    line-height: 0.7;
    letter-spacing: -0.08em;
    color: rgba(104, 241, 148, 0.42);
    margin-bottom: 0;
    flex-shrink: 0;
}

.testimonials-quote {
    position: relative;
    z-index: 1;
    max-width: none;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: -0.018em;
    font-weight: 700;
    color: #f3f6f9;
    flex-shrink: 0;
    margin-top: 7.45rem;
}

.testimonials-side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.2rem;
    width: 210px;
    flex-shrink: 0;
    align-self: end;
}

.testimonials-client {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.testimonials-avatar {
    width: 210px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 6px;
    background: linear-gradient(160deg, #203129 0%, #101814 100%);
}

.testimonials-client-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: #f3f6f8;
    line-height: 1.2;
}

.testimonials-client-role {
    margin-top: 0;
    font-size: 0.9rem;
    color: #9ea7b1;
    line-height: 1.45;
}

.testimonials-controls {
    display: flex;
    gap: 0.8rem;
    margin-top: 0.4rem;
}

.testimonials-button {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 4px;
    background: #6df198;
    color: #07110c;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.testimonials-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(109, 241, 152, 0.18);
}

.testimonials-button:disabled {
    opacity: 0.55;
    cursor: default;
}

/* ============================================================
   CLIENTS LOGO SECTION
============================================================ */
.clients-section {
    position: relative;
    z-index: 1;
    max-width: 1800px;
    margin: 0 auto;
    padding: 5.2rem 6rem 6.4rem;
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(109, 241, 152, 0.08) 0%, rgba(109, 241, 152, 0) 62%),
        linear-gradient(180deg, rgba(16, 18, 21, 0.72) 0%, rgba(18, 20, 24, 0.66) 100%);
    border: 1px solid rgba(220, 230, 240, 0.08);
    border-radius: 10px;
}

.clients-head {
    position: relative;
    display: grid;
    grid-template-columns: 0.68fr 1.32fr;
    gap: 2.2rem;
    align-items: start;
    margin-bottom: 1.8rem;
}

.clients-tag {
    font-size: 1.02rem;
    font-weight: 600;
    color: #8f969c;
    letter-spacing: 0.3px;
}

.clients-title {
    font-size: clamp(1.9rem, 3.8vw, 4rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #f5f7f9;
    font-weight: 760;
    max-width: 13ch;
}

.clients-head-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #68f194;
    left: 53%;
    top: 0.15rem;
    box-shadow: 0 0 18px rgba(104, 241, 148, 0.32);
}

.clients-divider {
    margin-bottom: 2.9rem;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(var(--clients-cols-desktop, 1), minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    border: 1px solid rgba(198, 208, 220, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.006) 100%),
        rgba(198, 208, 220, 0.16);
}

.clients-state {
    grid-column: 1 / -1;
    font-size: 1rem;
    color: #bfc5cc;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
}

.client-logo-item {
    min-height: 132px;
    padding: 1.4rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(14, 16, 18, 0.9);
}

.client-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.62rem;
    color: rgba(219, 226, 236, 0.72);
    font-size: clamp(0.75rem, 0.88vw, 0.94rem);
    font-weight: 720;
    letter-spacing: -0.01em;
    transition: color 0.24s ease, transform 0.24s ease;
}

.client-logo-item:hover .client-logo {
    color: rgba(238, 245, 253, 0.95);
    transform: translateY(-1px);
}

.client-logo-image,
.client-logo-placeholder {
    width: min(189px, 86%);
    height: 57px;
    object-fit: contain;
    object-position: center;
    filter: grayscale(100%) contrast(0.95) brightness(0.92);
    opacity: 0.92;
    transition: filter 0.24s ease, opacity 0.24s ease;
}

.client-logo-item:hover .client-logo-image,
.client-logo-item:hover .client-logo-placeholder {
    filter: grayscale(0%) contrast(1) brightness(1);
    opacity: 1;
}

.client-logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(219, 226, 236, 0.32);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.01) 100%);
    width: 86px;
    height: 86px;
    font-size: 1rem;
    font-weight: 760;
    color: rgba(230, 236, 245, 0.82);
}

.client-logo-name {
    color: rgba(219, 226, 236, 0.74);
    font-size: inherit;
    font-weight: 700;
    line-height: 1.25;
}

/* ============================================================
   CONTACT PAGE
============================================================ */
.contact-page {
    position: relative;
    z-index: 1;
    max-width: 1800px;
    margin: 0 auto;
    padding: 7.6rem 6rem 6rem;
}

.contact-section {
    background:
        radial-gradient(140% 120% at 50% -20%, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0) 58%),
        linear-gradient(180deg, rgba(21, 23, 26, 0.92) 0%, rgba(26, 28, 32, 0.9) 100%);
    border: 1px solid rgba(220, 230, 240, 0.1);
    border-radius: 14px;
    padding: 2.8rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 24px 46px rgba(0, 0, 0, 0.28);
}

.contact-head {
    display: grid;
    grid-template-columns: 0.64fr 1.36fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 1.6rem;
}

.contact-tag {
    font-size: 1.02rem;
    font-weight: 600;
    color: #8f969c;
    letter-spacing: 0.3px;
}

.contact-title {
    font-size: clamp(1.88rem, 4vw, 3.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #f5f7f9;
    font-weight: 760;
    max-width: 17ch;
}

.contact-divider {
    margin-bottom: 2.1rem;
}

.contact-divider .projects-divider-mark {
    color: #b7c0c9;
    text-shadow: none;
}

.contact-divider .projects-divider-track::before {
    background: linear-gradient(90deg, rgba(198, 208, 220, 0.32) 0%, rgba(198, 208, 220, 0.26) 100%);
}

.contact-divider .projects-divider-track::after {
    background: linear-gradient(90deg, rgba(198, 208, 220, 0) 0%, rgba(214, 222, 232, 0.9) 48%, rgba(198, 208, 220, 0) 100%);
    box-shadow: 0 0 14px rgba(214, 222, 232, 0.28);
}

.contact-status {
    margin-bottom: 1rem;
    font-size: 0.94rem;
    line-height: 1.5;
    border-radius: 12px;
    padding: 0.82rem 0.94rem;
}

.contact-status-success {
    background: rgba(233, 240, 247, 0.08);
    border: 1px solid rgba(220, 230, 240, 0.22);
    color: #e6edf4;
}

.contact-status-error {
    background: rgba(255, 125, 125, 0.1);
    border: 1px solid rgba(255, 125, 125, 0.24);
    color: #ffd9d9;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.44fr) minmax(0, 0.56fr);
    gap: 1.2rem;
    align-items: start;
}

.contact-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(13, 15, 18, 0.88) 0%, rgba(10, 12, 15, 0.84) 100%);
    padding: 1.15rem;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.contact-card:hover {
    transform: translateY(-1px);
    border-color: rgba(220, 230, 240, 0.16);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.contact-copy h2 {
    font-size: clamp(1.2rem, 1.9vw, 1.58rem);
    line-height: 1.2;
    margin-bottom: 0.62rem;
    color: #f3f6f9;
}

.contact-copy p {
    color: #bcc5cf;
    line-height: 1.7;
    margin-bottom: 0.82rem;
    max-width: 42ch;
}

.contact-points {
    list-style: none;
    display: grid;
    gap: 0.44rem;
}

.contact-points li {
    color: #d0d7df;
    font-size: 0.9rem;
    line-height: 1.55;
    padding-left: 1rem;
    position: relative;
}

.contact-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.52rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #bcc6d0;
}

.contact-form {
    display: grid;
    gap: 0.9rem;
}

.contact-form label {
    display: grid;
    gap: 0.42rem;
    color: #b8c1ca;
    font-size: 0.86rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #f2f6fa;
    padding: 0.74rem 0.82rem;
    font: inherit;
}

.contact-form textarea {
    min-height: 136px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(220, 230, 240, 0.3);
    box-shadow: 0 0 0 3px rgba(220, 230, 240, 0.07);
}

.contact-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.72rem;
}

.contact-submit-btn {
    margin-top: 0.2rem;
    width: fit-content;
    background: linear-gradient(180deg, #d7dee5 0%, #bcc6d0 100%);
    color: #11161b;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.contact-submit-btn:hover {
    background: linear-gradient(180deg, #e2e8ee 0%, #c9d1d9 100%);
}

.contact-honeypot {
    display: none !important;
}

/* ============================================================
   PROJECTS SECTION
============================================================ */
.projects-section {
    position: relative;
    z-index: 1;
    max-width: 1800px;
    margin: 0 auto;
    padding: 6rem 6rem 9rem;
    background: transparent;
}

.projects-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
    align-items: start;
    margin-bottom: 1.8rem;
}

.projects-tag {
    font-size: 1rem;
    font-weight: 600;
    color: #cdd2d8;
    letter-spacing: 0.4px;
}

.projects-title {
    font-size: clamp(1.9rem, 3.9vw, 3.6rem);
    font-weight: 750;
    line-height: 1.04;
    color: #f5f7f9;
    letter-spacing: -0.03em;
}

.projects-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 1540px;
    margin: 0 auto 2.6rem;
    opacity: 1;
}

.projects-divider-mark {
    flex: 0 0 auto;
    color: #7ff0a5;
    font-size: 1.52rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    text-shadow: 0 0 18px rgba(127, 240, 165, 0.14);
}

.projects-divider-track {
    position: relative;
    flex: 1;
    height: 14px;
    overflow: hidden;
}

.projects-divider-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, rgba(198, 208, 220, 0.26) 0%, rgba(198, 208, 220, 0.38) 100%);
    transform: translateY(-50%) scaleX(0);
    transform-origin: left center;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.projects-divider-track::after {
    content: '';
    position: absolute;
    top: 50%;
    left: -10%;
    width: 14%;
    min-width: 84px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(128, 147, 134, 0) 0%, rgba(127, 240, 165, 0.95) 48%, rgba(127, 240, 165, 0) 100%);
    box-shadow: 0 0 18px rgba(127, 240, 165, 0.38);
    transform: translateY(-50%) translateX(0);
    opacity: 0;
}

.projects-divider.is-visible .projects-divider-track::before {
    transform: translateY(-50%) scaleX(1);
}

.projects-divider.is-visible .projects-divider-track::after {
    opacity: 1;
    animation: projectsDividerSweep 1.8s cubic-bezier(0.2, 0.75, 0.25, 1) 0.2s forwards;
}

@keyframes projectsDividerSweep {
    0% {
        left: -12%;
        opacity: 0;
    }

    12% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0.22;
    }
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2.6rem;
    column-gap: 10%;
    max-width: 1880px;
    margin: 0 auto;
    justify-content: center;
    justify-items: center;
}

.project-card {
    --project-card-width: 676px;
    --project-media-ratio: 1.2 / 1;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    width: min(100%, var(--project-card-width));
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-4px);
}

.project-card-outgoing {
    animation: projectCardExit 0.36s cubic-bezier(0.32, 0.8, 0.26, 1) forwards;
}

@keyframes projectCardExit {
    0% {
        transform: translateY(-4px) scale(1);
        opacity: 1;
        filter: blur(0);
    }

    100% {
        transform: translateY(8px) scale(0.98);
        opacity: 0.16;
        filter: blur(1.2px);
    }
}

.page-outgoing-curtain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 260;
    opacity: 0;
    transform: translateY(100%);
    background:
        linear-gradient(180deg, rgba(9, 12, 16, 0.12) 0%, rgba(9, 12, 16, 0.9) 52%, rgba(9, 12, 16, 1) 100%),
        radial-gradient(560px 220px at 50% 8%, rgba(112, 238, 158, 0.28) 0%, rgba(112, 238, 158, 0.04) 42%, transparent 72%);
}

.page-outgoing-curtain.is-active {
    animation: outgoingCurtainSweep 0.42s cubic-bezier(0.22, 0.78, 0.2, 1) forwards;
}

@keyframes outgoingCurtainSweep {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .project-card-outgoing {
        animation: none;
    }

    .page-outgoing-curtain,
    .page-outgoing-curtain.is-active {
        animation: none;
        opacity: 0;
        transform: translateY(100%);
    }
}

.project-card.is-clickable {
    position: relative;
}

.project-card.is-clickable:focus-visible {
    outline: 2px solid rgba(127, 240, 165, 0.72);
    outline-offset: 6px;
}

.project-visual {
    position: relative;
    min-height: 0;
    padding: 0;
    overflow: hidden;
}

.project-screen {
    position: relative;
    aspect-ratio: var(--project-media-ratio);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%),
        var(--project-thumb-bg);
    padding: var(--project-thumb-padding);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.project-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: var(--project-thumb-fit);
    object-position: var(--project-thumb-position);
    transition: transform 0.45s ease, filter 0.45s ease;
    filter: contrast(1.01) saturate(0.96);
}

.project-card:hover .project-image {
    transform: scale(1.02);
    filter: contrast(1.03) saturate(1);
}

.project-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(231, 236, 243, 0.12) 0%, rgba(162, 175, 191, 0.08) 100%);
    color: rgba(245, 247, 250, 0.88);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
}

.project-meta {
    padding: 0;
}

.project-name {
    font-size: 1.22rem;
    font-weight: 700;
    color: #f4f6f8;
    margin-bottom: 0.7rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-transform: none;
}

.project-desc {
    font-size: 0.98rem;
    line-height: 1.68;
    color: #9da4ad;
    margin-bottom: 1.15rem;
    max-width: 44ch;
}

.project-tech {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.tech-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem 0.92rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #dfe5eb;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.25s ease;
}

.tech-pill:hover {
    color: #91f0ae;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(145, 240, 174, 0.16);
}

.tech-pill-link {
    text-decoration: none;
}

.projects-state {
    grid-column: 1 / -1;
    font-size: 1rem;
    color: #bfc5cc;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.2rem;
}

.projects-error {
    color: #f0c5c5;
    border-color: rgba(255, 140, 140, 0.35);
}

.project-card,
.project-card a,
.project-card button {
    cursor: none;
}

.project-hover-cursor {
    position: fixed;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: #baffcf;
    border: 1px solid rgba(17, 24, 19, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #14191d;
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0;
    pointer-events: none;
    z-index: 240;
    transition: opacity 0.18s ease, transform 0.2s ease;
    box-shadow: 0 6px 20px rgba(98, 215, 139, 0.28);
}

.project-hover-cursor-icon {
    font-size: 0.98rem;
    font-weight: 400;
    line-height: 1;
    color: #101316;
    transform: translateY(-0.5px);
}

.project-cursor-active .project-hover-cursor {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.ambient-cursor-dot {
    position: fixed;
    left: 0;
    top: 0;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(77, 255, 145, 0.95);
    border: 1px solid rgba(8, 14, 10, 0.55);
    box-shadow: 0 0 10px rgba(77, 255, 145, 0.4);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 239;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.14s ease;
}

.ambient-cursor-active .ambient-cursor-dot {
    opacity: 1;
}

body.ambient-cursor-active,
body.ambient-cursor-active * {
    cursor: none !important;
}

.project-cursor-active .ambient-cursor-dot {
    opacity: 0;
}

.reduced-motion .projects-divider-track::before {
    transform: translateY(-50%) scaleX(1);
    transition: none;
}

.reduced-motion .projects-divider-track::after {
    display: none;
}

.reduced-motion .project-hover-cursor {
    display: none;
}

@media (hover: none), (pointer: coarse) {
    .ambient-cursor-dot {
        display: none;
    }
}

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-page {
    position: relative;
    z-index: 1;
    max-width: 1800px;
    margin: 0 auto;
    padding: 8rem 3rem 6rem;
}

.anim-reveal {
    opacity: 1;
    transform: none;
}

body.play-entry .anim-reveal {
    opacity: 0;
    transform: translateY(26px);
    filter: blur(1.4px);
    animation: detailRevealIn 0.78s cubic-bezier(0.2, 0.85, 0.2, 1) forwards;
}

body.play-entry .anim-delay-1 {
    animation-delay: 0.12s;
}

body.play-entry .anim-delay-2 {
    animation-delay: 0.2s;
}

body.play-entry .anim-delay-3 {
    animation-delay: 0.28s;
}

body.play-entry .anim-delay-4 {
    animation-delay: 0.36s;
}

body.play-entry .anim-delay-5 {
    animation-delay: 0.44s;
}

.about-transition-curtain,
.about-transition-flare {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    z-index: 220;
}

.about-transition-curtain {
    background: linear-gradient(180deg, rgba(4, 6, 8, 0.94) 0%, rgba(4, 6, 8, 0.86) 40%, rgba(4, 6, 8, 0) 100%);
    transform: translateY(-104%);
}

.about-transition-flare {
    background: radial-gradient(560px 220px at 50% 6%, rgba(112, 238, 158, 0.42) 0%, rgba(112, 238, 158, 0.16) 35%, rgba(112, 238, 158, 0) 72%);
    transform: scale(1.08);
}

body.play-entry .about-transition-curtain {
    opacity: 1;
    animation: curtainSweep 1s cubic-bezier(0.24, 0.82, 0.28, 1) forwards;
}

body.play-entry .about-transition-flare {
    opacity: 1;
    animation: flarePulse 0.95s ease-out forwards;
}

@keyframes detailRevealIn {
    0% {
        opacity: 0;
        transform: translateY(26px);
        filter: blur(1.4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes curtainSweep {
    0% {
        transform: translateY(-104%);
    }

    60% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(104%);
        opacity: 0;
    }
}

@keyframes flarePulse {
    0% {
        opacity: 0;
        transform: scale(1.08);
    }

    40% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.98);
    }
}

.about-hero-section {
    margin-bottom: 5.4rem;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 3rem;
    align-items: end;
}

.about-hero-copy {
    max-width: 860px;
}

.about-hero-title {
    font-size: clamp(2rem, 5.2vw, 4.7rem);
    line-height: 1.03;
    letter-spacing: -0.03em;
    margin-bottom: 1.4rem;
    color: #f5f7f9;
}

.about-hero-description {
    font-size: 1.06rem;
    line-height: 1.9;
    color: #ced3d9;
    max-width: 72ch;
}

.about-hero-visual {
    display: flex;
    justify-content: flex-end;
}

.about-hero-summary-box {
    width: min(100%, 400px);
    min-height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.24);
}

.about-hero-summary-tag {
    font-size: 0.78rem;
    letter-spacing: 0.07em;
    color: #9eeab9;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.about-hero-summary-box h3 {
    font-size: 1.28rem;
    color: #f4f7fa;
    letter-spacing: -0.01em;
    margin-bottom: 0.9rem;
}

.about-hero-summary-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.about-hero-summary-list li {
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    color: #c5ccd5;
    font-size: 0.9rem;
    line-height: 1.56;
    padding: 0.72rem 0.75rem;
}

@media (prefers-reduced-motion: reduce) {

    .about-transition-curtain,
    .about-transition-flare {
        display: none;
    }

    body.play-entry .anim-reveal {
        animation: none;
        opacity: 1;
        transform: none;
        filter: none;
    }
}

.about-quick-stats {
    margin-top: 1.8rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.about-quick-stat {
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.about-quick-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: #f5f8fb;
}

.about-quick-label {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9ba3ad;
}

.about-section {
    margin-bottom: 4.8rem;
}

.about-head {
    margin-bottom: 1.2rem;
}

.about-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    padding: 1.35rem;
}

.about-card h3,
.about-highlight h3,
.about-stack-group h3,
.about-timeline-item h3 {
    font-size: 1.06rem;
    margin-bottom: 0.7rem;
    color: #f2f6f9;
    letter-spacing: -0.01em;
}

.about-card p,
.about-highlight p,
.about-stack-group p,
.about-timeline-item p {
    color: #a6adb7;
    line-height: 1.75;
    font-size: 0.93rem;
}

.about-timeline {
    display: grid;
    gap: 0.9rem;
}

.about-timeline-item {
    display: grid;
    grid-template-columns: 98px minmax(0, 1fr);
    gap: 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.1rem 0;
}

.about-timeline-year {
    font-size: 0.9rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #8ef5af;
    font-weight: 700;
    padding-top: 0.2rem;
}

.about-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.about-highlight {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    padding: 1.3rem;
}

.about-stack-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.about-stack-group {
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.62rem;
}

.about-cta {
    margin-top: 1.4rem;
    margin-bottom: 3rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(115, 231, 156, 0.12), rgba(255, 255, 255, 0.03));
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.about-cta-tag {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #96f4b3;
    font-weight: 700;
}

.about-cta h2 {
    font-size: clamp(1.5rem, 3.4vw, 2.4rem);
    line-height: 1.14;
    color: #f7fafc;
    max-width: 26ch;
    letter-spacing: -0.02em;
}