/* =========================================================
   ADITYA KUMAR — DATA ANALYST PORTFOLIO
========================================================= */

:root {
    --bg: #08090d;
    --bg-soft: #0d0f14;

    --text: #f5f3f8;
    --muted: #aaa7b2;
    --muted-2: #77747f;

    --line: #292b34;

    --purple: #cda4ff;
    --purple-dark: #a878e8;

    --green: #55e99a;

    --container: 1680px;
    --header-height: 108px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);

    font-family: "Inter", sans-serif;

    overflow-x: hidden;
}

body.profile-modal-open {
    overflow: hidden;
}

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

button {
    font: inherit;
}

img {
    max-width: 100%;
}

::selection {
    background: var(--purple);
    color: #111;
}


/* =========================================================
   PETALS / BACKGROUND PARTICLES
   Clean + subtle — should never compete with content
========================================================= */

#cherryBlossoms {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

/* Keep all actual content above the petals */
header,
main,
section,
footer {
    position: relative;
    z-index: 1;
}

/* Navigation must stay above everything */
.header {
    z-index: 1000;
}

/* Modal must always appear above petals */
#profileModal {
    z-index: 9999;
}

/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-height);

    z-index: 1000;

    background: rgba(8, 9, 13, 0.86);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.navbar {
    width: min(
        var(--container),
        calc(100% - 64px)
    );

    height: 100%;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 28px;
}


/* =========================================================
   PROFILE / LOGO
========================================================= */

.logo-area {
    display: flex;

    align-items: center;

    gap: 15px;

    flex-shrink: 0;

    cursor: pointer;
}

