/* Visually hidden, accessible to screen readers & search engines */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:root {
    --bg: #0a0a0b;
    --bg-elevated: #141417;
    --text: #ffffff;
    --text-muted: #a1a1aa;
    --accent: #00ff88;
    --accent-dim: rgba(0, 255, 136, 0.1);
    --border: #27272a;
    --font-main: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--bg);
    color: var(--text);
    font-size: 17px;
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

.grid-bg {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.05em;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text);
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 32px;
    padding: 8px 16px;
    background: var(--accent-dim);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 4px;
}

.hero-tag .dot {
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

h1 {
    font-size: clamp(48px, 10vw, 96px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 32px;
}

h1 .line {
    display: block;
    overflow: hidden;
}

h1 .line span {
    display: inline-block;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay, 0s);
    transform: translateY(100%);
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

h1 .highlight {
    color: var(--accent);
    position: relative;
}

.hero-description {
    font-size: 20px;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 48px;
    animation: fadeIn 0.8s 0.6s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-stats {
    display: flex;
    gap: 64px;
    animation: fadeIn 0.8s 0.8s both;
}

.stat {
    position: relative;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.stat-number span {
    color: var(--accent);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 8px;
}

.hero-shape {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, var(--accent-dim) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) scale(1); }
    50% { transform: translateY(-50%) scale(1.1); }
}

/* Sections */
section {
    padding: 120px 0;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 64px;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--accent);
}

.section-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

.section-line {
    flex: 1;
    height: 1px;
    background: var(--border);
}

.section-link {
    font-size: 14px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.section-link:hover {
    color: var(--accent);
}

/* Currently */
.currently-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
    max-width: 800px;
}

.currently-content p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 64px;
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.focus-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.focus-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.focus-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-4px);
}

.focus-card:hover::before {
    opacity: 1;
}

.focus-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-dim);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
}

.focus-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.focus-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Projects */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.project {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.project:hover {
    padding-left: 24px;
}

.project-info h3 {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    transition: color 0.2s;
}

.project:hover .project-info h3 {
    color: var(--accent);
}

.project-info h3 .arrow {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s;
    color: var(--accent);
}

.project:hover .arrow {
    opacity: 1;
    transform: translateX(0);
}

.project-info p {
    font-size: 15px;
    color: var(--text-muted);
}

.project-status {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 4px;
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

/* Writing Grid */
.writing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.writing-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.writing-card:hover {
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-4px);
}

.writing-card .writing-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.writing-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 16px 0 12px;
    transition: color 0.2s;
}

.writing-card:hover h3 {
    color: var(--accent);
}

.writing-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Background */
.background-content h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 24px;
}

.background-content > p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 48px;
}

.companies {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.company {
    font-size: 15px;
    padding: 12px 24px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    transition: all 0.3s;
}

.company:hover {
    border-color: var(--accent);
    color: var(--text);
}

/* Contact */
.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    margin-bottom: 24px;
}

.contact-content > p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.linkedin-badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.linkedin-badge-wrapper .badge-base {
    background: var(--bg-elevated) !important;
    border: 1px solid var(--border) !important;
    border-radius: 12px !important;
}

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

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
}

.contact-link:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.contact-link svg {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-location {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
}

/* Page Header (for internal pages) */
.page-header {
    padding: 110px 0 40px;
    border-bottom: 1px solid var(--border);
}

.page-header .breadcrumb {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.page-header .breadcrumb a {
    color: var(--accent);
    text-decoration: none;
}

.page-header h1 {
    font-size: clamp(36px, 6vw, 56px);
    margin-bottom: 16px;
    animation: none;
}

.page-header h1 .line span {
    animation: none;
    transform: none;
}

.page-header .page-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
}

/* Article Content */
.article-content {
    padding: 80px 0;
}

.article-content .container {
    max-width: 760px;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 48px 0 24px;
}

.article-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 40px 0 16px;
}

.article-content p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.article-content p strong {
    color: var(--text);
}

.article-content ul,
.article-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.article-content li {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.article-content code {
    font-family: var(--font-mono);
    font-size: 15px;
    background: var(--bg-elevated);
    padding: 3px 8px;
    border-radius: 4px;
    color: var(--accent);
}

.article-content pre {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    overflow-x: auto;
    margin: 32px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text);
}

.article-content blockquote {
    border-left: 4px solid var(--accent);
    background: rgba(0, 255, 136, 0.04);
    padding: 24px 28px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
    font-size: 20px;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 0;
}

.article-content a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 255, 136, 0.3);
    transition: border-color 0.2s;
}

.article-content a:hover {
    border-color: var(--accent);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin: 32px auto;
}

