/* ─── RESET ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
img,
video {
    display: block;
    max-width: 100%;
}
button,
input,
textarea,
select {
    font: inherit;
}
/* INDEX LAYOUT */
/* ── HERO ── */
#hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 10rem 3rem 6rem;
    position: relative;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(
            ellipse 60% 70% at 80% 40%,
            rgba(56, 189, 248, 0.06) 0%,
            transparent 70%
        ),
        radial-gradient(
            ellipse 40% 40% at 20% 80%,
            rgba(129, 140, 248, 0.05) 0%,
            transparent 60%
        );
    animation: bg-pulse 8s ease-in-out infinite alternate;
}
@keyframes bg-pulse {
    from {
        opacity: 0.6;
    }
    to {
        opacity: 1;
    }
}

.hero-left {
    position: relative;
    z-index: 1;
}

.hero-tag {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--acid);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    transform: translateY(16px);
    animation: fade-up 0.7s var(--ease-expo) 0.9s forwards;
}
.hero-tag::before {
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background: var(--acid);
}
@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-name {
    font-family: var(--f-display);
    font-size: clamp(4.5rem, 8.5vw, 10rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(24px);
    animation: fade-up 0.8s var(--ease-expo) 1.05s forwards;
}
.hero-name .accent {
    color: var(--acid);
}

.hero-title {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(1.3rem, 2.4vw, 2.2rem);
    color: var(--mist);
    margin: 1.2rem 0 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.75s var(--ease-expo) 1.2s forwards;
}
.hero-desc {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(242, 239, 232, 0.65);
    max-width: 420px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.75s var(--ease-expo) 1.32s forwards;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-up 0.75s var(--ease-expo) 1.44s forwards;
}
.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    opacity: 0;
    animation: fade-up 0.75s var(--ease-expo) 1.56s forwards;
}
.stat-item {
    text-align: left;
}
.stat-num {
    font-family: var(--f-display);
    font-size: 2.8rem;
    color: var(--acid);
    line-height: 1;
    transition: color 0.3s ease;
}
.stat-item:hover .stat-num {
    color: var(--paper);
}
.stat-label {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mist);
    margin-top: 0.3rem;
}

/* ── HERO RIGHT ── */
.hero-right {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.9);
    animation: fade-scale 1s var(--ease-expo) 1.1s forwards;
}
@keyframes fade-scale {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-visual {
    width: min(380px, 90%);
    aspect-ratio: 1;
    position: relative;
}
.hero-ring-outer {
    position: absolute;
    inset: -24px;
    border: 1px dashed rgba(56, 189, 248, 0.08);
    border-radius: 50%;
    animation: spin-slow 40s linear infinite reverse;
}
.hero-ring-inner {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 50%;
    animation: spin-slow 22s linear infinite;
}
.hero-ring-inner::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--acid);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 12px var(--acid);
}
@keyframes spin-slow {
    to {
        transform: rotate(360deg);
    }
}
.hero-card {
    position: absolute;
    inset: 16px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}
.hero-card:hover {
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.06);
}
.hero-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    display: block;
    transition:
        transform 0.6s var(--ease-expo),
        filter 0.5s ease;
    filter: grayscale(20%) contrast(1.05);
}
.hero-card:hover .hero-photo {
    transform: scale(1.06);
    filter: grayscale(0%) contrast(1.08);
}
/* Subtle acid-green tint overlay on hover */
.hero-photo-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 20%,
        rgba(56, 189, 248, 0.08) 0%,
        transparent 60%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.hero-card:hover .hero-photo-overlay {
    opacity: 1;
}
.hero-badge {
    position: absolute;
    bottom: 4px;
    right: -10px;
    background: var(--rust);
    padding: 0.6rem 1rem;
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: badge-pulse 3s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.04);
    }
}

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--f-mono);
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--mist);
    opacity: 0;
    animation: fade-up 0.6s ease 2s forwards;
}
.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--mist), transparent);
    animation: scroll-drip 2.2s var(--ease-inout) infinite;
}
@keyframes scroll-drip {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
    }
    40% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }
    60% {
        transform: scaleY(1);
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

/* ── QUICK NAV CARDS ── */
.quick-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--border);
}
.quick-card {
    padding: 2.5rem 2rem;
    border-right: 1px solid var(--border);
    text-decoration: none;
    color: var(--paper);
    position: relative;
    overflow: hidden;
    transition: background 0.35s var(--ease-expo);
}
.quick-card:last-child {
    border-right: none;
}
.quick-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--acid);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-expo);
}
.quick-card:hover {
    background: var(--card2);
}
.quick-card:hover::after {
    transform: scaleX(1);
}
.quick-num {
    font-family: var(--f-mono);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--acid);
    margin-bottom: 0.8rem;
}
.quick-title {
    font-family: var(--f-display);
    font-size: 1.8rem;
    transition: color 0.25s ease;
    line-height: 1;
}
.quick-card:hover .quick-title {
    color: var(--acid);
}
.quick-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.2rem;
    color: var(--mist);
    transition:
        transform 0.35s var(--ease-back),
        color 0.25s ease;
}
.quick-card:hover .quick-arrow {
    transform: translate(4px, -4px);
    color: var(--acid);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    #hero {
        grid-template-columns: 1fr;
        padding: 8rem 2.5rem 5rem;
    }
    .hero-right {
        display: none;
    }
    .hero-stats {
        margin-top: 3rem;
    }
    .quick-nav {
        grid-template-columns: 1fr 1fr;
    }
    .quick-card {
        border-right: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }
}
@media (max-width: 768px) {
    #hero {
        padding: 7rem 1.5rem 4rem;
    }
    .hero-name {
        font-size: clamp(3.6rem, 16vw, 5.5rem);
    }
    .hero-stats {
        gap: 1.8rem;
    }
    .stat-num {
        font-size: 2.2rem;
    }
    .quick-nav {
        grid-template-columns: 1fr;
    }
    .quick-card {
        border-right: none;
    }
}
@media (max-width: 480px) {
    .hero-name {
        font-size: clamp(3rem, 18vw, 4.5rem);
    }
    .hero-btns {
        flex-direction: column;
    }
    .btn-primary,
    .btn-outline {
        text-align: center;
    }
}

