/* ════════════════════════════════════════════
   LALITHENDRA KASULA — PORTFOLIO v2
   Editorial × Sharp × Light-First
════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ── Tokens ── */
:root {
    --ink: #0c1220;
    --ink-2: #2d3a50;
    --ink-3: #5c6b82;
    --surface: #fafafa;
    --surface-2: #f0f3f8;
    --surface-3: #e4eaf4;
    --accent: #2563eb;
    --accent-2: #1d4ed8;
    --amber: #f59e0b;
    --white: #ffffff;

    --font-serif: 'DM Serif Display', Georgia, serif;
    --font-sans: 'DM Sans', system-ui, sans-serif;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .07), 0 2px 4px rgba(0, 0, 0, .04);
    --shadow-lg: 0 20px 48px rgba(0, 0, 0, .09), 0 4px 8px rgba(0, 0, 0, .04);

    --nav-h: 72px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--surface);
    color: var(--ink-2);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

/* ── Custom Cursor ── */
.cursor-dot,
.cursor-ring {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: transform;
    transition: opacity .3s;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    border: 2px solid var(--accent);
    opacity: .35;
    transition: width .25s var(--ease-out-expo),
        height .25s var(--ease-out-expo),
        opacity .3s;
}

body.cursor-hover .cursor-ring {
    width: 56px;
    height: 56px;
    opacity: .15;
}

@media (hover:none) {

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

/* ── Reveal animation ── */
.reveal-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease-out-expo) var(--d, 0ms),
        transform .7s var(--ease-out-expo) var(--d, 0ms);
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ── Utility ── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.6rem;
}

.section-tag::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--accent);
    display: inline-block;
}

.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.12;
    color: var(--ink);
    margin-bottom: 2.4rem;
    letter-spacing: -.02em;
}

.section-heading em {
    font-style: italic;
    color: var(--accent);
}

.section-heading.centered {
    text-align: center;
}

.italic {
    font-family: var(--font-serif);
    font-style: italic;
}

/* ═══════════════ NAVBAR ═══════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    padding: 0 5%;
    z-index: 100;
    transition: background .4s ease, box-shadow .4s ease;
}

.navbar.scrolled {
    background: rgba(250, 250, 250, .92);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, .07);
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--ink);
    font-weight: 700;
    cursor: pointer;
    flex-shrink: 0;
}

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

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

.nav-links a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--ink-3);
    transition: color .25s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width .3s var(--ease-out-expo);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta {
    font-size: .85rem;
    font-weight: 600;
    padding: .55rem 1.4rem;
    border: 1.5px solid var(--ink);
    border-radius: 100px;
    color: var(--ink);
    transition: background .25s, color .25s, border-color .25s;
    flex-shrink: 0;
}

.nav-cta:hover {
    background: var(--ink);
    color: var(--white);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

/* ═══════════════ HERO ═══════════════ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--nav-h) 5% 0;
    position: relative;
    overflow: hidden;
    background: var(--surface);
}

.noise {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
    padding: 4rem 0;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .85rem;
    font-weight: 500;
    color: var(--ink-3);
    margin-bottom: 1.8rem;
    letter-spacing: .02em;
}

.dot-pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
}

.dot-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: rgba(34, 197, 94, .3);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(.8);
        opacity: .7;
    }

    50% {
        transform: scale(1.4);
        opacity: .1;
    }
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 1.08;
    color: var(--ink);
    letter-spacing: -.03em;
    display: flex;
    flex-direction: column;
    gap: .15em;
    margin-bottom: 1.6rem;
}

.hero-title .italic {
    color: var(--accent);
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--ink-3);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: 2.8rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .8rem 2rem;
    border-radius: 100px;
    font-size: .95rem;
    font-weight: 600;
    transition: all .28s var(--ease-out-expo);
    cursor: pointer;
    border: 1.5px solid transparent;
}

.btn-primary {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}

.btn-primary:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, .3);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--surface-3);
}

.btn-ghost:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.2rem;
    z-index: 2;
}

.vis-card {
    background: var(--white);
    border: 1px solid var(--surface-3);
    border-radius: var(--radius);
    padding: 1.4rem 1.6rem;
    box-shadow: var(--shadow-md);
    transition: transform .4s var(--ease-spring), box-shadow .4s;
}

.vis-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.vc-label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-bottom: 1rem;
}

/* Bar chart card */
.vc1 {
    grid-column: 1/3;
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: .6rem;
    height: 80px;
}

.bar {
    flex: 1;
    height: var(--h);
    background: var(--surface-2);
    border-radius: 4px 4px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    transition: background .3s;
}

.bar span {
    font-size: .65rem;
    color: var(--ink-3);
    text-align: center;
    padding-bottom: .2rem;
    padding-top: .4rem;
}

.bar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: linear-gradient(to top, var(--accent), #60a5fa);
    border-radius: 4px 4px 0 0;
    transition: height .8s var(--ease-out-expo);
}

.bar.in-view::before {
    height: 100%;
}

.bar.active::before {
    background: linear-gradient(to top, var(--ink), var(--accent));
}

/* Spark rows card */
.vc2 {}