/* Project Detail */
.project-meta {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.project-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-meta-item .label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.project-meta-item .value {
    font-size: 15px;
    color: var(--text);
}

.project-meta-item .value a {
    color: var(--accent);
    text-decoration: none;
}

/* Writing List */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.tag-cloud .tag {
    font-size: 13px;
    padding: 6px 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.tag-filter.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

.writing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.writing-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 32px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.writing-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.writing-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.writing-card .date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.writing-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(0, 255, 136, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.writing-card h3 {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s;
}

.writing-card:hover h3 {
    color: var(--accent);
}

.writing-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

.read-more {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--accent);
    margin-top: 8px;
}

/* ── Post cover image (detail page) ── */
.post-cover {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    margin-top: 73px; /* nav height */
    margin-bottom: -220px; /* header overlaps cover */
}
.post-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.post-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,10,11,0.3) 0%, rgba(10,10,11,1) 75%);
}

.post-header {
    padding: 120px 0 40px;
    border-bottom: 1px solid var(--border);
}
.post-header--has-cover {
    position: relative;
    z-index: 1;
    padding-top: 56px;
    padding-bottom: 40px;
    margin-top: 0;
}
.post-meta-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.writing-date {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
}
.post-title {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    animation: none;
}
.post-title .line span { animation: none; transform: none; }
.post-description {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 640px;
    line-height: 1.7;
}
.post-footer-nav {
    padding: 48px 0 24px;
    border-top: 1px solid var(--border);
}
.post-back-link {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}
.post-back-link:hover { color: var(--accent); }

/* ── Writing listing hero ── */
.writing-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    margin-top: 73px;
    overflow: hidden;
    width: 100%;
    margin-top: 73px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
    position: relative;
}
.writing-hero:hover { background: rgba(0,255,136,0.02); }

.writing-hero-img-wrap {
    position: relative;
    overflow: hidden;
}
.writing-hero-img-wrap--placeholder {
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg) 100%);
}
.writing-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.writing-hero:hover .writing-hero-img { transform: scale(1.03); }
.writing-hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(10,10,11,0) 60%, rgba(10,10,11,0.5) 100%);
}

.writing-hero-body {
    padding: 56px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}
.writing-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.writing-hero-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: var(--accent);
    color: var(--bg);
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
}
.writing-hero-date {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}
.writing-hero-title {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    transition: color 0.2s;
}
.writing-hero:hover .writing-hero-title { color: var(--accent); }
.writing-hero-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 480px;
}
.writing-hero-cta {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    margin-top: 8px;
    transition: letter-spacing 0.2s;
}
.writing-hero:hover .writing-hero-cta { letter-spacing: 0.04em; }

/* ── Blog card grid ── */
.writing-listing-section {
    padding: 60px 0 100px;
}

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.2s;
}
.blog-card:hover {
    border-color: rgba(0,255,136,0.35);
    transform: translateY(-4px);
}

.blog-card-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg);
}
.blog-card-img-wrap--placeholder {
    background: linear-gradient(135deg, var(--bg-elevated) 0%, #1a1a1d 100%);
}
.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.05); }

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}
.blog-card-date {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
}
.blog-card-title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.2s;
}
.blog-card:hover .blog-card-title { color: var(--accent); }
.blog-card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
    flex: 1;
}

@media (max-width: 1024px) {
    .blog-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .writing-hero { grid-template-columns: 1fr; min-height: auto; margin-top: 64px; }
    .writing-hero-img-wrap { height: 220px; }
    .writing-hero-body { padding: 32px 20px; }
    .blog-card-grid { grid-template-columns: 1fr; }
    .post-cover { height: 200px; margin-top: 64px; margin-bottom: -160px; }
}

/* Archive / Blog listing */
.archive-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.archive-month-group {
    margin-bottom: 48px;
}

.archive-month-label {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    padding-bottom: 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
}

.archive-row {
    display: grid;
    grid-template-columns: 32px 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(39, 39, 42, 0.6);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, padding-left 0.2s;
    border-radius: 6px;
}

.archive-row:hover {
    padding-left: 12px;
    background: rgba(0, 255, 136, 0.03);
}

.archive-row-day {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.archive-row-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    transition: color 0.2s;
    line-height: 1.4;
}

.archive-row:hover .archive-row-title {
    color: var(--accent);
}

.archive-row-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.archive-row-arrow {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.archive-row:hover .archive-row-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .archive-row {
        grid-template-columns: 28px 1fr auto;
    }
    .archive-row-tags { display: none; }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    nav {
        padding: 16px 0;
    }
    
    .nav-links {
        gap: 24px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        gap: 32px;
        flex-wrap: wrap;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    section {
        padding: 80px 0;
    }
    
    .project {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .project-status {
        justify-self: start;
    }
    
    footer .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .hero-shape {
        width: 300px;
        height: 300px;
        right: -100px;
    }
    
    .writing-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 90px 0 32px;
    }
}

/* Author bio block — used on blog posts */
.author-bio-section {
    border-top: 1px solid var(--border);
    padding: 2.5rem 0;
    margin-top: 1rem;
}
.author-bio {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}
.author-bio img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--border);
}
.author-bio-content strong {
    display: block;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.25rem;
}
.author-bio-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.author-bio-content a {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
}
.author-bio-content a:hover { text-decoration: underline; }