/* ── ABOUT LAYOUT ── */
.about-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* ── INTRO SPLIT ── */
.intro-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    padding: 6rem 3rem;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.intro-left,
.intro-text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(242, 239, 232, 0.72);
    margin-top: 2rem;
}
.intro-text p + p {
    margin-top: 1.2rem;
}
.intro-text strong {
    color: var(--paper);
    font-weight: 700;
}
.intro-text em {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--acid);
}

.intro-right,
.values-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.4rem 0;
    border-bottom: 1px solid var(--border);
    transition: padding-left 0.35s var(--ease-expo);
}
.value-item:hover {
    padding-left: 0.5rem;
}
.value-num {
    font-family: var(--f-display);
    font-size: 2rem;
    color: var(--acid);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
    min-width: 40px;
    transition: opacity 0.3s ease;
}
.value-item:hover .value-num {
    opacity: 0.9;
}
.value-body,
.value-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.value-desc {
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(242, 239, 232, 0.55);
}

/* ── SKILLS ── */
.skills-section {
    padding: 6rem 3rem;
    border-bottom: 1px solid var(--border);
}
.skills-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.skill-cell {
    background: var(--card);
    padding: 1.6rem;
    transition:
        background 0.35s var(--ease-expo),
        transform 0.35s var(--ease-back);
    position: relative;
    overflow: hidden;
}
.skill-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.04), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.skill-cell:hover {
    background: #161620;
    transform: scale(1.02);
}
.skill-cell:hover::after {
    opacity: 1;
}
.skill-icon {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
}
.skill-name {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.skill-level {
    font-family: var(--f-mono);
    font-size: 0.6rem;
    color: var(--mist);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.skill-bar {
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
    margin-top: 0.8rem;
    position: relative;
    overflow: hidden;
}
.skill-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--acid), rgba(56, 189, 248, 0.4));
    transition: width 1.3s var(--ease-expo);
}

/* ── STACK MARQUEE ── */
.stack-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.marquee-label {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 1.5rem;
    padding: 0 3rem;
}
.marquee-track {
    display: flex;
    gap: 1.5rem;
    animation: marquee 28s linear infinite;
    width: max-content;
}
.marquee-track:hover {
    animation-play-state: paused;
}
.marquee-item {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 0.6rem 1.4rem;
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    color: var(--mist);
    transition:
        color 0.25s ease,
        border-color 0.25s ease;
}
.marquee-item:hover {
    color: var(--acid);
    border-color: rgba(56, 189, 248, 0.25);
}
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ── TIMELINE ── */
.timeline-section {
    padding: 6rem 3rem;
    border-bottom: 1px solid var(--border);
}
.timeline {
    position: relative;
    margin-top: 3rem;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}
.timeline-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 2.5rem;
    padding: 0 0 3rem 0;
    position: relative;
}
.timeline-item::after {
    content: "";
    position: absolute;
    left: 115px;
    top: 5px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--border);
    border-radius: 50%;
    background: var(--ink);
    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}
.timeline-item:hover::after {
    border-color: var(--acid);
    background: var(--acid);
}
.timeline-year {
    font-family: var(--f-mono);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    color: var(--mist);
    text-align: right;
    padding-top: 0.2rem;
    transition: color 0.3s ease;
}
.timeline-item:hover .timeline-year {
    color: var(--acid);
}
.timeline-body,
.timeline-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.timeline-org {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--acid);
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}
.timeline-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: rgba(242, 239, 232, 0.6);
}

/* ── INTERESTS ── */
.interests-section {
    padding: 6rem 3rem;
}
.interests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.interest-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.4s ease,
        transform 0.45s var(--ease-expo);
}
.interest-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}
.interest-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.interest-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.interest-desc {
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(242, 239, 232, 0.55);
}
.interest-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--acid);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-expo);
}
.interest-card:hover::before {
    transform: scaleX(1);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .intro-split {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .interests-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .intro-split,
    .skills-section,
    .timeline-section,
    .interests-section {
        padding: 4rem 1.5rem;
    }
    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }
    .timeline::before {
        left: 80px;
    }
    .timeline-item {
        grid-template-columns: 80px 1fr;
        gap: 1.5rem;
    }
    .timeline-item::after {
        left: 75px;
    }
    .interests-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .timeline::before {
        display: none;
    }
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .timeline-item::after {
        display: none;
    }
    .timeline-year {
        text-align: left;
    }
}