.logo-area img {
    width: 58px;
    height: 58px;

    object-fit: cover;

    border-radius: 50%;

    border: 2px solid rgba(
        205,
        164,
        255,
        0.8
    );

    box-shadow:
        0 0 0 4px rgba(
            205,
            164,
            255,
            0.06
        ),
        0 8px 30px rgba(
            0,
            0,
            0,
            0.4
        );

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.logo-area:hover img {
    transform: scale(1.06);

    box-shadow:
        0 0 0 5px rgba(
            205,
            164,
            255,
            0.12
        ),
        0 12px 35px rgba(
            0,
            0,
            0,
            0.5
        );
}

.logo-area span {
    font-family: "Space Grotesk", sans-serif;

    font-size: 30px;

    font-weight: 700;

    letter-spacing: -0.8px;

    white-space: nowrap;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-links {
    list-style: none;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 40px;

    margin-left: auto;

    margin-right: 35px;
}

.nav-links a {
    position: relative;

    color: var(--muted);

    font-size: 18px;

    font-weight: 600;

    padding: 10px 0;

    transition: color 0.25s ease;
}

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

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 3px;

    background: var(--purple);

    transition: width 0.25s ease;
}

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


/* =========================================================
   RESUME BUTTON
========================================================= */

.resume-btn {
    flex-shrink: 0;

    padding: 15px 29px;

    border-radius: 15px;

    background: var(--purple);

    color: #151019;

    font-size: 17px;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.resume-btn:hover {
    transform: translateY(-2px);

    background: #d8b8ff;

    box-shadow:
        0 12px 30px rgba(
            205,
            164,
            255,
            0.2
        );
}


/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu-btn {
    display: none;

    width: 45px;
    height: 45px;

    border: 1px solid var(--line);

    border-radius: 12px;

    background: transparent;

    color: var(--text);

    cursor: pointer;
}


/* =========================================================
   MAIN
========================================================= */

main {
    position: relative;

    z-index: 1;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    width: min(
        var(--container),
        calc(100% - 108px)
    );

    min-height: 100vh;

    margin: 0 auto;

    padding-top: 145px;

    padding-bottom: 60px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(460px, 0.75fr);

    column-gap: 70px;

    align-items: center;

    position: relative;
}


/* =========================================================
   HERO LEFT
========================================================= */

.hero-left {
    grid-column: 1;

    grid-row: 1 / span 5;

    width: 100%;

    max-width: 760px;

    align-self: center;
}


/* =========================================================
   HERO TAG
========================================================= */

.tag {
    margin-bottom: 25px;

    color: var(--purple);

    font-size: 16px;

    font-weight: 800;

    letter-spacing: 3px;
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero-left h1 {
    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(
        58px,
        5vw,
        82px
    );

    line-height: 0.98;

    letter-spacing: -4px;

    font-weight: 700;

    max-width: 700px;

    margin-bottom: 30px;
}

.hero-left h1 span {
    color: var(--purple);
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-text {
    max-width: 680px;

    color: var(--muted);

    font-size: 19px;

    line-height: 1.65;

    margin-bottom: 30px;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 30px;
}

.primary-btn,
.secondary-btn {
    min-height: 52px;

    padding: 0 27px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    font-size: 16px;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.primary-btn {
    background: var(--purple);

    color: #151019;
}

.primary-btn:hover {
    transform: translateY(-3px);

    background: #d8b8ff;
}

.secondary-btn {
    border: 1px solid var(--line);

    background: transparent;

    color: var(--text);
}

.secondary-btn:hover {
    transform: translateY(-3px);

    border-color: var(--purple);

    background: rgba(
        205,
        164,
        255,
        0.05
    );
}


/* =========================================================
   HERO TECHNOLOGY TAGS
========================================================= */

.hero-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

.hero-tags span {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding: 0 17px;

    border: 1px solid var(--line);

    border-radius: 999px;

    color: var(--muted);

    font-size: 14px;

    font-weight: 500;

    background: rgba(
        255,
        255,
        255,
        0.01
    );
}


/* =========================================================
   HERO RIGHT
========================================================= */

.hero-right {
    display: contents;
}


/* =========================================================
   OPEN STATUS
========================================================= */

.profile-status {
    grid-column: 2;

    grid-row: 1;

    justify-self: end;

    display: flex;

    align-items: center;

    gap: 9px;

    color: var(--green);

    font-size: 15px;

    font-weight: 600;

    margin-bottom: 15px;
}

.profile-status span {
    width: 10px;
    height: 10px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 14px rgba(
            85,
            233,
            154,
            0.8
        );
}


/* =========================================================
   PROFILE DIVIDER
========================================================= */

.profile-divider {
    grid-column: 2;

    grid-row: 2;

    width: 100%;

    height: 1px;

    background: var(--line);

    margin: 5px 0 12px;
}


/* =========================================================
   FOCUS LIST
========================================================= */

.focus-list {
    grid-column: 2;

    grid-row: 3;

    width: 100%;
}

.focus-row {
    display: grid;

    grid-template-columns:
        60px
        1fr;

    align-items: center;

    min-height: 90px;

    border-bottom: 1px solid
        rgba(
            255,
            255,
            255,
            0.07
        );

    transition:
        padding 0.25s ease,
        background 0.25s ease;
}

.focus-row:hover {
    padding-left: 8px;

    background:
        linear-gradient(
            90deg,
            rgba(
                205,
                164,
                255,
                0.04
            ),
            transparent
        );
}

.focus-row > span {
    color: var(--purple);

    font-size: 16px;

    font-weight: 700;
}

.focus-row strong {
    display: block;

    margin-bottom: 6px;

    color: var(--text);

    font-family: "Space Grotesk",
        sans-serif;

    font-size: 20px;

    font-weight: 700;
}

.focus-row small {
    display: block;

    color: var(--muted-2);

    font-size: 14px;
}


/* =========================================================
   PROFILE FOOTER
========================================================= */

.profile-footer {
    grid-column: 2;

    grid-row: 4;

    justify-self: end;

    padding-top: 20px;

    color: var(--muted-2);

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 14px;

    letter-spacing: 3px;
}

.profile-footer span {
    color: var(--purple);

    margin: 0 8px;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(24px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.show {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.data-profile,
.skills,
.projects,
.contact {
    width: min(
        var(--container),
        calc(100% - 108px)
    );

    margin: 0 auto;

    padding: 120px 0;
}

.section-heading,
.section-title {
    max-width: 850px;

    margin-bottom: 60px;
}

.section-kicker,
.section-title > span {
    display: block;

    color: var(--purple);

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 15px;
}

.section-heading h2,
.section-title h2 {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: clamp(
        44px,
        5vw,
        70px
    );

    line-height: 1;

    letter-spacing: -3px;

    margin-bottom: 20px;
}

.section-heading p {
    color: var(--muted);

    font-size: 19px;

    line-height: 1.7;
}


/* =========================================================
   DATA PROFILE
========================================================= */

.data-profile-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 24px;
}

.data-card {
    position: relative;

    padding: 32px;

    min-height: 400px;

    border: 1px solid var(--line);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(
                255,
                255,
                255,
                0.025
            ),
            rgba(
                255,
                255,
                255,
                0.005
            )
        );
}

.data-card-header {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    margin-bottom: 40px;
}

.mini-label {
    display: block;

    color: var(--purple);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 3px;

    margin-bottom: 9px;
}

.data-card h3 {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 27px;
}

.card-index {
    color: var(--purple);

    font-size: 15px;

    font-weight: 700;
}


/* =========================================================
   TOOLKIT
========================================================= */

.tool-visual {
    display: flex;

    justify-content: center;

    margin-bottom: 30px;
}

.radial-chart {
    --progress: 90%;

    width: 210px;

    height: 210px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background:
        conic-gradient(
            var(--purple)
                var(--progress),
            var(--line) 0
        );

    position: relative;
}

.radial-chart::before {
    content: "";

    position: absolute;

    width: 164px;

    height: 164px;

    border-radius: 50%;

    background: var(--bg);
}

.radial-center {
    position: relative;

    z-index: 1;

    width: 140px;

    text-align: center;
}

.radial-center strong {
    display: block;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 22px;

    margin-bottom: 7px;
}

.radial-center span {
    color: var(--muted-2);

    font-size: 12px;

    line-height: 1.4;
}

.tool-legend {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;
}

.tool-item {
    border: 1px solid var(--line);

    background: transparent;

    color: var(--muted);

    border-radius: 999px;

    padding: 9px 14px;

    cursor: pointer;

    transition: 0.25s ease;
}

.tool-item:hover,
.tool-item.active {
    color: var(--text);

    border-color: var(--purple);

    background: rgba(
        205,
        164,
        255,
        0.08
    );
}

.legend-dot {
    display: inline-block;

    width: 7px;

    height: 7px;

    margin-right: 6px;

    border-radius: 50%;

    background: var(--purple);
}

.disclaimer {
    color: var(--muted-2);

    font-size: 12px;

    margin-top: 22px;
}


/* =========================================================
   JOURNEY
========================================================= */

.journey-chart {
    position: relative;

    display: flex;

    justify-content: space-between;

    margin: 60px 0 45px;
}

.journey-line {
    position: absolute;

    left: 0;

    right: 0;

    top: 12px;

    height: 1px;

    background: var(--line);
}

.journey-point {
    position: relative;

    z-index: 1;

    border: 0;

    background: transparent;

    color: var(--muted);

    cursor: pointer;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 8px;
}

.journey-point .point {
    width: 24px;

    height: 24px;

    border-radius: 50%;

    border: 1px solid var(--line);

    background: var(--bg);
}

.journey-point.active .point {
    background: var(--purple);

    border-color: var(--purple);

    box-shadow:
        0 0 20px rgba(
            205,
            164,
            255,
            0.45
        );
}

.journey-point strong {
    font-size: 14px;
}

.journey-point small {
    color: var(--muted-2);
}

.journey-insight {
    padding: 24px;

    border: 1px solid var(--line);

    border-radius: 18px;
}

.journey-insight-label {
    color: var(--purple);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}

.journey-insight-content {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-top: 15px;
}

.journey-insight-content strong {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 23px;
}

.journey-insight-content p {
    max-width: 550px;

    color: var(--muted);

    line-height: 1.7;

    margin-top: 7px;
}

.journey-insight-number {
    color: var(--purple);

    font-size: 32px;

    font-weight: 700;
}

.journey-caption {
    margin-top: 22px;

    color: var(--muted-2);

    font-size: 12px;

    letter-spacing: 2px;
}

.journey-caption span {
    color: var(--purple);

    margin: 0 9px;
}


/* =========================================================
   WORKFLOW
========================================================= */

.workflow-card,
.dna-card {
    grid-column: span 2;
}

.workflow {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    overflow-x: auto;
}

.workflow-step {
    min-width: 130px;

    display: flex;

    flex-direction: column;

    gap: 6px;
}

.workflow-step > span {
    color: var(--purple);

    font-size: 12px;
}

.workflow-step strong {
    font-size: 17px;
}

.workflow-step small {
    color: var(--muted-2);
}

.workflow-arrow {
    color: var(--purple);

    font-size: 22px;
}


/* =========================================================
   DNA
========================================================= */

.dna-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 25px;
}

.dna-item {
    display: flex;

    gap: 17px;

    padding: 19px 0;

    border-bottom: 1px solid var(--line);
}

.dna-number {
    color: var(--purple);

    font-weight: 700;
}

.dna-item strong {
    display: block;

    margin-bottom: 5px;
}

.dna-item small {
    color: var(--muted);

    line-height: 1.5;
}


/* =========================================================
   SKILLS
========================================================= */

.skills-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            1fr
        );

    gap: 20px;
}

.skill-card {
    padding: 30px;

    min-height: 220px;

    border: 1px solid var(--line);

    border-radius: 22px;

    background: rgba(
        255,
        255,
        255,
        0.015
    );

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.skill-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(
            205,
            164,
            255,
            0.5
        );
}

.skill-icon {
    font-size: 36px;

    color: var(--purple);

    margin-bottom: 22px;
}

.skill-card h3 {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 23px;

    margin-bottom: 10px;
}

.skill-card p {
    color: var(--muted);

    line-height: 1.6;
}


/* =========================================================
   PROJECTS
========================================================= */

.project-grid {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 24px;
}

.project-card {
    overflow: hidden;

    border: 1px solid var(--line);

    border-radius: 24px;

    background: rgba(
        255,
        255,
        255,
        0.015
    );
}

.project-banner {
    min-height: 220px;

    padding: 30px;

    display: flex;

    align-items: flex-end;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(
                205,
                164,
                255,
                0.18
            ),
            transparent 40%
        );
}

.project-number {
    color: var(--purple);

    font-size: 13px;
}

.project-banner h2 {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 30px;

    margin: 9px 0;
}

.project-banner p {
    color: var(--muted);
}

.project-content {
    padding: 30px;
}

.project-content h3 {
    font-size: 21px;

    margin-bottom: 14px;
}

.project-content > p {
    color: var(--muted);

    line-height: 1.7;

    margin-bottom: 18px;
}

.project-highlights {
    padding-left: 20px;

    color: var(--muted);

    line-height: 2;
}

.project-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 22px;
}

.project-tags span {
    padding: 7px 11px;

    border: 1px solid var(--line);

    border-radius: 999px;

    color: var(--muted);

    font-size: 12px;
}

.project-buttons {
    margin-top: 22px;
}

.project-buttons a {
    color: var(--purple);

    font-weight: 700;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-text {
    max-width: 700px;

    color: var(--muted);

    font-size: 19px;

    line-height: 1.7;

    margin-bottom: 45px;
}

.contact-grid {
    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );

    gap: 16px;
}

.contact-card {
    padding: 28px;

    border: 1px solid var(--line);

    border-radius: 20px;

    transition: 0.25s ease;
}

.contact-card:hover {
    transform: translateY(-5px);

    border-color: var(--purple);
}

.contact-card i {
    color: var(--purple);

    font-size: 27px;

    margin-bottom: 18px;
}

.contact-card h3 {
    margin-bottom: 7px;
}

.contact-card p {
    color: var(--muted-2);

    font-size: 13px;

    word-break: break-word;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    border-top: 1px solid var(--line);

    padding: 65px 0;
}

.footer-content {
    width: min(
        var(--container),
        calc(100% - 108px)
    );

    margin: 0 auto;

    text-align: center;
}

.footer-content h2 {
    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 28px;

    margin-bottom: 10px;
}

.footer-content > p {
    color: var(--muted);
}

.footer-socials {
    display: flex;

    justify-content: center;

    gap: 14px;

    margin: 23px 0;
}

.footer-socials a {
    width: 44px;

    height: 44px;

    display: grid;

    place-items: center;

    border: 1px solid var(--line);

    border-radius: 50%;

    color: var(--muted);

    transition: 0.25s ease;
}

.footer-socials a:hover {
    color: var(--purple);

    border-color: var(--purple);

    transform: translateY(-3px);
}

.copyright {
    font-size: 12px;

    color: var(--muted-2) !important;
}


/* =========================================================
   PROFILE MODAL
========================================================= */

.profile-modal {
    position: fixed;

    inset: 0;

    z-index: 99999;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 24px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.profile-modal.is-open {
    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}

.profile-modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(
        0,
        0,
        0,
        0.92
    );

    backdrop-filter: blur(12px);

    cursor: zoom-out;
}

.profile-modal-content {
    position: relative;

    z-index: 1;

    max-width: min(
        900px,
        90vw
    );

    max-height: 90vh;
}

.profile-modal-content img {
    display: block;

    width: auto;

    height: auto;

    max-width: 90vw;

    max-height: 85vh;

    object-fit: contain;

    border-radius: 18px;

    border: 2px solid var(--purple);

    box-shadow:
        0 0 80px rgba(
            205,
            164,
            255,
            0.25
        );
}

.profile-modal-close {
    position: absolute;

    top: -18px;

    right: -18px;

    z-index: 2;

    width: 46px;

    height: 46px;

    border: 0;

    border-radius: 50%;

    background: var(--purple);

    color: #111;

    font-size: 28px;

    cursor: pointer;

    display: grid;

    place-items: center;

    transition:
        transform 0.2s ease;
}

.profile-modal-close:hover {
    transform: scale(1.08);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    :root {
        --header-height: 96px;
    }

    .navbar {
        width: min(
            100% - 48px,
            var(--container)
        );
    }

    .nav-links {
        gap: 25px;

        margin-right: 15px;
    }

    .hero {
        width: min(
            100% - 70px,
            var(--container)
        );

        grid-template-columns:
            minmax(0, 1fr)
            minmax(400px, 0.72fr);

        column-gap: 45px;
    }

    .hero-left h1 {
        font-size: clamp(
            55px,
            5.3vw,
            76px
        );
    }

    .hero-text {
        font-size: 18px;
    }

    .data-profile,
    .skills,
    .projects,
    .contact {
        width: min(
            100% - 70px,
            var(--container)
        );
    }

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


/* =========================================================
   SMALL TABLET
========================================================= */

@media (max-width: 900px) {

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .resume-btn {
        margin-left: auto;
    }

    .hero {
        grid-template-columns: 1fr;

        padding-top: 145px;

        row-gap: 55px;
    }

    .hero-left {
        grid-column: 1;

        grid-row: 1;
    }

    .profile-status {
        grid-column: 1;

        grid-row: 2;

        justify-self: start;
    }

    .profile-divider {
        grid-column: 1;

        grid-row: 3;
    }

    .focus-list {
        grid-column: 1;

        grid-row: 4;
    }

    .profile-footer {
        grid-column: 1;

        grid-row: 5;

        justify-self: start;
    }

    .data-profile-grid {
        grid-template-columns: 1fr;
    }

    .workflow-card,
    .dna-card {
        grid-column: span 1;
    }

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

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


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    :root {
        --header-height: 82px;
    }

    .navbar {
        width: calc(100% - 28px);
    }

    .logo-area {
        gap: 9px;
    }

    .logo-area img {
        width: 44px;

        height: 44px;
    }

    .logo-area span {
        font-size: 21px;
    }

    .resume-btn {
        padding: 11px 16px;

        border-radius: 11px;

        font-size: 14px;
    }

    .mobile-menu-btn {
        width: 42px;

        height: 42px;
    }

    .hero {
        width: calc(100% - 32px);

        padding-top: 120px;

        padding-bottom: 55px;

        row-gap: 45px;
    }

    .tag {
        font-size: 12px;

        letter-spacing: 2px;

        margin-bottom: 20px;
    }

    .hero-left h1 {
        font-size: clamp(
            48px,
            14vw,
            68px
        );

        letter-spacing: -3px;

        line-height: 0.97;

        margin-bottom: 25px;
    }

    .hero-text {
        font-size: 16px;

        line-height: 1.65;

        margin-bottom: 25px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

    .focus-row {
        min-height: 82px;

        grid-template-columns:
            50px
            1fr;
    }

    .focus-row strong {
        font-size: 18px;
    }

    .focus-row small {
        font-size: 13px;
    }

    .data-profile,
    .skills,
    .projects,
    .contact {
        width: calc(100% - 32px);

        padding: 80px 0;
    }

    .section-heading,
    .section-title {
        margin-bottom: 40px;
    }

    .section-heading h2,
    .section-title h2 {
        font-size: 43px;

        letter-spacing: -2px;
    }

    .data-card {
        padding: 23px;
    }

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

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

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

    .workflow {
        justify-content: flex-start;
    }

    .workflow-arrow {
        display: none;
    }

    .journey-chart {
        overflow-x: auto;

        gap: 40px;

        justify-content: flex-start;
    }

    .journey-point {
        min-width: 70px;
    }

    .profile-modal {
        padding: 16px;
    }

    .profile-modal-content img {
        max-width: 94vw;

        max-height: 80vh;
    }

    .profile-modal-close {
        top: -12px;

        right: -8px;

        width: 42px;

        height: 42px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;
    }

    #cherryBlossoms {
        display: none;
    }

    .reveal {
        opacity: 1;

        transform: none;
    }
}
/* =========================================================
   MY APPROACH
========================================================= */

.approach-section {
    margin: 28px 24px;
    padding: 44px 44px 48px;

    border: 1px solid #292d36;
    border-radius: 34px;

    background: rgba(12, 14, 19, 0.72);
}


/* HEADER */

.approach-section .section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-bottom: 58px;
}


.approach-section .section-kicker {
    display: block;

    margin-bottom: 10px;

    color: #c99cff;

    font-size: 16px;
    font-weight: 700;

    letter-spacing: 3px;
}


.approach-section h2 {
    margin: 0;

    color: #f4f2f7;

    font-size: 36px;
    font-weight: 700;

    letter-spacing: -1.5px;
}


.approach-section .section-number {
    color: #c99cff;

    font-size: 22px;
    font-weight: 700;
}


/* FLOW */

.approach-flow {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr
        auto
        1fr
        auto
        1fr
        auto
        1fr;

    align-items: center;

    gap: 18px;
}


/* STEP */

.approach-step {
    min-width: 0;
}


.approach-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border: 1px solid #343743;
    border-radius: 12px;

    color: #c99cff;

    background: rgba(201, 156, 255, 0.05);

    font-size: 17px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


.approach-step:hover .approach-icon {
    transform: translateY(-3px);

    border-color: #c99cff;

    background: rgba(201, 156, 255, 0.10);
}


.approach-number {
    display: block;

    margin-bottom: 7px;

    color: #c99cff;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;
}


.approach-step h3 {
    margin: 0 0 6px;

    color: #f4f2f7;

    font-size: 20px;
    font-weight: 700;
}


.approach-step p {
    margin: 0;

    color: #858895;

    font-size: 15px;
}


/* ARROWS */

.approach-arrow {
    color: #c99cff;

    font-size: 27px;
    font-weight: 300;

    opacity: 0.9;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .approach-flow {
        grid-template-columns:
            1fr
            1fr;

        gap: 34px 40px;
    }


    .approach-arrow {
        display: none;
    }

}


@media (max-width: 600px) {

    .approach-section {
        margin: 20px 14px;

        padding: 30px 24px;

        border-radius: 24px;
    }


    .approach-section .section-heading {
        margin-bottom: 38px;
    }


    .approach-section h2 {
        font-size: 28px;
    }


    .approach-flow {
        grid-template-columns: 1fr;

        gap: 28px;
    }


    .approach-icon {
        width: 40px;
        height: 40px;
    }

}

/* =========================================================
   FINAL LAYOUT FIX — CLEAN VERTICAL SKILLS FLOW
   My Approach → Tech Stack → Projects
========================================================= */

/* Keep every major section stacked vertically */
.skills {
    display: block;
    width: min(var(--container), calc(100% - 108px));
    margin: 0 auto;
}

/* My Approach should always occupy the full available width */
.approach-section {
    width: 100%;
    margin: 0 0 70px;
    padding: 44px 44px 48px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(12, 14, 19, 0.72);
    box-sizing: border-box;
}

/* Prevent the approach card from becoming a half-width grid item */
.approach-section,
.workflow-card {
    grid-column: 1 / -1;
}

/* Clean heading */
.approach-section .section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 48px;
}

