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

html { scroll-behavior: smooth; }

body {
    background-color: #f9f7f1;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

/* ── CENTERED INNER WRAPPER ── */
.pf-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── NAV ── */
.pf-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 2000;
    background: #000;
    box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.pf-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1px;
}

.pf-nav .pf-logo img { height: 26px; display: block; }

.pf-nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.pf-nav-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.pf-nav-links a:hover { color: #fff; }


@media (max-width: 640px) {
    .pf-nav-links { display: none; }
}

/* ── HERO ── */
#home, #projects, #about, #contact, .edu-strip {
    scroll-margin-top: 44px;
}

#home {
    padding: 140px 0 64px;
    background: #f9f7f1;
    border-bottom: 1px solid #e0ddd6;
}

#home .pf-inner {
    display: block;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.hero-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 14px;
}

.hero-name {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
    margin-bottom: 8px;
}

.hero-title {
    font-size: 15px;
    font-weight: 400;
    color: #666;
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.hero-title-link {
    color: #666;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.hero-title-link:hover {
    color: #000;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    background: #fff;
    color: #000;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    padding: 13px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover { background: #e8e6df; }

.btn-outline {
    background: #dcdad3;
    color: rgba(0,0,0,0.75);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 30px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 140px;
}

.btn-outline:hover { background: #cfccc3; color: #000; }

body.theme-dark .btn-outline {
    background: #2a2a2a;
    color: rgba(255,255,255,0.75);
    border-color: rgba(255,255,255,0.1);
}

body.theme-dark .btn-outline:hover { background: #363636; color: #fff; }

.hero-stats {
    display: flex;
    gap: 36px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.stat-item .stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
}

.stat-item .stat-num span { color: #fff; }

.stat-item .stat-label {
    font-size: 10px;
    color: rgba(255,255,255,0.38);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Hero card column */
.hero-card-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
}

.avail-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
}

.avail-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #999;
    animation: blink 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.25; }
}

.profile-card {
    background: #0d0d0d;
    border: 1px solid #1e1e1e;
    border-radius: 12px;
    padding: 24px 20px;
    text-align: center;
    width: 100%;
}

.profile-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: #181818;
    border: 2px solid #2a2a2a;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: rgba(255,255,255,0.35);
}

.profile-card .pc-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3px;
}

.profile-card .pc-role {
    font-size: 12px;
    color: rgba(255,255,255,0.38);
    margin-bottom: 16px;
}

.social-row {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-row a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #181818;
    border: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 13px;
    transition: border-color 0.2s, color 0.2s;
}

.social-row a:hover { border-color: rgba(255,255,255,0.5); color: rgba(255,255,255,0.8); }


/* ── SECTION COMMON ── */
.section-eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 700;
    color: #000;
    line-height: 1.15;
    margin-bottom: 10px;
}

.section-intro {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
}

/* ── PROJECTS ── */
#projects {
    padding: 60px 0;
    background: #f9f7f1;
}

.projects-header {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 12px;
}


.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 20px;
    row-gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .projects-grid { grid-template-columns: 1fr; }
}

.project-card {
    background: #fff;
    border: 1px solid #000;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    width: 290px;
}

.project-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.project-card--soon {
    border-style: dashed;
    opacity: 0.5;
    pointer-events: none;
}

.pc-tag--soon {
    background: #888 !important;
}

.pc-tag--label {
    background: #000;
    color: #fff;
    border: 1px solid #e0e0e0;
}

.pc-tags {
    display: flex;
    flex-wrap: wrap;
    column-gap: 6px;
}


.pc-img {
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: rgba(255,255,255,0.35);
    height: 150px;
    flex-shrink: 0;
}

/* Traffiq spinner on a card that isn't ready yet (styles from main.css) */
.pc-loading { position: relative; }

.traffic-spinner-neo.pc-spin {
    --neo-size: 90px;
    --neo-lane: #ccc;
    --neo-accent: #999;
    --neo-dot: #fff;
    --neo-dot-2: #ccc;
    --neo-dot-3: #ccc;
    margin: 0;
}

.pc-loading-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    animation: neo-pulse 1.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .pc-loading-label { animation: none; }
}

.pc-shot {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-shot--dark { display: none; }

.pc-shot--contain {
    box-sizing: border-box;
    padding: 16px;
    object-fit: contain;
}

.pc-shot--logo {
    box-sizing: border-box;
    padding: 16px;
    background: #fff;
    object-fit: contain;
}


.pc-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}

