This commit is contained in:
2026-08-08 15:54:38 +02:00
parent 81f8fab51e
commit ee5729e4b7
3 changed files with 173 additions and 252 deletions
+15 -27
View File
@@ -15,13 +15,10 @@
<meta property="og:image" content="https://www.gade.gg/nikolaj.jpg" />
<meta property="og:image:alt" content="Nikolaj Gade" />
<link rel="icon" type="image/png" href="goat.png" />
<link rel="stylesheet" href="/fonts/fonts.css" />
<link rel="stylesheet" href="/fa/css/all.min.css" />
<link rel="stylesheet" href="style.css" />
<!-- Runs before the body paints, so the pre-reveal styles in style.css apply
from the very first frame instead of flashing. -->
<script>document.documentElement.classList.add('js');</script>
</head>
<body>
<!-- CANVAS BACKGROUND -->
@@ -51,7 +48,7 @@
<!-- HERO -->
<section id="home" class="hero">
<div class="hero-content">
<h1 class="hero-name"><span class="hero-name-static">Nikolaj Gade</span></h1>
<h1 class="hero-name">Nikolaj Gade</h1>
<p class="hero-role">Software Developer</p>
<p class="hero-pronouns">they/them · he/him</p>
@@ -85,18 +82,13 @@
</div>
</div>
<div class="scroll-hint">
<span>scroll</span>
<div class="scroll-line"></div>
</div>
</section>
<!-- ABOUT -->
<section id="about" class="section">
<div class="section-inner">
<div class="section-header">
<span class="section-num">01</span>
<h2 class="section-title" aria-label="About"><span class="bracket">&lt;</span>About<span class="bracket">/&gt;</span></h2>
<h2 class="section-title">About</h2>
<div class="section-rule"></div>
</div>
<div class="about-grid">
@@ -121,8 +113,7 @@
<section id="skills" class="section">
<div class="section-inner">
<div class="section-header">
<span class="section-num">02</span>
<h2 class="section-title" aria-label="Skills"><span class="bracket">&lt;</span>Skills<span class="bracket">/&gt;</span></h2>
<h2 class="section-title">Skills</h2>
<div class="section-rule"></div>
</div>
@@ -131,7 +122,7 @@
<div class="lang-cloud">
<span class="lang-tag lang-primary" data-tip="My main language across hundreds of projects throughout more than a decade.">Python</span>
<span class="lang-tag lang-primary" data-tip="Technically I prefer Fish, but who's counting?">Bash</span>
<span class="lang-tag lang-primary" data-tip="Only academic use so far, but one I genuinely enjoy. Especially when pointers are involved.">C</span>
<span class="lang-tag lang-primary" data-tip="Mostly academic, plus Centvrion's hand-written C runtime. One I genuinely enjoy, especially when pointers are involved.">C</span>
<span class="lang-tag lang-primary" data-tip="A handful of small MonoGame projects, alongside academic work.">C#</span>
<span class="lang-tag lang-primary" data-tip="Used heavily across several of my jobs.">SQL</span>
<span class="lang-tag lang-primary" data-tip="Experience from a (now abandoned) web project.">Go</span>
@@ -158,8 +149,7 @@
<section id="projects" class="section">
<div class="section-inner">
<div class="section-header">
<span class="section-num">03</span>
<h2 class="section-title" aria-label="Projects"><span class="bracket">&lt;</span>Projects<span class="bracket">/&gt;</span></h2>
<h2 class="section-title">Projects</h2>
<div class="section-rule"></div>
</div>
@@ -187,7 +177,7 @@
<p>Both are projects I actively maintain and support, with a small but dedicated community of around 500 players.</p>
</div>
<div class="project-tags">
<span data-tip="The clients and all the randomizer logic are Python.">Python</span><span data-tip="PCSX2 is the PS2 emulator; PINE is the protocol I use to read and write its memory while the game runs.">PCSX2 / PINE</span><span data-tip="A lot of poking at the game's RAM to work out where it keeps everything.">Reverse engineering</span><span data-tip="The multiworld platform both randomizers plug into, so a Sly run can share an item pool with any other supported game.">Archipelago</span><span data-tip="Both randomizers are public on GitHub for anyone to read, fork, or build on.">Open source</span>
<span data-tip="The clients and all the randomizer logic are Python.">Python</span><span data-tip="A fast socket IPC into the emulator. Built on the PINE code from the Ratchet &amp; Clank 2 randomizer, then heavily extended.">PCSX2 / PINE</span><span data-tip="Hundreds of hand-mapped memory addresses per game, found by diffing emulator memory.">Reverse engineering</span><span data-tip="Sly isn't in Archipelago core, so each randomizer ships as an apworld package that players drop into their installs.">Archipelago</span><span data-tip="The client is an asyncio app juggling the Archipelago server connection and emulator polling at the same time.">asyncio</span>
</div>
</div>
@@ -209,7 +199,7 @@
<p>The language includes a tree-walking interpreter and a compiler that targets C. Optional modules extend the standard library with <code>FORS</code> (random numbers), <code>FRACTIO</code> (base-12 fractions for floats), <code>MAGNVM</code> (higher numbers than standard roman numerals), and <code>SVBNVLLA</code> (negative numbers).</p>
</div>
<div class="project-tags">
<span data-tip="Both the interpreter and the compiler are written in Python.">Python</span><span data-tip="Designed deliberately: grammar, keywords, and semantics planned out with the rigor of my programming-language coursework.">Language design</span><span data-tip="Targets C, which then compiles down to a native binary.">Compiler</span><span data-tip="A tree-walking interpreter for running code directly.">Interpreter</span>
<span data-tip="Both the interpreter and the compiler are written in Python.">Python</span><span data-tip="Planned like my programming-language coursework: keywords, semantics, and a formal grammar written up in LaTeX.">Language design</span><span data-tip="Emits C against a small hand-written runtime (Roman-numeral formatting included), then hands off to the system compiler.">Compiler</span><span data-tip="A pygls language server with live diagnostics and hover docs, so your editor can correct your Latin.">LSP</span>
</div>
</div>
@@ -235,11 +225,11 @@
</div>
</div>
<div class="project-body">
<p>A trading card game where every card is generated from a Wikipedia article. Built for friends, it features booster pack opening, a fully implemented card game, and trading between players. It also, naturally, includes predatory microtransactions.</p>
<p>A trading card game where every card is generated from a Wikipedia article. Built for friends, it features booster pack opening, a fully implemented card game, and trading between players. Matches run in real time against friends or AI opponents, one of which is a neural network trained through self-play. It also, naturally, includes predatory microtransactions.</p>
<p>The frontend is built in Svelte and the backend in Python, deployed with Docker Compose.</p>
</div>
<div class="project-tags">
<span data-tip="The whole frontend: pack opening, trading, and the card game itself.">Svelte</span><span data-tip="Backend, card generation, and game logic.">Python</span><span data-tip="I hardly know 'er!">Docker</span><span data-tip="Every card is generated from a real Wikipedia article, and the data is gathered from calls to the Wikipedia, Wikimedia, and WikiRank APIs.">APIs</span><span data-tip="Frontend, backend, and everything between.">Full-stack</span>
<span data-tip="SvelteKit with the static adapter, so the whole frontend is static files talking to the API.">Svelte</span><span data-tip="A FastAPI app: REST for the site, WebSockets for live games and trades.">Python</span><span data-tip="I hardly know 'er!">Docker</span><span data-tip="Wikipedia, Wikimedia, and WikiRank for card generation; Stripe and Resend for payments and email.">APIs</span><span data-tip="Eight AI personalities to play against, including one driven by a neural network written from scratch in numpy and trained by self-play.">Game AI</span><span data-tip="SQLAlchemy with Alembic migrations. The app role can't touch the schema; only the migration role can.">PostgreSQL</span>
</div>
</div>
@@ -254,12 +244,12 @@
</div>
<div class="project-body">
<p>Born out of a deep distrust of Microsoft and Google, this project is my ongoing effort to self-host as much of my digital life as possible. Every device on my network is named after a Pokémon and assigned a local IP of <code>10.0.0.x</code>, where <code>x</code> is its Pokédex number.</p>
<p>The primary server, <strong>Charizard</strong>, runs Unraid OS and manages a disk array totalling 44 TB. It hosts a Gitea instance for personal projects, a file server, and a media server, all running in Docker containers and exposed to the internet through <strong>Nginx Proxy Manager</strong> with SSL certificates from Let's Encrypt.</p>
<p>The primary server, <strong>Charizard</strong>, runs Unraid OS and manages a disk array totalling 44 TB. It hosts a Gitea instance for personal projects, a file server, and a media server, exposed to the internet through <strong>Nginx Proxy Manager</strong> with SSL certificates from Let's Encrypt.</p>
<p>An extension of the setup lives on <strong>Bulbasaur</strong>, a Raspberry Pi running Pi-hole for network-wide ad blocking and a WireGuard VPN server for secure remote access.</p>
<p>Charizard is turning five this year. In that time I've learned an enormous amount about networking, Linux administration, and the particular satisfaction of fixing something broken at 2 in the morning that nobody asked you to build in the first place.</p>
</div>
<div class="project-tags">
<span data-tip="The OS on Charizard, managing the 44 TB disk array.">Unraid</span><span data-tip="Every service runs in its own container.">Docker</span><span data-tip="Nginx Proxy Manager routes traffic to each service, with Let's Encrypt SSL.">Reverse Proxy</span><span data-tip="Subnetting, DNS, and a VPN.">Networking</span><span data-tip="The thing that it is.">Self-hosting</span>
<span data-tip="The OS on Charizard, chosen mainly because it supports mixed-size drives. Currently it sports 3 different sizes of data disks (4x6TB + 12TB + 8TB).">Unraid</span><span data-tip="Every service runs in its own container.">Docker</span><span data-tip="Each service gets its own subdomain; no container publishes a port directly.">Reverse Proxy</span><span data-tip="Subnetting, DNS, and a VPN.">Networking</span><span data-tip="The thing that it is.">Self-hosting</span>
</div>
</div>
@@ -271,8 +261,7 @@
<section id="experience" class="section">
<div class="section-inner">
<div class="section-header">
<span class="section-num">04</span>
<h2 class="section-title" aria-label="Experience"><span class="bracket">&lt;</span>Experience<span class="bracket">/&gt;</span></h2>
<h2 class="section-title">Experience</h2>
<div class="section-rule"></div>
</div>
<div class="timeline">
@@ -280,7 +269,7 @@
<div class="timeline-marker"></div>
<div class="timeline-card">
<div class="timeline-meta">
<span class="timeline-date">Sep 2024 — Present</span>
<span class="timeline-date">Sep 2024 — Jul 2026</span>
<span class="timeline-tag">Part-time</span>
</div>
<h3 class="timeline-role">Junior Developer</h3>
@@ -331,8 +320,7 @@
<section id="education" class="section">
<div class="section-inner">
<div class="section-header">
<span class="section-num">05</span>
<h2 class="section-title" aria-label="Education"><span class="bracket">&lt;</span>Education<span class="bracket">/&gt;</span></h2>
<h2 class="section-title">Education</h2>
<div class="section-rule"></div>
</div>
<div class="education-grid">
+71 -63
View File
@@ -1,47 +1,3 @@
// ── Hero typewriter ────────────────────────────────────────────
function startHeroTypewriter(nameEl, fullName, restEls) {
const cursor = document.createElement('span');
cursor.className = 'hero-cursor';
nameEl.appendChild(cursor);
let i = 0;
function typeNext() {
if (i < fullName.length) {
nameEl.insertBefore(document.createTextNode(fullName[i]), cursor);
i++;
setTimeout(typeNext, 95);
} else {
// Cursor done — fade it out, then reveal the rest
cursor.style.transition = 'opacity 0.3s';
cursor.style.opacity = '0';
setTimeout(() => {
cursor.remove();
restEls.forEach((el, idx) => {
setTimeout(() => el.classList.add('visible'), idx * 110);
});
}, 0);
}
}
typeNext();
}
// ── Hero intro ────────────────────────────────────────────────
(function () {
const nameEl = document.querySelector('.hero-name');
const restEls = [...document.querySelectorAll('.hero-role, .hero-pronouns, .hero-links, .hero-visual')];
// Store the name and clear it so the typewriter can type it out
const fullName = nameEl.textContent.trim();
nameEl.textContent = '';
// Hide hero elements that reveal after typing. They're already hidden by the
// .js pre-reveal block in style.css; this just adds the transition.
restEls.forEach(el => el.classList.add('fade-up'));
startHeroTypewriter(nameEl, fullName, restEls);
})();
// ── Sprinkle background ────────────────────────────
(function () {
const canvas = document.getElementById('bgCanvas');
@@ -67,6 +23,11 @@ function startHeroTypewriter(nameEl, fullName, restEls) {
if (s.x > W) s.x = rand(0, W);
if (s.y > H) s.y = rand(0, H);
});
// Resizing clears the canvas; with no animation loop running, repaint it
if (reduceMotion.matches) {
cancelAnimationFrame(rafId);
rafId = requestAnimationFrame(draw);
}
}
function init() {
@@ -109,6 +70,9 @@ function startHeroTypewriter(nameEl, fullName, restEls) {
ctx.stroke();
ctx.restore();
// Reduced motion: sprinkles stay where they are
if (reduceMotion.matches) return;
// Drift
s.x += s.vx;
s.y += s.vy;
@@ -138,9 +102,17 @@ function startHeroTypewriter(nameEl, fullName, restEls) {
if (s.x > W + MAX_LEN) s.x = -MAX_LEN;
});
requestAnimationFrame(draw);
if (!reduceMotion.matches) rafId = requestAnimationFrame(draw);
}
// With reduced motion the sprinkles render once as a static backdrop
const reduceMotion = window.matchMedia('(prefers-reduced-motion: reduce)');
let rafId;
reduceMotion.addEventListener('change', () => {
cancelAnimationFrame(rafId);
rafId = requestAnimationFrame(draw);
});
window.addEventListener('resize', resize, { passive: true });
resize();
let mouseX = -9999, mouseY = -9999;
@@ -148,7 +120,7 @@ function startHeroTypewriter(nameEl, fullName, restEls) {
mouseX = e.clientX;
mouseY = e.clientY;
}, { passive: true });
requestAnimationFrame(draw);
rafId = requestAnimationFrame(draw);
})();
@@ -193,25 +165,61 @@ function startHeroTypewriter(nameEl, fullName, restEls) {
})();
// ── Scroll fade-in ─────────────────────────────────────────────
// ── Avatar spin on click ──────────────────────────────────────
(function () {
// Keep this list in sync with the .js pre-reveal block in style.css
const targets = document.querySelectorAll(
'.section-header, .about-grid, .skill-card, .timeline-item, ' +
'.project-card, .edu-card'
);
targets.forEach(el => el.classList.add('fade-up'));
const avatar = document.querySelector('.avatar-ring');
const observer = new IntersectionObserver((entries) => {
entries.forEach(e => {
if (!e.isIntersecting) return;
const siblings = [...e.target.parentElement.querySelectorAll('.fade-up')];
const idx = siblings.indexOf(e.target);
setTimeout(() => e.target.classList.add('visible'), idx * 80);
observer.unobserve(e.target);
avatar.addEventListener('click', () => {
if (avatar.classList.contains('spinning')) return;
avatar.classList.add('spinning');
});
avatar.addEventListener('animationend', () => {
avatar.classList.remove('spinning');
});
})();
// ── Tag pill tooltips: tap toggle (touch devices only) ────────
(function () {
// Hover-capable devices already get the tooltips via :hover
if (window.matchMedia('(hover: hover)').matches) return;
const pills = [...document.querySelectorAll('[data-tip]')];
function closeAll() {
pills.forEach(p => {
p.classList.remove('tip-open');
p.setAttribute('aria-expanded', 'false');
});
}
pills.forEach(pill => {
pill.setAttribute('tabindex', '0');
pill.setAttribute('role', 'button');
pill.setAttribute('aria-expanded', 'false');
// Pseudo-element tooltips are invisible to screen readers
pill.setAttribute('aria-description', pill.dataset.tip);
pill.addEventListener('click', (e) => {
e.stopPropagation();
const wasOpen = pill.classList.contains('tip-open');
closeAll();
if (!wasOpen) {
pill.classList.add('tip-open');
pill.setAttribute('aria-expanded', 'true');
}
});
pill.addEventListener('keydown', (e) => {
if (e.key === 'Enter' || e.key === ' ') {
e.preventDefault();
pill.click();
}
});
});
document.addEventListener('click', closeAll);
document.addEventListener('keydown', (e) => {
if (e.key === 'Escape') closeAll();
});
}, { threshold: 0.1 });
targets.forEach(el => observer.observe(el));
})();
+88 -163
View File
@@ -1,6 +1,7 @@
:root {
--red: #e63946;
--orange: #f4722b;
--orange-deep: #a84a0c; /* text-safe orange: ≥4.5:1 on cream */
--yellow: #ffbe0b;
--pink: #ff006e;
--cream: #fefee3;
@@ -9,11 +10,13 @@
--glass-bg: rgba(254, 254, 227, 0.75);
--glass-border: rgba(244, 114, 43, 0.25);
--card-shadow: 0 8px 32px rgba(230, 57, 70, 0.10);
--glow-orange: 0 0 28px rgba(244, 114, 43, 0.40);
--glow-red: 0 0 28px rgba(230, 57, 70, 0.35);
--grad: linear-gradient(135deg, var(--red), var(--orange), var(--yellow));
--font: 'Outfit', sans-serif;
--mono: 'Fira Code', monospace;
--radius-sm: 6px;
--radius-md: 12px;
--radius-lg: 18px;
--radius-pill: 999px;
--nav-h: 64px;
--max-w: 1100px;
--ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
@@ -66,8 +69,7 @@ nav {
display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
font-family: var(--mono);
font-size: 1.15rem;
font-size: 1.2rem;
font-weight: 700;
color: var(--ink);
transition: color 0.2s;
@@ -89,11 +91,11 @@ nav {
}
.nav-link {
font-weight: 700;
font-size: 0.8rem;
font-size: 0.75rem;
letter-spacing: 0.05em;
text-transform: uppercase;
padding: 0.45rem 0.8rem;
border-radius: 6px;
padding: 0.5rem 0.75rem;
border-radius: var(--radius-sm);
color: var(--ink-soft);
position: relative;
transition: color 0.2s;
@@ -105,7 +107,7 @@ nav {
transform: translateX(-50%);
width: 0; height: 2px;
background: var(--grad);
border-radius: 99px;
border-radius: var(--radius-pill);
transition: width 0.25s var(--ease);
}
.nav-link:hover,
@@ -114,7 +116,7 @@ nav {
.nav-link.active::after { width: 70%; }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 99px; transition: all 0.3s var(--ease); }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: var(--radius-pill); transition: all 0.3s var(--ease); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@@ -126,59 +128,17 @@ main { position: relative; z-index: 1; }
padding: 7rem 0;
position: relative;
background: rgba(254, 254, 227, 0.5);
/* backdrop-filter: blur(2px);
-webkit-backdrop-filter: blur(2px); */
}
.section-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.section-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem; }
.section-num { font-family: var(--mono); font-size: 0.75rem; color: var(--orange); font-weight: 500; min-width: 24px; }
.section-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.section-title {
font-size: clamp(1.8rem, 3vw, 2.4rem);
font-weight: 900;
letter-spacing: -0.02em;
white-space: nowrap;
}
.section-title .bracket { color: var(--orange); }
.section-rule { flex: 1; height: 2px; background: linear-gradient(to right, var(--orange), transparent); border-radius: 99px; }
/* Fade-in */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }
/* Pre-reveal state. script.js adds .fade-up at runtime, which is too late to stop
these from painting first, so hide them here instead. Selectors mirror the
queries in script.js — change both together. */
.js .hero-name-static { visibility: hidden; }
.js .hero-role:not(.visible),
.js .hero-pronouns:not(.visible),
.js .hero-links:not(.visible),
.js .hero-visual:not(.visible),
.js .section-header:not(.visible),
.js .about-grid:not(.visible),
.js .skill-card:not(.visible),
.js .timeline-item:not(.visible),
.js .project-card:not(.visible),
.js .edu-card:not(.visible) {
opacity: 0;
transform: translateY(28px);
}
/* Hero typewriter cursor */
.hero-cursor {
display: inline-block;
width: 5px;
height: 0.8em;
background: var(--ink);
margin-left: 5px;
vertical-align: baseline;
border-radius: 1px;
animation: cursorBlink 0.7s step-end infinite;
}
@keyframes cursorBlink {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
.section-rule { flex: 1; height: 2px; background: linear-gradient(to right, var(--orange), transparent); border-radius: var(--radius-pill); }
/* ── Hero ───────────────────────────────────────────────────── */
.hero {
@@ -193,7 +153,6 @@ main { position: relative; z-index: 1; }
.hero-content { flex: 1; }
.hero-visual { flex: 0 0 300px; display: flex; align-items: center; justify-content: center; position: relative; }
.hero-greeting { font-family: var(--mono); font-size: 0.9rem; color: var(--orange); margin-bottom: 0.6rem; }
.hero-name {
font-size: clamp(3rem, 5.5vw, 5rem);
font-weight: 900;
@@ -205,32 +164,24 @@ main { position: relative; z-index: 1; }
.hero-role {
font-size: clamp(1rem, 2vw, 1.3rem);
font-weight: 700;
color: var(--orange);
margin-bottom: 1rem;
color: var(--orange-deep);
margin-bottom: 0.5rem;
letter-spacing: 0.06em;
text-transform: uppercase;
}
.hero-desc {
font-size: 1.05rem;
color: var(--ink-soft);
max-width: 440px;
margin-bottom: 2rem;
line-height: 1.8;
}
/* Hero social links */
.hero-links {
display: flex;
flex-wrap: wrap;
gap: 0.65rem;
gap: 0.75rem;
}
.hero-link {
display: inline-flex;
align-items: center;
gap: 0.45rem;
gap: 0.5rem;
padding: 0.5rem 1rem;
border-radius: 999px;
font-size: 0.82rem;
border-radius: var(--radius-pill);
font-size: 0.85rem;
font-weight: 700;
letter-spacing: 0.03em;
border: 1.5px solid var(--glass-border);
@@ -245,7 +196,6 @@ main { position: relative; z-index: 1; }
border-color: var(--orange);
color: #fff;
transform: translateY(-2px);
box-shadow: var(--glow-orange);
}
.hero-link:hover i { color: #fff; }
@@ -277,40 +227,38 @@ main { position: relative; z-index: 1; }
}
.avatar-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.avatar-ring.spinning { animation: avatarSpin 0.8s var(--ease); }
/* rotate is only keyed at 0%/100% so it sweeps through the scale midpoint
without easing to a stop at 180° */
@keyframes avatarSpin {
0% { rotate: 0deg; scale: 1; }
50% { scale: 1.1; }
100% { rotate: 360deg; scale: 1; }
}
@media (prefers-reduced-motion: reduce) {
.avatar-ring.spinning { animation: none; }
}
.scroll-hint {
position: absolute; bottom: 2rem; left: 2rem;
display: flex; align-items: center; gap: 0.65rem;
font-family: var(--mono); font-size: 0.68rem;
color: var(--orange); letter-spacing: 0.1em; text-transform: uppercase;
}
.scroll-line { width: 36px; height: 1px; background: var(--orange); position: relative; overflow: hidden; }
.scroll-line::after {
content: ''; position: absolute; top: 0; left: -100%;
width: 100%; height: 100%; background: var(--yellow);
animation: scanline 1.8s linear infinite;
}
@keyframes scanline { to { left: 200%; } }
.hero-pronouns {
font-family: var(--mono);
font-size: 0.8rem;
font-size: 0.85rem;
color: var(--ink-soft);
margin-bottom: 0.85rem;
margin-left: 0.5rem;
margin-bottom: 0.75rem;
letter-spacing: 0.06em;
}
/* ── About ──────────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.about-right { display: flex; flex-direction: column; gap: 1.25rem; }
.about-text p { font-size: 0.97rem; color: var(--ink-soft); margin-bottom: 1.1rem; line-height: 1.85; }
.about-text p { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1rem; }
.about-text strong { color: var(--ink); }
.pepsi-card {
background: var(--glass-bg);
border: 1px solid var(--glass-border);
backdrop-filter: blur(12px);
border-radius: 16px;
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--card-shadow);
text-align: center;
@@ -326,22 +274,19 @@ main { position: relative; z-index: 1; }
width: 100%; height: 100%; object-fit: cover;
}
.pepsi-caption {
padding: 0.6rem 1rem;
font-size: 0.78rem;
padding: 0.5rem 1rem;
font-size: 0.85rem;
font-style: italic;
color: var(--ink-soft);
}
/* ── Skills ─────────────────────────────────────────────────── */
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.skill-card {
background: var(--glass-bg); border: 1px solid var(--glass-border);
border-radius: 18px; padding: 1.75rem;
border-radius: var(--radius-lg); padding: 1.75rem;
box-shadow: var(--card-shadow);
transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.skill-card:hover { box-shadow: var(--glow-orange); }
.skill-card-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.05rem; margin-bottom: 0.85rem; }
.skill-card-icon { width: 42px; height: 42px; border-radius: var(--radius-md); background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; margin-bottom: 0.75rem; }
.skill-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 1.25rem; }
/* ── Projects (list layout) ─────────────────────────────────── */
@@ -349,13 +294,10 @@ main { position: relative; z-index: 1; }
.project-card {
background: var(--glass-bg); border: 1px solid var(--glass-border);
border-radius: 20px;
border-radius: var(--radius-lg);
padding: 2rem;
box-shadow: var(--card-shadow);
transition: transform 0.3s var(--ease), box-shadow 0.3s;
will-change: transform;
}
.project-card:hover { box-shadow: var(--glow-orange); }
.project-header {
display: flex; align-items: flex-start; gap: 1rem;
@@ -363,7 +305,7 @@ main { position: relative; z-index: 1; }
}
.project-icon {
width: 46px; height: 46px; flex-shrink: 0;
border-radius: 12px; background: var(--grad);
border-radius: var(--radius-md); background: var(--grad);
display: flex; align-items: center; justify-content: center;
color: #fff; font-size: 1.1rem;
}
@@ -374,11 +316,11 @@ main { position: relative; z-index: 1; }
}
.project-title-row h3 { font-size: 1.2rem; font-weight: 800; }
.project-ext-links { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.project-ext-links { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.project-link {
display: inline-flex; align-items: center; gap: 0.35rem;
font-size: 0.76rem; font-weight: 700;
padding: 0.35rem 0.8rem; border-radius: 999px;
display: inline-flex; align-items: center; gap: 0.5rem;
font-size: 0.75rem; font-weight: 700;
padding: 0.25rem 0.75rem; border-radius: var(--radius-pill);
border: 1.5px solid var(--glass-border);
background: rgba(255,255,255,0.4);
color: var(--ink-soft);
@@ -387,34 +329,34 @@ main { position: relative; z-index: 1; }
.project-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.project-badge {
display: inline-flex; align-items: center; gap: 0.35rem;
font-size: 0.72rem; font-weight: 700;
padding: 0.35rem 0.85rem; border-radius: 999px;
display: inline-flex; align-items: center; gap: 0.5rem;
font-size: 0.75rem; font-weight: 700;
padding: 0.25rem 0.75rem; border-radius: var(--radius-pill);
background: rgba(244, 114, 43, 0.12);
color: var(--orange);
color: var(--orange-deep);
border: 1px solid rgba(244, 114, 43, 0.25);
}
.project-body { margin-bottom: 1.25rem; }
.project-body p {
font-size: 0.93rem; color: var(--ink-soft); line-height: 1.8;
margin-bottom: 0.85rem;
font-size: 0.95rem; color: var(--ink-soft);
margin-bottom: 0.75rem;
}
.project-body p:last-child { margin-bottom: 0; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.project-tags span, .timeline-tags span {
font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em;
padding: 0.25rem 0.7rem; border-radius: 999px;
font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
padding: 0.25rem 0.75rem; border-radius: var(--radius-pill);
background: rgba(26,10,0,0.07); color: var(--ink-soft);
border: 1px solid rgba(244, 114, 43, 0.18);
transition: all 0.2s var(--ease);
}
.project-tags span:hover, .timeline-tags span:hover {
.project-tags span:hover, .timeline-tags span:hover,
.project-tags span.tip-open, .timeline-tags span.tip-open {
background: var(--orange);
border-color: var(--orange);
color: #fff;
box-shadow: var(--glow-orange);
}
/* ── Timeline / Experience ──────────────────────────────────── */
@@ -422,7 +364,7 @@ main { position: relative; z-index: 1; }
.timeline::before {
content: ''; position: absolute; left: 0; top: 0; bottom: 0;
width: 2px; background: linear-gradient(to bottom, var(--orange), var(--yellow), transparent);
border-radius: 99px;
border-radius: var(--radius-pill);
}
.timeline-item { position: relative; padding-left: 2.25rem; padding-bottom: 3rem; }
.timeline-item:last-child { padding-bottom: 0; }
@@ -430,63 +372,48 @@ main { position: relative; z-index: 1; }
position: absolute; left: -2.16rem; top: 0rem;
width: 16px; height: 16px; border-radius: 50%;
background: var(--orange); border: 3px solid var(--cream);
box-shadow: var(--glow-orange);
}
.timeline-card {
background: var(--glass-bg); border: 1px solid var(--glass-border);
border-radius: 18px; padding: 1.75rem;
border-radius: var(--radius-lg); padding: 1.75rem;
box-shadow: var(--card-shadow);
transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.timeline-card:hover { box-shadow: var(--glow-orange); }
.timeline-meta { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.6rem; }
.timeline-date { font-family: var(--mono); font-size: 0.75rem; color: var(--orange); }
.timeline-tag { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(244,114,43,0.12); color: var(--orange); border-radius: 999px; padding: 0.18rem 0.6rem; }
.timeline-role { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.timeline-company { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 0.85rem; }
.timeline-desc { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1rem; }
.timeline-achievements {
display: flex; flex-direction: column; gap: 0.45rem;
margin-bottom: 1rem; padding: 0.85rem 1.1rem;
background: rgba(244,114,43,0.06); border-radius: 10px; border-left: 3px solid var(--orange);
}
.timeline-achievements li { font-size: 0.85rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.55rem; }
.timeline-achievements i { color: var(--orange); font-size: 0.6rem; flex-shrink: 0; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.timeline-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.timeline-date { font-size: 0.75rem; font-weight: 700; color: var(--orange-deep); }
.timeline-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; background: rgba(244,114,43,0.12); color: var(--orange-deep); border-radius: var(--radius-pill); padding: 0.25rem 0.75rem; }
.timeline-role { font-size: 1.2rem; font-weight: 900; letter-spacing: -0.01em; margin-bottom: 0.25rem; }
.timeline-company { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0.75rem; }
.timeline-desc { font-size: 0.95rem; color: var(--ink-soft); margin-bottom: 1rem; }
.timeline-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
/* ── Education ──────────────────────────────────────────────── */
.education-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.edu-card {
background: var(--glass-bg); border: 1px solid var(--glass-border);
border-radius: 18px; padding: 1.75rem;
border-radius: var(--radius-lg); padding: 1.75rem;
box-shadow: var(--card-shadow);
display: flex; gap: 1.25rem; align-items: flex-start;
transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.edu-card:hover { box-shadow: var(--glow-orange); }
.edu-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.15rem; }
.edu-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: var(--radius-md); background: var(--grad); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.1rem; }
.edu-body h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.25rem; }
.edu-school { font-weight: 700; color: var(--orange); font-size: 0.85rem; margin-bottom: 0.2rem; }
.edu-date { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-soft); margin-bottom: 0.65rem; }
.edu-desc { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.7; }
.edu-links { margin-top: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.edu-school { font-weight: 700; color: var(--orange-deep); font-size: 0.85rem; margin-bottom: 0.25rem; }
.edu-date { font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 0.75rem; }
.edu-desc { font-size: 0.85rem; color: var(--ink-soft); }
.edu-links { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
/* ── Footer ─────────────────────────────────────────────────── */
footer {
position: relative; z-index: 1;
background: var(--ink); color: rgba(255,255,255,0.45);
text-align: center; padding: 1.75rem 2rem; font-size: 0.8rem;
text-align: center; padding: 1.75rem 2rem; font-size: 0.85rem;
}
/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
.skills-grid { grid-template-columns: repeat(2, 1fr); }
.about-grid { grid-template-columns: 1fr; gap: 2rem; }
.hero-visual { display: none; }
.hero { flex-direction: column; text-align: center; padding-top: calc(var(--nav-h) + 2rem); }
.hero-desc { max-width: 100%; }
.hero-links { justify-content: center; }
.scroll-hint { display: none; }
}
@media (max-width: 768px) {
@@ -511,7 +438,6 @@ footer {
transform: none;
}
.burger { display: flex; }
.skills-grid { grid-template-columns: 1fr; }
.education-grid { grid-template-columns: 1fr; }
.project-title-row { flex-direction: column; align-items: flex-start; }
}
@@ -525,9 +451,8 @@ footer {
}
.skills-intro {
font-size: 1rem;
font-size: 1.05rem;
color: var(--ink-soft);
line-height: 1.8;
max-width: 680px;
margin-bottom: 2rem;
}
@@ -540,11 +465,10 @@ footer {
}
.lang-tag {
font-family: var(--mono);
font-size: 0.95rem;
font-weight: 500;
font-weight: 700;
padding: 0.5rem 1.25rem;
border-radius: 999px;
border-radius: var(--radius-pill);
background: var(--glass-bg);
border: 1.5px solid var(--glass-border);
backdrop-filter: blur(8px);
@@ -552,11 +476,11 @@ footer {
transition: all 0.2s var(--ease);
}
.lang-tag:hover {
.lang-tag:hover,
.lang-tag.tip-open {
background: var(--orange);
border-color: var(--orange);
color: #fff;
box-shadow: var(--glow-orange);
}
/* ── Skill pills: shared behavior (no select + tooltip anchor) ─── */
@@ -567,9 +491,10 @@ footer {
-webkit-user-select: none;
}
.lang-tag[data-tip]:not([data-tip=""]):hover::after,
.project-tags span[data-tip]:not([data-tip=""]):hover::after,
.timeline-tags span[data-tip]:not([data-tip=""]):hover::after {
/* Tooltip: shows on hover, keyboard focus, or tap (script.js toggles .tip-open) */
[data-tip]:not([data-tip=""]):hover::after,
[data-tip]:not([data-tip=""]):focus-visible::after,
[data-tip]:not([data-tip=""]).tip-open::after {
content: attr(data-tip);
position: absolute;
bottom: calc(100% + 10px);
@@ -577,12 +502,12 @@ footer {
transform: translateX(-50%);
width: max-content;
max-width: 220px;
padding: 0.5rem 0.7rem;
border-radius: 10px;
padding: 0.5rem 0.75rem;
border-radius: var(--radius-md);
background: var(--ink);
color: var(--cream);
font-family: var(--font);
font-size: 0.72rem;
font-size: 0.75rem;
font-weight: 500;
line-height: 1.4;
letter-spacing: normal;
@@ -595,9 +520,9 @@ footer {
}
/* Tooltip arrow */
.lang-tag[data-tip]:not([data-tip=""]):hover::before,
.project-tags span[data-tip]:not([data-tip=""]):hover::before,
.timeline-tags span[data-tip]:not([data-tip=""]):hover::before {
[data-tip]:not([data-tip=""]):hover::before,
[data-tip]:not([data-tip=""]):focus-visible::before,
[data-tip]:not([data-tip=""]).tip-open::before {
content: '';
position: absolute;
bottom: calc(100% - 3px);
@@ -624,6 +549,6 @@ footer {
font-size: 0.88em;
background: rgba(26, 10, 0, 0.07);
padding: 0.1em 0.4em;
border-radius: 4px;
border-radius: var(--radius-sm);
color: var(--orange);
}