.spark-row {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .7rem;
}

.spark-row:last-child {
    margin-bottom: 0;
}

.spark-label {
    font-size: .72rem;
    color: var(--ink-3);
    width: 60px;
    flex-shrink: 0;
}

.spark-bar {
    flex: 1;
    height: 6px;
    background: var(--surface-2);
    border-radius: 3px;
    overflow: hidden;
}

.spark-fill {
    height: 100%;
    width: 0;
    background: var(--accent);
    border-radius: 3px;
    transition: width 1s var(--ease-out-expo) .4s;
}

.spark-row:nth-child(2) .spark-fill {
    background: #60a5fa;
}

.spark-row:nth-child(3) .spark-fill {
    background: #93c5fd;
}

.in-view .spark-fill {
    width: var(--w);
}

.spark-num {
    font-size: .7rem;
    font-weight: 600;
    color: var(--ink-2);
    width: 28px;
    text-align: right;
}

/* Donut card */
.vc3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.donut-wrap {
    position: relative;
    width: 80px;
    height: 80px;
}

.donut-svg {
    width: 100%;
    height: 100%;
}

.donut-val {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
}

/* Accent shapes */
.hero-accent {
    position: absolute;
    border-radius: 50%;
    opacity: .07;
    pointer-events: none;
    z-index: 0;
}

.a1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -15%;
    right: -10%;
}

.a2 {
    width: 300px;
    height: 300px;
    background: var(--amber);
    bottom: 5%;
    right: 30%;
}

.a3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 60%;
    right: 50%;
    opacity: .05;
}

/* ═══════════════ MARQUEE ═══════════════ */
.marquee-track {
    background: var(--ink);
    color: var(--white);
    overflow: hidden;
    padding: 1rem 0;
}

.marquee-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    animation: marquee 28s linear infinite;
    width: max-content;
}

.marquee-inner span {
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .04em;
}

.marquee-inner .sep {
    color: var(--amber);
    opacity: .7;
    font-size: .7rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ═══════════════ ABOUT ═══════════════ */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--ink-3);
    line-height: 1.75;
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.about-text strong {
    color: var(--ink);
    font-weight: 600;
}

/* Education card */
.edu-card {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--surface-3);
    border-radius: var(--radius);
    padding: 1.6rem;
    margin-bottom: 2rem;
}

.edu-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(37, 99, 235, .08);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.edu-degree {
    font-weight: 600;
    color: var(--ink);
    font-size: 1rem;
    margin-bottom: .3rem;
}

.edu-school {
    font-size: .88rem;
    color: var(--ink-3);
    margin-bottom: .6rem;
}

.edu-meta {
    display: flex;
    gap: .8rem;
    align-items: center;
    font-size: .82rem;
    color: var(--ink-3);
}

.pill {
    background: rgba(37, 99, 235, .08);
    color: var(--accent);
    padding: .2rem .7rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: .78rem;
}

/* Stat grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stat-item {
    background: var(--surface);
    border: 1px solid var(--surface-3);
    border-radius: var(--radius-sm);
    padding: 1.4rem 1rem;
    text-align: center;
    transition: border-color .25s;
}

.stat-item:hover {
    border-color: var(--accent);
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--ink);
    line-height: 1;
    margin-bottom: .4rem;
}

.stat-lbl {
    font-size: .72rem;
    color: var(--ink-3);
    letter-spacing: .04em;
    text-transform: uppercase;
}

/* ═══════════════ SKILLS ═══════════════ */
.skills-section {
    background: var(--surface);
}

.skills-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 3rem;
}

.bento-card {
    background: var(--white);
    border: 1px solid var(--surface-3);
    border-radius: var(--radius);
    padding: 1.8rem;
    transition: transform .3s var(--ease-spring), box-shadow .3s, border-color .3s;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, .2);
}

.bento-wide {
    grid-column: span 2;
}

.bento-full {
    grid-column: 1 / -1;
}

.highlight-card {
    background: var(--ink);
    border-color: var(--ink);
}

.highlight-card .bento-title {
    color: var(--white);
}

.highlight-card .bento-tags span {
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9);
    border-color: rgba(255, 255, 255, .1);
}

.highlight-card .bento-tags span:hover {
    background: var(--accent);
    color: var(--white);
}

.bento-icon {
    margin-bottom: .8rem;
    color: var(--accent);
}

.highlight-card .bento-icon {
    color: var(--white);
}

.bento-icon svg {
    display: block;
}

.bento-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 1rem;
}

.bento-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.bento-tags span {
    font-size: .78rem;
    font-weight: 500;
    padding: .3rem .8rem;
    border-radius: 100px;
    background: var(--surface-2);
    color: var(--ink-2);
    border: 1px solid var(--surface-3);
    transition: all .2s;
    cursor: default;
}

.bento-tags span:hover {
    background: rgba(37, 99, 235, .1);
    color: var(--accent);
    border-color: rgba(37, 99, 235, .2);
}

/* ═══════════════ PROJECTS ═══════════════ */
.projects-section {
    background: var(--white);
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 3rem;
}