.pc-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #fff;
    background: #000;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    align-self: flex-start;
}

.pc-body h3 {
    font-size: 15px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin-bottom: 8px;
}

.pc-body p {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 14px;
    flex: 1;
}

.pc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.chip {
    background: rgba(0,0,0,0.06);
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11px;
    color: #555;
    font-weight: 500;
}

.project-card:focus-visible {
    outline: 2px solid #999;
    outline-offset: 3px;
}

/* Project pop-up */
.pm {
    width: calc(100% - 32px);
    max-width: 720px;
    max-height: 90vh;
    margin: auto;
    background: #fff;
    color: #333;
    border: 1px solid #000;
    border-radius: 8px;
    overflow: hidden;
}

.pm[open] {
    display: flex;
    flex-direction: column;
    animation: pm-in 0.25s ease;
}

.pm::backdrop {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

@keyframes pm-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.pm-close {
    position: absolute;
    top: 14px; right: 14px;
    width: 40px; height: 40px;
    font-size: 28px;
    line-height: 1;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    z-index: 1;
}

.pm-close:hover { color: #666; }

.pm-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 40px;
    text-align: left;
    outline: none;
}

.pm-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
    margin-bottom: 12px;
    padding-right: 32px;
}

.pm-summary {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
}

.pm-video {
    display: block;
    width: 100%;
    max-height: 360px;
    background: #000;
    border-radius: 8px;
    margin-bottom: 24px;
}

.pm-group-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
    margin: 28px 0 16px;
}

.pm-section { margin-bottom: 18px; }

.pm-section h3 {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}

.pm-section p {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
}

.pm-body .pc-chips {
    margin: 24px 0 0;
}

.pm-link {
    width: auto;
    padding: 12px 24px;
    margin-top: 20px;
}

/* Bottom sheet on phones */
@media (max-width: 580px) {
    .pm {
        width: 100%;
        max-width: 100%;
        margin: auto 0 0;
        border-width: 1px 0 0;
        border-radius: 20px 20px 0 0;
    }

    .pm[open] { animation-name: pm-sheet-in; }
    .pm-body { padding: 32px 24px; }
    .pm-title { font-size: 20px; }
}

@keyframes pm-sheet-in {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .pm[open] { animation: none; }
}


/* ── CONTACT ── */
#contact {
    padding: 60px 0 80px;
    background: #f9f7f1;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.contact-links .btn-outline {
    width: auto;
    text-transform: none;
}


/* ── ABOUT ── */
.about-header {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

#about {
    padding: 60px 0;
    background: #f9f7f1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    max-width: 1000px;
    width: 100%;
    margin: 28px auto 0;
    align-items: start;
    text-align: left;
}

.about-exp-col { order: 1; }
.about-skills-col { order: 2; }

@media (max-width: 800px) {
    .about-grid { grid-template-columns: 1fr; }
}

.skill-group-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: 9px;
}

/* Skills card grid */
.skills-block { margin-bottom: 26px; }
.skills-block:last-child { margin-bottom: 0; }

.skills-cat-title {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #000;
    padding-bottom: 4px;
    margin-bottom: 16px;
    border-bottom: 2px solid #999;
}

.skills-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

@media (max-width: 640px) {
    .skills-cat-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 480px) {
    .skills-cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 360px) {
    .skills-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    background: #fff;
    border: 1.5px solid #999;
    border-radius: 8px;
    padding: 10px 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.skill-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(153,153,153,0.25);
}

.skills-cat-grid--square {
    grid-template-columns: repeat(5, 90px);
}

.skills-cat-grid--square .skill-card {
    width: 90px;
    height: 90px;
    overflow: hidden;
}

@media (max-width: 640px) {
    .skills-cat-grid--square { grid-template-columns: repeat(4, 90px); }
}

@media (max-width: 480px) {
    .skills-cat-grid--square { grid-template-columns: repeat(3, 90px); }
}

@media (max-width: 360px) {
    .skills-cat-grid--square { grid-template-columns: repeat(2, 90px); }
}

.skill-card i {
    font-size: 22px;
    line-height: 1;
}

.skill-card span {
    font-size: 11px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
}

.skill-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.skill-icon-img--rounded {
    border-radius: 6px;
}

/* Larger icons for Programming Languages / Services & Platforms — card size unchanged */
.skills-cat-grid--lg-icons .skill-card i {
    font-size: 30px;
}