/* WORK LAYOUT */
/* ── FILTER BAR ── */
.filter-bar {
    padding: 2rem 3rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.filter-label {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mist);
    margin-right: 0.5rem;
}
.filter-btn {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--mist);
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        color 0.25s ease,
        background 0.25s ease;
}
.filter-btn:hover,
.filter-btn.active {
    border-color: var(--acid);
    color: var(--acid);
    background: rgba(56, 189, 248, 0.06);
}

/* ── PROJECTS CONTAINER ── */
.projects-container {
    padding: 4rem 3rem;
}

/* ── FEATURED PROJECT ── */
.featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    transition:
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}
.featured-project:hover {
    border-color: var(--border-hover);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}
.feat-thumb {
    position: relative;
    overflow: hidden;
    background: var(--card);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feat-bg-text {
    font-family: var(--f-display);
    font-size: 10rem;
    letter-spacing: 0.06em;
    opacity: 0.08;
    line-height: 1;
    transition:
        opacity 0.5s ease,
        transform 0.6s var(--ease-expo);
}
.featured-project:hover .feat-bg-text {
    opacity: 0.16;
    transform: scale(1.06);
}
.feat-overlay {
    position: absolute;
    inset: 0;
}
.feat-label {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-family: var(--f-mono);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--acid);
    color: var(--ink);
    padding: 0.3rem 0.7rem;
}
.feat-body {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--card);
}
.feat-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.feat-title {
    font-family: var(--f-display);
    font-size: 3rem;
    line-height: 0.95;
    margin-bottom: 1rem;
}
.feat-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(242, 239, 232, 0.62);
    margin-bottom: 2rem;
}
.feat-meta {
    display: flex;
    gap: 3rem;
    margin-bottom: 2rem;
}
.feat-meta-item,
.feat-meta-label {
    font-family: var(--f-mono);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 0.3rem;
}
.feat-meta-value {
    font-size: 0.85rem;
    font-weight: 700;
}
.feat-links {
    display: flex;
    gap: 1rem;
}
.feat-link {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--acid);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s var(--ease-expo);
}
.feat-link:hover {
    gap: 0.9rem;
}
.feat-link svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease-back);
}
.feat-link:hover svg {
    transform: translateX(3px);
}

/* ── GRID PROJECTS ── */
.grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
    transition:
        transform 0.45s var(--ease-expo),
        border-color 0.35s ease,
        box-shadow 0.45s var(--ease-expo);
    display: flex;
    flex-direction: column;
}
.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.project-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--card2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.project-thumb-text {
    font-family: var(--f-display);
    font-size: 3.5rem;
    letter-spacing: 0.06em;
    opacity: 0.1;
    transition:
        opacity 0.5s ease,
        transform 0.6s var(--ease-expo);
}
.project-card:hover .project-thumb-text {
    opacity: 0.2;
    transform: scale(1.06);
}
.project-thumb-overlay {
    position: absolute;
    inset: 0;
}
.project-body {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.project-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}
.project-desc {
    font-size: 0.83rem;
    line-height: 1.65;
    color: rgba(242, 239, 232, 0.55);
    flex: 1;
    margin-bottom: 1.5rem;
}
.project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.project-link {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--acid);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s var(--ease-expo);
}
.project-link:hover {
    gap: 0.9rem;
}
.project-link svg {
    width: 12px;
    height: 12px;
    transition: transform 0.3s var(--ease-back);
}
.project-link:hover svg {
    transform: translateX(3px);
}
.project-year {
    font-family: var(--f-mono);
    font-size: 0.58rem;
    color: var(--mist);
    letter-spacing: 0.1em;
}

/* ── STATS STRIP ── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}
.strip-stat {
    padding: 3rem 2rem;
    border-right: 1px solid var(--border);
    transition: background 0.35s ease;
}
.strip-stat:last-child {
    border-right: none;
}
.strip-stat:hover {
    background: var(--card);
}
.strip-num {
    font-family: var(--f-display);
    font-size: 4rem;
    color: var(--acid);
    line-height: 1;
}
.strip-label {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mist);
    margin-top: 0.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .featured-project {
        grid-template-columns: 1fr;
    }
    .feat-thumb {
        min-height: 260px;
    }
    .grid-row {
        grid-template-columns: 1fr 1fr;
    }
    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }
    .strip-stat {
        border-bottom: 1px solid var(--border);
    }
}
@media (max-width: 768px) {
    .filter-bar,
    .projects-container {
        padding: 2rem 1.5rem;
    }
    .grid-row {
        grid-template-columns: 1fr;
    }
    .feat-body {
        padding: 2rem;
    }
    .feat-title {
        font-size: 2rem;
    }
    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .feat-meta {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .stats-strip {
        grid-template-columns: 1fr 1fr;
    }
}

/* ── EXPERIENCE LAYOUT ── */
.exp-page {
    padding: 5rem 3rem;
}

