1113 lines
20 KiB
CSS
1113 lines
20 KiB
CSS
@font-face {
|
|
font-family: 'Geist';
|
|
font-style: normal;
|
|
font-weight: 100 900;
|
|
font-display: swap;
|
|
src: url('fonts/geist-variable.ttf') format('truetype');
|
|
}
|
|
|
|
/* ─── Catppuccin Mocha ─────────────────────────────────── */
|
|
:root {
|
|
--font-body: 'Geist', system-ui, sans-serif;
|
|
--font-mono: 'JetBrains Mono', monospace;
|
|
--base: #1e1e2e;
|
|
--mantle: #181825;
|
|
--crust: #11111b;
|
|
--surface0: #313244;
|
|
--surface1: #45475a;
|
|
--surface2: #585b70;
|
|
--overlay0: #6c7086;
|
|
--overlay1: #7f849c;
|
|
--overlay2: #9399b2;
|
|
--text: #cdd6f4;
|
|
--subtext0: #a6adc8;
|
|
--subtext1: #bac2de;
|
|
--lavender: #b4befe;
|
|
--blue: #89b4fa;
|
|
--sapphire: #74c7ec;
|
|
--sky: #89dceb;
|
|
--teal: #94e2d5;
|
|
--green: #a6e3a1;
|
|
--yellow: #f9e2af;
|
|
--peach: #fab387;
|
|
--maroon: #eba0ac;
|
|
--red: #f38ba8;
|
|
--mauve: #cba6f7;
|
|
--pink: #f5c2e7;
|
|
--flamingo: #f2cdcd;
|
|
--rosewater: #f5e0dc;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
body {
|
|
background: var(--base);
|
|
color: var(--text);
|
|
font-family: var(--font-body);
|
|
font-size: 16px;
|
|
line-height: 1.7;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-links,
|
|
.mobile-nav-links,
|
|
.v-year,
|
|
.v-current-badge,
|
|
.tag,
|
|
.card-date,
|
|
.project-status,
|
|
.card-source,
|
|
.card-action,
|
|
.project-count,
|
|
footer {
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
::selection {
|
|
background: var(--mauve);
|
|
color: var(--crust);
|
|
}
|
|
|
|
:focus-visible {
|
|
outline: 2px solid var(--mauve);
|
|
outline-offset: 4px;
|
|
}
|
|
|
|
.skip-link {
|
|
position: fixed;
|
|
top: 0.75rem;
|
|
left: 50%;
|
|
z-index: 200;
|
|
padding: 0.6rem 1rem;
|
|
border-radius: 4px;
|
|
background: var(--mauve);
|
|
color: var(--crust);
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
transform: translate(-50%, -200%);
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.skip-link:focus {
|
|
transform: translate(-50%, 0);
|
|
}
|
|
|
|
/* ─── Scrollbar ────────────────────────────────────────── */
|
|
::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: var(--mantle);
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--surface1);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: var(--mauve);
|
|
}
|
|
|
|
/* ─── Nav ──────────────────────────────────────────────── */
|
|
nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 100;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 3rem;
|
|
height: 56px;
|
|
background: rgba(17, 17, 27, 0.85);
|
|
backdrop-filter: blur(12px);
|
|
border-bottom: 1px solid var(--surface0);
|
|
}
|
|
|
|
.nav-logo {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 44px;
|
|
font-family: 'Fraunces', serif;
|
|
font-size: 1.3rem;
|
|
color: var(--mauve);
|
|
text-decoration: none;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2.5rem;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-links a,
|
|
.mobile-nav-links a {
|
|
display: flex;
|
|
align-items: center;
|
|
min-height: 44px;
|
|
color: var(--subtext0);
|
|
text-decoration: none;
|
|
font-size: 0.78rem;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
text-decoration: underline;
|
|
text-decoration-color: transparent;
|
|
text-underline-offset: 0.3em;
|
|
transition:
|
|
color 0.2s,
|
|
text-decoration-color 0.2s;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-links a:hover,
|
|
.nav-links a:focus-visible,
|
|
.mobile-nav-links a:hover,
|
|
.mobile-nav-links a:focus-visible {
|
|
color: var(--mauve);
|
|
text-decoration-color: currentColor;
|
|
}
|
|
|
|
.nav-links a.is-active,
|
|
.mobile-nav-links a.is-active {
|
|
color: var(--mauve);
|
|
}
|
|
|
|
.nav-menu {
|
|
display: none;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-menu summary {
|
|
min-height: 44px;
|
|
padding: 0.5rem 0.75rem;
|
|
color: var(--text);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.mobile-nav-links {
|
|
position: absolute;
|
|
top: calc(100% + 6px);
|
|
right: 0;
|
|
width: 180px;
|
|
padding: 0.5rem 1rem;
|
|
background: var(--mantle);
|
|
border: 1px solid var(--surface1);
|
|
border-radius: 8px;
|
|
list-style: none;
|
|
}
|
|
|
|
/* ─── Sections ─────────────────────────────────────────── */
|
|
section {
|
|
padding: clamp(4rem, 7vw, 6rem) 3rem;
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
scroll-margin-top: 56px;
|
|
}
|
|
|
|
section.full-width {
|
|
max-width: none;
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
|
|
/* ─── Hero ─────────────────────────────────────────────── */
|
|
#hero {
|
|
padding-top: 6rem;
|
|
padding-bottom: clamp(3rem, 6vw, 5rem);
|
|
}
|
|
|
|
.hero-copy {
|
|
min-width: 0;
|
|
max-width: 750px;
|
|
}
|
|
|
|
.hero-name {
|
|
font-family: 'Fraunces', serif;
|
|
font-size: clamp(3rem, 6vw, 5rem);
|
|
font-weight: 600;
|
|
line-height: 1.1;
|
|
padding-bottom: 0.1em;
|
|
color: var(--text);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.hero-name em {
|
|
font-style: italic;
|
|
color: var(--mauve);
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: clamp(1.2rem, 2vw, 1.5rem);
|
|
font-weight: 500;
|
|
letter-spacing: -0.025em;
|
|
color: var(--subtext1);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.hero-desc {
|
|
max-width: 560px;
|
|
color: var(--subtext0);
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.hero-links {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 44px;
|
|
gap: 0.5rem;
|
|
padding: 0.6rem 1.4rem;
|
|
border-radius: 4px;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.78rem;
|
|
letter-spacing: 0.05em;
|
|
text-decoration: none;
|
|
transition: all 0.2s;
|
|
cursor: pointer;
|
|
border: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--mauve);
|
|
color: var(--crust);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background: var(--mauve);
|
|
filter: brightness(1.05);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-ghost {
|
|
background: transparent;
|
|
color: var(--text);
|
|
border: 1px solid var(--surface1);
|
|
}
|
|
|
|
.btn-ghost:hover {
|
|
border-color: var(--mauve);
|
|
color: var(--mauve);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn:active,
|
|
.filter-chip:active,
|
|
.projects-more-btn:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
/* ─── About ────────────────────────────────────────────── */
|
|
.about-lead {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 176px;
|
|
align-items: center;
|
|
gap: 3rem;
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.about-portrait {
|
|
grid-column: 2;
|
|
grid-row: 1;
|
|
display: block;
|
|
width: 176px;
|
|
height: auto;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.about-intro {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
max-width: 60ch;
|
|
font-size: 1.1rem;
|
|
color: var(--subtext1);
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.about-columns {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 4rem;
|
|
margin-top: 3rem;
|
|
align-items: start;
|
|
}
|
|
|
|
.about-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.75rem;
|
|
}
|
|
|
|
.about-block h3,
|
|
.about-subheading {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 0.4rem;
|
|
}
|
|
|
|
.about-block p {
|
|
color: var(--subtext0);
|
|
font-size: 1rem;
|
|
line-height: 1.75;
|
|
}
|
|
|
|
.about-block p strong {
|
|
color: var(--text);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.about-block p em {
|
|
color: var(--mauve);
|
|
font-style: italic;
|
|
}
|
|
|
|
.about-block p s {
|
|
color: var(--overlay1);
|
|
}
|
|
|
|
.version-timeline {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.version-timeline::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0.65rem;
|
|
top: 0.5rem;
|
|
bottom: 0.5rem;
|
|
width: 1px;
|
|
background: var(--surface1);
|
|
}
|
|
|
|
.version-item {
|
|
display: flex;
|
|
gap: 1.25rem;
|
|
padding: 1rem 0;
|
|
position: relative;
|
|
}
|
|
|
|
.v-dot {
|
|
width: 1.3rem;
|
|
height: 1.3rem;
|
|
border-radius: 50%;
|
|
background: var(--surface0);
|
|
border: 2px solid var(--surface1);
|
|
flex-shrink: 0;
|
|
margin-top: 0.15rem;
|
|
transition:
|
|
border-color 0.2s,
|
|
background 0.2s;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.v-title {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
margin-bottom: 0.15rem;
|
|
text-decoration: underline;
|
|
text-decoration-color: transparent;
|
|
text-underline-offset: 0.3em;
|
|
transition:
|
|
color 0.2s,
|
|
text-decoration-color 0.2s;
|
|
}
|
|
|
|
.v-year {
|
|
font-size: 0.7rem;
|
|
color: var(--mauve);
|
|
margin-bottom: 0.3rem;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.v-desc {
|
|
font-size: 0.95rem;
|
|
color: var(--subtext0);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.version-item--link {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.version-item--link:hover .v-title,
|
|
.version-item--link:focus-visible .v-title {
|
|
color: var(--mauve);
|
|
text-decoration-color: currentColor;
|
|
}
|
|
|
|
.v-link-arrow {
|
|
font-size: 0.7rem;
|
|
color: var(--overlay1);
|
|
margin-left: 0.3rem;
|
|
transition:
|
|
color 0.2s,
|
|
transform 0.2s;
|
|
display: inline-block;
|
|
}
|
|
|
|
.version-item--link:hover .v-link-arrow,
|
|
.version-item--link:focus-visible .v-link-arrow {
|
|
color: var(--mauve);
|
|
transform: translate(2px, -2px);
|
|
}
|
|
|
|
.v-dot--current {
|
|
border-color: var(--mauve);
|
|
background: var(--mauve);
|
|
}
|
|
|
|
.v-current-badge {
|
|
font-size: 0.6rem;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
background: rgba(203, 166, 247, 0.15);
|
|
color: var(--mauve);
|
|
padding: 0.1rem 0.45rem;
|
|
border-radius: 3px;
|
|
margin-left: 0.4rem;
|
|
vertical-align: middle;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* ─── Skills ───────────────────────────────────────────── */
|
|
#skills h2 {
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.skills-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 3rem 4rem;
|
|
}
|
|
|
|
.skill-card {
|
|
display: grid;
|
|
grid-template-columns: 2rem minmax(0, 1fr);
|
|
gap: 0.75rem 1rem;
|
|
align-content: start;
|
|
}
|
|
|
|
.skill-card-icon {
|
|
display: block;
|
|
align-self: center;
|
|
}
|
|
|
|
.skill-card-icon-image {
|
|
width: 1.75rem;
|
|
height: 1.75rem;
|
|
display: block;
|
|
}
|
|
|
|
.skill-card h3 {
|
|
align-self: center;
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
}
|
|
|
|
.skill-card p,
|
|
.skill-card .tag-row {
|
|
grid-column: 2;
|
|
}
|
|
|
|
.skill-card .tag-row {
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.skill-card p {
|
|
font-size: 0.95rem;
|
|
color: var(--subtext0);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.tag-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.tag {
|
|
display: inline-block;
|
|
padding: 0.15rem 0.6rem;
|
|
border-radius: 3px;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.04em;
|
|
font-weight: 700;
|
|
background: var(--surface0);
|
|
color: var(--subtext1);
|
|
}
|
|
|
|
/* ─── Tutorials / Projects shared ─────────────────────── */
|
|
.section-heading {
|
|
font-size: clamp(2rem, 4vw, 2.8rem);
|
|
font-weight: 600;
|
|
line-height: 1.15;
|
|
letter-spacing: -0.035em;
|
|
color: var(--text);
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.section-intro {
|
|
color: var(--subtext0);
|
|
font-size: 1rem;
|
|
max-width: 560px;
|
|
line-height: 1.8;
|
|
margin-bottom: 3rem;
|
|
}
|
|
|
|
.projects-subheading {
|
|
margin: 0 0 0.9rem;
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: var(--subtext1);
|
|
}
|
|
|
|
.card-grid.card-grid--featured {
|
|
margin-bottom: 3rem;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 2rem;
|
|
background: transparent;
|
|
border: none;
|
|
border-radius: 0;
|
|
overflow: visible;
|
|
}
|
|
|
|
.card-grid--featured .card.featured-card {
|
|
padding: 0;
|
|
gap: 0;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
}
|
|
|
|
.project-preview {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
aspect-ratio: 3 / 2;
|
|
object-fit: cover;
|
|
border: 1px solid var(--surface0);
|
|
border-radius: 8px;
|
|
transition: border-color 0.2s;
|
|
}
|
|
|
|
.featured-card-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
padding: 1.25rem 0.25rem 0;
|
|
flex: 1;
|
|
}
|
|
|
|
.featured-card .card-title {
|
|
font-size: 1.35rem;
|
|
}
|
|
|
|
.featured-card .tag-row {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.project-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.5rem 1rem;
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.featured-card:hover .project-preview,
|
|
.featured-card:has(.card-title:focus-visible) .project-preview {
|
|
border-color: var(--mauve);
|
|
}
|
|
|
|
#projects .section-intro {
|
|
margin-bottom: 1.8rem;
|
|
max-width: 640px;
|
|
}
|
|
|
|
#project-grid {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
|
|
#project-grid .card {
|
|
padding: 1.2rem;
|
|
}
|
|
|
|
.project-filters {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
border: none;
|
|
padding: 0;
|
|
min-width: 0;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.filter-chip {
|
|
border: 1px solid var(--surface1);
|
|
background: var(--mantle);
|
|
color: var(--subtext0);
|
|
border-radius: 999px;
|
|
min-height: 44px;
|
|
padding: 0.5rem 0.9rem;
|
|
font-size: 0.75rem;
|
|
letter-spacing: 0.04em;
|
|
text-transform: uppercase;
|
|
font-family: var(--font-mono);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.filter-chip:hover {
|
|
border-color: var(--mauve);
|
|
color: var(--text);
|
|
}
|
|
|
|
.filter-chip.active {
|
|
background: rgba(203, 166, 247, 0.18);
|
|
border-color: rgba(203, 166, 247, 0.7);
|
|
color: var(--mauve);
|
|
}
|
|
|
|
.project-count {
|
|
color: var(--subtext0);
|
|
font-size: 0.8rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.projects-empty {
|
|
padding: 2rem 0;
|
|
}
|
|
|
|
.projects-empty p {
|
|
color: var(--subtext0);
|
|
margin: 0.5rem 0 1rem;
|
|
}
|
|
|
|
.projects-more-row {
|
|
margin-top: 1rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.projects-more-btn {
|
|
border: 1px solid var(--surface1);
|
|
background: var(--mantle);
|
|
color: var(--subtext0);
|
|
border-radius: 999px;
|
|
min-height: 44px;
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.8rem;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
font-family: var(--font-mono);
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.projects-more-btn:hover {
|
|
border-color: var(--mauve);
|
|
color: var(--text);
|
|
}
|
|
|
|
/* ─── Card grid ────────────────────────────────────────── */
|
|
.card-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 1px;
|
|
background: var(--surface0);
|
|
border: 1px solid var(--surface0);
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card {
|
|
background: var(--mantle);
|
|
padding: 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card-date {
|
|
font-size: 0.75rem;
|
|
color: var(--subtext0);
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.project-status {
|
|
display: inline-block;
|
|
align-self: flex-start;
|
|
font-size: 0.7rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
.project-status--active {
|
|
color: var(--subtext0);
|
|
}
|
|
|
|
.card-title {
|
|
display: block;
|
|
min-height: 44px;
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: var(--text);
|
|
transition:
|
|
color 0.2s,
|
|
text-decoration-color 0.2s;
|
|
text-decoration: underline;
|
|
text-decoration-color: transparent;
|
|
text-underline-offset: 0.18em;
|
|
}
|
|
|
|
/* Stretch the native title link over the card, below secondary links. */
|
|
.card-title::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
}
|
|
|
|
.card:has(.card-title:focus-visible) {
|
|
box-shadow: inset 0 0 0 2px var(--mauve);
|
|
}
|
|
|
|
.card:has(.card-title:focus-visible) .card-title {
|
|
outline: none;
|
|
}
|
|
|
|
.card-action {
|
|
display: block;
|
|
margin-top: 0.25rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 400;
|
|
color: var(--mauve);
|
|
}
|
|
|
|
.card:hover .card-title,
|
|
.card:has(.card-title:focus-visible) .card-title {
|
|
color: var(--mauve);
|
|
text-decoration-color: currentColor;
|
|
}
|
|
|
|
.card-desc {
|
|
font-size: 0.95rem;
|
|
color: var(--subtext0);
|
|
line-height: 1.6;
|
|
flex: 1;
|
|
}
|
|
|
|
.card-source {
|
|
font-size: 0.75rem;
|
|
color: var(--subtext0);
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.card-source a {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 44px;
|
|
padding: 0 0.25rem;
|
|
color: var(--mauve);
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|
|
|
|
.card-source a:hover {
|
|
color: var(--mauve);
|
|
}
|
|
|
|
.card-desc a {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 44px;
|
|
color: var(--mauve);
|
|
text-decoration: underline;
|
|
text-underline-offset: 2px;
|
|
}
|
|
|
|
.card-desc a:hover {
|
|
color: var(--mauve);
|
|
}
|
|
|
|
/* ─── Contact ──────────────────────────────────────────── */
|
|
#contact {
|
|
padding-bottom: 6rem;
|
|
}
|
|
|
|
.contact-inner {
|
|
max-width: 720px;
|
|
}
|
|
|
|
.contact-inner h2 {
|
|
font-size: clamp(2rem, 4vw, 2.4rem);
|
|
font-weight: 600;
|
|
line-height: 1.15;
|
|
letter-spacing: -0.035em;
|
|
color: var(--text);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.contact-inner p {
|
|
color: var(--subtext0);
|
|
font-size: 1rem;
|
|
line-height: 1.8;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.contact-links {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
gap: 1rem 1.5rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.contact-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
min-height: 44px;
|
|
}
|
|
|
|
.contact-link--secondary {
|
|
color: var(--subtext1);
|
|
text-decoration: underline;
|
|
text-underline-offset: 4px;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.contact-link--secondary:hover {
|
|
color: var(--mauve);
|
|
}
|
|
|
|
.contact-link-icon {
|
|
width: 1.125rem;
|
|
height: 1.125rem;
|
|
flex: 0 0 1.125rem;
|
|
background: currentColor;
|
|
-webkit-mask-repeat: no-repeat;
|
|
-webkit-mask-position: center;
|
|
-webkit-mask-size: contain;
|
|
mask-repeat: no-repeat;
|
|
mask-position: center;
|
|
mask-size: contain;
|
|
}
|
|
|
|
.contact-link-icon--github {
|
|
-webkit-mask-image: url('icons/github.svg');
|
|
mask-image: url('icons/github.svg');
|
|
}
|
|
|
|
.contact-link-icon--linkedin {
|
|
-webkit-mask-image: url('icons/linkedin.svg');
|
|
mask-image: url('icons/linkedin.svg');
|
|
}
|
|
|
|
/* ─── Footer ───────────────────────────────────────────── */
|
|
footer {
|
|
border-top: 1px solid var(--surface0);
|
|
padding: 1.5rem 3rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 0.72rem;
|
|
color: var(--subtext0);
|
|
}
|
|
|
|
footer a {
|
|
color: var(--mauve);
|
|
text-decoration: none;
|
|
}
|
|
|
|
footer a:hover {
|
|
color: var(--mauve);
|
|
}
|
|
|
|
/* ─── Animations ───────────────────────────────────────── */
|
|
@keyframes fadeUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.hero-copy {
|
|
animation: fadeUp 0.6s both;
|
|
}
|
|
|
|
.reveal-pending {
|
|
opacity: 0;
|
|
transform: translateY(16px);
|
|
transition:
|
|
opacity 0.4s ease,
|
|
transform 0.4s ease;
|
|
}
|
|
}
|
|
|
|
.reveal.visible,
|
|
.reveal:focus-within {
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
|
|
/* ─── Responsive ───────────────────────────────────────── */
|
|
@media (max-width: 768px) {
|
|
nav {
|
|
padding: 0 1.5rem;
|
|
}
|
|
|
|
.nav-links {
|
|
gap: 1.2rem;
|
|
}
|
|
|
|
section {
|
|
padding: 4rem 1.5rem;
|
|
}
|
|
|
|
#hero {
|
|
padding: 5rem 1.5rem 2.5rem;
|
|
}
|
|
|
|
.hero-links {
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.hero-links .btn {
|
|
padding: 0.6rem 0.9rem;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.card-grid.card-grid--featured {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
#project-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.about-columns {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.about-lead {
|
|
grid-template-columns: 1fr;
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.about-portrait {
|
|
grid-column: auto;
|
|
grid-row: auto;
|
|
width: 128px;
|
|
}
|
|
|
|
.about-intro {
|
|
grid-column: auto;
|
|
grid-row: auto;
|
|
}
|
|
|
|
.skills-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.skill-card p,
|
|
.skill-card .tag-row {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.hero-name {
|
|
font-size: clamp(2.5rem, 10vw, 3.5rem);
|
|
}
|
|
|
|
footer {
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 540px) {
|
|
.nav-links {
|
|
display: none;
|
|
}
|
|
|
|
.nav-menu {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
html {
|
|
scroll-behavior: auto;
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation: none !important;
|
|
scroll-behavior: auto !important;
|
|
transition: none !important;
|
|
}
|
|
|
|
.reveal,
|
|
.hero-copy {
|
|
opacity: 1;
|
|
transform: none;
|
|
}
|
|
|
|
.btn,
|
|
.filter-chip,
|
|
.projects-more-btn,
|
|
.contact-link,
|
|
.v-link-arrow {
|
|
transform: none !important;
|
|
}
|
|
}
|