.skills-cat-grid--lg-icons .skill-icon-img {
    width: 32px;
    height: 32px;
}

/* Small Traffiq spinner beside a heading or date (styles from main.css) */
.traffic-spinner-neo.exp-spin {
    --neo-size: 18px;
    --neo-lane: #999;
    --neo-accent: #999;
    --neo-dot: #666;
    margin: -4px 0 -3px 6px;
}

/* Label fades between the skill name and "Loading" */
.skill-swap {
    display: grid;
    justify-items: center;
}

.skill-swap-name,
.skill-swap-loading {
    grid-area: 1 / 1;
}

.skill-swap-name { animation: skill-swap-name 6s ease-in-out infinite; }

.skill-swap-loading {
    opacity: 0;
    animation: skill-swap-loading 6s ease-in-out infinite;
}

@keyframes skill-swap-name {
    0%, 42%, 100% { opacity: 1; }
    50%, 92% { opacity: 0; }
}

@keyframes skill-swap-loading {
    0%, 42%, 100% { opacity: 0; }
    50%, 92% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .skill-swap-name,
    .skill-swap-loading { animation: none; }
}

/* Experience timeline */
.exp-timeline {
    border-left: 2px solid rgba(153,153,153,0.3);
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.exp-item { position: relative; }

.exp-item::before {
    content: '';
    position: absolute;
    left: -31px; top: 5px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #999;
    border: 2px solid #f9f7f1;
    box-shadow: 0 0 0 2px rgba(153,153,153,0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.exp-item:hover::before {
    transform: scale(1.6);
    box-shadow: 0 0 0 4px rgba(153,153,153,0.2), 0 0 14px rgba(153,153,153,0.35);
}

.exp-period {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 2px;
    transition: color 0.2s;
}

.exp-item:hover .exp-period { color: #000; }

.exp-role {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 1px;
}

.exp-org {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 6px;
}

.exp-org-link {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.exp-org-link:hover {
    color: #000;
}

.exp-desc {
    font-size: 13px;
    line-height: 1.65;
    color: #555;
}



/* ── FOOTER ── */
.pf-footer {
    background: #f9f7f1;
    border-top: 1px solid #e0ddd6;
    padding: 22px 0;
    font-size: 12px;
    color: #aaa;
}

.pf-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.pf-footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s;
}

.pf-footer a:hover { color: #000; }

/* ── ACCESSIBILITY ── */
#website-content.bold-font, #website-content.bold-font * { font-weight: bold; }
#website-content.dyslexia-font, #website-content.dyslexia-font * { font-family: 'OpenDyslexic', Arial, sans-serif !important; }
#website-content.high-contrast { background-color: #000 !important; color: #fff !important; }
#website-content.high-contrast a { color: #fff !important; }
#website-content.grayscale { filter: grayscale(100%); }
#website-content.monochrome { filter: contrast(0%) brightness(200%); }
#website-content.reading-guide { position: relative; box-shadow: 0 0 0 100vmax rgba(0,0,0,0.8) inset; }
#website-content.big-cursor, #website-content.big-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 40 40'%3E%3Cpath d='M10 3l3 24 5-5 5 10 4-2-5-10 7-1z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 0 0, auto !important; }
#website-content .highlight-title { background-color: yellow !important; }
#website-content .highlight-link { background-color: lightblue !important; }
#website-content.lh-boost { line-height: 1.75; }
#website-content.ls-boost { letter-spacing: 0.06em; }

/* ── THEME TOGGLE ── */
.pf-nav { min-height: 44px; }

.pf-theme-toggle {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2001;
}

.pf-active {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
}

.pf-mode {
    color: rgba(255,255,255,0.55);
}

.pf-toggle {
    position: relative;
    top: auto;
    right: auto;
    flex-shrink: 0;
    border-radius: 50%;
    display: block;
    height: 24px;
    width: 24px;
    overflow: hidden;
    transition: 0.5s all ease;
    cursor: pointer;
}

.pf-toggle::before {
    content: "";
    display: block;
    position: absolute;
}

.toggle-light.pf-toggle::before {
    animation-duration: 0.5s;
    animation-name: sun;
    background-color: rgba(255,255,255,0.6);
    border-radius: 50%;
    box-shadow: 10px 0 0 -3.5px rgba(255,255,255,0.6),
               -10px 0 0 -3.5px rgba(255,255,255,0.6),
                0 -10px 0 -3.5px rgba(255,255,255,0.6),
                0  10px 0 -3.5px rgba(255,255,255,0.6),
                7px -7px 0 -3.5px rgba(255,255,255,0.6),
                7px  7px 0 -3.5px rgba(255,255,255,0.6),
               -7px  7px 0 -3.5px rgba(255,255,255,0.6),
               -7px -7px 0 -3.5px rgba(255,255,255,0.6);
    height: 10px;
    left: 7px;
    top: 7px;
    width: 10px;
}

.toggle-light.pf-toggle:hover::before {
    background-color: #fff;
    box-shadow:  10px 0 0 -3.5px #fff,
                -10px 0 0 -3.5px #fff,
                 0 -10px 0 -3.5px #fff,
                 0  10px 0 -3.5px #fff,
                 7px -7px 0 -3.5px #fff,
                 7px  7px 0 -3.5px #fff,
                -7px  7px 0 -3.5px #fff,
                -7px -7px 0 -3.5px #fff;
}

.toggle-dark.pf-toggle::before {
    animation-duration: .5s;
    animation-name: moon;
    background-color: var(--dark-shade);
    border-radius: 50%;
    height: 20px;
    left: 2px;
    top: 2px;
    width: 20px;
    z-index: 1;
}

.toggle-dark.pf-toggle::after {
    animation-duration: .5s;
    animation-name: moon-shadow;
    background: #111;
    border-radius: 50%;
    content: "";
    display: block;
    height: 20px;
    left: 8px;
    position: absolute;
    top: -5px;
    width: 20px;
    z-index: 2;
}

/* ── DARK MODE ── */
body.theme-dark { background-color: #111; color: #ccc; }

body.theme-dark #home,
body.theme-dark #projects,
body.theme-dark #about,
body.theme-dark #contact,
body.theme-dark .edu-strip { background: #111; }

body.theme-dark #home { border-bottom-color: #222; }

body.theme-dark .hero-name,
body.theme-dark .section-title,
body.theme-dark .pc-body h3,
body.theme-dark .edu-card h3,
body.theme-dark .exp-role { color: #fff; }

body.theme-dark .hero-title,
body.theme-dark .section-intro,
body.theme-dark .pc-body p,
body.theme-dark .exp-desc { color: #888; }

body.theme-dark .exp-org { color: #666; }
body.theme-dark .exp-period { color: #999; }
body.theme-dark .exp-item:hover .exp-period { color: #fff; }
body.theme-dark .exp-item::before { background: #ccc; }

body.theme-dark .hero-title-link { color: #888; }
body.theme-dark .hero-title-link:hover { color: #fff; }

body.theme-dark .exp-org-link {
    color: #999;
}

body.theme-dark .exp-org-link:hover {
    color: #fff;
}

body.theme-dark .project-card {
    background: #1a1a1a;
    border-color: #2e2e2e;
}

body.theme-dark .project-card:hover {
    box-shadow: 0 10px 32px rgba(0,0,0,0.4);
}

body.theme-dark .pc-shot--light { display: none; }
body.theme-dark .pc-shot--dark { display: block; }

body.theme-dark .chip {
    background: rgba(255,255,255,0.08);
    color: #ccc;
}

body.theme-dark .pm {
    background: #1a1a1a;
    color: #ccc;
    border-color: #2e2e2e;
}

body.theme-dark .pm-close,
body.theme-dark .pm-title,
body.theme-dark .pm-section h3 { color: #fff; }

body.theme-dark .pm-close:hover { color: #999; }

body.theme-dark .pm-summary,
body.theme-dark .pm-section p { color: #999; }

body.theme-dark .pm-group-title { color: #ccc; }

body.theme-dark .skills-cat-title {
    color: #fff;
    border-bottom-color: #ccc;
}

body.theme-dark .skill-card {
    background: #1a1a1a;
}

body.theme-dark .skill-card span {
    color: #ccc;
}

body.theme-dark .traffic-spinner-neo.exp-spin {
    --neo-lane: #ccc;
    --neo-accent: #ccc;
    --neo-dot: #fff;
}

body.theme-dark .skill-icon-img--invert-dark {
    filter: invert(1);
}

body.theme-dark .edu-card {
    background: #1a1a1a;
    border-color: #2e2e2e;
}

body.theme-dark .edu-card p { color: #777; }

body.theme-dark .pf-footer {
    background: #111;
    border-top-color: #222;
    color: #555;
}

body.theme-dark .pf-footer a { color: #555; }
body.theme-dark .pf-footer a:hover { color: #ccc; }