/* =============================================
   ADITYA KOTTE PORTFOLIO — SLUSH THEME
   Neo-Brutalist · Light · Bold · Vibrant
   ============================================= */

/* ─ Google Fonts already loaded in HTML ─ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #f0f0ed;
    /* light warm grey — exact slush bg */
    --bg-2: #e8e8e4;
    --black: #0d0d0d;
    --white: #ffffff;
    --text: #0d0d0d;
    --text-2: #555555;
    --border: #0d0d0d;
    --radius: 20px;
    --radius-lg: 28px;
    /* Card accent colours */
    --yellow: #ffd731;
    --blue: #5b8cff;
    --orange: #fb4903;
    --green: #55db9c;
    --lavender: #e9ccff;
    --font-display: 'Barlow Condensed', 'Impact', sans-serif;
    --font-body: 'Inter', sans-serif;
    --trans: cubic-bezier(0.23, 1, 0.32, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

/* ─────────────────────────
   CURSOR SYSTEM
   ───────────────────────── */
* {
    cursor: none !important;
}

@media (max-width: 768px) {
    * {
        cursor: auto !important;
    }
}

#cursorCanvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9990;
    width: 100vw;
    height: 100vh;
}

.cursor {
    width: 10px;
    height: 10px;
    background: var(--black);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .2s, height .2s, background .2s;
}

.cursor.hovered {
    width: 6px;
    height: 6px;
    background: var(--orange);
}

.cursor.clicking {
    width: 4px;
    height: 4px;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--black);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9997;
    transform: translate(-50%, -50%);
    transition: width .35s var(--trans), height .35s var(--trans), border-color .3s, border-radius .3s;
}

.cursor-follower.hovered {
    width: 60px;
    height: 60px;
    border-color: var(--orange);
}

.cursor-follower.clicking {
    width: 28px;
    height: 28px;
}

.cursor-label {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--white);
    background: var(--black);
    padding: 4px 10px;
    border-radius: 100px;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 28px);
    transition: opacity .25s, transform .25s var(--trans);
}

.cursor-label.show {
    opacity: 1;
    transform: translate(-50%, 24px);
}

/* ─────────────────────────
   SCROLL PROGRESS
   ───────────────────────── */
#scrollBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: var(--black);
    z-index: 9999;
    transition: width .05s linear;
}

/* ─────────────────────────
   TYPOGRAPHY
   ───────────────────────── */
.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-2);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 48px;
}

.section-title em {
    font-style: normal;
    -webkit-text-stroke: 2px var(--black);
    color: transparent;
}

/* ─────────────────────────
   PILL BUTTONS
   ───────────────────────── */
.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: transform .2s var(--trans), box-shadow .2s var(--trans);
    border: 2px solid var(--black);
}

.btn-pill:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0 var(--black);
}

.btn-pill:active {
    transform: translateY(0);
    box-shadow: none;
}

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--black);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--black);
}

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* ─────────────────────────
   BENTO CARDS
   ───────────────────────── */
.bento-card {
    border-radius: var(--radius-lg);
    border: 2px solid var(--black);
    padding: 28px;
    transition: transform .3s var(--trans), box-shadow .3s var(--trans);
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 6px 6px 0 var(--black);
}

.card-yellow {
    background: var(--yellow);
}

.card-blue {
    background: var(--blue);
    color: var(--white);
}

.card-orange {
    background: var(--orange);
    color: var(--white);
}

.card-green {
    background: var(--green);
}

.card-lavender {
    background: var(--lavender);
}

.card-white {
    background: var(--white);
}

/* ─────────────────────────
   NAVBAR
   ───────────────────────── */
nav#navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 32px;
    background: var(--white);
    border: 2px solid var(--black);
    border-radius: 100px;
    padding: 12px 24px;
    z-index: 1000;
    width: min(900px, calc(100vw - 32px));
    box-shadow: 4px 4px 0 var(--black);
    transition: box-shadow .2s;
}

nav#navbar:hover {
    box-shadow: 6px 6px 0 var(--black);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--black);
    margin-right: auto;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-2);
    transition: color .2s;
    padding: 4px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--black);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--trans);
}

.nav-link:hover {
    color: var(--black);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: var(--black);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: var(--black);
    display: block;
    transition: all .3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    padding: 120px 40px 40px;
    transform: translateX(100%);
    transition: transform .4s var(--trans);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mob-link {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--black);
}

/* ─────────────────────────
   HERO
   ───────────────────────── */
.hero {
    padding: 120px 40px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    flex: 1;
}

