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

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
            background-color: #f2f2f2;
            color: #1a1a1a;
            font-size: 16px;
            font-weight: 400;
            line-height: 1.5;
            letter-spacing: 0;
            position: relative;
        }

        .page-wrapper {
            position: relative;
            background-color: #1a1a1a;
            min-height: 100vh;
            margin: 0;
            padding: 0;
        }

        .content-container {
            background-color: #f2f2f2;
            min-height: 100vh;
            position: relative;
            will-change: margin-left, margin-right, border-radius;
            margin: 0;
            padding: 0;
        }

        /* Header - minimal, clean */
        .nav {
            z-index: 5;
            background-color: #f2f2f2;
        }

        .nav-content {
            max-width: 720px;
            margin: 0 auto;
            padding: 2.25rem 2rem 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            font-size: 1.125rem;
            font-weight: 400;
            color: #1a1a1a;
            text-decoration: none;
            letter-spacing: 0;
        }

        .menu-toggle {
            background: none;
            border: none;
            font-size: 1rem;
            font-weight: 400;
            color: #1a1a1a;
            cursor: pointer;
            padding: 0;
            letter-spacing: 0;
            display: none; /* Hidden but kept for theme compatibility */
        }

        .menu-toggle:hover {
            opacity: 0.6;
        }

        /* Menu overlay */
        /* Menu overlay - using visibility for proper animation */
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: 300;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            padding: 1.25rem 2rem;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            backdrop-filter: blur(0px);
            -webkit-backdrop-filter: blur(0px);
            transition: opacity 0.5s ease-out,
                        backdrop-filter 1s ease-out 0.15s,
                        visibility 0s linear 0.6s;
        }

        .menu-overlay.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            transition: opacity 0.5s ease-out,
                        backdrop-filter 1s ease-out 0.15s,
                        visibility 0s linear 0s;
        }

        .content-container.content-blur {
        }

        .menu-content {
            max-width: 720px;
            width: 100%;
            background-color: #ffffff;
            border-radius: 12px;
            overflow: visible;
            transform: translateY(0);
            opacity: 0;
            transition: opacity 0.5s ease-out 0.1s;
        }

        .menu-overlay.active .menu-content {
            transform: translateY(0);
            opacity: 1;
        }

        .menu-header {
            padding: 1rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            position: relative;
            z-index: 350;
        }

        .menu-close {
            background: none;
            border: none;
            font-size: 1rem;
            font-weight: 400;
            color: #1a1a1a;
            cursor: pointer;
            padding: 0;
            letter-spacing: 0;
            pointer-events: auto;
        }

        .menu-close:hover {
            opacity: 0.6;
        }

        .menu-items {
            padding: 2rem 2rem;
            list-style: none;
        }

        .menu-items li {
            margin-bottom: 1.5rem;
        }

        .menu-items li:last-child {
            margin-bottom: 0;
        }

        .menu-items a {
            font-size: 1rem;
            font-weight: 400;
            color: #1a1a1a;
            text-decoration: none;
            display: block;
            letter-spacing: 0;
        }

        .menu-items a:hover {
            opacity: 0.6;
        }

        .menu-icon {
            display: none;
        }

        /* Main content */
        .main {
            max-width: 720px;
            margin: 0 auto;
            padding: 6rem 2rem 12rem;
            position: relative;
        }

        .main::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 150px;
            background: linear-gradient(to bottom, rgba(242, 242, 242, 0) 0%, rgba(242, 242, 242, 1) 100%);
            pointer-events: none;
            z-index: 1;
        }

        .hero-title {
            font-size: 3.75rem;
            font-weight: 500;
            line-height: 1.1;
            margin-bottom: 2.5rem;
            letter-spacing: -0.1rem;
            color: #1a1a1a;
        }

        .hero-description {
            font-size: 1.125rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            color: #1a1a1a;
            letter-spacing: 0;
            font-weight: 400;
            max-width: none;
        }

        .hero-text p {
            font-size: 1.125rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
            color: #1a1a1a;
            letter-spacing: 0;
            font-weight: 400;
            text-wrap: balance;
        }

        .hero-text a {
            color: #1a1a1a;
            font-weight: 400;
            text-decoration: underline;
            letter-spacing: 0;
        }

        .hero-text a:hover {
            opacity: 0.6;
        }

        .section {
            margin-bottom: 5rem;
            position: relative;
            z-index: 2;
            padding-bottom: 5rem;
        }

        .section-title {
            font-size: 0.875rem;
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 3rem;
            padding-top: 2.1rem;
            color: #1a1a1a;
            visibility: hidden;
        }

        /* Experience and Journal Items */
        .experience-item, .journal-item {
            margin-bottom: 1.5rem;
            cursor: pointer;
            transition: opacity 0.3s ease;
            display: grid;
            grid-template-columns: 8px auto 1fr auto;
            gap: 1rem;
            align-items: center;
            margin-left: -1.5rem;
        }

        .journal-item a {
            display: contents;
            text-decoration: none;
            color: inherit;
        }

        /* Hover effect - dim other items when hovering one */
        .journal:has(.journal-item:hover) .journal-item:not(:hover) {
            opacity: 0.3;
            transition: opacity 0.2s ease;
        }

        .journal-item {
            transition: opacity 0.2s ease;
        }

        .category-dot {
            grid-column: 1;
        }

        .item-title {
            grid-column: 2;
            font-size: 1.125rem;
            font-weight: 400;
            color: #1a1a1a;
            margin-bottom: 0;
            line-height: 1.6;
            letter-spacing: 0;
        }

        .item-line {
            grid-column: 3;
            height: 1px;
            background-color: #e0e0e0;
        }

        .item-arrow {
            grid-column: 4;
            font-size: 1.125rem;
            color: #1a1a1a;
            white-space: nowrap;
        }

        .item-meta {
            display: none;
        }

        .experience-item:last-child, .journal-item:last-child {
            margin-bottom: 0;
        }

        /* Dim all items when hovering over any item */
        .section:has(.journal-item:hover) .journal-item:not(:hover),
        .section:has(.experience-item:hover) .experience-item:not(:hover) {
            opacity: 0.3;
        }

        .category-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .item-company {
            font-size: 1.125rem;
            font-weight: 400;
            color: #1a1a1a;
            margin-bottom: 0;
            line-height: 1.6;
            letter-spacing: 0;
        }

        .item-meta .item-subtitle {
            display: none;
        }

        /* Footer */
        .footer {
            background-color: #1a1a1a;
            color: #ffffff;
            padding: 4rem 2rem 4rem;
            position: relative;
        }

        .footer-content {
            max-width: 720px;
            margin: 0 auto;
            padding: 0 2rem;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 0;
        }

        .footer-link {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 2rem;
            padding: 1rem 0;
        }

        .footer-label {
            font-size: 1.125rem;
            color: #707070;
            letter-spacing: 0;
            font-weight: 400;
        }

        .footer-line {
            height: 1px;
            background-color: rgba(255, 255, 255, 0.1);
        }

        .footer-value {
            font-size: 1.125rem;
            color: #ffffff;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            white-space: nowrap;
            letter-spacing: 0;
            cursor: pointer;
            transition: opacity 0.2s ease;
        }

        .footer-value:hover {
            opacity: 0.6;
        }

        .external-icon {
            width: 16px;
            height: 16px;
            opacity: 0.6;
        }

        .footer-copyright {
            font-size: 1.125rem;
            color: #707070;
            margin-top: 3rem;
            letter-spacing: 0;
        }

        /* Category Filter */
        .category-filter {
            position: fixed;
            bottom: 2rem;
            left: 50%;
            transform: translateX(-50%);
            z-index: 9999;
            pointer-events: none;
        }

        .filter-bar {
            background: #ffffff;
            border-radius: 50px;
            padding: 0.5rem 0.75rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
            justify-content: center;
            flex-wrap: nowrap;
            pointer-events: auto;
        }

        .filter-item {
            font-size: 0.875rem;
            color: #707070;
            cursor: pointer;
            transition: color 0.2s ease;
            white-space: nowrap;
            padding: 0.25rem 0.125rem;
            display: flex;
            align-items: center;
            gap: 0.375rem;
        }

        .filter-item:hover,
        .filter-item.active {
            color: #1a1a1a;
        }

        .filter-item.active {
            font-weight: 500;
        }

        .filter-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            display: none;
        }

        .filter-item.active .filter-dot {
            display: block;
        }

        .filter-separator {
            width: 1px;
            height: 12px;
            background: #e0e0e0;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.25rem;
            }
        }

