﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 0;
}

.site-footer {
    position: relative;
    z-index: 120;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 16px;
    border-top: 1px solid #efede8;
    background: rgba(252, 252, 251, .82);
    color: #a3a39d;
    font-size: 12.5px;
    font-weight: 300;
    letter-spacing: .18em;
    line-height: 1.7;
    text-transform: uppercase;
}

.site-footer .sep {
    color: #d4d2cc;
}

.site-footer a {
    color: #6e6e72;
    text-decoration: none;
    border-bottom: 1px solid #d4d2cc;
    padding-bottom: 1px;
    transition: color .3s, border-color .3s;
}

.site-footer a:hover {
    color: #1d1d1f;
    border-color: #1d1d1f;
    text-decoration: none;
}
* {
    box-sizing: border-box
}

/*PORTFOLIO PAGES*/
.home-entry {
    position: relative;
    z-index: 110;
    padding-top: 58vh;
    padding-bottom: 80px;
    text-align: center;
}

.home-positioning {
    color: #333333;
    font-size: 18px;
    letter-spacing: .4px;
    margin-bottom: 22px;
}

.home-entry-links {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.portfolio-header {
    max-width: 820px;
    margin-bottom: 42px;
}

.portfolio-header h1 {
    font-size: 42px;
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 16px;
}

.portfolio-header p {
    color: #cfcfcf;
    font-size: 17px;
    line-height: 1.7;
}

.portfolio-kicker {
    color: #9a9a9a !important;
    font-size: 13px !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.project-card,
.timeline-content,
.skill-group,
.placeholder-panel {
    border: 1px solid #333333;
    background: #151515;
    transition: border-color .25s ease, transform .25s ease, background-color .25s ease;
}

.project-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    padding: 28px;
}

.project-card:hover,
.timeline-item:hover .timeline-content,
.skill-group:hover {
    border-color: #777777;
    background: #181818;
    transform: translateY(-2px);
}

.featured-project {
    border-color: #4b4b4b;
}

.project-card-header h2,
.timeline-content h2,
.skill-group h2 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 10px;
}

.project-card-header p,
.project-points,
.timeline-content p,
.about-copy p,
.skill-group p,
.placeholder-panel p {
    color: #c9c9c9;
    line-height: 1.7;
}

.project-type,
.timeline-meta {
    color: #999999 !important;
    font-size: 12px;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 18px 0;
    padding: 0;
}

.tag-list li {
    border: 1px solid #3b3b3b;
    color: #dcdcdc;
    font-size: 12px;
    line-height: 1;
    padding: 8px 10px;
}

.project-points {
    padding-left: 18px;
}

.project-points li {
    margin-bottom: 8px;
}

.project-links,
.project-private {
    border-top: 1px solid #2d2d2d;
    display: flex;
    gap: 18px;
    margin-top: auto;
    padding-top: 18px;
}

.project-links a,
.text-link {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, color .25s ease;
}

.project-links a:hover,
.text-link:hover {
    color: #d6d6d6;
    border-color: #d6d6d6;
    text-decoration: none;
}

.project-private {
    color: #bfbfbf;
}

.timeline {
    border-left: 1px solid #3a3a3a;
    margin-left: 7px;
    max-width: 900px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
    transform: translateX(-8px);
}

.timeline-node {
    background: #111111;
    border: 1px solid #bdbdbd;
    height: 15px;
    margin-top: 30px;
    width: 15px;
}

.timeline-content {
    padding: 26px;
}

.timeline-content h3 {
    color: #b7b7b7;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 14px;
}

.about-copy {
    max-width: 900px;
    margin-bottom: 34px;
}

.about-copy p {
    font-size: 17px;
    margin-bottom: 18px;
}

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

.skill-group {
    padding: 24px;
}

.skill-group h2 {
    font-size: 18px;
}

.narrow-page {
    max-width: 960px;
}

.placeholder-panel {
    padding: 26px;
}

code {
    color: #ffffff;
}