.exp-switcher {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4rem;
    align-items: start;
}
.exp-tabs {
    position: sticky;
    top: 8rem;
}
.exp-tab {
    display: block;
    padding: 1.8rem 2rem;
    cursor: pointer;
    border-left: 2px solid var(--border);
    margin-bottom: 0;
    text-decoration: none;
    color: var(--paper);
    transition:
        border-left-color 0.4s var(--ease-expo),
        background 0.35s ease,
        padding-left 0.35s var(--ease-expo);
    position: relative;
}
.exp-tab::before {
    content: "";
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: 2px solid var(--border);
    transition:
        background 0.35s ease,
        transform 0.4s var(--ease-back),
        box-shadow 0.35s ease;
}
.exp-tab:hover {
    background: rgba(255, 255, 255, 0.02);
    padding-left: 2.4rem;
}
.exp-tab.active {
    border-left-color: var(--acid);
}
.exp-tab.active::before {
    background: var(--acid);
    border-color: var(--acid);
    transform: translateY(-50%) scale(1.4);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}
.exp-tab-date {
    font-family: var(--f-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 0.3rem;
}
.exp-tab-role {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    transition: color 0.25s ease;
}
.exp-tab:hover .exp-tab-role,
.exp-tab.active .exp-tab-role {
    color: var(--acid);
}
.exp-tab-company {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--acid);
    opacity: 0.7;
}
.exp-tab.active .exp-tab-company {
    opacity: 1;
}

/* ── DETAIL PANEL ── */
.exp-detail {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.35s ease;
}
.exp-detail:hover {
    border-color: rgba(56, 189, 248, 0.15);
}
.exp-detail::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--acid), transparent);
}
.exp-detail-inner {
    transition:
        opacity 0.4s var(--ease-expo),
        transform 0.4s var(--ease-expo);
}
.exp-detail-inner.fading {
    opacity: 0;
    transform: translateY(12px);
}

.exp-company-name {
    font-family: var(--f-display);
    font-size: 4rem;
    line-height: 0.95;
    margin-bottom: 0.5rem;
    color: var(--paper);
}
.exp-detail-role {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--acid);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.exp-detail-period {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 2rem;
}
.exp-detail-desc {
    font-size: 0.9rem;
    line-height: 1.85;
    color: rgba(242, 239, 232, 0.68);
    margin-bottom: 2.5rem;
}

.exp-achievements {
    list-style: none;
    margin-bottom: 2.5rem;
}
.exp-achievements li {
    font-size: 0.85rem;
    color: rgba(242, 239, 232, 0.72);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    transition:
        color 0.25s ease,
        padding-left 0.3s var(--ease-expo);
}
.exp-achievements li::before {
    content: "→";
    color: var(--acid);
    flex-shrink: 0;
    margin-top: 0.05rem;
}
.exp-achievements li:hover {
    color: var(--paper);
    padding-left: 0.4rem;
}

.exp-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* ── EDUCATION ── */
.education-section {
    padding: 5rem 3rem;
    border-top: 1px solid var(--border);
}
.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}
.edu-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2rem;
    transition:
        border-color 0.35s ease,
        transform 0.4s var(--ease-expo);
}
.edu-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}
.edu-year {
    font-family: var(--f-mono);
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--acid);
    margin-bottom: 0.6rem;
}
.edu-degree {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.edu-school {
    font-family: var(--f-serif);
    font-style: italic;
    color: var(--mist);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}
.edu-note {
    font-size: 0.8rem;
    line-height: 1.65;
    color: rgba(242, 239, 232, 0.5);
}

/* ── CERTIFICATIONS ── */
.certs-section {
    padding: 5rem 3rem;
    border-top: 1px solid var(--border);
}
.certs-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
}
.cert-item {
    background: var(--card);
    padding: 1.4rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    transition:
        background 0.3s ease,
        padding-left 0.35s var(--ease-expo);
}
.cert-item:hover {
    background: var(--card2);
    padding-left: 2.4rem;
}
.cert-left,
.cert-name {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.cert-issuer {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: 0.8rem;
    color: var(--mist);
}
.cert-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}
.cert-year {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: var(--mist);
}
.cert-badge {
    font-family: var(--f-mono);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--acid);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .exp-switcher {
        grid-template-columns: 1fr;
    }
    .exp-tabs {
        position: relative;
        top: auto;
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }
    .exp-tab {
        border-left: none;
        border-bottom: 2px solid var(--border);
        flex: 1;
        min-width: 140px;
    }
    .exp-tab.active {
        border-bottom-color: var(--acid);
        border-left: none;
    }
    .exp-tab::before {
        display: none;
    }
    .education-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .exp-page,
    .education-section,
    .certs-section {
        padding: 4rem 1.5rem;
    }
    .exp-tab {
        flex: none;
        width: 100%;
    }
    .exp-detail {
        padding: 2rem;
    }
    .exp-company-name {
        font-size: 2.5rem;
    }
}