/* Single Post Styles */
.single-post {
    padding: 2.5rem 2rem 2rem;
}

/* Keep content constrained to 720px */
.single-post .post-content,
.single-post .related-posts {
    max-width: 720px;
    margin: 4rem auto 0;
}

.post-title {
    font-size: 3.75rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 3rem;
    margin-top: 0;
    letter-spacing: -0.1rem;
    color: #1a1a1a;
}

.post-body {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #1a1a1a;
}

/* Typography */
.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4,
.post-body h5,
.post-body h6 {
    font-weight: 500;
    line-height: 1.2;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0;
    color: #1a1a1a;
}

.post-body h1 { font-size: 2.5rem; }
.post-body h2 { font-size: 2rem; }
.post-body h3 { font-size: 1.5rem; }
.post-body h4 { font-size: 1.25rem; }
.post-body h5 { font-size: 1.125rem; }
.post-body h6 { font-size: 1rem; }

.post-body p {
    margin-bottom: 1.5rem;
}

.post-body a {
    color: #1a1a1a;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.post-body a:hover {
    opacity: 0.6;
}

.post-body strong {
    font-weight: 600;
}

.post-body em {
    font-style: italic;
}

/* Lists */
.post-body ul,
.post-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-body ul li,
.post-body ol li {
    margin-bottom: 0.5rem;
}