/* Five-step approach with symbols/arrows */
.approach-flow {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.approach-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid #343743;
    border-radius: 12px;
    color: var(--purple);
    background: rgba(201, 156, 255, 0.05);
    font-size: 17px;
}

.approach-arrow {
    align-self: center;
    color: var(--purple);
    font-size: 25px;
    line-height: 1;
    padding-top: 16px;
}

/* Remove Data DNA from the visible layout */
.dna-card,
.data-dna,
.dna-section {
    display: none !important;
}

/* Tech Stack comes BELOW My Approach */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
}

/* Give Tech Stack cards a consistent size */
.skill-card {
    min-height: 220px;
    width: 100%;
}

/* Make the section heading sit cleanly above Tech Stack */
.skills > .section-heading,
.skills > .section-title {
    width: 100%;
    max-width: 850px;
    margin-bottom: 48px;
}

/* Ensure projects always start after skills */
.projects {
    clear: both;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .skills {
        width: min(var(--container), calc(100% - 70px));
    }

    .approach-section {
        padding: 38px 34px 42px;
    }

    .approach-flow {
        grid-template-columns: 1fr 1fr;
        gap: 34px 40px;
    }

    .approach-arrow {
        display: none;
    }

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

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .skills {
        width: calc(100% - 32px);
    }

    .approach-section {
        width: 100%;
        margin: 0 0 55px;
        padding: 30px 24px;
        border-radius: 22px;
    }

    .approach-section .section-heading {
        margin-bottom: 36px;
    }

    .approach-section h2 {
        font-size: 28px;
    }

    .approach-flow {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .approach-arrow {
        display: none;
    }

    .approach-icon {
        width: 40px;
        height: 40px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .skill-card {
        min-height: auto;
    }
}
/* =========================================================
   SECTION ORDER FIX
   My Approach
   ↓
   Tech Stack
   ↓
   Featured Work / Projects
========================================================= */

/* ---------------------------------------------------------
   TECH STACK — FULL WIDTH
--------------------------------------------------------- */

.skills {
    width: min(var(--container), calc(100% - 108px));
    margin: 0 auto;
    padding: 100px 0 80px;

    display: block;
    grid-column: 1 / -1;
}

/* Heading */

.skills .section-title {
    max-width: 900px;
    margin-bottom: 55px;
}

.skills .section-title h2 {
    max-width: 850px;
}


/* Cards */

.skills-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}


/* Individual cards */

.skill-card {
    min-height: 250px;
    padding: 32px;

    border: 1px solid var(--line);
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.015);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.skill-card:hover {
    transform: translateY(-5px);

    border-color: rgba(
        205,
        164,
        255,
        0.5
    );

    background: rgba(
        205,
        164,
        255,
        0.025
    );
}


/* ---------------------------------------------------------
   FEATURED WORK / PROJECTS — BELOW TECH STACK
--------------------------------------------------------- */

.projects {
    width: min(var(--container), calc(100% - 108px));
    margin: 0 auto;
    padding: 90px 0 120px;

    display: block;
    grid-column: 1 / -1;
}


/* Projects heading */

.projects .section-title {
    max-width: 950px;
    margin-bottom: 55px;
}


/* Project cards */

.project-grid {
    width: 100%;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 24px;
}


/* ---------------------------------------------------------
   MAKE THE TWO SECTIONS VISUALLY SEPARATE
--------------------------------------------------------- */

.skills + .projects {
    border-top: 1px solid rgba(
        255,
        255,
        255,
        0.06
    );

    padding-top: 100px;
}


/* ---------------------------------------------------------
   REMOVE ANY SIDE-BY-SIDE GRID BEHAVIOUR
--------------------------------------------------------- */

.skills,
.projects {
    position: relative;
    float: none;
}


/* ---------------------------------------------------------
   TABLET
--------------------------------------------------------- */

@media (max-width: 1000px) {

    .skills,
    .projects {
        width: calc(100% - 70px);

        grid-column: 1 / -1;
    }

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

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


/* ---------------------------------------------------------
   MOBILE
--------------------------------------------------------- */

@media (max-width: 600px) {

    .skills,
    .projects {
        width: calc(100% - 32px);

        padding-top: 70px;
        padding-bottom: 80px;

        grid-column: 1 / -1;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .skill-card {
        min-height: 210px;
        padding: 24px;
    }

    .skills + .projects {
        padding-top: 75px;
    }
}
/* =========================================================
   CONTACT SECTION — CLEAN FINAL LAYOUT
========================================================= */

.contact {
    width: min(var(--container), calc(100% - 108px));
    margin: 0 auto;

    padding: 110px 0 120px;

    display: block;
    grid-column: 1 / -1;
}


/* ---------------------------------------------------------
   CONTACT HEADER
--------------------------------------------------------- */

.contact .section-title {
    max-width: 900px;
    margin-bottom: 70px;
}

.contact .section-kicker {
    margin-bottom: 20px;
}

.contact .section-title h2 {
    max-width: 850px;
}


/* ---------------------------------------------------------
   CONTACT DESCRIPTION
--------------------------------------------------------- */

.contact-description {
    max-width: 760px;

    margin-bottom: 60px;

    font-size: 24px;
    line-height: 1.65;

    color: var(--muted);
}


/* ---------------------------------------------------------
   CONTACT CARDS
--------------------------------------------------------- */

.contact-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 22px;
}


/* ---------------------------------------------------------
   INDIVIDUAL CONTACT CARD
--------------------------------------------------------- */

.contact-card {
    min-height: 220px;

    padding: 32px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    border: 1px solid var(--line);
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.012);

    text-decoration: none;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


/* Hover */

.contact-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(205, 164, 255, 0.5);

    background:
        rgba(205, 164, 255, 0.025);
}


/* ---------------------------------------------------------
   CONTACT ICON
--------------------------------------------------------- */

.contact-card i {
    font-size: 32px;

    color: var(--accent);

    margin-bottom: 30px;
}


/* ---------------------------------------------------------
   CONTACT CARD TITLE
--------------------------------------------------------- */

.contact-card h3 {
    margin: 0 0 8px;

    font-size: 25px;
    line-height: 1.2;

    color: var(--text);
}


/* ---------------------------------------------------------
   CONTACT CARD TEXT
--------------------------------------------------------- */

.contact-card p {
    margin: 0;

    font-size: 17px;
    line-height: 1.45;

    color: var(--muted);

    overflow-wrap: anywhere;
}


/* ---------------------------------------------------------
   SECTION DIVIDER
--------------------------------------------------------- */

.projects + .contact {
    border-top: 1px solid rgba(
        255,
        255,
        255,
        0.06
    );

    padding-top: 110px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .contact {
        width: calc(100% - 70px);
    }

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

    .contact-description {
        font-size: 21px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .contact {
        width: calc(100% - 32px);

        padding: 75px 0 85px;
    }

    .contact .section-title {
        margin-bottom: 45px;
    }

    .contact-description {
        margin-bottom: 40px;

        font-size: 18px;
        line-height: 1.6;
    }

    .contact-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .contact-card {
        min-height: 180px;

        padding: 25px;
    }

    .contact-card i {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .contact-card h3 {
        font-size: 22px;
    }

    .contact-card p {
        font-size: 16px;
    }
}
/* =========================================================
   FEATURED PROJECTS — 3 CARD LAYOUT
========================================================= */

.projects {
    width: min(var(--container), calc(100% - 108px));
    margin: 0 auto;

    padding: 100px 0 120px;

    display: block;
    grid-column: 1 / -1;
}


/* Heading */

.projects .section-title {
    max-width: 900px;
    margin-bottom: 55px;
}


/* Project grid */

.project-grid {
    width: 100%;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 22px;
}


/* Project card */

.project-card {
    min-height: 340px;

    padding: 30px;

    display: flex;
    flex-direction: column;

    border: 1px solid var(--line);
    border-radius: 24px;

    background:
        rgba(255, 255, 255, 0.012);

    text-decoration: none;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}


/* Hover */

.project-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(205, 164, 255, 0.5);

    background:
        rgba(205, 164, 255, 0.025);
}


/* Number */

.project-number {
    margin-bottom: 35px;

    font-size: 16px;
    font-weight: 600;

    color: var(--accent);
}


/* Title */

.project-card h3 {
    margin: 0 0 18px;

    font-size: 28px;
    line-height: 1.2;

    color: var(--text);
}


/* Description */

.project-card p {
    margin: 0;

    font-size: 17px;
    line-height: 1.55;

    color: var(--muted);
}


/* Tags */

.project-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: auto;
    padding-top: 28px;
}


.project-tags span {
    padding: 7px 11px;

    border: 1px solid var(--line);
    border-radius: 999px;

    font-size: 13px;

    color: var(--muted);
}


/* View project */

.project-link {
    margin-top: 24px;

    font-size: 15px;
    font-weight: 600;

    color: var(--accent);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .projects {
        width: calc(100% - 70px);
    }

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

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .projects {
        width: calc(100% - 32px);

        padding: 75px 0 85px;
    }

    .project-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }

    .project-card {
        min-height: 300px;

        padding: 25px;
    }

    .project-card h3 {
        font-size: 24px;
    }

    .project-card p {
        font-size: 16px;
    }

}
/* =========================================================
   SKILL → PROJECT INTERACTION
========================================================= */