/* TESTIMONIALS LAYOUT */
/* ── FEATURED QUOTE ── */
.featured-quote {
    padding: 6rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.featured-quote::before {
    content: '"';
    position: absolute;
    font-family: var(--f-display);
    font-size: 30rem;
    color: var(--acid);
    opacity: 0.03;
    line-height: 1;
    top: -4rem;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
.featured-quote-text {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.5;
    color: var(--paper);
    max-width: 860px;
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
}
.featured-quote-text::before {
    content: '"';
    color: var(--acid);
}
.featured-quote-text::after {
    content: '"';
    color: var(--acid);
}
.featured-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
}
.featured-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-size: 1.3rem;
    color: var(--acid);
}
.featured-name {
    font-size: 0.95rem;
    font-weight: 700;
    text-align: left;
}
.featured-role {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    color: var(--mist);
    text-align: left;
}

/* ── TESTIMONIALS GRID ── */
.testimonials-section {
    padding: 5rem 3rem;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}
.t-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.4s ease,
        transform 0.45s var(--ease-expo),
        box-shadow 0.45s var(--ease-expo);
    display: flex;
    flex-direction: column;
}
.t-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.t-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--acid);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-expo);
}
.t-card:hover::after {
    transform: scaleX(1);
}
.t-quote-mark {
    font-family: var(--f-display);
    font-size: 4rem;
    color: var(--acid);
    opacity: 0.12;
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: opacity 0.35s ease;
}
.t-card:hover .t-quote-mark {
    opacity: 0.25;
}
.t-stars {
    color: var(--acid);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}
.t-text {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(242, 239, 232, 0.7);
    font-style: italic;
    flex: 1;
    margin-bottom: 1.8rem;
}
.t-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}
.t-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--f-display);
    font-size: 1.1rem;
    color: var(--acid);
    flex-shrink: 0;
    transition:
        background 0.3s ease,
        transform 0.35s var(--ease-back);
}
.t-card:hover .t-avatar {
    background: rgba(56, 189, 248, 0.15);
    transform: scale(1.1);
}
.t-name {
    font-size: 0.85rem;
    font-weight: 700;
}
.t-role {
    font-family: var(--f-mono);
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    color: var(--mist);
}

/* ── LOGOS ── */
.logos-section {
    padding: 5rem 3rem;
    border-top: 1px solid var(--border);
}
.logos-label {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 2.5rem;
}
.logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}
.logo-cell {
    background: var(--card);
    flex: 1;
    min-width: 160px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}
.logo-cell:hover {
    background: var(--card2);
}
.logo-name {
    font-family: var(--f-display);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    color: var(--mist);
    transition: color 0.3s ease;
}
.logo-cell:hover .logo-name {
    color: var(--paper);
}

/* ── TRUST STATS ── */
.trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--border);
}
.trust-stat {
    padding: 3rem 2rem;
    border-right: 1px solid var(--border);
    transition: background 0.35s ease;
    text-align: center;
}
.trust-stat:last-child {
    border-right: none;
}
.trust-stat:hover {
    background: var(--card);
}
.trust-num {
    font-family: var(--f-display);
    font-size: 3.5rem;
    color: var(--acid);
    line-height: 1;
}
.trust-label {
    font-family: var(--f-mono);
    font-size: 0.6rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mist);
    margin-top: 0.5rem;
}

/* ── CTA ── */
.cta-section {
    padding: 7rem 3rem;
    text-align: center;
    border-top: 1px solid var(--border);
    background: radial-gradient(
        ellipse 60% 80% at 50% 50%,
        rgba(56, 189, 248, 0.03) 0%,
        transparent 70%
    );
}
.cta-title {
    font-family: var(--f-display);
    font-size: clamp(3rem, 7vw, 6rem);
    margin-bottom: 1.5rem;
    line-height: 0.95;
}
.cta-sub {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(242, 239, 232, 0.6);
    max-width: 480px;
    margin: 0 auto 3rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    .trust-strip {
        grid-template-columns: 1fr 1fr;
    }
    .trust-stat {
        border-bottom: 1px solid var(--border);
    }
}
@media (max-width: 768px) {
    .featured-quote,
    .testimonials-section,
    .logos-section,
    .cta-section {
        padding: 4rem 1.5rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .logos-grid {
        flex-direction: column;
    }
}
@media (max-width: 480px) {
    .trust-strip {
        grid-template-columns: 1fr 1fr;
    }
    .featured-quote-text {
        font-size: 1.25rem;
    }
}
/* CONTACT LAYOUT *
/* ── CONTACT SPLIT ── */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 300px);
}
.contact-left {
    padding: 6rem 4rem 6rem 3rem;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-headline {
    font-family: var(--f-display);
    font-size: clamp(4rem, 6vw, 7.5rem);
    line-height: 0.9;
    margin-bottom: 2rem;
}
.contact-headline .accent {
    color: var(--acid);
}
.contact-sub {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(242, 239, 232, 0.6);
    max-width: 380px;
    margin-bottom: 3rem;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 3rem;
}
.channel-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-size: 0.9rem;
    color: var(--paper);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    transition:
        color 0.3s ease,
        padding-left 0.35s var(--ease-expo),
        border-color 0.3s ease;
    position: relative;
}
.channel-link::after {
    content: "↗";
    position: absolute;
    right: 0;
    color: var(--mist);
    font-size: 0.85rem;
    transition:
        color 0.3s ease,
        transform 0.35s var(--ease-back);
}
.channel-link:hover {
    color: var(--acid);
    padding-left: 0.6rem;
    border-bottom-color: rgba(56, 189, 248, 0.2);
}
.channel-link:hover::after {
    color: var(--acid);
    transform: translate(3px, -3px);
}
.channel-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}
.channel-label {
    flex: 1;
}
.channel-value {
    font-family: var(--f-mono);
    font-size: 0.75rem;
    color: var(--mist);
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 1.2rem;
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.2);
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--acid);
}
.avail-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--acid);
    animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