.project-item {
    display: grid;
    grid-template-columns: 120px 1fr 280px 40px;
    gap: 2rem;
    align-items: center;
    padding: 2.4rem 0;
    border-top: 1px solid var(--surface-3);
    cursor: pointer;
    transition: background .25s;
    position: relative;
}

.project-item:last-child {
    border-bottom: 1px solid var(--surface-3);
}

.project-item:hover {
    background: transparent;
}

.proj-meta {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.proj-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--surface-3);
    line-height: 1;
    transition: color .3s;
}

.project-item:hover .proj-num {
    color: var(--accent);
}

.proj-type {
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.proj-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: .7rem;
    transition: color .25s;
}

.project-item:hover .proj-title {
    color: var(--accent);
}

.proj-desc {
    font-size: .9rem;
    color: var(--ink-3);
    line-height: 1.65;
    margin-bottom: 1rem;
    font-weight: 300;
}

.proj-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
}

.proj-tags span {
    font-size: .72rem;
    font-weight: 600;
    padding: .25rem .7rem;
    border-radius: 100px;
    background: var(--surface-2);
    color: var(--ink-2);
    border: 1px solid var(--surface-3);
}

.proj-img-wrap {
    width: 280px;
    height: 160px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    background: var(--surface-2);
    flex-shrink: 0;
}

.proj-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease-out-expo);
}

.project-item:hover .proj-img-wrap img {
    transform: scale(1.06);
}

.proj-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(12, 18, 32, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    backdrop-filter: blur(2px);
}

.proj-img-overlay span {
    color: var(--white);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .04em;
}

.project-item:hover .proj-img-overlay {
    opacity: 1;
}

.proj-arrow {
    color: var(--surface-3);
    transition: color .25s, transform .3s var(--ease-spring);
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-item:hover .proj-arrow {
    color: var(--accent);
    transform: translate(4px, -4px);
}

/* ═══════════════ CONTACT ═══════════════ */
.contact-section {
    background: var(--ink);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, .3) 0%, transparent 70%);
    pointer-events: none;
}

.contact-inner {
    max-width: 700px;
}

.contact-inner .section-tag {
    color: rgba(255, 255, 255, .5);
}

.contact-inner .section-tag::before {
    background: rgba(255, 255, 255, .3);
}

.contact-inner .section-heading {
    color: var(--white);
    margin-bottom: 1.2rem;
}

.contact-inner .section-heading em {
    color: rgba(255, 255, 255, .55);
}

.contact-sub {
    color: rgba(255, 255, 255, .5);
    font-size: 1rem;
    margin-bottom: 3rem;
    font-weight: 300;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.c-card {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 1.6rem;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    transition: all .3s var(--ease-out-expo);
}

.c-card:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .15);
    transform: translateX(6px);
}

.c-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    flex-shrink: 0;
}

.c-card-label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-bottom: .3rem;
}

.c-card-val {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
}

.c-card-text {
    flex: 1;
}

.c-card-arrow {
    color: rgba(255, 255, 255, .3);
    font-size: 1.2rem;
    transition: transform .3s;
}

.c-card:hover .c-card-arrow {
    transform: translateX(4px);
    color: var(--white);
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
    background: #060c18;
    padding: 2.5rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 700;
}

.footer-logo span {
    color: var(--accent);
}

.footer-copy {
    flex: 1;
    font-size: .82rem;
    color: rgba(255, 255, 255, .3);
    text-align: center;
}

.footer-links a {
    font-size: .82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, .4);
    transition: color .25s;
}

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

/* ═══════════════ RESPONSIVE ═══════════════ */
@media (max-width:1100px) {
    .hero-visual {
        display: none;
    }

    .hero-content {
        max-width: unset;
    }
}

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

    .skills-bento {
        grid-template-columns: 1fr 1fr;
    }

    .bento-wide {
        grid-column: span 2;
    }

    .project-item {
        display: flex;
        flex-direction: column;
        gap: 1.4rem;
        padding: 2.2rem 0;
    }

    .proj-img-wrap {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        order: -1;
    }

    .proj-meta {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .proj-arrow {
        justify-content: flex-start;
        color: var(--accent);
        gap: 0.6rem;
        font-weight: 600;
        font-size: 0.95rem;
    }

    .project-item:hover .proj-arrow {
        transform: translateX(4px);
    }

    .proj-arrow::before {
        content: "View Project";
    }
}

@media (max-width:768px) {
    .nav-links {
        position: fixed;
        inset: 0;
        top: var(--nav-h);
        background: rgba(250, 250, 250, .98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform .4s var(--ease-out-expo);
    }

    .nav-links.nav-active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.3rem;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding-top: var(--nav-h);
    }

    .hero-title {
        font-size: clamp(2.4rem, 8vw, 3.4rem);
    }

    .skills-bento {
        grid-template-columns: 1fr;
    }

    .bento-wide {
        grid-column: span 1;
    }

    .project-item {
        padding: 1.8rem 0;
    }

    .proj-num {
        font-size: 1.4rem;
    }

    .stat-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

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

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

    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-cards {}

    .c-card-val {
        font-size: .9rem;
    }
}