/* Make linked skill cards behave exactly like normal cards */

.skill-link {
    position: relative;

    display: flex;
    flex-direction: column;

    text-decoration: none;
    color: inherit;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


/* Keep normal text colors */

.skill-link h3 {
    color: var(--text);
}

.skill-link p {
    color: var(--muted);
}


/* Hover */

.skill-link:hover {
    transform: translateY(-5px);

    border-color:
        rgba(205, 164, 255, 0.5);

    background:
        rgba(205, 164, 255, 0.025);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.16);
}


/* Icon */

.skill-link .skill-icon {
    transition:
        transform 0.25s ease;
}

.skill-link:hover .skill-icon {
    transform: translateY(-3px);
}


/* Project link text */

.skill-project-link {
    display: inline-flex;
    align-items: center;

    margin-top: auto;
    padding-top: 22px;

    color: var(--accent);

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 0.2px;

    transition:
        transform 0.2s ease,
        color 0.2s ease;
}


.skill-link:hover .skill-project-link {
    transform: translateX(5px);
    color: var(--accent);
}


/* =========================================================
   HERO SKILL TAGS
========================================================= */

.hero-tag-link {
    display: inline-flex;
    align-items: center;

    color: inherit;

    text-decoration: none;

    cursor: pointer;

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.hero-tag-link:hover {
    color: var(--accent);

    transform: translateY(-2px);
}


/* =========================================================
   PROJECT HIGHLIGHT
========================================================= */

.project-highlight {
    border-color:
        var(--accent) !important;

    box-shadow:
        0 0 0 1px var(--accent),
        0 0 35px rgba(
            205,
            164,
            255,
            0.16
        );

    transform:
        translateY(-5px);
}


/* Keep project highlight clean on hover */

.project-highlight:hover {
    transform:
        translateY(-7px);
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.skill-link:focus-visible,
.hero-tag-link:focus-visible {
    outline: 2px solid var(--accent);

    outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .skill-link,
    .hero-tag-link,
    .project-highlight {
        transition: none;

        transform: none !important;
    }

}
/* =========================================================
   SECTION SPACING FIX
   Tightens the vertical gaps between portfolio sections
========================================================= */

/* Main sections */
section {
    margin-top: 0;
    margin-bottom: 0;
}

/* Hero section */
#home {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 70px;
}

/* Skills section */
#skills {
    padding-top: 70px;
    padding-bottom: 70px;
}