/* ── FORM ── */
.contact-right {
    padding: 6rem 3rem 6rem 4rem;
}
.form-heading {
    font-family: var(--f-display);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}
.form-subheading {
    font-family: var(--f-mono);
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 3rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-label {
    display: block;
    font-family: var(--f-mono);
    font-size: 0.62rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mist);
    margin-bottom: 0.5rem;
    transition: color 0.25s ease;
}
.form-group:focus-within .form-label {
    color: var(--acid);
}
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--paper);
    font-family: var(--f-sans);
    font-size: 0.88rem;
    padding: 0.9rem 1.2rem;
    outline: none;
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--acid);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.08);
    background: #141420;
}
.form-textarea {
    resize: vertical;
    min-height: 140px;
}
.form-select {
    cursor: pointer;
}
.form-select option {
    background: var(--ink);
}

/* Project type radio */
.radio-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.radio-btn {
    display: none;
}
.radio-label {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.45rem 0.9rem;
    border: 1px solid var(--border);
    color: var(--mist);
    cursor: pointer;
    transition:
        border-color 0.25s ease,
        color 0.25s ease,
        background 0.25s ease;
    display: inline-block;
}
.radio-btn:checked + .radio-label {
    border-color: var(--acid);
    color: var(--acid);
    background: rgba(56, 189, 248, 0.08);
}
.radio-label:hover {
    border-color: rgba(56, 189, 248, 0.4);
    color: var(--paper);
}

.form-submit {
    width: 100%;
    background: var(--acid);
    color: var(--ink);
    border: none;
    font-family: var(--f-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 1.2rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.3s var(--ease-back),
        box-shadow 0.3s var(--ease-expo),
        background 0.3s ease;
}
.form-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease-expo);
}
.form-submit:hover {
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 0 var(--rust);
}
.form-submit:hover::before {
    transform: translateX(0);
}
.form-submit:active {
    transform: translate(0, 0);
    box-shadow: none;
    transition-duration: 0.1s;
}
.form-submit span {
    position: relative;
    z-index: 1;
}
.form-submit.success {
    background: #4ade80;
    color: #0a2e0a;
    transform: none !important;
    box-shadow: none !important;
}

.form-note {
    font-family: var(--f-mono);
    font-size: 0.6rem;
    color: var(--mist);
    letter-spacing: 0.08em;
    margin-top: 1rem;
    text-align: center;
    line-height: 1.6;
}

/* ── FAQ ── */
.faq-section {
    padding: 5rem 3rem;
    border-top: 1px solid var(--border);
}
.faq-list {
    margin-top: 3rem;
}
.faq-item {
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}
.faq-q {
    padding: 1.4rem 0;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: color 0.25s ease;
}
.faq-q:hover {
    color: var(--acid);
}
.faq-icon {
    font-size: 1.2rem;
    color: var(--acid);
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-back);
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
}
.faq-a {
    font-size: 0.85rem;
    line-height: 1.8;
    color: rgba(242, 239, 232, 0.6);
    max-height: 0;
    overflow: hidden;
    transition:
        max-height 0.5s var(--ease-expo),
        padding 0.4s var(--ease-expo);
}
.faq-item.open .faq-a {
    max-height: 300px;
    padding-bottom: 1.4rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .contact-split {
        grid-template-columns: 1fr;
    }
    .contact-left {
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding: 4rem 2.5rem;
    }
    .contact-right {
        padding: 4rem 2.5rem;
    }
}
@media (max-width: 768px) {
    .contact-left,
    .contact-right,
    .faq-section {
        padding: 3.5rem 1.5rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ─── TOKENS ─── */
:root {
    --ink: #0a0a0f;
    --paper: #f2efe8;
    --acid: #38bdf8;
    --rust: #818cf8;
    --mist: #6b7fa8;
    --card: #111118;
    --card2: #16161f;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(56, 189, 248, 0.25);

    --f-display: "Bebas Neue", sans-serif;
    --f-serif: "DM Serif Display", serif;
    --f-sans: "Syne", sans-serif;
    --f-mono: "Space Mono", monospace;

    --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--ink);
    color: var(--paper);
    font-family: var(--f-sans);
    overflow-x: hidden;
    cursor: none;
    -webkit-font-smoothing: antialiased;
}

/* ─── PAGE CURTAIN ─── */
#page-curtain {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: var(--acid);
    transform-origin: top;
    animation: curtain-up 0.85s var(--ease-expo) 0.05s forwards;
    pointer-events: none;
}
@keyframes curtain-up {
    0% {
        transform: scaleY(1);
    }
    100% {
        transform: scaleY(0);
    }
}

