2026-10-06 11:42:11 +07:00
|
|
|
|
/* ===== Navigation ===== */
|
2026-10-17 10:27:36 +07:00
|
|
|
|
/* 94% + blur(12px) is a contrast floor, not a taste choice: at 85% the bar measured 4.01
|
|
|
|
|
|
(red-light --text-muted over an --accent element scrolled beneath it); 94% measures 4.58.
|
|
|
|
|
|
Spec: docs/design/specs/v3/spec-v3-mobile-navigation.md §3.2 */
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.nav {
|
|
|
|
|
|
position: sticky;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
z-index: 1000;
|
2026-10-17 10:27:36 +07:00
|
|
|
|
background: color-mix(in srgb, var(--bg-surface) 94%, transparent);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
backdrop-filter: blur(12px);
|
2026-10-13 15:57:16 +07:00
|
|
|
|
transition: none;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-container {
|
|
|
|
|
|
max-width: var(--max-wide);
|
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
padding: 0 24px;
|
|
|
|
|
|
height: 64px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 22:33:42 +07:00
|
|
|
|
/* Icon brand: a 24px stroke house in a 44px target, matching the hamburger's icon language.
|
|
|
|
|
|
It is a <Link to="/"> — same behaviour the {CV} wordmark had. */
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.nav-logo {
|
2026-10-17 22:33:42 +07:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
width: 44px;
|
|
|
|
|
|
height: 44px;
|
|
|
|
|
|
border-radius: var(--radius-md);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 22:33:42 +07:00
|
|
|
|
/* The hamburger and the brand travel together on the left of the bar so the sheet's trigger
|
|
|
|
|
|
sits where a left-handed thumb reaches it. Above 1024px the button is display:none, so this
|
2026-10-20 18:55:12 +07:00
|
|
|
|
group renders as the home icon alone. Its icons carry no borders, so the spacing that reads
|
|
|
|
|
|
is measured between glyphs, not boxes: 4px between 44px targets leaves 24px between the 24px
|
|
|
|
|
|
glyphs — a tight brand cluster while the hover fills and the 2px-offset focus rings (2+2px)
|
|
|
|
|
|
still stay clear of each other. The bordered action controls keep their wider 16px gap. */
|
2026-10-17 22:33:42 +07:00
|
|
|
|
.nav-brand {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-10-20 18:55:12 +07:00
|
|
|
|
gap: 4px;
|
2026-10-17 22:33:42 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.nav-logo:hover {
|
2026-10-04 09:34:55 +07:00
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 22:33:42 +07:00
|
|
|
|
/* An icon-only control needs a ring: colour alone is not a focus indicator. */
|
|
|
|
|
|
.nav-logo:focus-visible {
|
|
|
|
|
|
outline: 2px solid var(--accent);
|
|
|
|
|
|
outline-offset: 2px;
|
2026-10-13 00:24:12 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 00:33:35 +07:00
|
|
|
|
/* The bar's resume entry reuses the `.nav-control` chrome; the wrapper only has to sit in the
|
|
|
|
|
|
brand row like the other items. Its class is also the hook that ties the trigger to the
|
|
|
|
|
|
`#resume-modal-nav` dialog it expands. */
|
|
|
|
|
|
.nav-resume {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.nav-menu {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 32px;
|
|
|
|
|
|
list-style: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-link {
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
padding: 4px 0;
|
2026-10-04 09:34:55 +07:00
|
|
|
|
position: relative;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
transition: color var(--transition-fast);
|
|
|
|
|
|
}
|
2026-10-04 09:34:55 +07:00
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.nav-link:hover {
|
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-link.active {
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-link.active::after {
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
bottom: -2px;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
height: 2px;
|
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
|
border-radius: 1px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-actions {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:27:36 +07:00
|
|
|
|
/* One chrome for the three bar controls — mode, theme color, language: a bordered 44px box,
|
2026-10-17 23:59:58 +07:00
|
|
|
|
accent border + icon on hover/open. The language control is icon-only like the other two, so it
|
|
|
|
|
|
carries no rules of its own any more: `.lang-toggle` marks the button in the DOM and nothing
|
|
|
|
|
|
else. */
|
2026-10-17 10:27:36 +07:00
|
|
|
|
.nav-control {
|
2026-10-06 11:42:11 +07:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2026-10-17 10:27:36 +07:00
|
|
|
|
min-width: 44px;
|
|
|
|
|
|
min-height: 44px;
|
|
|
|
|
|
padding: 8px;
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:27:36 +07:00
|
|
|
|
.nav-control:hover,
|
|
|
|
|
|
.nav-control.open {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
color: var(--accent);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
background: var(--bg-elevated);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:27:36 +07:00
|
|
|
|
.nav-control:focus-visible {
|
2026-10-06 11:42:11 +07:00
|
|
|
|
outline: 2px solid var(--accent);
|
|
|
|
|
|
outline-offset: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 00:33:35 +07:00
|
|
|
|
/* The resume entry keeps the `.nav-control` 44px target and its hover fill, but carries no
|
|
|
|
|
|
outline: it sits in the brand group beside the borderless home icon, and a framed box there
|
2026-10-20 18:55:12 +07:00
|
|
|
|
reads as a second frame next to the home glyph. `:focus-visible` above still rings it. Its
|
|
|
|
|
|
glyph is `--accent` at every state — rest, hover, open — so the entry always carries the
|
|
|
|
|
|
active theme's signal colour and follows the palette switch like the other accent signals. */
|
2026-10-20 00:33:35 +07:00
|
|
|
|
.nav-resume-trigger {
|
|
|
|
|
|
border-color: transparent;
|
2026-10-20 18:55:12 +07:00
|
|
|
|
color: var(--accent);
|
2026-10-20 00:33:35 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-resume-trigger:hover,
|
|
|
|
|
|
.nav-resume-trigger.open {
|
|
|
|
|
|
border-color: transparent;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.mobile-menu-btn {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
background: none;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
padding: 8px;
|
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.mobile-menu-btn:focus-visible {
|
|
|
|
|
|
outline: 2px solid var(--accent);
|
|
|
|
|
|
outline-offset: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:27:36 +07:00
|
|
|
|
/* Mobile menu sheet — mounted only while open, and only at <=1024px (guard below).
|
|
|
|
|
|
94% + blur(12px) is a contrast floor, not taste: the worst measured case is --text-muted
|
|
|
|
|
|
over an --accent tile behind the glass — 4.58 at 94%, 4.45 at 92% (fails AA), 4.01 at the
|
|
|
|
|
|
bar's old 85%. --text-muted is what .mobile-menu-heading and the palette trigger render. */
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.mobile-menu {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
top: 64px;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
bottom: 0;
|
|
|
|
|
|
z-index: 999;
|
2026-10-17 10:27:36 +07:00
|
|
|
|
background: color-mix(in srgb, var(--bg-surface) 94%, transparent);
|
|
|
|
|
|
backdrop-filter: blur(12px);
|
|
|
|
|
|
padding: 24px 24px calc(24px + env(safe-area-inset-bottom));
|
2026-10-06 11:42:11 +07:00
|
|
|
|
overflow-y: auto;
|
2026-10-17 10:27:36 +07:00
|
|
|
|
overscroll-behavior: contain;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 15:11:21 +07:00
|
|
|
|
/* The sheet itself is the focus target on open (`tabIndex={-1}` on the panel in
|
|
|
|
|
|
`MobileMenu.tsx`). A ring here would frame the whole viewport, and every control inside
|
|
|
|
|
|
already carries its own `:focus-visible` rule. */
|
|
|
|
|
|
.mobile-menu:focus {
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:27:36 +07:00
|
|
|
|
.mobile-menu-inner {
|
|
|
|
|
|
max-width: var(--max-content);
|
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.mobile-menu-group {
|
|
|
|
|
|
padding-bottom: 12px;
|
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
border-bottom: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 12px + one hairline per group is what holds the sheet at 647px closed; 24px would reach
|
|
|
|
|
|
667px and push the Connect group past a 375x667 phone (spec §3.3). */
|
|
|
|
|
|
.mobile-menu-group:last-child {
|
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.mobile-menu-heading {
|
2026-10-06 11:42:11 +07:00
|
|
|
|
display: block;
|
2026-10-17 10:27:36 +07:00
|
|
|
|
font-family: var(--mono);
|
|
|
|
|
|
font-size: var(--text-meta);
|
|
|
|
|
|
line-height: 1;
|
|
|
|
|
|
letter-spacing: 1.5px;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
margin-bottom: 8px;
|
2026-10-04 09:34:55 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.mobile-menu-list {
|
|
|
|
|
|
list-style: none;
|
2026-10-04 09:34:55 +07:00
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
2026-10-04 09:34:55 +07:00
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.mobile-menu-link {
|
2026-10-17 10:27:36 +07:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
min-height: 48px;
|
|
|
|
|
|
padding: 0 12px 0 10px;
|
|
|
|
|
|
border-left: 2px solid transparent;
|
|
|
|
|
|
font-size: var(--text-lede);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
|
text-decoration: none;
|
2026-10-17 10:27:36 +07:00
|
|
|
|
transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.mobile-menu-link:hover,
|
2026-10-17 10:27:36 +07:00
|
|
|
|
.mobile-menu-link:active {
|
|
|
|
|
|
background: var(--bg-elevated);
|
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.mobile-menu-link.active {
|
2026-10-17 10:27:36 +07:00
|
|
|
|
border-left-color: var(--accent);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:27:36 +07:00
|
|
|
|
.mobile-menu-link:focus-visible {
|
|
|
|
|
|
outline: 2px solid var(--accent);
|
|
|
|
|
|
outline-offset: -2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.mobile-menu-segment {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
gap: 12px;
|
|
|
|
|
|
min-height: 48px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.mobile-menu-segment-label {
|
|
|
|
|
|
font-size: var(--text-body);
|
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.mobile-menu-segment-options {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 19:56:08 +07:00
|
|
|
|
/* Icon-only options in the sheet share this shape — the 44px target, border and radius — for
|
|
|
|
|
|
the Theme color dots (.nav-palette-preview), the Language globe/flag, and the Mode row's
|
|
|
|
|
|
sun/moon, which is the same line art the bar's theme control draws. */
|
2026-10-17 23:59:58 +07:00
|
|
|
|
.mobile-menu-icon-option {
|
2026-10-17 10:27:36 +07:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
width: 44px;
|
|
|
|
|
|
min-height: 44px;
|
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
border: 1px solid var(--border-strong);
|
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
|
background: none;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: background var(--transition-fast), border-color var(--transition-fast);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 23:59:58 +07:00
|
|
|
|
.mobile-menu-icon-option:hover {
|
2026-10-17 10:27:36 +07:00
|
|
|
|
background: var(--bg-elevated);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-21 00:01:01 +07:00
|
|
|
|
/* Every glyph in the sheet is `currentColor` line art — the globe/flag, the moon/sun — so the
|
|
|
|
|
|
selected option carries the theme's accent exactly as the bar's `.nav-control.open` does, and
|
|
|
|
|
|
the colour follows `data-theme` + `data-palette` the way the border already does. The Theme
|
|
|
|
|
|
color dots paint their own `--preview-*-accent` background, so they are unaffected. */
|
2026-10-17 23:59:58 +07:00
|
|
|
|
.mobile-menu-icon-option.active {
|
2026-10-17 10:27:36 +07:00
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
background: var(--bg-elevated);
|
2026-10-21 00:01:01 +07:00
|
|
|
|
color: var(--accent);
|
2026-10-17 10:27:36 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 23:59:58 +07:00
|
|
|
|
.mobile-menu-icon-option:focus-visible {
|
2026-10-17 10:27:36 +07:00
|
|
|
|
outline: 2px solid var(--accent);
|
|
|
|
|
|
outline-offset: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
@media (max-width: 1024px) {
|
|
|
|
|
|
.nav-menu {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.mobile-menu-btn {
|
|
|
|
|
|
display: flex;
|
2026-10-04 09:34:55 +07:00
|
|
|
|
}
|
2026-10-17 10:27:36 +07:00
|
|
|
|
}
|
2026-10-17 00:32:49 +07:00
|
|
|
|
|
2026-10-20 00:33:35 +07:00
|
|
|
|
/* Six controls share the bar at ≤1024px: hamburger, home, resume, then the three appearance
|
2026-10-20 18:55:12 +07:00
|
|
|
|
controls. The brand group keeps its 4px at every width; only the bordered action controls
|
|
|
|
|
|
drop from 16px to 8px here: 260px of controls + 8px of brand gaps + 16px of action gaps =
|
|
|
|
|
|
284px used inside 358px of content at 390px. */
|
2026-10-17 10:27:36 +07:00
|
|
|
|
@media (max-width: 420px) {
|
|
|
|
|
|
.nav-container {
|
|
|
|
|
|
padding: 0 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-actions {
|
2026-10-20 00:33:35 +07:00
|
|
|
|
gap: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 320px keeps every 44px target intact and pays for them out of the gutter instead: 12px padding
|
2026-10-20 18:55:12 +07:00
|
|
|
|
leaves 296px of content for 260px of controls + 24px of gaps — 12px of slack. */
|
2026-10-20 00:33:35 +07:00
|
|
|
|
@media (max-width: 360px) {
|
|
|
|
|
|
.nav-container {
|
|
|
|
|
|
padding: 0 12px;
|
2026-10-17 10:27:36 +07:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (min-width: 1025px) {
|
|
|
|
|
|
.mobile-menu {
|
2026-10-17 00:32:49 +07:00
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ===== Theme palette menu ===== */
|
|
|
|
|
|
.nav-palette {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 10:27:36 +07:00
|
|
|
|
/* Nothing specific to declare: the trigger's chrome is `.nav-control` above, it holds a single
|
|
|
|
|
|
icon, and its accessible name lives in `aria-label`. The class stays as the hook that ties
|
|
|
|
|
|
the trigger to the `#palette-menu` panel it expands. */
|
2026-10-17 00:32:49 +07:00
|
|
|
|
|
2026-10-17 22:33:42 +07:00
|
|
|
|
/* The palette icon: left half is the live --accent of the active palette, right half the
|
|
|
|
|
|
constant --swatch-empty; the hairline keeps the white half visible on a light surface. The
|
|
|
|
|
|
submenu dots read --preview-*-accent, which mirror the same per-theme accent values, so a
|
|
|
|
|
|
dot and this swatch half are the same colour in the same theme.
|
|
|
|
|
|
Spec: docs/design/specs/v3/spec-v3-nav-swatch-and-hamburger.md */
|
2026-10-17 00:32:49 +07:00
|
|
|
|
.nav-palette-swatch {
|
|
|
|
|
|
flex: none;
|
2026-10-17 10:27:36 +07:00
|
|
|
|
width: 20px;
|
|
|
|
|
|
height: 20px;
|
2026-10-17 00:32:49 +07:00
|
|
|
|
border-radius: 50%;
|
2026-10-17 10:27:36 +07:00
|
|
|
|
border: 1px solid var(--border-strong);
|
|
|
|
|
|
background: linear-gradient(to right, var(--accent) 0 50%, var(--swatch-empty) 50% 100%);
|
2026-10-17 00:32:49 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-palette-panel {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: calc(100% + 4px);
|
|
|
|
|
|
right: 0;
|
|
|
|
|
|
width: max-content;
|
|
|
|
|
|
min-width: 220px;
|
|
|
|
|
|
padding: 4px;
|
|
|
|
|
|
background: var(--bg-elevated);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: var(--radius-lg);
|
|
|
|
|
|
box-shadow: 0 4px 12px var(--shadow);
|
|
|
|
|
|
z-index: 100;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-palette-panel.open {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-palette-option {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 10px;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
min-height: 44px;
|
|
|
|
|
|
padding: 8px 12px;
|
|
|
|
|
|
background: none;
|
|
|
|
|
|
border: none;
|
|
|
|
|
|
border-left: 2px solid transparent;
|
|
|
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: background 0.15s, color 0.15s;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-palette-option.active {
|
|
|
|
|
|
border-left-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-palette-option.active::after {
|
|
|
|
|
|
content: '✓';
|
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-palette-option:hover {
|
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
|
color: var(--text-on-accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-palette-option:hover .nav-palette-hint,
|
|
|
|
|
|
.nav-palette-option.active:hover::after {
|
|
|
|
|
|
color: var(--text-on-accent);
|
|
|
|
|
|
opacity: 0.75;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-palette-option:focus-visible {
|
|
|
|
|
|
outline: 2px solid var(--accent);
|
|
|
|
|
|
outline-offset: -2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 22:33:42 +07:00
|
|
|
|
/* One ring style for every colour chip: the same 1px --border-strong hairline the swatch
|
|
|
|
|
|
above uses. --preview-red-bg and --preview-blue-bg are gone — their light-mode values drew
|
|
|
|
|
|
a near-white halo (13.30–16.21) around the dot in dark mode. */
|
2026-10-17 00:32:49 +07:00
|
|
|
|
.nav-palette-preview {
|
|
|
|
|
|
flex: none;
|
|
|
|
|
|
width: 18px;
|
|
|
|
|
|
height: 18px;
|
|
|
|
|
|
border-radius: 50%;
|
2026-10-17 22:33:42 +07:00
|
|
|
|
border: 1px solid var(--border-strong);
|
2026-10-17 00:32:49 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-palette-preview[data-preview='red'] {
|
|
|
|
|
|
background: var(--preview-red-accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-palette-preview[data-preview='blue'] {
|
|
|
|
|
|
background: var(--preview-blue-accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-palette-name {
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.nav-palette-hint {
|
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
/* ===== Buttons ===== */
|
|
|
|
|
|
.btn {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
padding: 12px 24px;
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
font-family: inherit;
|
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
text-decoration: none;
|
2026-10-17 20:02:47 +07:00
|
|
|
|
transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
border: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn:focus-visible {
|
|
|
|
|
|
outline: 2px solid var(--accent);
|
|
|
|
|
|
outline-offset: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-primary {
|
2026-10-17 14:02:16 +07:00
|
|
|
|
background: var(--accent-solid);
|
|
|
|
|
|
color: var(--text-on-accent-solid);
|
|
|
|
|
|
border: 1px solid var(--accent);
|
2026-10-16 21:14:59 +07:00
|
|
|
|
box-shadow: 0 4px 20px var(--accent-glow);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-primary:hover {
|
2026-10-17 14:02:16 +07:00
|
|
|
|
background: var(--accent-solid-hover);
|
|
|
|
|
|
color: var(--text-on-accent-solid);
|
2026-10-16 21:14:59 +07:00
|
|
|
|
box-shadow: 0 8px 30px var(--accent-glow);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
.btn-primary:active {
|
2026-10-17 14:02:16 +07:00
|
|
|
|
background: var(--accent-solid-active);
|
2026-10-16 21:14:59 +07:00
|
|
|
|
box-shadow: 0 2px 10px var(--accent-glow);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-secondary {
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
color: var(--accent);
|
2026-10-13 00:24:12 +07:00
|
|
|
|
border: 1.5px solid var(--border);
|
|
|
|
|
|
border-radius: 9999px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-secondary:hover {
|
|
|
|
|
|
border-color: var(--accent);
|
2026-10-16 21:14:59 +07:00
|
|
|
|
background: var(--accent-soft);
|
2026-10-13 00:24:12 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-icon {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
margin-left: 6px;
|
|
|
|
|
|
transition: transform var(--transition-fast);
|
|
|
|
|
|
}
|
|
|
|
|
|
.btn-primary:hover .btn-icon,
|
|
|
|
|
|
.btn-secondary:hover .btn-icon {
|
|
|
|
|
|
transform: translateX(4px);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-ghost {
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-ghost:hover {
|
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
|
background: var(--bg-surface);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-sm {
|
|
|
|
|
|
padding: 8px 12px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn-lg {
|
|
|
|
|
|
padding: 16px 32px;
|
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.btn:disabled {
|
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ===== Badges ===== */
|
|
|
|
|
|
.badge {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
padding: 4px 10px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.badge-accent {
|
2026-10-17 14:02:16 +07:00
|
|
|
|
background: var(--accent-solid);
|
|
|
|
|
|
color: var(--text-on-accent-solid);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.badge-outline {
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
border: 1px solid var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.badge-muted {
|
|
|
|
|
|
background: var(--bg-surface);
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ===== Tags ===== */
|
|
|
|
|
|
.tag {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
padding: 4px 10px;
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
background: var(--bg-surface);
|
|
|
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.tag-accent {
|
|
|
|
|
|
background: var(--accent);
|
2026-10-16 21:14:59 +07:00
|
|
|
|
color: var(--text-on-accent);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ===== Section Heading ===== */
|
|
|
|
|
|
.section-heading {
|
|
|
|
|
|
margin-bottom: 48px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.section-heading h2 {
|
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.section-heading p {
|
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-13 00:24:12 +07:00
|
|
|
|
.section-tag {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
font-family: var(--mono);
|
|
|
|
|
|
font-size: 0.85rem;
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
letter-spacing: 2px;
|
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
/* ===== Social Links ===== */
|
|
|
|
|
|
.social-links {
|
2026-10-04 09:34:55 +07:00
|
|
|
|
display: flex;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
gap: 16px;
|
|
|
|
|
|
}
|
2026-10-04 09:34:55 +07:00
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.social-link {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2026-10-13 00:24:12 +07:00
|
|
|
|
justify-content: center;
|
|
|
|
|
|
width: 48px;
|
|
|
|
|
|
height: 48px;
|
2026-10-16 21:14:59 +07:00
|
|
|
|
border: 1.5px solid var(--border-strong);
|
2026-10-13 00:24:12 +07:00
|
|
|
|
border-radius: 6px;
|
|
|
|
|
|
color: var(--text-primary);
|
2026-10-17 20:02:47 +07:00
|
|
|
|
transition: color var(--transition-fast), border-color var(--transition-fast);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
.social-link:hover {
|
2026-10-13 00:24:12 +07:00
|
|
|
|
border-color: var(--accent);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
.social-link:focus-visible {
|
|
|
|
|
|
outline: 2px solid var(--accent);
|
|
|
|
|
|
outline-offset: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.social-link svg {
|
|
|
|
|
|
width: 20px;
|
|
|
|
|
|
height: 20px;
|
|
|
|
|
|
}
|
2026-10-13 00:24:12 +07:00
|
|
|
|
|
2026-10-06 23:42:49 +07:00
|
|
|
|
/* ===== Section Background Gradient ===== */
|
|
|
|
|
|
.section {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.section::before {
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
background: linear-gradient(
|
|
|
|
|
|
to bottom,
|
|
|
|
|
|
transparent 0%,
|
|
|
|
|
|
var(--bg-primary) 10%,
|
|
|
|
|
|
var(--bg-primary) 90%,
|
|
|
|
|
|
transparent 100%
|
|
|
|
|
|
);
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
z-index: -1;
|
|
|
|
|
|
}
|
2026-10-06 11:42:11 +07:00
|
|
|
|
|
|
|
|
|
|
/* ===== Hero ===== */
|
|
|
|
|
|
.hero {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: 1fr 1fr;
|
|
|
|
|
|
gap: 64px;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
min-height: calc(100vh - 64px);
|
2026-10-13 14:28:22 +07:00
|
|
|
|
position: relative;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-content {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-name {
|
|
|
|
|
|
font-size: clamp(32px, 5vw, 64px);
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
|
line-height: 1.1;
|
|
|
|
|
|
letter-spacing: -0.02em;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-title {
|
|
|
|
|
|
font-size: clamp(18px, 2.5vw, 24px);
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-tagline {
|
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
|
white-space: pre-line;
|
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-13 00:24:12 +07:00
|
|
|
|
.hero-greeting {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 12px;
|
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
font-size: 1.1rem;
|
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.greeting-dot {
|
|
|
|
|
|
width: 10px;
|
|
|
|
|
|
height: 10px;
|
|
|
|
|
|
background: var(--success);
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
animation: pulse-dot 2s ease-in-out infinite;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes pulse-dot {
|
2026-10-16 21:14:59 +07:00
|
|
|
|
0%, 100% { box-shadow: 0 0 0 0 var(--success-glow); }
|
|
|
|
|
|
50% { box-shadow: 0 0 0 8px transparent; }
|
2026-10-13 00:24:12 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.name-highlight {
|
2026-10-16 21:14:59 +07:00
|
|
|
|
background: linear-gradient(135deg, var(--accent), var(--accent-active));
|
2026-10-13 00:24:12 +07:00
|
|
|
|
-webkit-background-clip: text;
|
|
|
|
|
|
-webkit-text-fill-color: transparent;
|
|
|
|
|
|
background-clip: text;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-15 01:15:09 +07:00
|
|
|
|
.ok-possible {
|
|
|
|
|
|
font-size: clamp(32px, 5vw, 25px);
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.hero-cta {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 16px;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-visual {
|
2026-10-06 15:49:10 +07:00
|
|
|
|
position: relative;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2026-10-13 00:24:12 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-bg-grid {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
background-image:
|
|
|
|
|
|
linear-gradient(var(--grid-color) 1px, transparent 1px),
|
|
|
|
|
|
linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
|
|
|
|
|
|
background-size: 60px 60px;
|
|
|
|
|
|
mask-image: radial-gradient(ellipse at center, black 50%, transparent 70%);
|
|
|
|
|
|
-webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 70%);
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.typewriter-cursor {
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
width: 2px;
|
|
|
|
|
|
height: 1.1em;
|
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
|
margin-left: 2px;
|
|
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
|
|
animation: blink 1s step-end infinite;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes blink {
|
|
|
|
|
|
0%, 100% { opacity: 1; }
|
|
|
|
|
|
50% { opacity: 0; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-17 20:02:47 +07:00
|
|
|
|
/* No mask-image on .hero-particles on purpose: a mask pulls the animated children into
|
|
|
|
|
|
one re-rasterized group, the same cost as filter: blur(). The 12% / 88% opacity ramp in
|
|
|
|
|
|
float-particle dissolves each dot before it reaches the clip edge, so the edges need no
|
|
|
|
|
|
extra softening. */
|
|
|
|
|
|
|
2026-10-13 00:24:12 +07:00
|
|
|
|
.hero-particles {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
2026-10-17 20:02:47 +07:00
|
|
|
|
/* One layer per depth tier. `perspective` belongs on the layer, not on
|
|
|
|
|
|
.hero-particles: overflow: hidden on the container forces its used transform-style
|
|
|
|
|
|
to flat, so a perspective declared there would project only the three layers and
|
|
|
|
|
|
never the particles. Clipping stays on the container. */
|
|
|
|
|
|
.hero-particle-layer {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
perspective: 700px;
|
|
|
|
|
|
perspective-origin: 50% 78%;
|
|
|
|
|
|
}
|
2026-10-13 00:24:12 +07:00
|
|
|
|
.hero-particle {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
|
border-radius: 50%;
|
2026-10-17 20:02:47 +07:00
|
|
|
|
opacity: 0;
|
2026-10-13 00:24:12 +07:00
|
|
|
|
animation: float-particle linear infinite;
|
|
|
|
|
|
}
|
2026-10-17 20:02:47 +07:00
|
|
|
|
/* Depth cue for the tier closest to the viewer. box-shadow, not filter: blur() —
|
|
|
|
|
|
animating children inside a filtered container re-rasterizes the whole layer every
|
|
|
|
|
|
frame, which is the main takedown risk on iPad. 6 particles; --accent-glow is
|
|
|
|
|
|
declared in all five blocks of index.css. */
|
|
|
|
|
|
.hero-particle-layer--near .hero-particle {
|
|
|
|
|
|
box-shadow: 0 0 10px var(--accent-glow);
|
|
|
|
|
|
}
|
|
|
|
|
|
/* --p-from / --p-to are raw translateY offsets from the top of the layer, tuned per
|
|
|
|
|
|
tier so that after projection (700px, origin 50% 78%) every tier crosses the full
|
|
|
|
|
|
hero box: far z -500 -> -180 projects 0.58x -> 0.80x, mid 0.70x -> 0.92x, near
|
|
|
|
|
|
z -120 -> +120 projects 0.85x -> 1.21x. Equal projected distance with a longer
|
|
|
|
|
|
duration is what makes the far tier read as slower. vh, not dvh: dvh re-resolves
|
|
|
|
|
|
when iOS Safari collapses its toolbar mid-cycle and the whole field jumps. */
|
2026-10-13 00:24:12 +07:00
|
|
|
|
@keyframes float-particle {
|
2026-10-17 20:02:47 +07:00
|
|
|
|
0% { transform: translate3d(var(--p-drift), var(--p-from), var(--p-z0)); opacity: 0; }
|
|
|
|
|
|
12% { opacity: var(--p-op); }
|
|
|
|
|
|
88% { opacity: var(--p-op); }
|
|
|
|
|
|
100% { transform: translate3d(calc(var(--p-drift) * -1), var(--p-to), var(--p-z1)); opacity: 0; }
|
2026-10-13 00:24:12 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.scroll-indicator {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
bottom: 40px;
|
|
|
|
|
|
left: 50%;
|
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
letter-spacing: 2px;
|
|
|
|
|
|
animation: float 3s ease-in-out infinite;
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
.scroll-mouse {
|
|
|
|
|
|
width: 24px;
|
|
|
|
|
|
height: 38px;
|
|
|
|
|
|
border: 2px solid var(--border);
|
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
padding-top: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.scroll-wheel {
|
|
|
|
|
|
width: 3px;
|
|
|
|
|
|
height: 8px;
|
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
animation: scroll-wheel 2s ease-in-out infinite;
|
|
|
|
|
|
}
|
|
|
|
|
|
@keyframes scroll-wheel {
|
|
|
|
|
|
0%, 100% { transform: translateY(0); opacity: 1; }
|
|
|
|
|
|
50% { transform: translateY(8px); opacity: 0.3; }
|
|
|
|
|
|
}
|
|
|
|
|
|
@keyframes float {
|
|
|
|
|
|
0%, 100% { transform: translateX(-50%) translateY(0); }
|
|
|
|
|
|
50% { transform: translateX(-50%) translateY(-10px); }
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 15:49:10 +07:00
|
|
|
|
.hero-photo {
|
2026-10-13 01:01:09 +07:00
|
|
|
|
max-width: 60%;
|
|
|
|
|
|
height: auto;
|
2026-10-06 15:49:10 +07:00
|
|
|
|
object-position: center top;
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
.hero {
|
2026-10-06 15:49:10 +07:00
|
|
|
|
position: relative;
|
2026-10-13 00:24:12 +07:00
|
|
|
|
min-height: 100dvh;
|
2026-10-06 15:49:10 +07:00
|
|
|
|
overflow: hidden;
|
2026-10-06 23:42:49 +07:00
|
|
|
|
padding: 0;
|
|
|
|
|
|
}
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.hero-cta {
|
2026-10-04 09:34:55 +07:00
|
|
|
|
flex-direction: column;
|
2026-10-12 16:19:55 +07:00
|
|
|
|
gap: 16px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-cta .btn {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.hero-visual {
|
2026-10-06 15:49:10 +07:00
|
|
|
|
position: absolute;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
z-index: 0;
|
|
|
|
|
|
}
|
2026-10-06 23:42:49 +07:00
|
|
|
|
|
2026-10-06 15:49:10 +07:00
|
|
|
|
.hero-content {
|
2026-10-06 23:42:49 +07:00
|
|
|
|
position: absolute;
|
2026-10-12 17:50:51 +07:00
|
|
|
|
inset: 0;
|
2026-10-06 15:49:10 +07:00
|
|
|
|
z-index: 1;
|
2026-10-12 17:50:51 +07:00
|
|
|
|
padding: 64px 24px 56px;
|
2026-10-06 23:42:49 +07:00
|
|
|
|
width: 100%;
|
2026-10-06 15:49:10 +07:00
|
|
|
|
}
|
2026-10-12 16:06:31 +07:00
|
|
|
|
.hero-name {
|
2026-10-16 21:14:59 +07:00
|
|
|
|
color: var(--text-primary);
|
2026-10-12 16:06:31 +07:00
|
|
|
|
}
|
|
|
|
|
|
.hero-title,
|
|
|
|
|
|
.hero-tagline {
|
2026-10-16 21:14:59 +07:00
|
|
|
|
color: var(--text-secondary);
|
2026-10-12 16:06:31 +07:00
|
|
|
|
}
|
2026-10-13 00:24:12 +07:00
|
|
|
|
.hero-greeting {
|
2026-10-16 21:14:59 +07:00
|
|
|
|
color: var(--text-secondary);
|
2026-10-13 00:24:12 +07:00
|
|
|
|
}
|
|
|
|
|
|
.hero-photo {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
.scroll-indicator {
|
|
|
|
|
|
position: absolute;
|
2026-10-14 19:37:10 +07:00
|
|
|
|
top: 60px;
|
2026-10-13 13:21:29 +07:00
|
|
|
|
left: auto;
|
|
|
|
|
|
right: 0 !important;
|
2026-10-13 00:24:12 +07:00
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
z-index: 10;
|
2026-10-13 10:22:10 +07:00
|
|
|
|
color: var(--text-primary);
|
2026-10-13 00:24:12 +07:00
|
|
|
|
}
|
|
|
|
|
|
.scroll-mouse {
|
2026-10-13 10:22:10 +07:00
|
|
|
|
border-color: var(--text-muted);
|
2026-10-13 00:24:12 +07:00
|
|
|
|
}
|
|
|
|
|
|
.hero .scroll-indicator span {
|
|
|
|
|
|
display: block !important;
|
2026-10-13 10:22:10 +07:00
|
|
|
|
color: var(--text-primary) !important;
|
2026-10-13 00:24:12 +07:00
|
|
|
|
opacity: 1 !important;
|
|
|
|
|
|
}
|
2026-10-17 10:27:36 +07:00
|
|
|
|
.hero .social-links,
|
|
|
|
|
|
.footer .social-links {
|
2026-10-13 00:24:12 +07:00
|
|
|
|
justify-content: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
.social-link {
|
2026-10-13 10:22:10 +07:00
|
|
|
|
color: var(--text-primary);
|
2026-10-13 00:24:12 +07:00
|
|
|
|
}
|
2026-10-06 23:42:49 +07:00
|
|
|
|
|
2026-10-06 19:29:13 +07:00
|
|
|
|
}
|
2026-10-13 00:24:12 +07:00
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
:root[data-theme='light'] .hero-name {
|
|
|
|
|
|
color: var(--text-primary) !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
:root[data-theme='light'] .hero-title,
|
|
|
|
|
|
:root[data-theme='light'] .hero-tagline,
|
|
|
|
|
|
:root[data-theme='light'] .hero-greeting {
|
|
|
|
|
|
color: var(--text-secondary) !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
:root[data-theme='light'] .social-link {
|
|
|
|
|
|
color: var(--text-secondary) !important;
|
2026-10-13 01:01:09 +07:00
|
|
|
|
border-color: var(--border) !important;
|
2026-10-13 00:24:12 +07:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-10-06 15:49:10 +07:00
|
|
|
|
|
2026-10-06 23:42:49 +07:00
|
|
|
|
@media (min-width: 769px) and (max-width: 1200px) {
|
|
|
|
|
|
.hero-content {
|
|
|
|
|
|
padding-left: 16px;
|
|
|
|
|
|
padding-right: 16px;
|
|
|
|
|
|
}
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
2026-10-13 00:24:12 +07:00
|
|
|
|
:root[data-theme='light'] .social-link {
|
2026-10-13 01:01:09 +07:00
|
|
|
|
border-color: var(--border) !important;
|
2026-10-13 00:24:12 +07:00
|
|
|
|
}
|
2026-10-06 11:42:11 +07:00
|
|
|
|
|
2026-10-20 00:33:35 +07:00
|
|
|
|
/* ===== Download Resume (one trigger, modal picker) ===== */
|
|
|
|
|
|
.download-resume {
|
2026-10-12 15:31:28 +07:00
|
|
|
|
position: relative;
|
2026-10-13 13:10:56 +07:00
|
|
|
|
width: fit-content;
|
2026-10-12 15:31:28 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.download-resume-summary {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 8px;
|
2026-10-13 10:22:10 +07:00
|
|
|
|
padding: 14px 24px;
|
2026-10-12 16:00:57 +07:00
|
|
|
|
font-size: 16px;
|
2026-10-12 15:31:28 +07:00
|
|
|
|
font-weight: 500;
|
2026-10-12 16:00:57 +07:00
|
|
|
|
font-family: inherit;
|
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
text-decoration: none;
|
2026-10-20 00:33:35 +07:00
|
|
|
|
transition: background var(--transition-fast), color var(--transition-fast);
|
2026-10-13 13:10:56 +07:00
|
|
|
|
border: none;
|
2026-10-16 21:14:59 +07:00
|
|
|
|
background: transparent;
|
2026-10-13 13:10:56 +07:00
|
|
|
|
width: 100%;
|
2026-10-12 16:00:57 +07:00
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
list-style: none;
|
2026-10-12 15:31:28 +07:00
|
|
|
|
user-select: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.download-resume-summary:hover {
|
|
|
|
|
|
border-color: var(--accent);
|
2026-10-12 16:00:57 +07:00
|
|
|
|
background: var(--accent);
|
2026-10-16 21:14:59 +07:00
|
|
|
|
color: var(--text-on-accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 00:33:35 +07:00
|
|
|
|
/* The dialog is the open state. The trigger keeps its resting colour while the modal is up:
|
|
|
|
|
|
the pointer is still on it after the click, so without this the :hover accent fill lands at
|
|
|
|
|
|
the instant of the click and reads as a colour flash behind the overlay. */
|
|
|
|
|
|
.download-resume-summary.open,
|
|
|
|
|
|
.download-resume-summary.open:hover {
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
color: var(--accent);
|
2026-10-12 15:31:28 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 00:33:35 +07:00
|
|
|
|
/* Touch devices keep :hover stuck after a tap, so the accent fill would sit on the trigger
|
|
|
|
|
|
until the next tap somewhere else. */
|
|
|
|
|
|
@media (hover: none) {
|
|
|
|
|
|
.download-resume-summary:hover {
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
2026-10-12 15:31:28 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 00:33:35 +07:00
|
|
|
|
/* Language picker — a dialog, not a dropdown: one trigger serves every width */
|
|
|
|
|
|
.resume-modal-overlay {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
inset: 0;
|
|
|
|
|
|
z-index: 1100;
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
place-items: center;
|
|
|
|
|
|
padding: 24px;
|
|
|
|
|
|
/* No backdrop-filter: the blur would apply at full strength on the first frame while the
|
|
|
|
|
|
opacity is still animating, so the page behind jumps before the dialog arrives. */
|
|
|
|
|
|
background: color-mix(in srgb, var(--bg-primary) 78%, transparent);
|
2026-10-13 00:24:12 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 00:33:35 +07:00
|
|
|
|
.resume-modal {
|
|
|
|
|
|
width: min(420px, 100%);
|
2026-10-16 21:14:59 +07:00
|
|
|
|
background: var(--bg-elevated);
|
2026-10-12 15:31:28 +07:00
|
|
|
|
border: 1px solid var(--border);
|
2026-10-20 00:33:35 +07:00
|
|
|
|
border-radius: var(--radius-lg);
|
|
|
|
|
|
padding: 24px;
|
|
|
|
|
|
box-shadow: 0 12px 32px var(--shadow);
|
2026-10-12 15:31:28 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 00:33:35 +07:00
|
|
|
|
.resume-modal:focus-visible {
|
|
|
|
|
|
outline: 2px solid var(--accent);
|
|
|
|
|
|
outline-offset: 4px;
|
2026-10-12 15:31:28 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 00:33:35 +07:00
|
|
|
|
.resume-modal-head {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 12px;
|
2026-10-12 15:31:28 +07:00
|
|
|
|
}
|
2026-10-20 00:33:35 +07:00
|
|
|
|
|
|
|
|
|
|
.resume-modal-head h3 {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.resume-modal-close {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
width: 32px;
|
|
|
|
|
|
height: 32px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
transition: border-color var(--transition-fast), color var(--transition-fast);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.resume-modal-close:hover {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.resume-modal-close:focus-visible {
|
|
|
|
|
|
outline: 2px solid var(--accent);
|
|
|
|
|
|
outline-offset: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.resume-modal-hint {
|
|
|
|
|
|
margin-top: 4px;
|
|
|
|
|
|
font-size: var(--text-meta);
|
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.resume-modal-options {
|
2026-10-13 13:10:56 +07:00
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
2026-10-20 00:33:35 +07:00
|
|
|
|
gap: 12px;
|
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.resume-modal-option {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
gap: 12px;
|
|
|
|
|
|
padding: 14px 16px;
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
|
transition: border-color var(--transition-fast), background var(--transition-fast);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.resume-modal-option:hover {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
background: var(--accent-tint);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.resume-modal-option:focus-visible {
|
|
|
|
|
|
outline: 2px solid var(--accent);
|
|
|
|
|
|
outline-offset: 2px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.resume-modal-option-label {
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.resume-modal-option-file {
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* The spin animates the gradient angle, not a rotating box. A box rotated inside a wide, short
|
|
|
|
|
|
wrapper stops covering the wrapper's own edges as soon as its short side is narrower than the
|
|
|
|
|
|
wrapper is wide (inset -200% made the layer 1710x265 against a 342x53 wrapper), and the beam
|
|
|
|
|
|
gets cut into two segments for part of every cycle. */
|
|
|
|
|
|
@property --lazer-angle {
|
|
|
|
|
|
syntax: '<angle>';
|
|
|
|
|
|
inherits: false;
|
|
|
|
|
|
initial-value: 0deg;
|
2026-10-13 13:10:56 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ===== Download Resume Lazer Border ===== */
|
|
|
|
|
|
.download-resume-lazer-wrapper {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
padding: 2px;
|
|
|
|
|
|
width: fit-content;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
border-radius: calc(var(--radius-md) + 2px);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.download-resume-lazer-border {
|
|
|
|
|
|
position: absolute;
|
2026-10-20 00:33:35 +07:00
|
|
|
|
inset: 0;
|
2026-10-13 13:10:56 +07:00
|
|
|
|
background: conic-gradient(
|
2026-10-20 00:33:35 +07:00
|
|
|
|
from var(--lazer-angle, 0deg),
|
2026-10-13 13:10:56 +07:00
|
|
|
|
transparent 60%,
|
|
|
|
|
|
var(--accent) 80%,
|
|
|
|
|
|
var(--accent-hover) 95%,
|
|
|
|
|
|
transparent 100%
|
|
|
|
|
|
);
|
|
|
|
|
|
animation: download-resume-lazer-spin 4s linear infinite;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.download-resume-lazer-glow {
|
|
|
|
|
|
position: absolute;
|
2026-10-20 00:33:35 +07:00
|
|
|
|
inset: 0;
|
2026-10-13 13:10:56 +07:00
|
|
|
|
background: conic-gradient(
|
2026-10-20 00:33:35 +07:00
|
|
|
|
from var(--lazer-angle, 0deg),
|
2026-10-13 13:10:56 +07:00
|
|
|
|
transparent 60%,
|
|
|
|
|
|
var(--accent) 80%,
|
|
|
|
|
|
var(--accent-hover) 95%,
|
|
|
|
|
|
transparent 100%
|
|
|
|
|
|
);
|
|
|
|
|
|
animation: download-resume-lazer-spin 4s linear infinite;
|
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
filter: blur(12px);
|
|
|
|
|
|
opacity: 0.4;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.download-resume-lazer-inner {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
z-index: 1;
|
|
|
|
|
|
width: 100%;
|
2026-10-16 21:14:59 +07:00
|
|
|
|
background: var(--accent-tint);
|
2026-10-13 13:10:56 +07:00
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes download-resume-lazer-spin {
|
2026-10-20 00:33:35 +07:00
|
|
|
|
from { --lazer-angle: 0deg; }
|
|
|
|
|
|
to { --lazer-angle: 360deg; }
|
2026-10-13 13:10:56 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
|
|
.download-resume-lazer-border,
|
|
|
|
|
|
.download-resume-lazer-glow {
|
|
|
|
|
|
animation: none;
|
|
|
|
|
|
}
|
2026-10-17 20:02:47 +07:00
|
|
|
|
|
|
|
|
|
|
/* Hero particles have no reduced-motion fallback: `.hero-particle` uses the
|
|
|
|
|
|
`animation` shorthand, so animation-fill-mode is `none`. The global clamp in
|
|
|
|
|
|
src/index.css (animation-duration: 0.01ms, animation-iteration-count: 1) ends
|
|
|
|
|
|
`float-particle` instantly and returns every dot to its unanimated style — no
|
|
|
|
|
|
transform, `top: auto` — stacking all of them at the top edge of
|
|
|
|
|
|
`.hero-particles`, behind the fixed nav. Hide the decorative layer instead. */
|
|
|
|
|
|
.hero-particles {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
2026-10-13 13:10:56 +07:00
|
|
|
|
}
|
2026-10-12 15:31:28 +07:00
|
|
|
|
|
2026-10-20 00:33:35 +07:00
|
|
|
|
/* Mobile: the single trigger fills the CTA column like the other two buttons */
|
2026-10-12 15:31:28 +07:00
|
|
|
|
@media (max-width: 768px) {
|
2026-10-20 00:33:35 +07:00
|
|
|
|
.hero-cta .download-resume,
|
|
|
|
|
|
.hero-cta .download-resume-lazer-wrapper {
|
|
|
|
|
|
width: 100%;
|
2026-10-12 15:31:28 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-20 00:33:35 +07:00
|
|
|
|
.hero-cta .download-resume-summary {
|
|
|
|
|
|
justify-content: center;
|
2026-10-12 15:31:28 +07:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
/* ===== Expertise Grid ===== */
|
|
|
|
|
|
.expertise-grid {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
|
|
gap: 24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.expertise-card {
|
|
|
|
|
|
background: var(--bg-surface);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: var(--radius-lg);
|
|
|
|
|
|
padding: 24px;
|
2026-10-17 20:02:47 +07:00
|
|
|
|
transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.expertise-card:hover {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
box-shadow: 0 4px 12px var(--shadow);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.expertise-card h3 {
|
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.expertise-skills {
|
|
|
|
|
|
list-style: none;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.expertise-skill {
|
2026-10-16 21:14:59 +07:00
|
|
|
|
font-size: var(--text-meta);
|
|
|
|
|
|
line-height: var(--leading-body);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.expertise-skill::before {
|
|
|
|
|
|
content: '›';
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1024px) {
|
|
|
|
|
|
.expertise-grid {
|
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
.expertise-grid {
|
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ===== Experience Timeline ===== */
|
|
|
|
|
|
.timeline {
|
|
|
|
|
|
position: relative;
|
2026-10-16 23:14:52 +07:00
|
|
|
|
padding-left: 36px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 23:14:52 +07:00
|
|
|
|
/* Spine is drawn per node so it can stop exactly at the TLDR diamond instead of
|
|
|
|
|
|
trailing past the last card. left -31px = absolute x 5, so the 2px spine is centred
|
|
|
|
|
|
on x 6 — the same centre the markers use. bottom -32px bridges the entry's own margin
|
|
|
|
|
|
so consecutive segments join seamlessly. */
|
|
|
|
|
|
.timeline-entry::before {
|
2026-10-06 11:42:11 +07:00
|
|
|
|
content: '';
|
|
|
|
|
|
position: absolute;
|
2026-10-16 23:14:52 +07:00
|
|
|
|
left: -31px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
top: 0;
|
2026-10-16 23:14:52 +07:00
|
|
|
|
bottom: -32px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
width: 2px;
|
2026-10-16 23:14:52 +07:00
|
|
|
|
border-radius: 1px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
background: var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-entry {
|
|
|
|
|
|
position: relative;
|
2026-10-16 23:14:52 +07:00
|
|
|
|
padding-bottom: 32px;
|
|
|
|
|
|
margin-bottom: 32px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
border-bottom: 1px solid var(--border);
|
2026-10-16 23:14:52 +07:00
|
|
|
|
transition: border-color var(--transition-normal);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* First node starts the spine at its marker centre (top 6 + half of 12). */
|
|
|
|
|
|
.timeline-entry:first-child::before {
|
|
|
|
|
|
top: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Guard for a timeline without a terminal node: stop at the entry's own bottom. */
|
|
|
|
|
|
.timeline-entry:last-child::before {
|
|
|
|
|
|
bottom: 0;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-entry:last-child {
|
|
|
|
|
|
padding-bottom: 0;
|
2026-10-16 23:14:52 +07:00
|
|
|
|
margin-bottom: 0;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 23:14:52 +07:00
|
|
|
|
/* The 36px gutter puts the 12px marker's centre (x=6) exactly on the spine centre (left 5 + half of 2px). */
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.timeline-marker {
|
|
|
|
|
|
position: absolute;
|
2026-10-16 23:14:52 +07:00
|
|
|
|
left: -36px;
|
|
|
|
|
|
top: 6px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
width: 12px;
|
|
|
|
|
|
height: 12px;
|
|
|
|
|
|
border-radius: 50%;
|
2026-10-16 23:14:52 +07:00
|
|
|
|
border: 2px solid var(--border-strong);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
background: var(--bg-primary);
|
2026-10-16 23:14:52 +07:00
|
|
|
|
transition: border-color var(--transition-normal), background var(--transition-normal);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 23:14:52 +07:00
|
|
|
|
/* Data is newest-first, so the first entry is the current role: filled marker with a soft halo. */
|
|
|
|
|
|
.timeline-entry:first-child .timeline-marker {
|
2026-10-06 11:42:11 +07:00
|
|
|
|
background: var(--accent);
|
2026-10-16 23:14:52 +07:00
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
box-shadow: 0 0 0 4px var(--accent-soft);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-entry:hover .timeline-marker {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-entry:hover {
|
|
|
|
|
|
border-bottom-color: var(--border-strong);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* The newest node is a status, not a past role. It borrows the TLDR panel's quiet family —
|
|
|
|
|
|
flat surface, hairline border, radius, whisper shadow — and keeps two things the TLDR node
|
|
|
|
|
|
does not: an accent left edge and a pulsing marker. The entry gets real padding so the text
|
|
|
|
|
|
sits inside the panel instead of hugging its edge (the old bed had no padding, which on a
|
|
|
|
|
|
28px mobile gutter put the accent bar right against the first glyph). */
|
|
|
|
|
|
.timeline-entry-current {
|
|
|
|
|
|
isolation: isolate;
|
|
|
|
|
|
padding: 16px 18px 20px;
|
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-entry-current .timeline-marker {
|
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
animation: timeline-status-pulse 2.4s ease-out infinite;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Panel geometry. The 12px marker occupies absolute x 0–12 and the pulse peak (10px spread)
|
|
|
|
|
|
reaches x 22, so the panel's 2px left border starts at x 28 (left −8 against the 36px
|
|
|
|
|
|
gutter): 6px clear of the ring, and the text starts at 36 + 18 = 54, i.e. 24px inside it.
|
|
|
|
|
|
The entry's own divider is gone; the panel's border closes the box. */
|
|
|
|
|
|
.timeline-entry-current::after {
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
z-index: -1;
|
|
|
|
|
|
inset: -10px -10px -10px -8px;
|
|
|
|
|
|
background: var(--bg-surface);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-left: 2px solid var(--accent);
|
|
|
|
|
|
border-radius: var(--radius-lg);
|
|
|
|
|
|
box-shadow: inset 0 1px 0 var(--inset-highlight), 0 8px 20px -18px var(--shadow);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@keyframes timeline-status-pulse {
|
|
|
|
|
|
0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
|
|
|
|
|
|
50% { box-shadow: 0 0 0 10px transparent; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Mobile variant of the same pulse: 6px spread, so the ring stops at x 18 and the panel border
|
|
|
|
|
|
can keep 6px of air inside a 28px gutter. */
|
|
|
|
|
|
@keyframes timeline-status-pulse-sm {
|
|
|
|
|
|
0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
|
|
|
|
|
|
50% { box-shadow: 0 0 0 6px transparent; }
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* A break between jobs has to read as a break. Three signals, all quieter than the accent
|
|
|
|
|
|
work nodes: the spine turns dashed through this node, the marker shrinks to a muted ring,
|
|
|
|
|
|
the title goes italic-muted, and the divider is dropped so the dashed line bridges
|
|
|
|
|
|
straight into the next role. */
|
|
|
|
|
|
.timeline-entry-gap::before {
|
|
|
|
|
|
background: repeating-linear-gradient(
|
|
|
|
|
|
to bottom,
|
|
|
|
|
|
var(--border-strong) 0px,
|
|
|
|
|
|
var(--border-strong) 4px,
|
|
|
|
|
|
transparent 4px,
|
|
|
|
|
|
transparent 9px
|
|
|
|
|
|
);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-entry-gap {
|
|
|
|
|
|
border-bottom: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 10px ring: smaller than the 12px role markers. L = 6 − 36 − 10/2 = −35 keeps the centre on
|
|
|
|
|
|
the spine (x 6). */
|
|
|
|
|
|
.timeline-entry-gap .timeline-marker {
|
|
|
|
|
|
width: 10px;
|
|
|
|
|
|
height: 10px;
|
|
|
|
|
|
left: -35px;
|
|
|
|
|
|
border-color: var(--border-strong);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-entry-gap .timeline-title {
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
font-style: italic;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-entry-gap .timeline-company {
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Terminal node: the whole timeline collapsed into one line. Deliberately quiet — a flat
|
|
|
|
|
|
surface, a hairline border, a whisper of shadow. The only loud element is the diamond on
|
|
|
|
|
|
the spine. */
|
|
|
|
|
|
.timeline-tldr {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
padding: 20px 24px;
|
|
|
|
|
|
background: var(--bg-surface);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: var(--radius-lg);
|
|
|
|
|
|
box-shadow: inset 0 1px 0 var(--inset-highlight), 0 8px 20px -18px var(--shadow);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Stub from the previous node down to the diamond centre (top 16 + 6). Painted as ::before
|
|
|
|
|
|
so the diamond covers its end. */
|
|
|
|
|
|
.timeline-tldr::before {
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
left: -31px;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
width: 2px;
|
|
|
|
|
|
height: 22px;
|
|
|
|
|
|
border-radius: 1px;
|
|
|
|
|
|
background: var(--border);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Hollow diamond: the same ring language as the entry markers, but in accent so it still
|
|
|
|
|
|
reads as the end of the line. bg-primary fill masks the spine stub behind it; width and
|
|
|
|
|
|
height are border-box, so the centre stays on the spine (x 6). */
|
|
|
|
|
|
.timeline-tldr-marker {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
left: -36px;
|
|
|
|
|
|
top: 16px;
|
|
|
|
|
|
width: 12px;
|
|
|
|
|
|
height: 12px;
|
|
|
|
|
|
border: 2px solid var(--accent);
|
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
background: var(--bg-primary);
|
|
|
|
|
|
transform: rotate(45deg);
|
|
|
|
|
|
box-shadow: 0 0 0 3px var(--accent-soft);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Hairline link from the diamond into the panel, painted over the diamond so the join is
|
|
|
|
|
|
unbroken. */
|
|
|
|
|
|
.timeline-tldr::after {
|
|
|
|
|
|
content: '';
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
left: -24px;
|
|
|
|
|
|
top: 21px;
|
|
|
|
|
|
width: 24px;
|
|
|
|
|
|
height: 1px;
|
|
|
|
|
|
background: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Same voice as .section-tag: mono, uppercase, letterspaced — no box around it. */
|
|
|
|
|
|
.timeline-tldr-chip {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
font-family: var(--mono);
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
letter-spacing: 2px;
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* No color declaration: inherits the global p treatment (--text-secondary), the same
|
|
|
|
|
|
treatment every other lede on the site gets. */
|
|
|
|
|
|
.timeline-tldr-text {
|
|
|
|
|
|
font-size: var(--text-lede);
|
|
|
|
|
|
line-height: 1.55;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-header {
|
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-title {
|
|
|
|
|
|
font-size: 20px;
|
2026-10-16 21:14:59 +07:00
|
|
|
|
line-height: 1.3;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-company {
|
2026-10-16 23:14:52 +07:00
|
|
|
|
margin-top: 2px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
font-size: 16px;
|
2026-10-16 21:14:59 +07:00
|
|
|
|
line-height: 1.4;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 23:14:52 +07:00
|
|
|
|
.timeline-meta {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
gap: 4px 10px;
|
|
|
|
|
|
margin-top: 6px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-duration,
|
|
|
|
|
|
.timeline-location {
|
2026-10-06 11:42:11 +07:00
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 23:14:52 +07:00
|
|
|
|
.timeline-location::before {
|
|
|
|
|
|
content: '·';
|
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
color: var(--border-strong);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.timeline-responsibilities {
|
|
|
|
|
|
list-style: none;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
2026-10-16 23:14:52 +07:00
|
|
|
|
gap: 10px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-responsibilities li {
|
2026-10-16 23:14:52 +07:00
|
|
|
|
position: relative;
|
|
|
|
|
|
padding-left: 18px;
|
2026-10-16 21:14:59 +07:00
|
|
|
|
font-size: var(--text-meta);
|
|
|
|
|
|
line-height: var(--leading-body);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 23:14:52 +07:00
|
|
|
|
/* Dot sits on the x-height centre of the first line (line-height 1.65 → 0.66em). */
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.timeline-responsibilities li::before {
|
2026-10-16 23:14:52 +07:00
|
|
|
|
content: '';
|
2026-10-06 11:42:11 +07:00
|
|
|
|
position: absolute;
|
|
|
|
|
|
left: 0;
|
2026-10-16 23:14:52 +07:00
|
|
|
|
top: 0.66em;
|
|
|
|
|
|
width: 5px;
|
|
|
|
|
|
height: 5px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
border: 1px solid var(--accent);
|
|
|
|
|
|
background: var(--accent-soft);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.achievement-metric {
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
background: var(--accent);
|
2026-10-16 21:14:59 +07:00
|
|
|
|
color: var(--text-on-accent);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
padding: 4px 12px;
|
|
|
|
|
|
border-radius: var(--radius-sm);
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
margin: 4px 4px 4px 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
.timeline {
|
2026-10-16 23:14:52 +07:00
|
|
|
|
padding-left: 28px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 23:14:52 +07:00
|
|
|
|
.timeline-entry {
|
|
|
|
|
|
padding-bottom: 24px;
|
|
|
|
|
|
margin-bottom: 24px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 23:14:52 +07:00
|
|
|
|
.timeline-entry::before {
|
|
|
|
|
|
left: -23px;
|
|
|
|
|
|
bottom: -24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-tldr::before {
|
|
|
|
|
|
left: -23px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-tldr::after {
|
|
|
|
|
|
left: -16px;
|
|
|
|
|
|
width: 16px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-marker,
|
|
|
|
|
|
.timeline-tldr-marker {
|
|
|
|
|
|
left: -28px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 10px ring at the 28px gutter: L = 6 − 28 − 10/2 = −27. */
|
|
|
|
|
|
.timeline-entry-gap .timeline-marker {
|
|
|
|
|
|
left: -27px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Panel keeps a comparable absolute edge: 28 − 4 = 24, i.e. 6px clear of the capped mobile
|
|
|
|
|
|
ring (x 18) and 18px before the text (28 + 16 padding). */
|
|
|
|
|
|
.timeline-entry-current {
|
|
|
|
|
|
padding: 14px 16px 18px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-entry-current::after {
|
|
|
|
|
|
inset: -8px -8px -8px -4px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-entry-current .timeline-marker {
|
|
|
|
|
|
animation-name: timeline-status-pulse-sm;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline-tldr {
|
|
|
|
|
|
padding: 18px 20px;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 21:29:40 +07:00
|
|
|
|
/* ===== Projects Grid ===== */
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.projects-grid {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
|
gap: 24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-card {
|
|
|
|
|
|
background: var(--bg-surface);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: var(--radius-lg);
|
|
|
|
|
|
padding: 24px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 16px;
|
2026-10-17 20:02:47 +07:00
|
|
|
|
transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
color: inherit;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-card:hover {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
box-shadow: 0 4px 12px var(--shadow);
|
|
|
|
|
|
color: inherit;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-card-header {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-card h3 {
|
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-card-summary {
|
2026-10-16 21:14:59 +07:00
|
|
|
|
font-size: var(--text-meta);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
color: var(--text-secondary);
|
2026-10-16 21:14:59 +07:00
|
|
|
|
line-height: var(--leading-body);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
display: -webkit-box;
|
|
|
|
|
|
-webkit-line-clamp: 2;
|
|
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-card-techs {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-card-metrics {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-card-cta {
|
|
|
|
|
|
margin-top: auto;
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
.projects-grid {
|
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ===== Philosophy ===== */
|
|
|
|
|
|
.philosophy-grid {
|
|
|
|
|
|
display: grid;
|
2026-10-16 23:14:52 +07:00
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
gap: 24px;
|
|
|
|
|
|
margin-top: 32px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.philosophy-card {
|
|
|
|
|
|
background: var(--bg-surface);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: var(--radius-lg);
|
|
|
|
|
|
padding: 24px;
|
2026-10-17 20:02:47 +07:00
|
|
|
|
transition: border-color var(--transition-normal);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.philosophy-card:hover {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.philosophy-card h3 {
|
|
|
|
|
|
font-size: 18px;
|
2026-10-16 21:14:59 +07:00
|
|
|
|
line-height: 1.25;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.philosophy-card p {
|
2026-10-16 21:14:59 +07:00
|
|
|
|
font-size: var(--text-meta);
|
|
|
|
|
|
line-height: var(--leading-body);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.philosophy-keywords {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
gap: 6px;
|
|
|
|
|
|
margin-top: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.interests-list {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
gap: 8px;
|
|
|
|
|
|
margin-top: 24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 23:14:52 +07:00
|
|
|
|
@media (max-width: 1024px) {
|
|
|
|
|
|
.philosophy-grid {
|
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
.philosophy-grid {
|
|
|
|
|
|
grid-template-columns: 1fr;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ===== Contact ===== */
|
|
|
|
|
|
.contact-links {
|
2026-10-19 18:51:27 +07:00
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
gap: 32px;
|
|
|
|
|
|
margin-top: 32px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.contact-link {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
gap: 12px;
|
|
|
|
|
|
font-size: 16px;
|
2026-10-16 21:14:59 +07:00
|
|
|
|
line-height: 1.4;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
padding: 16px 24px;
|
|
|
|
|
|
background: var(--bg-surface);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: var(--radius-lg);
|
2026-10-17 20:02:47 +07:00
|
|
|
|
transition: border-color var(--transition-fast), color var(--transition-fast);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.contact-link:hover {
|
|
|
|
|
|
border-color: var(--accent);
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.contact-link svg {
|
|
|
|
|
|
width: 24px;
|
|
|
|
|
|
height: 24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 21:14:59 +07:00
|
|
|
|
.contact-link-sub {
|
|
|
|
|
|
font-size: var(--text-meta);
|
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
|
color: var(--text-muted);
|
2026-10-19 18:51:27 +07:00
|
|
|
|
overflow-wrap: anywhere;
|
2026-10-16 21:14:59 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-19 18:51:27 +07:00
|
|
|
|
@media (max-width: 1024px) {
|
|
|
|
|
|
.contact-links {
|
|
|
|
|
|
grid-template-columns: repeat(2, 1fr);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
.contact-links {
|
2026-10-19 18:51:27 +07:00
|
|
|
|
grid-template-columns: 1fr;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* ===== Footer ===== */
|
|
|
|
|
|
.footer {
|
|
|
|
|
|
border-top: 1px solid var(--border);
|
|
|
|
|
|
padding: 32px 0;
|
|
|
|
|
|
margin-top: auto;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.footer-container {
|
|
|
|
|
|
max-width: var(--max-wide);
|
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
|
padding: 0 24px;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.footer-text {
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.footer-links {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
gap: 24px;
|
|
|
|
|
|
list-style: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.footer-link {
|
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
color: var(--text-muted);
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
transition: color var(--transition-fast);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.footer-link:hover {
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
|
|
.footer-container {
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
gap: 16px;
|
2026-10-04 09:34:55 +07:00
|
|
|
|
text-align: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
.footer-links {
|
|
|
|
|
|
justify-content: center;
|
2026-10-04 09:34:55 +07:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
/* ===== Content prose ===== */
|
|
|
|
|
|
.prose {
|
2026-10-16 21:14:59 +07:00
|
|
|
|
max-width: var(--measure-prose);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.prose h2 {
|
|
|
|
|
|
margin-top: 48px;
|
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
font-size: 28px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.prose h3 {
|
2026-10-16 21:14:59 +07:00
|
|
|
|
margin-top: 1.5em;
|
|
|
|
|
|
margin-bottom: 0.65em;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.prose h4 {
|
|
|
|
|
|
margin-top: 1.25em;
|
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
line-height: 1.3;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.prose p {
|
2026-10-16 21:14:59 +07:00
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.prose p:last-child {
|
|
|
|
|
|
margin-bottom: 0;
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.prose ul,
|
|
|
|
|
|
.prose ol {
|
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
padding-left: 24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.prose li {
|
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
|
color: var(--text-secondary);
|
2026-10-16 21:14:59 +07:00
|
|
|
|
font-size: var(--text-body);
|
|
|
|
|
|
line-height: var(--leading-body);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.prose blockquote {
|
|
|
|
|
|
border-left: 4px solid var(--accent);
|
|
|
|
|
|
padding-left: 16px;
|
|
|
|
|
|
margin: 16px 0;
|
|
|
|
|
|
color: var(--text-secondary);
|
|
|
|
|
|
font-style: italic;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 23:14:52 +07:00
|
|
|
|
/* Wide reading column: same width as the page column. Body steps up to
|
|
|
|
|
|
--text-lede so a wider column keeps the 45-80 characters-per-line band. */
|
|
|
|
|
|
.prose-wide {
|
|
|
|
|
|
max-width: var(--measure-page);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.prose-wide p {
|
|
|
|
|
|
font-size: var(--text-lede);
|
|
|
|
|
|
line-height: 1.6;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 21:14:59 +07:00
|
|
|
|
/* Lead paragraph that stands outside a .prose column */
|
|
|
|
|
|
.prose-lede {
|
|
|
|
|
|
max-width: var(--measure-prose);
|
|
|
|
|
|
font-size: var(--text-lede);
|
|
|
|
|
|
line-height: 1.55;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 23:14:52 +07:00
|
|
|
|
/* A lede that sits next to a wide grid follows the page measure, not the prose measure */
|
|
|
|
|
|
.lede-wide {
|
|
|
|
|
|
max-width: var(--measure-page);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 21:14:59 +07:00
|
|
|
|
/* Column for blocks that are not prose (grids, tag lists, timelines) */
|
|
|
|
|
|
.page-body {
|
2026-10-16 23:14:52 +07:00
|
|
|
|
max-width: var(--measure-page);
|
2026-10-16 21:14:59 +07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.subheading {
|
|
|
|
|
|
margin-top: 32px;
|
|
|
|
|
|
margin-bottom: 12px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 23:14:52 +07:00
|
|
|
|
.philosophy-quote p {
|
|
|
|
|
|
text-align: justify;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-16 21:14:59 +07:00
|
|
|
|
.philosophy-quote + .philosophy-quote {
|
|
|
|
|
|
margin-top: 48px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.philosophy-quote h3 {
|
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-section {
|
|
|
|
|
|
background: var(--bg-surface);
|
|
|
|
|
|
border: 1px solid var(--border);
|
|
|
|
|
|
border-radius: var(--radius-md);
|
|
|
|
|
|
padding: 16px;
|
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
|
box-shadow: inset 0 1px 0 var(--inset-highlight);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-section h4 {
|
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.project-section p {
|
|
|
|
|
|
font-size: var(--text-meta);
|
|
|
|
|
|
line-height: var(--leading-body);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.back-link {
|
|
|
|
|
|
display: inline-block;
|
|
|
|
|
|
font-size: var(--text-meta);
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
margin-bottom: 32px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.section-cta {
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
font-size: var(--text-meta);
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.link-label {
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
color: var(--text-primary);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2026-10-06 11:42:11 +07:00
|
|
|
|
/* ===== Back to top ===== */
|
|
|
|
|
|
.back-to-top {
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
bottom: 24px;
|
|
|
|
|
|
right: 24px;
|
|
|
|
|
|
width: 40px;
|
|
|
|
|
|
height: 40px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
background: var(--accent);
|
2026-10-16 21:14:59 +07:00
|
|
|
|
color: var(--text-on-accent);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
border: none;
|
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
2026-10-17 20:02:47 +07:00
|
|
|
|
transition: background var(--transition-fast);
|
2026-10-06 11:42:11 +07:00
|
|
|
|
z-index: 100;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.back-to-top:hover {
|
|
|
|
|
|
background: var(--accent-hover);
|
2026-10-04 09:34:55 +07:00
|
|
|
|
}
|