/* Me in Data section */
#about,
#me-in-data {
    padding-top: 70px;
    padding-bottom: 70px;
}

/* Projects */
#projects {
    padding-top: 70px;
    padding-bottom: 70px;
}

/* Contact */
#contact {
    padding-top: 70px;
    padding-bottom: 70px;
}


/* =========================================================
   REMOVE UNNECESSARY LARGE GAPS
========================================================= */

.hero,
.skills-section,
.about-section,
.projects-section,
.contact-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* =========================================================
   HERO → NEXT SECTION
========================================================= */

.hero-content {
    margin-bottom: 0;
}

.hero-tags {
    margin-bottom: 20px;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-header {
    margin-bottom: 45px;
}

.section-header h2 {
    margin-bottom: 12px;
}


/* =========================================================
   ME IN DATA
========================================================= */

#about .section-header,
#me-in-data .section-header {
    margin-bottom: 35px;
}


/* =========================================================
   APPROACH / TECH STACK LAYOUT
========================================================= */

.approach-section,
.tech-stack-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* If these are inside a grid */
.skills-layout {
    gap: 50px;
}


/* =========================================================
   CARDS
========================================================= */

.skill-card,
.project-card,
.approach-card {
    margin-top: 0;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

    #home,
    #skills,
    #about,
    #me-in-data,
    #projects,
    #contact {
        padding-top: 55px;
        padding-bottom: 55px;
    }

}
/* =========================================================
   FINAL CLEANUP
   Do NOT change the JS
========================================================= */