/* ─── PAGE TRANSITION OUT ─── */
body.leaving::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 8999;
    background: var(--acid);
    transform: scaleY(0);
    transform-origin: bottom;
    animation: curtain-down 0.5s var(--ease-expo) forwards;
}
@keyframes curtain-down {
    to {
        transform: scaleY(1);
    }
}

/* ─── CUSTOM CURSOR ─── */
#cursor {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 10px;
    height: 10px;
    background: var(--acid);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition:
        width 0.35s var(--ease-back),
        height 0.35s var(--ease-back),
        background 0.3s ease,
        opacity 0.3s ease;
    mix-blend-mode: difference;
}
#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--acid);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition:
        width 0.4s var(--ease-back),
        height 0.4s var(--ease-back),
        opacity 0.3s ease;
    opacity: 0.5;
}
body.cursor-hover #cursor {
    width: 18px;
    height: 18px;
}
body.cursor-hover #cursor-ring {
    width: 60px;
    height: 60px;
    opacity: 0.85;
}
body.cursor-click #cursor {
    width: 6px;
    height: 6px;
}

/* ─── NAV ─── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.4rem 3rem;
    backdrop-filter: blur(24px);
    background: rgba(10, 10, 15, 0.75);
    border-bottom: 1px solid var(--border);
    transition:
        padding 0.4s var(--ease-expo),
        background 0.4s ease,
        border-color 0.3s ease;
}
nav.scrolled {
    padding: 0.95rem 3rem;
    background: rgba(10, 10, 15, 0.95);
    border-bottom-color: rgba(255, 255, 255, 0.13);
}
.nav-logo {
    font-family: var(--f-display);
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    color: var(--acid);
    text-decoration: none;
    transition: letter-spacing 0.4s var(--ease-expo);
}
.nav-logo:hover {
    letter-spacing: 0.18em;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mist);
    text-decoration: none;
    position: relative;
    transition: color 0.25s ease;
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--acid);
    transition: width 0.35s var(--ease-expo);
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--acid);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid var(--acid);
    color: var(--acid);
    padding: 0.5rem 1.2rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}
.nav-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--acid);
    transform: translateX(-101%);
    transition: transform 0.35s var(--ease-expo);
}
.nav-cta:hover::before {
    transform: translateX(0);
}
.nav-cta:hover {
    color: var(--ink);
}
.nav-cta span {
    position: relative;
    z-index: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--paper);
    transition:
        transform 0.4s var(--ease-back),
        opacity 0.3s ease;
    transform-origin: center;
}
.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: var(--ink);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition:
        opacity 0.45s var(--ease-expo),
        transform 0.45s var(--ease-expo);
}
.mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.mobile-menu a {
    font-family: var(--f-display);
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    color: var(--paper);
    text-decoration: none;
    letter-spacing: 0.04em;
    opacity: 0;
    transform: translateY(16px);
    transition: color 0.25s ease;
}
.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu.open a:nth-child(2) {
    transition:
        color 0.25s,
        opacity 0.4s 0.08s var(--ease-expo),
        transform 0.4s 0.08s var(--ease-expo);
}
.mobile-menu.open a:nth-child(3) {
    transition:
        color 0.25s,
        opacity 0.4s 0.15s var(--ease-expo),
        transform 0.4s 0.15s var(--ease-expo);
}
.mobile-menu.open a:nth-child(4) {
    transition:
        color 0.25s,
        opacity 0.4s 0.22s var(--ease-expo),
        transform 0.4s 0.22s var(--ease-expo);
}
.mobile-menu.open a:nth-child(5) {
    transition:
        color 0.25s,
        opacity 0.4s 0.29s var(--ease-expo),
        transform 0.4s 0.29s var(--ease-expo);
}
.mobile-menu.open a:nth-child(6) {
    transition:
        color 0.25s,
        opacity 0.4s 0.36s var(--ease-expo),
        transform 0.4s 0.36s var(--ease-expo);
}
.mobile-menu.open a:nth-child(7) {
    transition:
        color 0.25s,
        opacity 0.4s 0.43s var(--ease-expo),
        transform 0.4s 0.43s var(--ease-expo);
}
.mobile-menu a:hover {
    color: var(--acid);
}
.mobile-close {
    position: absolute;
    top: 1.6rem;
    right: 2rem;
    font-family: var(--f-mono);
    font-size: 0.75rem;
    color: var(--mist);
    cursor: pointer;
    letter-spacing: 0.1em;
    transition: color 0.2s ease;
}
.mobile-close:hover {
    color: var(--acid);
}

/* ─── PAGE HERO BANNER (inner pages) ─── */
.page-hero {
    min-height: 48vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10rem 3rem 4rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.grid-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 60px 60px;
}
.page-hero-content {
    position: relative;
    z-index: 1;
}
.page-breadcrumb {
    font-family: var(--f-mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--acid);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    animation: fade-up 0.7s var(--ease-expo) 0.9s forwards;
}
.page-breadcrumb::before {
    content: "";
    width: 36px;
    height: 1px;
    background: var(--acid);
}
.page-hero-title {
    font-family: var(--f-display);
    font-size: clamp(4.5rem, 9vw, 10rem);
    line-height: 0.9;
    opacity: 0;
    animation: fade-up 0.8s var(--ease-expo) 1s forwards;
}
.page-hero-title .accent {
    color: var(--acid);
}
.page-hero-sub {
    font-family: var(--f-serif);
    font-style: italic;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    color: var(--mist);
    margin-top: 1.2rem;
    opacity: 0;
    animation: fade-up 0.75s var(--ease-expo) 1.12s forwards;
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.75s var(--ease-expo),
        transform 0.75s var(--ease-expo);
}
.reveal.from-left {
    transform: translateX(-40px);
}
.reveal.from-right {
    transform: translateX(40px);
}
.reveal.scale-in {
    transform: scale(0.94) translateY(20px);
}
.reveal.visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