@media (max-width: 768px) {
    .home-entry {
        padding-top: 54vh;
    }

    .home-positioning {
        font-size: 16px;
    }

    .portfolio-page {
        padding: 48px 22px;
    }

    .portfolio-header h1 {
        font-size: 32px;
    }

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

    .project-card {
        padding: 22px;
    }

    .timeline-content {
        padding: 22px;
    }
}


/* ===== Qikun 1a hairline theme ===== */
:root {
    --q-ink: #2a2a2c;
    --q-ink-strong: #1d1d1f;
    --q-muted: #52525b;
    --q-faint: #6e6e72; /* darkened from #a3a39d for WCAG AA contrast on --q-bg */
    --q-bg: #fcfcfb;
    --q-surface: rgba(255, 255, 255, .62);
    --q-hairline: #efede8;
    --q-hairline-strong: #d9d6ce;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--q-bg);
    color: var(--q-ink);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
}

.site-header {
    position: relative;
    z-index: 200;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 22px 40px;
    border-bottom: 1px solid var(--q-hairline);
    background: rgba(252, 252, 251, .76);
    backdrop-filter: blur(4px);
}

.site-nav .brand {
    color: var(--q-ink-strong);
    font-size: 21px;
    font-weight: 400;
    letter-spacing: .01em;
    text-decoration: none;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
}

.site-nav .divider {
    width: 1px;
    height: 17px;
    background: #dad8d2;
}

.site-nav .links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.site-nav .links a {
    position: relative;
    color: #3a3a3c;
    font-size: 15px;
    font-weight: 300;
    text-decoration: none;
    transition: color .3s;
}

.site-nav .links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 0;
    height: 1px;
    background: var(--q-ink-strong);
    transition: width .35s cubic-bezier(.4, 0, .1, 1);
}

.site-nav .links a:hover {
    color: var(--q-ink-strong);
}

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

.site-main {
    position: relative;
    z-index: 1;
}

#particles-js {
    z-index: 1;
}

.home-entry {
    min-height: 15vh;
    padding-top: 58vh;
    padding-bottom: 92px;
}

.home-positioning {
    color: #4a4a4c;
    font-family: 'Questrial', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    letter-spacing: .015em;
    margin: 0 auto 38px;
    max-width: 640px;
}

.home-entry-links {
    gap: 52px;
}

.hairline-link {
    position: relative;
    color: var(--q-muted);
    cursor: pointer;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: .22em;
    padding-bottom: 10px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .3s;
}

.hairline-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 14px;
    height: 1px;
    background: var(--q-ink-strong);
    transition: width .35s cubic-bezier(.4, 0, .1, 1);
}

.hairline-link:hover {
    color: var(--q-ink-strong);
    text-decoration: none;
}

.hairline-link:hover::after {
    width: 100%;
}

.portfolio-page {
    background:
        radial-gradient(circle at 18% 8%, rgba(247, 192, 210, .16), transparent 24%),
        radial-gradient(circle at 82% 16%, rgba(188, 216, 239, .18), transparent 26%),
        rgba(252, 252, 251, .34);
    color: var(--q-ink);
    margin: 0;
    min-height: calc(100vh - 144px);
    padding: 82px clamp(24px, 6vw, 76px);
    pointer-events: none;
}

.portfolio-header {
    border-bottom: 1px solid var(--q-hairline);
    margin-bottom: 38px;
    max-width: 980px;
    padding-bottom: 30px;
}

.portfolio-header h1 {
    color: var(--q-ink);
    font-size: clamp(34px, 5vw, 64px);
    font-weight: 200;
    letter-spacing: .06em;
    line-height: 1.05;
    margin-bottom: 18px;
}

.portfolio-header p {
    color: var(--q-muted);
    font-size: 18px;
    line-height: 1.75;
    max-width: 780px;
}