/* ---------------------------------------------------------
   1. LINE GRAPH / CURSOR CANVAS
   Background only — NEVER affects layout
--------------------------------------------------------- */

#cherryBlossoms {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;

    width: 100vw !important;
    height: 100vh !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    pointer-events: none !important;

    z-index: 0 !important;

    opacity: 0.28 !important;
}


/* ---------------------------------------------------------
   2. WEBSITE CONTENT ABOVE GRAPH
--------------------------------------------------------- */

header,
main,
section,
footer,
.navbar,
.hero,
.data-profile,
.skills,
.projects,
.contact {
    position: relative;
    z-index: 1;
}


/* Header always stays above graph */

.header {
    z-index: 1000 !important;
}


/* ---------------------------------------------------------
   3. STOP THE GRAPH FROM CREATING ANY SPACE
--------------------------------------------------------- */

#cherryBlossoms {
    max-width: none !important;
    min-width: 0 !important;
}


/* ---------------------------------------------------------
   4. HERO — REMOVE EXCESSIVE EMPTY HEIGHT
--------------------------------------------------------- */

.hero {
    min-height: calc(100vh - var(--header-height)) !important;

    padding-top: 125px !important;
    padding-bottom: 55px !important;

    margin-bottom: 0 !important;
}


/* ---------------------------------------------------------
   5. ME, IN DATA — BRING IT CLOSER
--------------------------------------------------------- */