.reveal-delay-1 {
    transition-delay: 0.08s;
}
.reveal-delay-2 {
    transition-delay: 0.16s;
}
.reveal-delay-3 {
    transition-delay: 0.24s;
}
.reveal-delay-4 {
    transition-delay: 0.32s;
}
.reveal-delay-5 {
    transition-delay: 0.4s;
}

/* ─── SECTION SHARED ─── */
.section-label {
    font-family: var(--f-mono);
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--acid);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.section-label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
    max-width: 80px;
}

.section-title {
    font-family: var(--f-display);
    font-size: clamp(2.8rem, 5vw, 5.5rem);
    line-height: 0.95;
    margin-bottom: 1rem;
}

/* ─── BUTTONS ─── */
.btn-primary {
    background: var(--acid);
    color: var(--ink);
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.3s var(--ease-back),
        box-shadow 0.3s var(--ease-expo);
}
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.12);
    transform: translateX(-100%);
    transition: transform 0.4s var(--ease-expo);
}
.btn-primary:hover {
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 0 var(--rust);
}
.btn-primary:hover::after {
    transform: translateX(0);
}
.btn-primary:active {
    transform: translate(0, 0);
    box-shadow: none;
    transition-duration: 0.1s;
}

.btn-outline {
    border: 1px solid rgba(242, 239, 232, 0.3);
    color: var(--paper);
    font-family: var(--f-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    transition:
        border-color 0.3s ease,
        color 0.3s ease;
}
.btn-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(56, 189, 248, 0.06);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-expo);
}
.btn-outline:hover {
    border-color: var(--acid);
    color: var(--acid);
}
.btn-outline:hover::before {
    transform: scaleX(1);
}

/* ─── TAGS ─── */
.tag {
    font-family: var(--f-mono);
    font-size: 0.58rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    background: rgba(56, 189, 248, 0.08);
    color: var(--acid);
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition:
        background 0.25s ease,
        border-color 0.25s ease;
    display: inline-block;
}
.tag:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
}
.tag.rust {
    background: rgba(129, 140, 248, 0.1);
    color: var(--rust);
    border-color: rgba(129, 140, 248, 0.25);
}
.tag.rust:hover {
    background: rgba(129, 140, 248, 0.2);
}
.tag.blue {
    background: rgba(100, 100, 255, 0.1);
    color: #9090ff;
    border-color: rgba(100, 100, 255, 0.25);
}
.tag.teal {
    background: rgba(0, 220, 180, 0.08);
    color: #00dcb4;
    border-color: rgba(0, 220, 180, 0.2);
}

/* ─── FOOTER ─── */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-logo {
    font-family: var(--f-display);
    font-size: 1.3rem;
    color: var(--acid);
    letter-spacing: 0.06em;
}
.footer-copy {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    color: var(--mist);
    letter-spacing: 0.1em;
}
.footer-socials {
    display: flex;
    gap: 1.5rem;
}
.footer-socials a {
    font-family: var(--f-mono);
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mist);
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.3s var(--ease-back);
    display: inline-block;
}
.footer-socials a:hover {
    color: var(--acid);
    transform: translateY(-2px);
}

/* ─── RESPONSIVE NAV ─── */
@media (max-width: 768px) {
    nav {
        padding: 1.1rem 1.5rem;
    }
    nav.scrolled {
        padding: 0.9rem 1.5rem;
    }
    .nav-links,
    .nav-cta {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .page-hero {
        padding: 8rem 1.5rem 3rem;
    }
    footer {
        padding: 2rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 480px) {
    .page-hero-title {
        font-size: clamp(3.2rem, 16vw, 5rem);
    }
}

/* ─── REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    #page-curtain {
        display: none;
    }
}