mirror of
https://github.com/mudabbir-ahmad/Portfolio_V1.git
synced 2026-12-06 19:53:09 +00:00
1352 lines
23 KiB
CSS
1352 lines
23 KiB
CSS
@layer theme, base, components, utilities;
|
|
@import "tailwindcss/theme" layer(theme);
|
|
@import "tailwindcss/utilities" layer(utilities);
|
|
|
|
@theme inline {
|
|
--color-paper: var(--bg);
|
|
--color-paper-alt: var(--bg-alt);
|
|
--color-surface: var(--surface);
|
|
--color-ink: var(--ink);
|
|
--color-ink-soft: var(--ink-soft);
|
|
--color-muted: var(--muted);
|
|
--color-hairline: var(--hairline);
|
|
--color-hairline-strong: var(--hairline-strong);
|
|
--color-accent: var(--accent);
|
|
--color-accent-dark: var(--accent-dark);
|
|
--color-accent-tint: var(--accent-tint);
|
|
--color-panel: var(--panel);
|
|
--font-display: var(--font-display);
|
|
--font-text: var(--font-text);
|
|
}
|
|
|
|
:root {
|
|
/* light theme (default) — Anthropic cream / orange */
|
|
--bg: #f5f2ea;
|
|
--bg-alt: #ece7da;
|
|
--surface: #fbfaf6;
|
|
--ink: #1c1a16;
|
|
--ink-soft: #56524a;
|
|
--muted: #8b8474;
|
|
--hairline: #e1dccd;
|
|
--hairline-strong: #cbc4b0;
|
|
--accent: #d97757;
|
|
--accent-dark: #c25f3f;
|
|
--accent-tint: #f4e4d8;
|
|
--accent-contrast: #ffffff;
|
|
--status-open: #2e7d4f;
|
|
/* always-dark panel (contact section) */
|
|
--panel: #211e19;
|
|
--panel-ink: #f4f1ea;
|
|
--panel-muted: #a39b8a;
|
|
/* contribution cells (light) */
|
|
--pt-empty: #eae4d5;
|
|
--pt-l1: #ecd9c4;
|
|
--pt-l2: #dfb28f;
|
|
--pt-l3: #d97757;
|
|
--pt-l4: #a84e31;
|
|
|
|
--font-display: "Helvetica Now Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
--font-text: "Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
|
|
--container: 1200px;
|
|
--radius: 14px;
|
|
}
|
|
|
|
[data-theme="dark"] {
|
|
--bg: #131118;
|
|
--bg-alt: #191624;
|
|
--surface: #1b1826;
|
|
--ink: #eceaf4;
|
|
--ink-soft: #b6b1c9;
|
|
--muted: #87829a;
|
|
--hairline: #2a2639;
|
|
--hairline-strong: #3a3550;
|
|
--accent: #a78bfa;
|
|
--accent-dark: #9270e8;
|
|
--accent-tint: #2c2547;
|
|
--accent-contrast: #161320;
|
|
--status-open: #54c98a;
|
|
--panel: #0d0b13;
|
|
--panel-ink: #eceaf4;
|
|
--panel-muted: #8f8aa5;
|
|
--pt-empty: #211d30;
|
|
--pt-l1: #e0d6f2;
|
|
--pt-l2: #c6b2e8;
|
|
--pt-l3: #a184d6;
|
|
--pt-l4: #7050bd;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
scroll-padding-top: 88px;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
background: var(--bg);
|
|
color: var(--ink);
|
|
font-family: var(--font-text);
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
-webkit-font-smoothing: antialiased;
|
|
text-rendering: optimizeLegibility;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--accent-tint);
|
|
color: var(--ink);
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
font-family: var(--font-display);
|
|
margin: 0;
|
|
}
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
.container {
|
|
max-width: var(--container);
|
|
margin-inline: auto;
|
|
padding-inline: 24px;
|
|
}
|
|
|
|
/* ---------- shared section chrome ---------- */
|
|
|
|
.section {
|
|
padding-block: 96px;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: clamp(1.75rem, 3vw, 2.375rem);
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.section-lede {
|
|
margin-top: 16px;
|
|
max-width: 62ch;
|
|
color: var(--ink-soft);
|
|
font-size: 17px;
|
|
}
|
|
|
|
.eyebrow {
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.14em;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--accent-dark);
|
|
margin: 0 0 20px;
|
|
}
|
|
|
|
.eyebrow--light {
|
|
color: var(--panel-muted);
|
|
}
|
|
|
|
/* ---------- buttons ---------- */
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 13px 26px;
|
|
border-radius: 999px;
|
|
font-family: var(--font-text);
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.01em;
|
|
text-decoration: none;
|
|
border: 1px solid transparent;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--ink);
|
|
color: var(--bg);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--accent-dark);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
border-color: var(--hairline-strong);
|
|
color: var(--ink);
|
|
}
|
|
|
|
.btn-outline:hover {
|
|
border-color: var(--ink);
|
|
background: var(--bg-alt);
|
|
}
|
|
|
|
.btn-outline-light {
|
|
background: transparent;
|
|
border-color: color-mix(in srgb, var(--panel-ink) 35%, transparent);
|
|
color: var(--panel-ink);
|
|
}
|
|
|
|
.btn-outline-light:hover {
|
|
border-color: var(--panel-ink);
|
|
background: color-mix(in srgb, var(--panel-ink) 8%, transparent);
|
|
}
|
|
|
|
.btn-sm {
|
|
padding: 9px 18px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* ---------- nav ---------- */
|
|
|
|
.nav {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
background: color-mix(in srgb, var(--bg) 86%, transparent);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--hairline);
|
|
}
|
|
|
|
.nav-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 24px;
|
|
height: 64px;
|
|
}
|
|
|
|
.nav-wordmark {
|
|
font-family: var(--font-display);
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.nav-dot {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 28px;
|
|
}
|
|
|
|
.nav-link {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--ink-soft);
|
|
text-decoration: none;
|
|
transition: color 0.15s ease;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--ink);
|
|
}
|
|
|
|
.nav-toggle {
|
|
display: none;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 6px;
|
|
width: 42px;
|
|
height: 38px;
|
|
margin-left: auto;
|
|
padding: 0;
|
|
background: none;
|
|
border: 1px solid var(--hairline);
|
|
border-radius: 999px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nav-toggle-bar {
|
|
width: 18px;
|
|
height: 2px;
|
|
border-radius: 2px;
|
|
background: var(--ink);
|
|
transition: transform 0.15s ease;
|
|
}
|
|
|
|
.theme-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
padding: 0;
|
|
background: none;
|
|
border: 1px solid var(--hairline-strong);
|
|
border-radius: 999px;
|
|
color: var(--ink-soft);
|
|
cursor: pointer;
|
|
transition: color 0.15s ease, border-color 0.15s ease;
|
|
}
|
|
|
|
.theme-toggle:hover {
|
|
color: var(--ink);
|
|
border-color: var(--ink);
|
|
}
|
|
|
|
/* ---------- hero ---------- */
|
|
|
|
.hero {
|
|
padding: 140px 0 120px;
|
|
}
|
|
|
|
.hero-name {
|
|
font-size: clamp(3.5rem, 9vw, 6rem);
|
|
font-weight: 700;
|
|
letter-spacing: -0.03em;
|
|
line-height: 1.02;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.accent {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.hero-tagline {
|
|
margin-top: 28px;
|
|
max-width: 58ch;
|
|
font-size: 20px;
|
|
line-height: 1.55;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.hero-availability {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-top: 24px;
|
|
padding: 8px 16px;
|
|
background: var(--accent-tint);
|
|
border-radius: 999px;
|
|
font-size: 13.5px;
|
|
font-weight: 600;
|
|
color: var(--accent-dark);
|
|
}
|
|
|
|
.availability-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--status-open);
|
|
animation: availability-pulse 2.4s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes availability-pulse {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.45; transform: scale(0.8); }
|
|
}
|
|
|
|
.hero-education {
|
|
margin-top: 20px;
|
|
font-size: 15px;
|
|
color: var(--muted);
|
|
letter-spacing: 0.01em;
|
|
}
|
|
|
|
.hero-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
/* ---------- stats strip ---------- */
|
|
|
|
.stats {
|
|
border-top: 1px solid var(--hairline);
|
|
background: var(--bg-alt);
|
|
}
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 24px;
|
|
padding-block: 36px;
|
|
}
|
|
|
|
.stat {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.stat-value {
|
|
font-family: var(--font-display);
|
|
font-size: 30px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
line-height: 1;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 13.5px;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
/* ---------- about ---------- */
|
|
|
|
.about {
|
|
border-top: 1px solid var(--hairline);
|
|
}
|
|
|
|
.about-grid {
|
|
display: grid;
|
|
grid-template-columns: 260px 1fr;
|
|
gap: 56px;
|
|
align-items: start;
|
|
}
|
|
|
|
.about-body p {
|
|
max-width: 58ch;
|
|
font-size: 17px;
|
|
line-height: 1.65;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.about-body p + p {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.edu-card {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-top: 36px;
|
|
max-width: 58ch;
|
|
background: var(--surface);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: var(--radius);
|
|
padding: 20px 24px;
|
|
}
|
|
|
|
.edu-card h3 {
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.edu-card p {
|
|
margin-top: 4px;
|
|
max-width: none;
|
|
font-size: 14px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.badge {
|
|
flex-shrink: 0;
|
|
background: var(--accent-tint);
|
|
color: var(--accent-dark);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
padding: 6px 14px;
|
|
border-radius: 999px;
|
|
}
|
|
|
|
/* ---------- experience ---------- */
|
|
|
|
.timeline {
|
|
list-style: none;
|
|
margin: 48px 0 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.timeline-item {
|
|
display: grid;
|
|
grid-template-columns: 190px 1fr;
|
|
gap: 40px;
|
|
border-top: 1px solid var(--hairline);
|
|
padding-block: 28px;
|
|
}
|
|
|
|
.timeline-item:last-child {
|
|
border-bottom: 1px solid var(--hairline);
|
|
}
|
|
|
|
.timeline-period {
|
|
font-size: 13.5px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
padding-top: 4px;
|
|
}
|
|
|
|
.timeline-body h3 {
|
|
font-size: 19px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.015em;
|
|
}
|
|
|
|
.timeline-org {
|
|
margin-top: 6px;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--accent-dark);
|
|
}
|
|
|
|
.timeline-detail {
|
|
margin-top: 10px;
|
|
max-width: 62ch;
|
|
font-size: 15px;
|
|
line-height: 1.6;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
/* ---------- projects ---------- */
|
|
|
|
.projects {
|
|
border-top: 1px solid var(--hairline);
|
|
}
|
|
|
|
.project-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
margin-top: 48px;
|
|
}
|
|
|
|
.project-card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: var(--radius);
|
|
padding: 28px;
|
|
transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.project-card:hover {
|
|
border-color: var(--hairline-strong);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 28px rgba(20, 20, 19, 0.06);
|
|
}
|
|
|
|
.project-card--highlight {
|
|
background: var(--accent-tint);
|
|
border-color: var(--hairline-strong);
|
|
}
|
|
|
|
.project-card {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.project-card:focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.project-hint {
|
|
display: block;
|
|
margin-top: 16px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--muted);
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.project-card:hover .project-hint,
|
|
.project-card:focus-visible .project-hint {
|
|
color: var(--accent-dark);
|
|
}
|
|
|
|
.project-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.project-card h3 {
|
|
font-size: 19px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.015em;
|
|
}
|
|
|
|
.project-year {
|
|
flex-shrink: 0;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
color: var(--muted);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: 999px;
|
|
padding: 3px 10px;
|
|
}
|
|
|
|
.project-card .project-role {
|
|
margin-top: 8px;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.project-features {
|
|
list-style: none;
|
|
margin: 16px 0 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.project-features li {
|
|
position: relative;
|
|
padding-left: 20px;
|
|
font-size: 14.5px;
|
|
line-height: 1.55;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.project-features li + li {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.project-features li::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 2px;
|
|
top: 0.62em;
|
|
width: 8px;
|
|
height: 2px;
|
|
background: var(--accent);
|
|
}
|
|
|
|
.project-foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-top: 24px;
|
|
padding-top: 18px;
|
|
border-top: 1px solid var(--hairline);
|
|
}
|
|
|
|
.project-foot .project-tags {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.project-link {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--accent-dark);
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.project-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.project-card p {
|
|
margin-top: 12px;
|
|
font-size: 15px;
|
|
line-height: 1.6;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.project-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.tag {
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
color: var(--ink-soft);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: 999px;
|
|
padding: 4px 12px;
|
|
}
|
|
|
|
.tag--private {
|
|
color: var(--accent);
|
|
border-color: var(--hairline-strong);
|
|
background: var(--accent-tint);
|
|
}
|
|
|
|
/* ---------- project detail modal ---------- */
|
|
|
|
.pm-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 60;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 24px;
|
|
background: rgba(19, 17, 24, 0.55);
|
|
backdrop-filter: blur(6px);
|
|
}
|
|
|
|
.pm-panel {
|
|
position: relative;
|
|
width: min(780px, 100%);
|
|
max-height: min(85vh, 900px);
|
|
overflow-y: auto;
|
|
background: var(--surface);
|
|
border: 1px solid var(--hairline-strong);
|
|
border-radius: var(--radius);
|
|
box-shadow: 0 24px 64px rgba(19, 17, 24, 0.28);
|
|
}
|
|
|
|
.pm-close {
|
|
position: absolute;
|
|
top: 14px;
|
|
right: 14px;
|
|
z-index: 1;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--ink-soft);
|
|
background: var(--surface);
|
|
border: 1px solid var(--hairline-strong);
|
|
border-radius: 999px;
|
|
padding: 7px 14px;
|
|
cursor: pointer;
|
|
transition: color 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.pm-close:hover {
|
|
color: var(--ink);
|
|
border-color: var(--muted);
|
|
}
|
|
|
|
.pm-close:focus-visible {
|
|
outline: 2px solid var(--accent);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
.pm-image {
|
|
display: block;
|
|
width: 100%;
|
|
aspect-ratio: 8 / 5;
|
|
object-fit: cover;
|
|
border-bottom: 1px solid var(--hairline);
|
|
}
|
|
|
|
.pm-body {
|
|
padding: 28px 32px 32px;
|
|
}
|
|
|
|
.pm-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.pm-head h3 {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.015em;
|
|
}
|
|
|
|
.pm-detail {
|
|
margin-top: 14px;
|
|
font-size: 15.5px;
|
|
line-height: 1.65;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.pm-foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-top: 26px;
|
|
padding-top: 18px;
|
|
border-top: 1px solid var(--hairline);
|
|
}
|
|
|
|
.pm-foot .project-tags {
|
|
margin-top: 0;
|
|
}
|
|
|
|
/* ---------- push tracker ---------- */
|
|
|
|
.push-tracker {
|
|
border-top: 1px solid var(--hairline);
|
|
}
|
|
|
|
.pt-card {
|
|
margin-top: 48px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: var(--radius);
|
|
padding: 28px;
|
|
}
|
|
|
|
.pt-scroll {
|
|
overflow-x: auto;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.pt-grid {
|
|
display: flex;
|
|
gap: 3px;
|
|
}
|
|
|
|
.pt-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
}
|
|
|
|
.pt-cell {
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 3px;
|
|
background: var(--pt-empty);
|
|
}
|
|
|
|
.pt-cell.l1 {
|
|
background: var(--pt-l1);
|
|
}
|
|
|
|
.pt-cell.l2 {
|
|
background: var(--pt-l2);
|
|
}
|
|
|
|
.pt-cell.l3 {
|
|
background: var(--pt-l3);
|
|
}
|
|
|
|
.pt-cell.l4 {
|
|
background: var(--pt-l4);
|
|
}
|
|
|
|
.pt-note {
|
|
color: var(--muted);
|
|
font-size: 15px;
|
|
padding: 24px 0;
|
|
}
|
|
|
|
.pt-foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-top: 18px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.pt-stats {
|
|
color: var(--ink-soft);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.pt-legend {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* ---------- github ---------- */
|
|
|
|
.github {
|
|
border-top: 1px solid var(--hairline);
|
|
background: var(--bg-alt);
|
|
}
|
|
|
|
.repo-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
margin-top: 48px;
|
|
}
|
|
|
|
.repo-card {
|
|
display: block;
|
|
background: var(--surface);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: var(--radius);
|
|
padding: 26px 28px;
|
|
text-decoration: none;
|
|
transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
|
|
.repo-card:hover {
|
|
border-color: var(--hairline-strong);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 28px rgba(20, 20, 19, 0.06);
|
|
}
|
|
|
|
.repo-card h3 {
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.01em;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.repo-card p {
|
|
margin-top: 10px;
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
.repo-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 18px;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.repo-lang {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
|
|
.dot {
|
|
width: 9px;
|
|
height: 9px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
}
|
|
|
|
.repo-lang-icon {
|
|
width: 13px;
|
|
height: 13px;
|
|
flex: none;
|
|
}
|
|
|
|
/* ---------- skills carousel ---------- */
|
|
|
|
.skills {
|
|
border-top: 1px solid var(--hairline);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.marquee-block {
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.marquee-label {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.14em;
|
|
color: var(--muted);
|
|
padding-inline: 24px;
|
|
}
|
|
|
|
.marquee {
|
|
overflow: hidden;
|
|
margin-top: 16px;
|
|
mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
|
|
-webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
|
|
}
|
|
|
|
.marquee-track {
|
|
display: flex;
|
|
width: max-content;
|
|
animation: marquee-scroll var(--marquee-duration, 34s) linear infinite;
|
|
}
|
|
|
|
.marquee:hover .marquee-track {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
.marquee-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
padding-right: 16px;
|
|
font-size: 15.5px;
|
|
font-weight: 500;
|
|
color: var(--ink);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.marquee-icon {
|
|
width: 17px;
|
|
height: 17px;
|
|
flex: none;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.marquee-sep {
|
|
margin-left: 14px;
|
|
font-size: 14px;
|
|
color: var(--hairline-strong);
|
|
}
|
|
|
|
@keyframes marquee-scroll {
|
|
from {
|
|
transform: translateX(0);
|
|
}
|
|
to {
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|
|
|
|
/* ---------- language proficiency panel ---------- */
|
|
|
|
.lang-panel {
|
|
margin-top: 44px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: var(--radius);
|
|
padding: 26px 28px 28px;
|
|
}
|
|
|
|
.lang-panel-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.lang-panel-title {
|
|
font-size: 17px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.lang-panel-sub {
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.lang-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(120px, 190px) 1fr 46px;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 7.5px 0;
|
|
}
|
|
|
|
.lang-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-size: 14.5px;
|
|
font-weight: 500;
|
|
min-width: 0;
|
|
}
|
|
|
|
.lang-icon {
|
|
width: 16px;
|
|
height: 16px;
|
|
flex: none;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.lang-bar-track {
|
|
height: 7px;
|
|
background: var(--bg-alt);
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.lang-bar-fill {
|
|
height: 100%;
|
|
background: var(--accent);
|
|
border-radius: 999px;
|
|
transition: width 900ms cubic-bezier(0.22, 1, 0.36, 1);
|
|
}
|
|
|
|
.lang-pct {
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
text-align: right;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.lang-note {
|
|
margin-top: 14px;
|
|
font-size: 12.5px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
/* ---------- interests ---------- */
|
|
|
|
.interest-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
margin-top: 48px;
|
|
}
|
|
|
|
.interest-card {
|
|
background: var(--surface);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: var(--radius);
|
|
padding: 24px 26px;
|
|
}
|
|
|
|
.interest-card h3 {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.interest-card p {
|
|
margin-top: 8px;
|
|
font-size: 14.5px;
|
|
line-height: 1.55;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
/* ---------- homelab ---------- */
|
|
|
|
.homelab-grid {
|
|
list-style: none;
|
|
margin: 48px 0 0;
|
|
padding: 0;
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
column-gap: 56px;
|
|
}
|
|
|
|
.homelab-item {
|
|
border-top: 1px solid var(--hairline);
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.homelab-item h3 {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.homelab-item p {
|
|
margin-top: 4px;
|
|
font-size: 14px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.local-ai {
|
|
margin-top: 80px;
|
|
background: var(--bg-alt);
|
|
border-radius: 16px;
|
|
padding: 52px;
|
|
}
|
|
|
|
.local-ai p {
|
|
margin-top: 20px;
|
|
max-width: 62ch;
|
|
font-size: 17px;
|
|
line-height: 1.65;
|
|
color: var(--ink-soft);
|
|
}
|
|
|
|
/* ---------- contact / footer ---------- */
|
|
|
|
.contact {
|
|
background: var(--panel);
|
|
color: var(--panel-ink);
|
|
padding-top: 120px;
|
|
}
|
|
|
|
.contact-title {
|
|
font-size: clamp(2.5rem, 6vw, 4rem);
|
|
font-weight: 700;
|
|
letter-spacing: -0.03em;
|
|
line-height: 1.05;
|
|
}
|
|
|
|
.contact-lede {
|
|
margin-top: 20px;
|
|
max-width: 55ch;
|
|
font-size: 17px;
|
|
color: var(--panel-muted);
|
|
}
|
|
|
|
.contact-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.contact .btn-primary {
|
|
background: var(--accent);
|
|
color: var(--accent-contrast);
|
|
}
|
|
|
|
.contact .btn-primary:hover {
|
|
background: var(--accent-dark);
|
|
}
|
|
|
|
.footer-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
margin-top: 96px;
|
|
padding-block: 28px;
|
|
border-top: 1px solid color-mix(in srgb, var(--panel-ink) 12%, transparent);
|
|
font-size: 13px;
|
|
color: var(--panel-muted);
|
|
}
|
|
|
|
/* ---------- custom cursor ---------- */
|
|
|
|
.cursor-dot {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 9999;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.cursor-dot span {
|
|
display: block;
|
|
width: 8px;
|
|
height: 8px;
|
|
margin: -4px 0 0 -4px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
transform: translate3d(-100px, -100px, 0);
|
|
will-change: transform;
|
|
}
|
|
|
|
html.has-custom-cursor,
|
|
html.has-custom-cursor * {
|
|
cursor: none !important;
|
|
}
|
|
/* ---------- wide screens ---------- */
|
|
|
|
@media (min-width: 1560px) {
|
|
:root {
|
|
--container: 1320px;
|
|
}
|
|
|
|
.project-grid,
|
|
.repo-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
|
|
.homelab-grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
column-gap: 40px;
|
|
}
|
|
|
|
.interest-grid {
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
}
|
|
|
|
/* ---------- responsive ---------- */
|
|
|
|
@media (max-width: 840px) {
|
|
.nav-toggle {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.nav-toggle--open .nav-toggle-bar:first-child {
|
|
transform: translateY(4px) rotate(45deg);
|
|
}
|
|
|
|
.nav-toggle--open .nav-toggle-bar:last-child {
|
|
transform: translateY(-4px) rotate(-45deg);
|
|
}
|
|
|
|
.nav-links {
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 12px 24px 20px;
|
|
background: var(--bg);
|
|
border-bottom: 1px solid var(--hairline);
|
|
box-shadow: 0 20px 32px rgba(20, 20, 19, 0.08);
|
|
}
|
|
|
|
.nav-links--open {
|
|
display: flex;
|
|
}
|
|
|
|
.nav-link {
|
|
padding: 10px 2px;
|
|
font-size: 15px;
|
|
}
|
|
|
|
.hero {
|
|
padding: 96px 0 80px;
|
|
}
|
|
|
|
.section {
|
|
padding-block: 72px;
|
|
}
|
|
|
|
.about-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 32px;
|
|
}
|
|
|
|
.project-grid,
|
|
.repo-grid,
|
|
.homelab-grid {
|
|
grid-template-columns: 1fr;
|
|
column-gap: 0;
|
|
}
|
|
|
|
.local-ai {
|
|
padding: 36px 28px;
|
|
}
|
|
|
|
.contact {
|
|
padding-top: 88px;
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 20px;
|
|
}
|
|
|
|
.timeline-item {
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
padding-block: 24px;
|
|
}
|
|
|
|
.timeline-period {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.interest-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
/* ---------- reduced motion ---------- */
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html {
|
|
scroll-behavior: auto;
|
|
}
|
|
|
|
.marquee-track {
|
|
animation: none;
|
|
}
|
|
|
|
.availability-dot {
|
|
animation: none;
|
|
}
|
|
}
|