.data-profile {
    padding-top: 70px !important;
    padding-bottom: 80px !important;

    margin-top: 0 !important;
}


/* ---------------------------------------------------------
   6. SECTION SPACING
--------------------------------------------------------- */

.skills {
    padding-top: 75px !important;
    padding-bottom: 90px !important;

    margin-top: 0 !important;
}


.projects {
    padding-top: 80px !important;
    padding-bottom: 100px !important;

    margin-top: 0 !important;
}


.contact {
    padding-top: 80px !important;
    padding-bottom: 100px !important;

    margin-top: 0 !important;
}


/* ---------------------------------------------------------
   7. MY APPROACH
--------------------------------------------------------- */

.approach-section {
    width: 100% !important;

    margin: 0 0 55px !important;

    padding: 38px 42px 42px !important;

    box-sizing: border-box !important;
}


/* ---------------------------------------------------------
   8. APPROACH → TECH STACK
--------------------------------------------------------- */

.approach-section + .section-title,
.approach-section + .skills-grid {
    margin-top: 0 !important;
}


/* ---------------------------------------------------------
   9. TECH STACK CARDS
--------------------------------------------------------- */

.skills-grid {
    width: 100% !important;

    margin-top: 0 !important;

    gap: 20px !important;
}


.skill-card {
    min-height: 230px !important;

    margin: 0 !important;
}


/* ---------------------------------------------------------
   10. PROJECTS
--------------------------------------------------------- */

.project-grid {
    margin-top: 0 !important;

    gap: 22px !important;
}


.project-card {
    margin: 0 !important;
}


/* ---------------------------------------------------------
   11. REMOVE UNWANTED DATA DNA
--------------------------------------------------------- */

.dna-card,
.data-dna,
.dna-section {
    display: none !important;
}


/* ---------------------------------------------------------
   12. REMOVE EXTRA FLOATING / GRID BEHAVIOUR
--------------------------------------------------------- */

.skills,
.projects,
.contact,
.approach-section {
    float: none !important;
}


/* ---------------------------------------------------------
   13. IMPORTANT:
   Don't let hidden elements leave empty space
--------------------------------------------------------- */

.dna-card,
.data-dna,
.dna-section {
    width: 0 !important;
    height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
}


/* ---------------------------------------------------------
   14. DESKTOP
--------------------------------------------------------- */

@media (min-width: 1201px) {

    .hero {
        min-height: calc(100vh - var(--header-height)) !important;

        padding-top: 120px !important;
        padding-bottom: 45px !important;
    }

    .data-profile {
        padding-top: 65px !important;
    }

    .skills {
        padding-top: 65px !important;
    }

    .projects {
        padding-top: 70px !important;
    }

}


/* ---------------------------------------------------------
   15. TABLET
--------------------------------------------------------- */

@media (max-width: 1000px) {

    .hero {
        min-height: auto !important;

        padding-top: 125px !important;
        padding-bottom: 60px !important;
    }

    .data-profile {
        padding-top: 60px !important;
        padding-bottom: 70px !important;
    }

    .skills {
        padding-top: 60px !important;
        padding-bottom: 70px !important;
    }

    .projects {
        padding-top: 65px !important;
        padding-bottom: 80px !important;
    }

    .contact {
        padding-top: 65px !important;
        padding-bottom: 80px !important;
    }

}


/* ---------------------------------------------------------
   16. MOBILE
--------------------------------------------------------- */