.portfolio-kicker {
    color: var(--q-faint) !important;
    font-size: 12px !important;
    font-weight: 300;
    letter-spacing: .24em;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.project-featured {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-bottom: 52px;
}

.project-feature {
    padding: 40px;
}

.project-feature .project-card-header h2 {
    font-size: 32px;
}

.project-secondary-label {
    color: var(--q-faint);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .24em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.project-secondary-card {
    max-width: 640px;
    padding: 24px;
}

.project-secondary-card .project-card-header h2 {
    font-size: 20px;
}

.project-card,
.timeline-content,
.skill-group,
.placeholder-panel {
    background: var(--q-surface);
    border: 1px solid var(--q-hairline);
    box-shadow: none;
    transition: border-color .3s ease, transform .3s ease, background-color .3s ease;
}

.project-card {
    padding: 30px;
}

.project-card:hover,
.timeline-item:hover .timeline-content,
.skill-group:hover {
    background: rgba(255, 255, 255, .78);
    border-color: var(--q-hairline-strong);
    transform: translateY(-3px);
}

.featured-project {
    border-color: #ddd9d0;
}

.project-card-header h2,
.timeline-content h2,
.skill-group h2 {
    color: var(--q-ink-strong);
    font-size: 25px;
    font-weight: 300;
    letter-spacing: .02em;
}

.project-card-header p,
.project-points,
.timeline-content p,
.about-copy p,
.skill-group p,
.placeholder-panel p {
    color: var(--q-muted);
    line-height: 1.75;
}

.project-type,
.timeline-meta {
    color: var(--q-faint) !important;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .22em;
}

.tag-list li {
    border: 1px solid var(--q-hairline-strong);
    color: #4f4f55;
    background: rgba(252, 252, 251, .56);
    font-weight: 300;
    letter-spacing: .04em;
}

.project-links,
.project-private {
    border-top: 1px solid var(--q-hairline);
}

.project-links a,
.text-link {
    position: relative;
    color: var(--q-muted);
    font-size: 13px;
    letter-spacing: .18em;
    padding-bottom: 7px;
    text-decoration: none;
    text-transform: uppercase;
    border-bottom: 0;
}

.project-links a::after,
.text-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 12px;
    height: 1px;
    background: var(--q-ink-strong);
    transition: width .35s cubic-bezier(.4, 0, .1, 1);
}

.project-links a:hover,
.text-link:hover {
    color: var(--q-ink-strong);
    text-decoration: none;
}

.project-links a:hover::after,
.text-link:hover::after {
    width: 100%;
}

.project-private {
    color: #74747a;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.project-card-topline {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    justify-content: space-between;
    margin-bottom: 12px;
}

.project-card-topline .project-type {
    margin-bottom: 0;
}

.project-status {
    border: 1px solid var(--q-hairline-strong);
    color: #67676d;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: .12em;
    line-height: 1;
    padding: 7px 9px;
    text-transform: uppercase;
}

.contact-card {
    background: rgba(255, 255, 255, .76);
    backdrop-filter: blur(2px);
    border: 1px solid var(--q-hairline);
    max-width: 720px;
    pointer-events: auto;
}

.contact-row {
    align-items: center;
    border-bottom: 1px solid var(--q-hairline);
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 24px;
    padding: 20px 24px;
}

.contact-row:last-child {
    border-bottom: 0;
}

.contact-row span {
    color: var(--q-faint);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.contact-row a {
    color: var(--q-ink-strong);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    width: fit-content;
    transition: border-color .25s ease, color .25s ease;
}

.contact-row a:hover {
    color: var(--q-muted);
    border-color: var(--q-muted);
    text-decoration: none;
}

.timeline {
    border-left: 1px solid var(--q-hairline-strong);
    max-width: 980px;
}

.timeline-node {
    background: var(--q-bg);
    border: 1px solid var(--q-ink-strong);
    border-radius: 50%;
}

.timeline-content h3 {
    color: #76767c;
    font-weight: 300;
}

.timeline-item--primary .timeline-node {
    height: 19px;
    width: 19px;
    margin-top: 27px;
}

.timeline-item--primary .timeline-content {
    padding: 34px;
}

.timeline-item--primary .timeline-content h2 {
    font-size: 30px;
}

.timeline-item--primary .timeline-content h3 {
    font-size: 17px;
}

.timeline-item--education .timeline-content {
    padding: 20px 26px;
}

.timeline-item--education .timeline-content h2 {
    color: var(--q-muted);
    font-size: 19px;
    font-weight: 300;
}

.timeline-item--education .timeline-content h3 {
    font-size: 15px;
}

.about-copy {
    max-width: 980px;
}

.about-copy p {
    font-size: 18px;
}

.about-highlights {
    margin: 34px 0 38px;
}

.about-highlights h2 {
    color: var(--q-faint);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .24em;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.about-highlight-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1024px) and (min-width: 769px) {
    .about-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.about-highlight {
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(2px);
    border: 1px solid var(--q-hairline);
    min-height: 136px;
    padding: 18px;
    transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
}

.about-highlight:hover {
    background: rgba(255, 255, 255, .86);
    border-color: var(--q-hairline-strong);
    transform: translateY(-2px);
}

.about-highlight h3 {
    color: var(--q-ink-strong);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: .03em;
    line-height: 1.3;
    margin-bottom: 10px;
}

.about-highlight p {
    color: var(--q-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
}

.about-highlight a {
    color: var(--q-ink-strong);
    text-decoration: none;
    border-bottom: 1px solid var(--q-hairline-strong);
    transition: border-color .25s ease, color .25s ease;
}

.about-highlight a:hover {
    color: var(--q-muted);
    border-color: var(--q-muted);
    text-decoration: none;
}

.skills-grid {
    max-width: 980px;
}

/* ===== RESUME PAGE ===== */
.resume-body {
    max-width: 900px;
}

.resume-section {
    margin-bottom: 40px;
}

.resume-section:last-child {
    margin-bottom: 0;
}

.resume-section-title {
    color: var(--q-faint);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .24em;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.resume-summary p {
    color: var(--q-muted);
    font-size: 18px;
    line-height: 1.75;
    margin-bottom: 14px;
}

.resume-summary p:last-child {
    margin-bottom: 0;
}

.resume-entry + .resume-entry {
    border-top: 1px solid var(--q-hairline);
    margin-top: 24px;
    padding-top: 24px;
}

.resume-entry-title {
    color: var(--q-ink-strong);
    font-size: 21px;
    font-weight: 300;
    letter-spacing: .02em;
    margin-bottom: 4px;
}

.resume-entry-meta {
    color: var(--q-faint);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: .18em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.resume-entry p {
    color: var(--q-muted);
    line-height: 1.75;
    margin-bottom: 10px;
}

.resume-entry p:last-child {
    margin-bottom: 0;
}

.resume-entry .tag-list,
.resume-entry .project-points {
    margin-top: 14px;
}

.resume-actions {
    margin-top: 10px;
}

.print-trigger {
    appearance: none;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0 0 10px;
    white-space: nowrap;
}

.site-footer {
    border-top: 1px solid var(--q-hairline);
    background: rgba(252, 252, 251, .82);
    color: var(--q-faint);
    font-family: 'Jost', sans-serif;
}

.site-footer a {
    color: #6e6e72;
}

code {
    color: var(--q-ink-strong);
}

.site-header,
.site-footer {
    position: relative;
    z-index: 30;
}

.site-main {
    z-index: 10;
    pointer-events: none;
}

.home-original,
.portfolio-header,
.project-card,
.timeline-content,
.skill-group,
.placeholder-panel,
.home-entry,
.home-entry a {
    pointer-events: auto;
}

.portfolio-header {
    background: rgba(252, 252, 251, .58);
    backdrop-filter: blur(1px);
}

.project-card,
.timeline-content,
.skill-group,
.placeholder-panel {
    background: rgba(255, 255, 255, .76);
    backdrop-filter: blur(2px);
}

.project-card:hover,
.timeline-item:hover .timeline-content,
.skill-group:hover {
    background: rgba(255, 255, 255, .88);
}

@media (max-width: 768px) {
    .site-nav {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0;
        justify-content: space-between;
        padding: 16px 20px;
    }

    .site-nav .divider {
        display: none;
    }

    .menu-toggle {
        align-items: center;
        appearance: none;
        background: transparent;
        border: 1px solid var(--q-hairline-strong);
        border-radius: 0;
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
        height: 38px;
        justify-content: center;
        padding: 0;
        width: 42px;
    }

    .menu-toggle span {
        background: var(--q-ink-strong);
        display: block;
        height: 1px;
        transition: opacity .2s ease, transform .25s ease;
        width: 18px;
    }

    .site-nav.is-open .menu-toggle span:first-child {
        transform: translateY(5px) rotate(45deg);
    }

    .site-nav.is-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-nav.is-open .menu-toggle span:last-child {
        transform: translateY(-5px) rotate(-45deg);
    }

    .site-nav .links {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        gap: 0;
        padding-top: 16px;
    }

    .site-nav.is-open .links {
        display: flex;
    }

    .site-nav .links a {
        border-top: 1px solid var(--q-hairline);
        font-size: 14px;
        padding: 13px 0;
        text-align: center;
        width: 100%;
    }

    .site-nav .links a::after {
        display: none;
    }

    .home-original .text {
        display: flex;
        flex-wrap: wrap;
        font-size: clamp(68px, 22vw, 92px);
        justify-content: center;
        left: 0;
        line-height: .86;
        padding: 4vh 18px 0;
        right: 0;
        text-align: center;
        top: 0;
        transform: none;
        width: 100%;
    }

    .home-original .text .wrapper {
        padding: 12px 10px 0;
    }

    .home-original .text .wrapper .letter {
        transform: translateY(10%);
    }

    .home-original .text .wrapper .shadow1 {
        background: linear-gradient(to top, rgba(153, 153, 153, .72) 0%, rgba(153, 153, 153, .46) 42%, rgba(153, 153, 153, 0) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        margin-top: 14px;
        -webkit-text-fill-color: transparent;
    }

    .home-original .text .wrapper:hover .letter {
        transform: translateY(-18%);
    }

    .home-original .text .mobile-name-break {
        flex-basis: 100%;
        height: 0;
        overflow: hidden;
        padding: 0;
        width: 100%;
    }

    .home-original .text .mobile-name-second-line {
        margin-top: 36px;
    }

    .home-original .text .overlay {
        display: none;
    }

    .home-entry {
        padding-left: 22px;
        padding-right: 22px;
        padding-top: 52vh;
    }

    .home-entry-links {
        gap: 26px;
    }

    .hairline-link {
        font-size: 14px;
    }

    .about-highlights {
        margin: 28px 0 32px;
    }

    .about-highlight-grid {
        grid-template-columns: 1fr;
    }

    .about-highlight {
        min-height: 0;
        padding: 17px 18px;
    }

    .project-card-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .project-status {
        font-size: 10px;
    }

    .project-feature {
        padding: 24px;
    }

    .project-feature .project-card-header h2 {
        font-size: 24px;
    }

    .timeline {
        margin-left: 0;
    }

    .timeline-item {
        gap: 14px;
    }

    .timeline-item--primary .timeline-content {
        padding: 24px;
    }

    .timeline-item--primary .timeline-content h2 {
        font-size: 24px;
    }

    .contact-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 18px 20px;
    }

    .site-footer {
        gap: 8px;
        letter-spacing: .12em;
        text-align: center;
    }
}

/* ===== PRINT (Resume) ===== */
@media print {
    .site-header,
    .site-footer,
    .resume-actions {
        display: none !important;
    }

    body {
        background: #ffffff;
    }

    .portfolio-page {
        background: #ffffff !important;
        min-height: 0;
        padding: 24px 0;
    }

    .skill-group,
    .contact-card,
    .project-card,
    .timeline-content,
    .placeholder-panel {
        background: none !important;
        backdrop-filter: none !important;
    }

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