/* Based on home.html – bold magazine style */
:root {
    --bg: #fafafa;
    --text: #18181b;
    --text-gray: #52525b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --border: #e4e4e7;
    --surface: #ffffff;
}

        .work-tiles {
            grid-template-columns: 1fr;
        }
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.6;
}

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

/* Bold Magazine Header */
header {
    padding: 80px 24px 60px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, #fafafa 0%, #f0f4ff 100%);
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.masthead,
.hero-grid {
    position: relative;
    z-index: 1;
}

.masthead {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 60px;
}

/* Inner pages: less bottom margin when no hero */
header .masthead.masthead-inner {
    margin-bottom: 0;
}

.site-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
}

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

.site-nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    transition: all 0.2s;
}

.nav-link:hover {
    color: var(--text);
    border-bottom-color: var(--accent);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
}

.hero-left h1 {
    font-family: 'Inter', sans-serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.6;
}

.hero-right {
    border-left: 2px solid var(--border);
    padding-left: 32px;
}

.hero-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: var(--text-gray);
}

.hero-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Section Styling */
.section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}

.section:nth-child(even) {
    background: linear-gradient(180deg, #fafafa 0%, #f8faff 100%);
}

.section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(59, 130, 246, 0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.6;
    pointer-events: none;
}

.section-header,
.services-list,
.podcast-item,
.content-masonry,
.timeline {
    position: relative;
    z-index: 1;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.section-number {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    line-height: 1;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
}

/* Services / cards */
.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

#services {
    position: relative;
    overflow: hidden;
}


    /* Single featured project/image for Projects & Writing */
    .projects-feature {
        text-align: center;
        margin-top: 12px;
    }

    .projects-feature img {
        width: 100%;
        max-width: 680px;
        height: auto;
        border-radius: 8px;
        border: 1px solid var(--border);
        display: inline-block;
    }

    .projects-feature a { display: inline-block; cursor: pointer; }

/* Project/Article preview grid and cards */
.project-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 12px;
}

.preview-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0;
    transition: all 0.2s;
}

.preview-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.preview-top {
    display: block;
    padding: 12px;
}

.preview-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 12px;
}

.preview-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.preview-title { 
    font-weight: 600; 
    color: var(--text); 
    font-size: 15px; 
    margin-bottom: 8px;
    line-height: 1.3;
}

.preview-desc { 
    font-size: 13px; 
    color: var(--text-gray); 
    line-height: 1.4;
}

@media (max-width: 900px) {
    .project-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .project-preview-grid {
        grid-template-columns: 1fr;
    }
}
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.service-item {
    background: var(--surface);
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: all 0.2s;
}

.service-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.service-icon {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 16px;
}

.service-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Podcasts */
#podcasts {
    position: relative;
    overflow: hidden;
}

#podcasts::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.podcast-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    background: var(--surface);
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 24px;
    transition: all 0.2s;
}

.podcast-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.podcast-item:last-child {
    margin-bottom: 0;
}

.podcast-item-cover {
    flex-shrink: 0;
    width: 120px;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--border);
}

.podcast-item-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.podcast-item-body {
    flex: 1;
    min-width: 0;
}

.podcast-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 16px;
    gap: 32px;
}

.podcast-title {
    font-family: 'Inter', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
}

.podcast-links {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.podcast-link {
    padding: 8px 16px;
    background: var(--surface);
    color: var(--accent);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 6px;
    transition: all 0.2s;
}

.podcast-link:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.podcast-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* Articles & Projects Grid */
.content-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.content-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 32px;
    text-decoration: none;
    display: block;
    transition: all 0.2s;
    color: inherit;
}

.content-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.content-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
}

.content-title {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--text);
}

.content-desc {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 20px;
}

.content-arrow {
    font-size: 20px;
    color: var(--accent);
}

/* Experience Timeline */
.timeline {
    display: grid;
    gap: 40px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 48px;
    padding: 24px 0;
}

.timeline-date {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding-top: 4px;
    color: var(--text);
}

.timeline-company {
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 4px;
}

.timeline-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-desc {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
    padding-left: 20px;
}

.timeline-desc li {
    margin-bottom: 8px;
}

.timeline-desc li:last-child {
    margin-bottom: 0;
}

/* Home page highlights (podcasts, work, resume teasers) */
.highlights-section {
    position: relative;
    z-index: 1;
}

.highlight-block {
    margin-bottom: 48px;
}

.highlight-block:last-child {
    margin-bottom: 0;
}

.highlight-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 16px;
    display: block;
}

.highlight-label a {
    color: var(--text-gray);
    text-decoration: none;
}

.highlight-label a:hover {
    color: var(--accent);
}

/* Podcast tiles: cover art grid */
.podcast-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.podcast-tile {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.podcast-tile:hover {
    transform: translateY(-4px);
}

.podcast-tile-cover {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    margin-bottom: 12px;
}

.podcast-tile-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.podcast-tile-title {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.podcast-tile:hover .podcast-tile-title {
    color: var(--accent);
}

/* Work tiles: logo + short text */
.work-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.work-tile {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s;
}

.work-tile:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.work-tile-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 12px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-tile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.work-tile-text {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-gray);
}

.work-tile-text .company-name {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.work-tile-text .company-desc {
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-gray);
    font-weight: 400;
}

.work-tile:hover .work-tile-text {
    color: var(--text);
}

/* Resume teaser: single strip */
.resume-teaser {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 24px 32px;
    transition: all 0.2s;
}

.resume-teaser:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.resume-teaser-text {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.resume-teaser-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
}

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

@media (max-width: 900px) {
    .podcast-tiles {
        grid-template-columns: repeat(2, 1fr);
    }

    .work-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .podcast-tiles {
        grid-template-columns: 1fr;
    }

    .work-tiles {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, #fafafa 0%, #f0f4ff 100%);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-cta,
.footer-note {
    position: relative;
    z-index: 1;
}

.footer-cta {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.footer-title {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.footer-text {
    font-size: 17px;
    color: var(--text-gray);
    margin-bottom: 32px;
}

.footer-offer {
    max-width: 560px;
    margin: 0 auto 40px;
    text-align: left;
}

.footer-offer-title {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.footer-offer ul {
    margin: 0;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-gray);
}

.footer-offer li {
    margin-bottom: 6px;
}

.footer-offer li:last-child {
    margin-bottom: 0;
}

.footer-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn {
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.btn-secondary {
    border: 1px solid var(--border);
    color: var(--text);
    background: var(--surface);
}

.btn-secondary:hover {
    border-color: var(--text);
}

.footer-note {
    text-align: center;
    margin-top: 80px;
    font-size: 14px;
    color: var(--text-gray);
}

/* Inner page header (podcasts, projects, resume) */
.page-title-wrap {
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.page-title-wrap .section-title {
    margin-bottom: 8px;
}

.page-subtitle {
    font-size: 17px;
    color: var(--text-gray);
}

@media (max-width: 900px) {
    .container {
        padding: 0 32px;
    }

    .site-title {
        font-size: 24px;
    }

    .site-nav {
        display: none;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left h1 {
        font-size: 36px;
    }

    .hero-right {
        border-left: none;
        border-top: 2px solid var(--border);
        padding-left: 0;
        padding-top: 32px;
    }

    .services-list {
        grid-template-columns: 1fr;
    }

    .content-masonry {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-number {
        font-size: 12px;
    }

    .section-title {
        font-size: 24px;
    }

    .podcast-top {
        flex-direction: column;
        gap: 16px;
    }

    .podcast-item {
        flex-direction: column;
    }

    .podcast-item-cover {
        width: 100%;
        max-width: 160px;
    }
}