.post-body ul {
    list-style-type: disc;
}

.post-body ol {
    list-style-type: decimal;
}

/* Blockquotes */
.post-body blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 3px solid #1a1a1a;
    background-color: rgba(0, 0, 0, 0.02);
    font-style: italic;
    color: #4a4a4a;
}

.post-body blockquote p:last-child {
    margin-bottom: 0;
}

/* Code */
.post-body code {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9em;
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    color: #1a1a1a;
}

.post-body pre {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow-x: auto;
}

.post-body pre code {
    background-color: transparent;
    padding: 0;
    color: #f2f2f2;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Images */
.post-body img {
    max-width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 4px;
}

.post-body figure {
    margin: 2rem 0;
}

.post-body figcaption {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #707070;
    text-align: center;
    font-style: italic;
}

/* WordPress Image Captions */
.post-body .wp-caption {
    max-width: 100%;
    margin: 2rem 0;
}

.post-body .wp-caption img {
    margin: 0;
}

.post-body .wp-caption-text {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #707070;
    text-align: center;
    font-style: italic;
    padding: 0 1rem;
}

/* Tables */
.post-body table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

.post-body table th,
.post-body table td {
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    text-align: left;
}

.post-body table th {
    background-color: rgba(0, 0, 0, 0.02);
    font-weight: 600;
}

.post-body table tr:hover {
    background-color: rgba(0, 0, 0, 0.01);
}

/* Horizontal Rule */
.post-body hr {
    margin: 3rem 0;
    border: none;
    border-top: 1px solid #e0e0e0;
}

/* Post Meta */
.post-meta {
    margin-top: 2rem;
    padding-top: 0;
}

.post-updated {
    font-size: 1rem;
    color: #707070;
    margin: 0;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 0;
    padding-bottom: 4rem;
}

.related-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0;
    color: #1a1a1a;
}

/* WordPress Blocks Support */
.post-body .wp-block-image {
    margin: 2rem 0;
}

.post-body .wp-block-quote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 3px solid #1a1a1a;
    background-color: rgba(0, 0, 0, 0.02);
}

.post-body .wp-block-quote cite {
    font-style: normal;
    font-size: 0.95rem;
    color: #707070;
}

.post-body .wp-block-code {
    margin: 2rem 0;
}

/* Responsive adjustments for single posts */
@media (max-width: 768px) {
    .post-title {
        font-size: 2.25rem;
        margin-top: 1rem;
        margin-bottom: 2rem;
    }
    
    .post-body {
        font-size: 1rem;
    }
    
    .post-body h1 { font-size: 2rem; }
    .post-body h2 { font-size: 1.75rem; }
    .post-body h3 { font-size: 1.25rem; }
    
    .post-body blockquote {
        padding: 1rem 1.5rem;
    }
    
    .post-body pre {
        padding: 1rem;
    }
}


/* Critical WordPress and Browser Resets */
#wpadminbar {
    position: fixed !important;
}

html.admin-bar body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.admin-bar .page-wrapper {
    margin-top: 0 !important;
}

/* Force remove all WordPress body margins/padding */
body,
body.wp-embed-responsive,
body.logged-in,
body.admin-bar {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure html has no margins */
html {
    margin: 0 !important;
    padding: 0 !important;
}