.hero-text {
    max-width: 620px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: var(--black);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(6rem, 16vw, 14rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
}

.title-solid {
    color: var(--black);
}

.title-outline {
    color: transparent;
    -webkit-text-stroke: 3px var(--black);
}

.hero-sub {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-sub strong {
    color: var(--black);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero stat cards grid */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-self: flex-start;
    margin-top: 80px;
    flex-shrink: 0;
    width: 280px;
}

.hero-stat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 24px 20px;
}

.stat-big {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    opacity: 0.8;
    text-transform: uppercase;
}

/* Marquee */
.marquee-bar {
    margin-top: 48px;
    border-top: 2px solid var(--black);
    border-bottom: 2px solid var(--black);
    padding: 14px 0;
    overflow: hidden;
    background: var(--black);
    color: var(--white);
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    will-change: transform;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.mdot {
    color: var(--yellow);
    font-size: 0.6rem;
}

/* ─────────────────────────
   SECTION BASE
   ───────────────────────── */
.section {
    padding: 100px 0;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ─────────────────────────
   ABOUT
   ───────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: start;
}

.about-left .section-title {
    margin-bottom: 0;
}

.about-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    border: 2px solid var(--black);
}

.about-desc {
    font-size: 1rem;
    color: var(--text-2);
    line-height: 1.75;
}

.about-desc strong {
    color: var(--black);
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    padding: 6px 14px;
    border-radius: 100px;
    background: var(--black);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border: 2px solid var(--black);
    transition: background .2s, color .2s;
}

.tag-pill:hover {
    background: var(--white);
    color: var(--black);
}

/* ─────────────────────────
   SKILLS BENTO GRID
   ───────────────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.bento-wide {
    grid-column: span 2;
}

.skill-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-icon {
    font-size: 2.2rem;
}

.skill-card h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
}

.skill-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-pills span {
    padding: 5px 12px;
    border-radius: 100px;
    background: var(--black);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.card-orange .skill-pills span,
.card-blue .skill-pills span {
    background: var(--white);
    color: var(--black);
}

/* ─────────────────────────
   PROJECTS GRID
   ───────────────────────── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-card {
    border-radius: var(--radius-lg);
    border: 2px solid var(--black);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: transform .35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow .35s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    /* Always visible — reveal handled by .reveal-up if needed */
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 8px 8px 0 var(--black);
}

.project-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

.project-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    flex: 1;
}

.project-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.85;
}

.project-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-pills span {
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--black);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.card-orange .project-pills span,
.card-blue .project-pills span {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.project-btn {
    align-self: flex-start;
    margin-top: 8px;
}

.card-orange .project-btn,
.card-blue .project-btn {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

/* ─────────────────────────
   TIMELINE
   ───────────────────────── */
.timeline-section {
    background: var(--bg-2);
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 2px solid var(--black);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tl-item {
    display: flex;
    align-items: stretch;
    border-bottom: 2px solid var(--black);
    transition: transform .2s var(--trans);
}

.tl-item:last-child {
    border-bottom: none;
}

.tl-item:hover {
    transform: scaleX(1.005);
}

.tl-year {
    width: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    border-right: 2px solid var(--black);
    padding: 24px;
    text-align: center;
    letter-spacing: -1px;
}

.tl-content {
    padding: 28px 36px;
    flex: 1;
}

.tl-content h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tl-content p {
    font-size: 0.9rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ─────────────────────────
   CONTACT
   ───────────────────────── */
.contact-title {
    font-size: clamp(3.5rem, 10vw, 9rem);
    letter-spacing: -0.03em;
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
    align-items: start;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-link-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-radius: var(--radius);
    border: 2px solid var(--black);
    transition: transform .25s var(--trans), box-shadow .25s var(--trans);
    text-decoration: none;
    color: var(--black);
}

.contact-link-card:hover {
    transform: translateY(-4px) translateX(4px);
    box-shadow: 6px 6px 0 var(--black);
}

.cl-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.cl-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

.cl-val {
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 2px;
}

.cl-arrow {
    margin-left: auto;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.contact-link-card.card-blue .cl-val,
.contact-link-card.card-blue .cl-label,
.contact-link-card.card-blue .cl-arrow {
    color: var(--white);
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-field {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--black);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.9rem;
    background: var(--white);
    color: var(--black);
    outline: none;
    resize: none;
    transition: box-shadow .2s;
}

.form-field:focus {
    box-shadow: 4px 4px 0 var(--black);
}

.form-success {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    background: var(--green);
    padding: 12px 20px;
    border-radius: var(--radius);
    border: 2px solid var(--black);
    display: none;
    text-align: center;
}

.form-success.show {
    display: block;
}

/* ─────────────────────────
   FOOTER
   ───────────────────────── */
.footer {
    border-top: 2px solid var(--black);
    padding: 32px 40px;
    background: var(--black);
    color: var(--white);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    margin-right: auto;
}

.footer p {
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.6;
    transition: opacity .2s;
}

.footer-links a:hover {
    opacity: 1;
}

/* ─────────────────────────
   REVEAL ANIMATIONS
   ───────────────────────── */
.reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .65s cubic-bezier(0.23, 1, 0.32, 1), transform .65s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal-up.delay-1 {
    transition-delay: 0.12s;
}

.reveal-up.delay-2 {
    transition-delay: 0.22s;
}

.reveal-up.delay-3 {
    transition-delay: 0.32s;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─────────────────────────
   HERO PARALLAX TARGETS
   ───────────────────────── */
.hero-title .title-solid,
.hero-title .title-outline {
    display: block;
    will-change: transform;
}

/* ─────────────────────────
   RESPONSIVE
   ───────────────────────── */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-wide {
        grid-column: span 2;
    }

    .hero-cards {
        width: 240px;
    }
}

@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
    }

    .hero-title {
        font-size: clamp(5rem, 22vw, 8rem);
    }

    .hero-cards {
        width: 100%;
        grid-template-columns: repeat(4, 1fr);
        margin-top: 24px;
        gap: 8px;
    }

    .hero-stat-card {
        padding: 16px 12px;
    }

    .stat-big {
        font-size: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-wide {
        grid-column: span 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-links,
    nav#navbar .btn-pill {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    nav#navbar {
        padding: 12px 20px;
        gap: 16px;
    }

    .section {
        padding: 60px 0;
    }

    .section-inner {
        padding: 0 20px;
    }

    .tl-year {
        width: 90px;
        font-size: 1.2rem;
    }

    .footer {
        padding: 24px 20px;
    }

    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 20px 0;
    }

    .hero-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    nav#navbar {
        top: 10px;
    }
}