@media (max-width: 600px) {

    #cherryBlossoms {
        opacity: 0.20 !important;
    }


    .hero {
        min-height: auto !important;

        padding-top: 115px !important;
        padding-bottom: 45px !important;
    }


    .data-profile {
        padding-top: 55px !important;
        padding-bottom: 60px !important;
    }


    .skills {
        padding-top: 55px !important;
        padding-bottom: 65px !important;
    }


    .projects {
        padding-top: 60px !important;
        padding-bottom: 70px !important;
    }


    .contact {
        padding-top: 60px !important;
        padding-bottom: 70px !important;
    }


    .approach-section {
        margin-bottom: 45px !important;

        padding: 28px 22px !important;
    }

}
/* =========================================================
   CENTER ALL MAJOR SECTION HEADINGS
========================================================= */

/* Main section heading container */
.data-profile .section-heading,
.skills .section-title,
.projects .section-title,
.contact .section-title {
    width: 100%;
    max-width: 100%;

    text-align: center;

    margin-left: auto;
    margin-right: auto;
}


/* Small purple label
   e.g. ANALYTICS PROFILE / TECH STACK / CONTACT */
.data-profile .section-kicker,
.skills .section-kicker,
.projects .section-kicker,
.contact .section-kicker {
    text-align: center;
}


/* Main heading
   e.g. Me, in Data / Tools I Use... / Projects... */
.data-profile .section-heading h2,
.skills .section-title h2,
.projects .section-title h2,
.contact .section-title h2 {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


/* Description underneath heading */
.data-profile .section-heading p,
.skills .section-title p,
.projects .section-title p,
.contact .section-title p {
    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


/* =========================================================
   MY APPROACH HEADING
========================================================= */

.approach-section .section-heading {
    display: block;

    width: 100%;

    text-align: center;

    margin-left: auto;
    margin-right: auto;
}


/* MY APPROACH */
.approach-section .section-kicker {
    text-align: center;
}


/* How I work with data */
.approach-section h2 {
    text-align: center;
}


/* Section number 03
   Keep it positioned neatly */
.approach-section .section-number {
    position: absolute;

    top: 42px;
    right: 42px;
}


/* =========================================================
   KEEP CONTENT/CARDS LEFT ALIGNED
========================================================= */

.skills-grid,
.project-grid,
.contact-grid,
.approach-flow {
    text-align: left;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .data-profile .section-heading,
    .skills .section-title,
    .projects .section-title,
    .contact .section-title,
    .approach-section .section-heading {
        text-align: center;
    }

    .approach-section .section-number {
        top: 25px;
        right: 25px;
    }

}


/* =========================================================
   FINAL PORTFOLIO POLISH
   Skills + Projects + Mobile
   ========================================================= */

/* Better global interaction */
.skill-card,
.project-card,
.contact-card,
.data-card {
    position: relative;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        background 0.28s ease,
        box-shadow 0.28s ease;
}

/* Skills */
.skills-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.skill-card {
    min-height: 250px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.skill-card .skill-icon {
    margin-bottom: 20px;
}

.skill-card p {
    margin-bottom: 0;
}

.skill-link {
    cursor: pointer;
}

.skill-link:hover {
    transform: translateY(-7px);
    border-color: rgba(205, 164, 255, 0.65);
    background: rgba(205, 164, 255, 0.035);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.skill-project-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 20px;
    color: var(--purple);
    font-size: 14px;
    font-weight: 700;
    transition: transform 0.25s ease;
}

.skill-link:hover .skill-project-link {
    transform: translateX(5px);
}

/* Projects */
.projects {
    padding-top: 100px;
    padding-bottom: 125px;
}

.projects .section-title {
    margin-bottom: 55px;
}

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

.project-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.project-card:hover {
    transform: translateY(-7px);
    border-color: rgba(205, 164, 255, 0.58);
    background: rgba(255, 255, 255, 0.022);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.25);
}

.project-banner {
    min-height: 235px;
    padding: 32px;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(205, 164, 255, 0.20),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(255,255,255,0.025),
            rgba(255,255,255,0.005)
        );
}

.project-number {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--purple);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.project-banner h2 {
    max-width: 620px;
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.08;
    letter-spacing: -1.2px;
}

.project-banner p {
    font-size: 14px;
    line-height: 1.5;
}

.project-content {
    flex: 1;
    padding: 30px 32px 34px;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 21px;
    line-height: 1.25;
}

.project-content > p {
    font-size: 15px;
    line-height: 1.75;
}

.project-highlights {
    margin-bottom: 4px;
    font-size: 14px;
}

.project-tags {
    margin-top: 20px;
}

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

.project-card:hover .project-tags span {
    border-color: rgba(205, 164, 255, 0.28);
}

.project-buttons {
    margin-top: auto;
    padding-top: 24px;
}

.project-buttons a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--purple);
    font-size: 14px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.project-buttons a:hover {
    transform: translateY(-2px);
    border-color: var(--purple);
    background: rgba(205, 164, 255, 0.07);
}

/* Make section separation cleaner */
.skills + .projects {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Tablet */
@media (max-width: 1000px) {
    .skills,
    .projects {
        width: calc(100% - 70px);
    }

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

    .project-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-banner {
        min-height: 210px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .skills,
    .projects {
        width: calc(100% - 32px);
    }

    .skills {
        padding-top: 75px;
        padding-bottom: 70px;
    }

    .projects {
        padding-top: 70px;
        padding-bottom: 90px;
    }

    .skills-grid,
    .project-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .skill-card {
        min-height: 205px;
        padding: 24px;
    }

    .project-card {
        border-radius: 20px;
    }

    .project-banner {
        min-height: 175px;
        padding: 24px;
    }

    .project-banner h2 {
        font-size: 23px;
        letter-spacing: -0.8px;
    }

    .project-content {
        padding: 24px;
    }

    .project-content h3 {
        font-size: 19px;
    }

    .project-content > p {
        font-size: 14px;
    }

    .project-highlights {
        font-size: 13px;
        line-height: 1.85;
    }

    .project-buttons a {
        width: 100%;
        justify-content: center;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .skill-card,
    .project-card,
    .contact-card,
    .data-card,
    .project-buttons a,
    .skill-project-link {
        transition: none;
    }
}

