/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-tertiary: #f0f0f0;
    --bg-card: rgba(255, 255, 255, 0.9);
    --border-color: #d1d1d1;
    --border-hover: #9c9c9c;

    /* Text Colors */
    --text-primary: #1a1a1a;
    --text-secondary: #4b4b4b;
    --text-muted: #9c9c9c;

    /* Accent Colors */
    --accent-green: #000000;
    --accent-green-hover: #111111;
    --accent-blue: #2b2b2b;
    --accent-purple: #3a3a3a;
    --accent-orange: #4a4a4a;
    --accent-cyan: #5a5a5a;

    /* Gradients */
    --gradient-bg: linear-gradient(180deg, #ffffff 0%, #f8f8f8 50%, #ffffff 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    --gradient-glow: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.06) 0%, transparent 70%);
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

body {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-size: 14px;
    overflow-x: hidden;
}

/* Grid Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(209, 213, 219, 0.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(209, 213, 219, 0.4) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

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

/* Section Styling - Full page snap sections */
section {
    min-height: 100vh;
    padding: 100px 0;
    position: relative;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.name::before {
    content: '◆';
    color: var(--accent-green);
    display: inline-block;
    animation: spinDiamond 4s linear infinite;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: var(--text-primary);
}

.nav a.contact-btn {
    background: var(--accent-green);
    color: var(--bg-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.nav a.contact-btn:hover {
    background: var(--accent-green-hover);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    background: var(--gradient-bg);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 900px;
    height: 900px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.06) 30%, rgba(0, 0, 0, 0.02) 50%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.04) 40%, transparent 70%);
    pointer-events: none;
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 700px;
}

/* Availability Badge */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--accent-green);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.availability-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight-green {
    color: var(--accent-green);
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.3);
    text-underline-offset: 4px;
    text-decoration-thickness: 3px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-green);
    color: var(--bg-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-2px);
}

/* Hero Contact Buttons */
.hero-contact-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-contact-me {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-green);
    color: var(--bg-primary);
    padding: 0.7rem 1.25rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-contact-me:hover {
    background: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-copy-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.7rem 1.25rem;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-copy-email:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-2px);
}

.btn-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 50%;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-social-icon:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
    transform: translateY(-2px);
}

/* Keep old hero-stats for compatibility */
.hero-stats {
    display: none;
}

.stat-value {
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1.1rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Hero Tags */
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.hero-tag:hover {
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.headshot {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2), 0 0 80px rgba(0, 0, 0, 0.1), 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* About Section */
.about-section {
    min-height: auto;
    padding: 0;
}

.about-section h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.about-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-section strong {
    color: var(--text-primary);
}



/* Contact Links Section */
.contact-section {
    min-height: auto;
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.contact-section::after {
    display: none;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    border-color: var(--accent-green);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0.8);
}

.contact-item:hover .contact-icon {
    filter: brightness(1);
}

.contact-item.location {
    cursor: default;
}

.contact-item.location:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

.resume-btn {
    background: var(--accent-green);
    color: var(--bg-primary) !important;
    border-color: var(--accent-green);
}

.resume-btn:hover {
    background: var(--accent-green-hover);
    border-color: var(--accent-green-hover);
}

/* What I Work On Section */
.capabilities-section {
    min-height: 100vh;
    padding: 100px 0;
    background: var(--bg-primary);
}

.capabilities-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.capabilities-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.capability-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.capability-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.capability-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.capability-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.capability-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.capability-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Skills Section */
.skills-section {
    min-height: 100vh;
    padding: 100px 0;
    background: var(--bg-secondary);
}

.skills-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.skills-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.skills-subtitle {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1rem;
}

/* Tech Logos */
.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.tech-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(30%) brightness(1);
}

.tech-logo:hover {
    transform: scale(1.15);
    filter: grayscale(0%) brightness(1);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-category {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.skill-category:last-child {
    border-bottom: none;
}

.skill-category h3 {
    min-width: 180px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    border-color: var(--accent-green);
    color: var(--text-primary);
}

.skill-tag .icon {
    font-size: 0.9rem;
}

.skill-tag-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    filter: brightness(1);
}

.skill-tag:hover .skill-tag-icon {
    filter: brightness(1);
}

/* Certification Badge */
.cert-highlight {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(88, 166, 255, 0.1));
    border-color: var(--accent-green);
    color: var(--accent-green);
}

/* Experience Section */
.experience-section {
    min-height: 100vh;
    padding: 100px 0;
    background: var(--bg-primary);
}

.experience-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: left;
}

.experience-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.experience-timeline {
    position: relative;
    padding-left: 30px;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.experience-item {
    position: relative;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-item::before {
    content: '';
    position: absolute;
    left: -38px;
    top: 2.5rem;
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
}

.experience-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.experience-right {
    display: flex;
    flex-direction: column;
}

.experience-period {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.experience-role {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.experience-company,
.experience-location-new {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.company-icon,
.location-icon {
    width: 14px;
    height: 14px;
    opacity: 0.7;
}

.experience-summary {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.experience-details {
    list-style: none;
    padding-left: 0;
}

.experience-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.experience-details li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

.experience-details strong {
    color: var(--accent-green);
    font-weight: 600;
}

/* Projects Section */
.projects-section {
    min-height: 100vh;
    padding: 100px 0;
    background: var(--bg-secondary);
}

.projects-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: left;
}

.projects-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* Project Filters */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-btn:hover {
    border-color: var(--accent-green);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent-green);
    color: var(--bg-primary);
    border-color: var(--accent-green);
}

.project-card.hidden {
    display: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.project-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    border: 1px solid var(--border-color);
}

.project-summary-btn {
    background: transparent;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-summary-btn:hover {
    background: var(--accent-green);
    color: var(--bg-primary);
}

/* Education Section */
.education-section {
    min-height: 100vh;
    padding: 100px 0;
    background: var(--bg-primary);
}

.education-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: left;
}

.education-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.education-item {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.education-item:hover {
    border-color: var(--accent-green);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.education-header {
    margin-bottom: 1rem;
}

.education-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.education-period {
    display: inline-block;
    background: var(--accent-green);
    color: var(--bg-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.education-details {
    color: var(--text-secondary);
}

.institution {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.location {
    color: var(--text-muted);
}

/* Certifications */
.certifications {
    max-width: 900px;
    margin: 0 auto;
}

.certifications h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.cert-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.cert-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cert-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(88, 166, 255, 0.15);
}

.cert-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.cert-item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Contact Form Section */
.contact-form-section {
    min-height: 100vh;
    padding: 100px 0;
    background: var(--bg-secondary);
}

.contact-form-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: left;
}

.contact-form-section h2::before {
    content: '✦';
    color: var(--accent-green);
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.contact-form {
    max-width: 600px;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.submit-btn {
    background: var(--accent-green);
    color: var(--bg-primary);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Contact Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 600;
}

.modal-icon {
    flex-shrink: 0;
}

.modal-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.modal-form .form-group {
    margin-bottom: 1rem;
}

.modal-form label {
    display: block;
    color: var(--text-primary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.modal-form input,
.modal-form textarea {
    width: 100%;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
    color: var(--text-muted);
}

.modal-form input:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: var(--accent-green);
}

.modal-form textarea {
    resize: vertical;
    min-height: 100px;
}

.modal-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-modal-cancel {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-modal-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--accent-green);
    border: none;
    color: var(--bg-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-modal-send:hover {
    background: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.modal-footer-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 1.5rem;
}

@media (max-width: 480px) {
    .modal-form .form-row {
        grid-template-columns: 1fr;
    }

    .modal-buttons {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    font-size: 0.85rem;
    margin: 0;
}

.visitor-counter img {
    height: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.visitor-counter img:hover {
    opacity: 1;
}

/* Rotating Diamond Icon */
.rotating-diamond {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    animation: spinDiamond 4s linear infinite;
}

.rotating-diamond svg {
    display: block;
}

@keyframes spinDiamond {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeInUp 0.4s ease forwards;
}

/* Responsive Design */

/* Prevent horizontal scroll globally */
html,
body {
    overflow-x: hidden;
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1024px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-category {
        flex-direction: column;
        gap: 1rem;
    }

    .skill-category h3 {
        min-width: auto;
    }
}

@media (max-width: 768px) {

    /* Header & Navigation - Mobile Menu */
    .header .container {
        position: relative;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 280px;
        height: 100vh;
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 2rem 2rem;
        gap: 0;
        border-left: 1px solid var(--border-color);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        padding: 1rem 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
    }

    .nav a:last-child {
        border-bottom: none;
    }

    .nav a.contact-btn {
        margin-top: 1rem;
        text-align: center;
    }

    /* Mobile overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    /* Section general fixes */
    section {
        min-height: auto;
        padding: 60px 0;
        scroll-snap-align: none;
    }

    /* Hero Section */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-contact-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-tags {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .headshot {
        width: 180px;
        height: 180px;
    }

    .availability-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    /* Capabilities Section */
    .capabilities-title {
        font-size: 1.8rem;
    }

    .capability-card {
        padding: 1.5rem;
    }

    /* About Section */
    .about-section p {
        font-size: 0.95rem;
    }

    /* Skills Section */
    .skills-subtitle {
        font-size: 0.9rem;
    }

    .skill-category {
        padding: 1rem 0;
    }

    .skill-tag {
        padding: 0.35rem 0.6rem;
        font-size: 0.8rem;
    }

    .skill-tag-icon {
        width: 16px;
        height: 16px;
    }

    /* Experience Section - Stack to single column */
    .experience-timeline {
        padding-left: 15px;
    }

    .experience-timeline::before {
        left: 0;
    }

    .experience-item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .experience-item::before {
        left: -22px;
        width: 8px;
        height: 8px;
    }

    .experience-role {
        font-size: 1.1rem;
    }

    .experience-details li {
        font-size: 0.9rem;
        padding-left: 1.2rem;
    }

    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-filters {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        flex-shrink: 0;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .project-image {
        height: 180px;
    }

    .project-content {
        padding: 1.2rem;
    }

    .project-content h3 {
        font-size: 1rem;
    }

    .project-content p {
        font-size: 0.85rem;
    }

    /* Education Section */
    .education-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .education-item {
        padding: 1.5rem;
    }

    .education-header h3 {
        font-size: 1.1rem;
    }

    .certifications h3 {
        font-size: 1.2rem;
    }

    .cert-list {
        gap: 0.75rem;
    }

    .cert-item {
        padding: 1rem;
    }

    .cert-item h4 {
        font-size: 0.85rem;
    }

    /* Contact Grid */
    .contact-grid {
        flex-direction: column;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    /* Section titles uniform sizing */
    .capabilities-title,
    .skills-title,
    .experience-title,
    .projects-title,
    .education-title,
    .contact-title {
        font-size: 1.8rem;
    }

    /* Modal fixes */
    .modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 1rem;
    }
}

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

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .headshot {
        width: 150px;
        height: 150px;
    }

    .hero {
        padding-top: 100px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .btn-contact-me,
    .btn-copy-email {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    .btn-social-icon {
        width: 36px;
        height: 36px;
    }

    .stat-badge {
        flex-direction: column;
        text-align: center;
        gap: 0.2rem;
    }

    /* Experience card improvements */
    .experience-left {
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 0.5rem;
    }

    .experience-role {
        font-size: 1rem;
    }

    .experience-period {
        font-size: 0.8rem;
    }

    /* Capabilities */
    .capabilities-title {
        font-size: 1.5rem;
    }

    .capability-card h3 {
        font-size: 1rem;
    }

    .capability-card p {
        font-size: 0.85rem;
    }

    /* Skills tags even smaller */
    .skill-tag {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
        gap: 0.3rem;
    }

    .skill-tag-icon {
        width: 14px;
        height: 14px;
    }

    /* Projects */
    .project-image {
        height: 160px;
    }

    .project-summary-btn {
        width: 100%;
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Section titles */
    .capabilities-title,
    .skills-title,
    .experience-title,
    .projects-title,
    .education-title,
    .contact-title {
        font-size: 1.5rem;
    }

    /* Modal form */
    .modal-form .form-row {
        grid-template-columns: 1fr;
    }

    .modal-buttons {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1.25rem;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   Editorial Home Redesign (scoped)
   ========================================================================== */

html:has(body.editorial-home) {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

body.editorial-home {
    --editorial-header-height: 72px;
    --editorial-block-height: calc(100svh - var(--editorial-header-height));
    font-family: 'Space Grotesk', 'JetBrains Mono', sans-serif;
    background: #f9f9f9;
    color: #1b1b1b;
    height: auto;
    overflow-y: visible;
    overscroll-behavior-y: auto;
    padding-top: var(--editorial-header-height);
    scroll-snap-type: y proximity;
    scroll-behavior: auto;
    scroll-padding-top: var(--editorial-header-height);
}

body.editorial-home::before {
    display: none;
}

body.editorial-home .container {
    max-width: 1100px;
    padding: 0 22px;
}

body.editorial-home .editorial-landing-block {
    height: auto;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: visible;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

body.editorial-home .editorial-landing-block section {
    padding-top: 0;
    padding-bottom: 0;
}

body.editorial-home section {
    min-height: auto;
    display: block;
    align-items: stretch;
    padding: 56px 0;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
}

body.editorial-home > section.editorial-archive-section,
body.editorial-home > section.skills-section,
body.editorial-home > section.experience-section,
body.editorial-home > section.projects-section,
body.editorial-home > section.education-section,
body.editorial-home > section.editorial-contact-section {
    height: auto;
    min-height: auto;
    overflow-y: visible;
    overscroll-behavior: auto;
    scroll-margin-top: var(--editorial-header-height);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

body.editorial-home > section.editorial-ticker-section,
body.editorial-home > section.editorial-footer-section {
    padding-top: 0;
    padding-bottom: 0;
    background: var(--tc-surface);
    scroll-margin-top: var(--editorial-header-height);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

body.editorial-home section::after {
    display: none;
}

body.editorial-home .rotating-diamond {
    display: none !important;
    animation: none;
}

body.editorial-home .header {
    position: relative;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
}

body.editorial-home .header .container {
    padding: 1.15rem 22px;
    justify-content: flex-end;
}

body.editorial-home .name {
    display: none;
    color: #000;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.editorial-home .name::before {
    content: none;
}

body.editorial-home .nav {
    gap: 1.6rem;
}

body.editorial-home .nav a {
    color: #111;
    font-size: 0.98rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

body.editorial-home .nav a:hover,
body.editorial-home .nav a.active {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
}

body.editorial-home .hero {
    margin-top: 0;
    padding: 4px 0 16px;
    background: transparent;
    overflow: visible;
}

body.editorial-home .hero::before,
body.editorial-home .hero::after {
    display: none;
}

body.editorial-home .hero-content {
    grid-template-columns: minmax(0, 1.3fr) minmax(240px, 320px);
    gap: 2.4rem;
    align-items: start;
}

body.editorial-home .editorial-nameplate {
    font-size: clamp(4.1rem, 8.5vw, 6.9rem);
    line-height: 0.88;
    letter-spacing: -0.035em;
    font-weight: 700;
    color: #000;
}

body.editorial-home .editorial-intro {
    max-width: 600px;
    margin: 0.9rem 0 0.7rem;
    font-size: clamp(1.1rem, 2.05vw, 2.05rem);
    font-weight: 500;
    line-height: 1.08;
    color: #111;
}

body.editorial-home .editorial-accent {
    display: inline-block;
    margin-bottom: 0.95rem;
    border-bottom: 2px solid #111;
    font-size: clamp(1.35rem, 1.95vw, 1.95rem);
    font-weight: 500;
    line-height: 1;
    color: #000;
}

body.editorial-home .hero-ctas {
    margin-bottom: 0.8rem;
    gap: 0.85rem;
}

body.editorial-home .btn-primary,
body.editorial-home .btn-secondary {
    border-radius: 0;
    padding: 0.72rem 1.2rem;
    font-size: 0.93rem;
    font-weight: 500;
    text-transform: uppercase;
    border: 2px solid #111;
    min-width: 158px;
    justify-content: center;
    box-shadow: none;
    transform: none;
}

body.editorial-home .btn-primary {
    background: #000;
    color: #f3f3f3;
}

body.editorial-home .btn-primary:hover {
    background: #111;
    color: #fff;
    transform: none;
}

body.editorial-home .btn-secondary {
    background: transparent;
    color: #111;
    border: 2px solid #111;
}

body.editorial-home .btn-secondary:hover {
    background: #111;
    color: #fff;
    border-color: #111;
    transform: none;
}

body.editorial-home .hero-image {
    justify-content: flex-end;
}

body.editorial-home .headshot {
    width: min(100%, 285px);
    height: clamp(250px, 28vw, 312px);
    border-radius: 0;
    border: 0;
    box-shadow: none;
    object-fit: cover;
}

body.editorial-home .editorial-services {
    display: none;
}

body.editorial-home .editorial-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.16);
    padding-top: 1.4rem;
}

body.editorial-home .editorial-service {
    text-align: center;
    background: #f3f3f3;
    padding: 1rem 0.8rem;
}

body.editorial-home .editorial-service svg {
    width: 40px;
    height: 40px;
    color: #151515;
    margin-bottom: 0.45rem;
}

body.editorial-home .editorial-service h3 {
    font-size: clamp(1.05rem, 1.45vw, 1.35rem);
    line-height: 1;
    margin-bottom: 0.35rem;
    color: #000;
}

body.editorial-home .editorial-service p {
    font-size: 0.93rem;
    line-height: 1.35;
    color: #333;
}

body.editorial-home .editorial-project-showcase {
    padding: 0;
}

body.editorial-home .editorial-project-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
}

body.editorial-home .editorial-project-card {
    border: 2px solid #111;
    background: #f3f3f3;
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 136px;
    cursor: pointer;
}

body.editorial-home .editorial-project-card:hover {
    background: #e8e8e8;
}

body.editorial-home .editorial-project-card img {
    width: 100%;
    height: 100%;
    min-height: 132px;
    object-fit: cover;
    border-right: 2px solid #111;
}

body.editorial-home .editorial-project-copy {
    padding: 0.7rem 0.75rem;
}

body.editorial-home .editorial-project-copy h3 {
    font-size: clamp(1.05rem, 1.52vw, 1.7rem);
    line-height: 1;
    margin-bottom: 0.32rem;
    color: #000;
    text-transform: uppercase;
}

body.editorial-home .editorial-project-copy p {
    font-size: 0.92rem;
    line-height: 1.2;
    color: #181818;
}

body.editorial-home .capabilities-section,
body.editorial-home .about-section-full,
body.editorial-home .skills-section,
body.editorial-home .experience-section,
body.editorial-home .projects-section,
body.editorial-home .education-section {
    background: #f9f9f9 !important;
}

body.editorial-home .capabilities-section h2,
body.editorial-home .skills-section h2,
body.editorial-home .experience-section h2,
body.editorial-home .projects-section h2,
body.editorial-home .education-section h2,
body.editorial-home .about-section h3 {
    font-size: 0.9rem;
    color: #444;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.editorial-home .capabilities-title,
body.editorial-home .skills-subtitle,
body.editorial-home .experience-title,
body.editorial-home .projects-title,
body.editorial-home .education-title {
    font-size: clamp(1.8rem, 3.2vw, 2.8rem);
    line-height: 1;
    color: #000;
    margin-bottom: 1.4rem;
}

body.editorial-home .capability-card,
body.editorial-home .education-item,
body.editorial-home .cert-item {
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #f3f3f3;
    box-shadow: none;
}

body.editorial-home .project-filters {
    margin-bottom: 1rem;
}

body.editorial-home .filter-btn {
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: #f3f3f3;
    color: #1b1b1b;
    font-family: 'JetBrains Mono', monospace;
}

body.editorial-home .filter-btn.active,
body.editorial-home .filter-btn:hover {
    background: #000;
    color: #f3f3f3;
    border-color: #000;
}

body.editorial-home .projects-grid {
    max-width: none;
    gap: 1rem;
}

body.editorial-home .project-card {
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.18);
    box-shadow: none;
    background: #f3f3f3;
}

body.editorial-home .project-card:hover {
    transform: none;
    border-color: #000;
    background: #e8e8e8;
}

body.editorial-home .project-image {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

body.editorial-home .project-content h3 {
    color: #0f0f0f;
    font-weight: 700;
}

body.editorial-home .project-content p {
    color: #2b2b2b;
}

body.editorial-home .tag {
    border-radius: 0;
    background: #fff;
    color: #222;
}

body.editorial-home .project-summary-btn {
    border-radius: 0;
    border-color: #111;
    color: #111;
}

body.editorial-home .project-summary-btn:hover {
    background: #111;
    color: #fff;
}

body.editorial-home .editorial-contact-section {
    background: #f3f3f3;
    padding-top: 84px;
    padding-bottom: 56px;
}

body.editorial-home .editorial-contact-section h2 {
    font-size: clamp(2.6rem, 6.2vw, 5.8rem);
    line-height: 0.9;
    margin-bottom: 1.8rem;
    color: #000;
}

body.editorial-home .editorial-contact-form label {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.32rem;
    color: #111;
}

body.editorial-home .editorial-contact-form input,
body.editorial-home .editorial-contact-form textarea {
    width: 100%;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #777;
    color: #111;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    padding: 0.3rem 0 0.72rem;
    margin-bottom: 1.25rem;
}

body.editorial-home .editorial-contact-form input:focus,
body.editorial-home .editorial-contact-form textarea:focus {
    outline: none;
    border-bottom: 2px solid #000;
}

body.editorial-home .editorial-contact-form button {
    width: 100%;
    border: 0;
    background: #000;
    color: #e2e2e2;
    padding: 0.72rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    cursor: pointer;
}

body.editorial-home .editorial-contact-form button:hover {
    background: #111;
}

body.editorial-home .editorial-social-links {
    margin-top: 2.3rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

body.editorial-home .editorial-social-links a {
    color: #111;
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
}

body.editorial-home .editorial-social-links a:hover {
    text-decoration: underline;
}

body.editorial-home .editorial-ticker {
    background: #e2e2e2;
    border-top: 1px solid rgba(0, 0, 0, 0.14);
    border-bottom: 1px solid rgba(0, 0, 0, 0.14);
}

body.editorial-home .editorial-ticker p {
    margin: 0;
    padding: 0.55rem 1rem;
    text-align: center;
    color: #111;
    font-size: clamp(0.86rem, 1.5vw, 1.05rem);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.editorial-home .footer {
    background: #f9f9f9;
    border-top: 0;
}

body.editorial-home .footer p {
    color: #333;
}

@media (max-width: 1024px) {
    body.editorial-home .editorial-landing-block {
        height: auto;
        min-height: auto;
        scroll-snap-stop: normal;
    }

    body.editorial-home .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    body.editorial-home .hero-image {
        justify-content: flex-start;
    }

    body.editorial-home .editorial-project-list {
        grid-template-columns: 1fr;
    }

    body.editorial-home .editorial-services-grid {
        grid-template-columns: 1fr;
    }

    body.editorial-home .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body.editorial-home .container {
        padding: 0 16px;
    }

    body.editorial-home .header .container {
        padding: 0.95rem 16px;
    }

    body.editorial-home .name {
        display: block;
        font-size: 1.45rem;
    }

    body.editorial-home .nav {
        background: #ffffff;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }

    body.editorial-home .nav a {
        font-size: 0.95rem;
    }

    body.editorial-home .hero {
        margin-top: 0;
        padding-bottom: 12px;
    }

    body.editorial-home .hero-ctas {
        gap: 0.6rem;
    }

    body.editorial-home .btn-primary,
    body.editorial-home .btn-secondary {
        min-width: 0;
        width: auto;
        font-size: 0.88rem;
        padding: 0.7rem 1rem;
    }

    body.editorial-home .headshot {
        width: min(100%, 240px);
        height: 280px;
    }

    body.editorial-home .editorial-project-card {
        grid-template-columns: 1fr;
    }

    body.editorial-home .editorial-project-card img {
        min-height: 180px;
        border-right: 0;
        border-bottom: 2px solid #111;
    }

    body.editorial-home .editorial-contact-section h2 {
        font-size: clamp(2.1rem, 14vw, 3.2rem);
    }

    body.editorial-home .editorial-social-links {
        justify-content: flex-start;
    }

    body.editorial-home .editorial-ticker p {
        text-align: left;
    }
}

/* ==========================================================================
   Terminal Curator System (DESIGN.md) - Global Home Override
   ========================================================================== */

body.editorial-home {
    --tc-primary: #000000;
    --tc-on-primary: #e2e2e2;
    --tc-surface: #f9f9f9;
    --tc-surface-low: #f9f9f9;
    --tc-surface-container: #f9f9f9;
    --tc-surface-high: #f9f9f9;
    --tc-surface-highest: #f9f9f9;
    --tc-on-surface: #1b1b1b;
    --tc-on-surface-variant: #474747;
    --tc-outline: #777777;
    --tc-outline-variant: rgba(198, 198, 198, 0.2);
    --tc-spacing-16: 5.5rem;
    --tc-spacing-24: 8.5rem;
    font-family: 'Space Grotesk', 'JetBrains Mono', sans-serif;
    color: var(--tc-on-surface);
    background: var(--tc-surface);
}

body.editorial-home p,
body.editorial-home li,
body.editorial-home a,
body.editorial-home span,
body.editorial-home label {
    color: var(--tc-on-surface);
}

body.editorial-home section {
    padding-top: clamp(3.6rem, 7vw, 5.5rem);
    padding-bottom: clamp(3.6rem, 7vw, 5.5rem);
    background: var(--tc-surface);
}

body.editorial-home section::after,
body.editorial-home .experience-item::before,
body.editorial-home .capability-card::before {
    display: none !important;
}

body.editorial-home .hero,
body.editorial-home .projects-section,
body.editorial-home .education-section,
body.editorial-home .footer {
    background: var(--tc-surface);
}

body.editorial-home .skills-section,
body.editorial-home .experience-section,
body.editorial-home .capabilities-section,
body.editorial-home .editorial-project-showcase,
body.editorial-home .contact-section {
    background: var(--tc-surface) !important;
}

body.editorial-home .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(249, 249, 249, 0.86);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--tc-outline-variant);
}

body.editorial-home .header .container {
    min-height: var(--editorial-header-height);
    padding-block: 0.82rem;
}

body.editorial-home .nav a {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--tc-on-surface);
}

body.editorial-home .nav a:hover,
body.editorial-home .nav a.active {
    color: var(--tc-primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

body.editorial-home .editorial-nameplate,
body.editorial-home .hero-title {
    font-size: clamp(3.5rem, 7vw, 6.2rem);
    line-height: 0.92;
    letter-spacing: -0.02em;
    margin-bottom: 0.45rem;
    color: var(--tc-primary);
}

body.editorial-home .editorial-intro,
body.editorial-home .hero-subtitle {
    margin: 0.72rem 0 0.95rem;
    font-size: clamp(1rem, 1.5vw, 1.7rem);
    line-height: 1.1;
    color: var(--tc-on-surface);
}

body.editorial-home .hero-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 0.1rem 0 1.05rem;
}

body.editorial-home .hero-social-links a {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.84rem;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--tc-on-surface);
    border: 1px solid var(--tc-outline);
    padding: 0.36rem 0.66rem;
    background: var(--tc-surface);
}

body.editorial-home .hero-social-links a:hover {
    color: var(--tc-on-primary);
    background: var(--tc-primary);
    border-color: var(--tc-primary);
}

body.editorial-home .editorial-accent {
    margin-bottom: 1.05rem;
    font-size: clamp(1.24rem, 1.95vw, 1.9rem);
    color: var(--tc-primary);
    border-bottom-color: var(--tc-primary);
}

body.editorial-home .btn-primary,
body.editorial-home .btn-secondary,
body.editorial-home .project-summary-btn,
body.editorial-home .btn-modal-send,
body.editorial-home .btn-modal-cancel {
    border-radius: 0;
    box-shadow: none;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-weight: 600;
}

body.editorial-home .btn-primary,
body.editorial-home .project-summary-btn,
body.editorial-home .btn-modal-send {
    background: linear-gradient(180deg, #000000, #3b3b3b);
    color: var(--tc-on-primary);
    border: 1px solid var(--tc-primary);
    padding: 0.74rem 1.3rem;
}

body.editorial-home .btn-primary:hover,
body.editorial-home .project-summary-btn:hover,
body.editorial-home .btn-modal-send:hover {
    background: #111111;
    color: #ffffff;
    transform: none;
}

body.editorial-home .btn-secondary,
body.editorial-home .btn-modal-cancel {
    background: transparent;
    color: var(--tc-on-surface);
    border: 1px solid var(--tc-outline);
    padding: 0.74rem 1.3rem;
}

body.editorial-home .btn-secondary:hover,
body.editorial-home .btn-modal-cancel:hover {
    background: var(--tc-surface-high);
    color: var(--tc-primary);
    border-color: var(--tc-primary);
    transform: none;
}

body.editorial-home .hero-ctas {
    margin-bottom: 1.35rem;
}

body.editorial-home .stack-pillars {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

body.editorial-home .stack-pillar {
    border: 2px solid #111;
    background: #f4f4f4;
    padding: 1rem 1.1rem;
}

body.editorial-home .stack-pillar h3 {
    margin: 0 0 0.38rem;
    font-size: clamp(1.06rem, 1.6vw, 1.35rem);
    line-height: 1;
    color: #000;
    text-transform: uppercase;
}

body.editorial-home .stack-pillar p {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.3;
    color: #1b1b1b;
}

body.editorial-home .experience-timeline {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

body.editorial-home .experience-timeline::before {
    display: none;
}

body.editorial-home .experience-item {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 1.2rem;
    margin: 0;
    padding: 1.05rem;
    border: 2px solid #111;
    background: #f4f4f4;
}

body.editorial-home .experience-left,
body.editorial-home .experience-right {
    gap: 0.45rem;
}

body.editorial-home .experience-period {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    color: #111;
    text-transform: uppercase;
}

body.editorial-home .experience-role {
    margin: 0;
    font-size: clamp(1.15rem, 2.2vw, 1.9rem);
    line-height: 0.95;
    color: #000;
}

body.editorial-home .experience-company {
    display: block;
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.86rem;
    color: #474747;
}

body.editorial-home .experience-summary {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    line-height: 1.22;
    color: #111;
    font-weight: 600;
}

body.editorial-home .experience-details {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.editorial-home .experience-details li {
    margin: 0 0 0.35rem;
    padding-left: 1rem;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #1b1b1b;
}

body.editorial-home .experience-details li::before {
    content: "•";
    left: 0;
    color: #000;
}

body.editorial-home .editorial-archive-section {
    background: var(--tc-surface);
    padding-top: clamp(2.8rem, 5vw, 4.2rem);
    padding-bottom: clamp(2.8rem, 5vw, 4.2rem);
}

body.editorial-home .archive-heading {
    margin: 0 0 1rem;
    font-size: clamp(1.6rem, 3vw, 2.6rem);
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: var(--tc-primary);
}

body.editorial-home .archive-table {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

body.editorial-home .archive-row {
    display: grid;
    grid-template-columns: 154px minmax(0, 1fr) 108px 250px;
    align-items: center;
    gap: 1rem;
    border: 2px solid #111;
    background: var(--tc-surface);
    padding: 0.35rem;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

body.editorial-home .archive-row:hover {
    background: var(--tc-surface-high, #e8e8e8);
    transform: translateX(4px);
    border-color: #000;
}

body.editorial-home .archive-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
}

body.editorial-home .archive-thumbs img {
    width: 100%;
    height: 52px;
    object-fit: cover;
    border: 1px solid var(--tc-outline-variant);
}

body.editorial-home .archive-title {
    margin: 0;
    font-size: clamp(1.02rem, 1.8vw, 1.95rem);
    line-height: 1;
    color: var(--tc-primary);
    text-transform: uppercase;
}

body.editorial-home .archive-year,
body.editorial-home .archive-type {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.94rem;
    color: var(--tc-on-surface);
    text-transform: uppercase;
}

body.editorial-home .editorial-project-card,
body.editorial-home .skill-category,
body.editorial-home .experience-item,
body.editorial-home .project-card,
body.editorial-home .education-item,
body.editorial-home .cert-item,
body.editorial-home .contact-item,
body.editorial-home .modal-content {
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--tc-outline-variant);
    background: var(--tc-surface-low);
}

body.editorial-home .editorial-project-card:hover,
body.editorial-home .project-card:hover,
body.editorial-home .skill-category:hover,
body.editorial-home .experience-item:hover,
body.editorial-home .education-item:hover,
body.editorial-home .cert-item:hover {
    background: var(--tc-surface-high);
    border-color: rgba(198, 198, 198, 0.35);
    transform: none;
}

body.editorial-home .editorial-project-card:hover {
    border-color: #111;
}

body.editorial-home .editorial-project-card {
    display: grid;
    grid-template-columns: 40% 60%;
    border: 2px solid #111;
    background: #f4f4f4;
    min-height: 132px;
}

body.editorial-home .editorial-project-card img {
    width: 100%;
    height: 100%;
    min-height: 128px;
    object-fit: cover;
    border-right: 2px solid #111;
}

body.editorial-home .editorial-project-list {
    gap: 0.88rem;
    align-content: start;
}

body.editorial-home .editorial-project-copy {
    padding: 0.62rem 0.72rem;
    background: #f4f4f4;
}

body.editorial-home .editorial-project-copy p {
    font-size: 0.95rem;
    line-height: 1.2;
}

body.editorial-home .editorial-project-list .editorial-project-card {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body.editorial-home .editorial-project-list .editorial-project-copy {
    display: block !important;
}

body.editorial-home .project-image,
body.editorial-home .cert-icon,
body.editorial-home .skill-tag-icon {
    border-radius: 0;
}

body.editorial-home .skill-tag,
body.editorial-home .tag,
body.editorial-home .filter-btn,
body.editorial-home .experience-period,
body.editorial-home .experience-company,
body.editorial-home .experience-location-new,
body.editorial-home .cert-item p {
    font-family: 'JetBrains Mono', monospace;
    color: var(--tc-on-surface-variant);
}

body.editorial-home .skill-tag,
body.editorial-home .tag,
body.editorial-home .filter-btn {
    border-radius: 0;
    background: var(--tc-surface);
    border: 1px solid var(--tc-outline-variant);
}

body.editorial-home .filter-btn.active,
body.editorial-home .filter-btn:hover {
    background: var(--tc-primary);
    color: var(--tc-on-primary);
    border-color: var(--tc-primary);
}

body.editorial-home .skills-section h2,
body.editorial-home .experience-section h2,
body.editorial-home .projects-section h2,
body.editorial-home .education-section h2 {
    display: flex;
    align-items: baseline;
    gap: 0.55rem;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--tc-primary);
}

body.editorial-home .skills-section h2::before {
    content: none;
}

body.editorial-home .experience-section h2::before {
    content: none;
}

body.editorial-home .projects-section h2::before {
    content: none;
}

body.editorial-home .education-section h2::before {
    content: none;
}

body.editorial-home .skills-section h2::before,
body.editorial-home .experience-section h2::before,
body.editorial-home .projects-section h2::before,
body.editorial-home .education-section h2::before {
    display: none;
}

body.editorial-home .skills-subtitle,
body.editorial-home .experience-title,
body.editorial-home .projects-title,
body.editorial-home .education-title {
    color: var(--tc-on-surface-variant);
    margin-top: 0.4rem;
}

body.editorial-home .modal-overlay {
    background: rgba(20, 20, 20, 0.45);
}

body.editorial-home .modal-content {
    background: var(--tc-surface);
    box-shadow: 0 10px 40px rgba(27, 27, 27, 0.04);
}

body.editorial-home .modal-header,
body.editorial-home .modal-footer-text {
    border: 0;
}

body.editorial-home .modal-form label {
    font-family: 'JetBrains Mono', monospace;
    color: var(--tc-on-surface-variant);
}

body.editorial-home .modal-form input,
body.editorial-home .modal-form textarea {
    border: 0;
    border-bottom: 1px solid var(--tc-outline);
    border-radius: 0;
    background: transparent;
    padding-left: 0;
    padding-right: 0;
    color: var(--tc-on-surface);
}

body.editorial-home .modal-form input:focus,
body.editorial-home .modal-form textarea:focus {
    border-bottom: 2px solid var(--tc-primary);
}

body.editorial-home .editorial-ticker {
    background: var(--tc-surface-highest);
    border-top: 0;
    border-bottom: 0;
}

body.editorial-home .editorial-ticker p {
    font-family: 'JetBrains Mono', monospace;
    color: var(--tc-on-surface);
}

@media (max-width: 1024px) {
    body.editorial-home .stack-pillars {
        grid-template-columns: 1fr;
    }

    body.editorial-home .experience-item {
        grid-template-columns: 1fr;
    }

    body.editorial-home .archive-row {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    body.editorial-home .archive-thumbs img {
        height: 66px;
    }
}

@media (max-width: 768px) {
    body.editorial-home .btn-primary,
    body.editorial-home .btn-secondary,
    body.editorial-home .project-summary-btn,
    body.editorial-home .btn-modal-send,
    body.editorial-home .btn-modal-cancel {
        width: auto;
        min-width: 0;
        padding: 0.72rem 1rem;
    }

    body.editorial-home .skills-section h2,
    body.editorial-home .experience-section h2,
    body.editorial-home .projects-section h2,
    body.editorial-home .education-section h2 {
        flex-wrap: wrap;
    }

    body.editorial-home .archive-heading {
        font-size: clamp(1.35rem, 7vw, 1.8rem);
    }

    body.editorial-home .archive-thumbs img {
        height: 58px;
    }

    body.editorial-home .archive-year,
    body.editorial-home .archive-type {
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   Global Design System Reset (DESIGN.md: strict 0px radius, no card shadows)
   Catches all legacy elements not individually overridden above.
   ========================================================================== */

body.editorial-home *:not(.modal-overlay) {
    border-radius: 0 !important;
}

body.editorial-home *:not(.modal-content):not(.modal-overlay) {
    box-shadow: none !important;
}

/* Re-allow the ambient modal shadow per DESIGN.md §4 (overlays only) */
body.editorial-home .modal-content {
    box-shadow: 0 10px 40px rgba(27, 27, 27, 0.04) !important;
}

/* ==========================================================================
   Editorial Interaction Overrides (snap blocks + cleaner hierarchy)
   ========================================================================== */

html:has(body.editorial-home) {
    height: 100%;
    overflow: hidden;
}

body.editorial-home {
    height: 100dvh;
    overflow-y: auto !important;
    overflow-x: hidden;
    scroll-snap-type: y mandatory !important;
    scroll-padding-top: var(--editorial-header-height);
    scroll-behavior: auto !important;
    overscroll-behavior-y: contain;
    scrollbar-width: none;
}

body.editorial-home::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body.editorial-home > .editorial-landing-block,
body.editorial-home > section.skills-section,
body.editorial-home > section.experience-section,
body.editorial-home > section.projects-section,
body.editorial-home > section.education-section,
body.editorial-home > section.editorial-contact-section,
body.editorial-home > section.editorial-archive-section {
    min-height: var(--editorial-block-height) !important;
    height: var(--editorial-block-height) !important;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
    padding-top: clamp(3.1rem, 5vw, 4.1rem);
    padding-bottom: clamp(2.4rem, 4vw, 3.4rem);
    scrollbar-width: none;
}

body.editorial-home > .editorial-landing-block::-webkit-scrollbar,
body.editorial-home > section.skills-section::-webkit-scrollbar,
body.editorial-home > section.experience-section::-webkit-scrollbar,
body.editorial-home > section.projects-section::-webkit-scrollbar,
body.editorial-home > section.education-section::-webkit-scrollbar,
body.editorial-home > section.editorial-contact-section::-webkit-scrollbar,
body.editorial-home > section.editorial-archive-section::-webkit-scrollbar {
    width: 0;
    height: 0;
}

body.editorial-home > section.editorial-ticker-section,
body.editorial-home > section.editorial-footer-section {
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
}

body.editorial-home .editorial-landing-block {
    display: flex;
    justify-content: center;
}

body.editorial-home .hero {
    padding-top: 0;
    padding-bottom: 0;
}

body.editorial-home .hero-content {
    align-items: start;
}

body.editorial-home .editorial-nameplate {
    margin-bottom: 0.35rem;
}

body.editorial-home .editorial-intro {
    margin: 0 0 0.55rem;
    max-width: 26ch;
}

body.editorial-home .hero-social-links {
    margin: 0 0 0.6rem;
}

body.editorial-home .hero-ctas {
    display: flex;
    gap: 0.75rem;
    margin: 0 0 0.45rem;
}

body.editorial-home .experience-item,
body.editorial-home .project-card {
    border: 2px solid #111 !important;
    background: #f4f4f4 !important;
}

body.editorial-home .project-image {
    border-bottom: 2px solid #111 !important;
}

body.editorial-home .project-content h3 {
    line-height: 1;
}

/* Continuous role flow for Experience section */
body.editorial-home .experience-timeline {
    gap: 0;
    border: 2px solid #111;
    background: #f4f4f4;
}

body.editorial-home .experience-item {
    border: 0 !important;
    border-bottom: 2px solid #111 !important;
    margin: 0 !important;
}

body.editorial-home .experience-item:last-child {
    border-bottom: 0 !important;
}

/* ==========================================================================
   Density + Hiring Clarity Pass (Audit-driven)
   ========================================================================== */

body.editorial-home {
    --editorial-header-height: 64px;
    scroll-snap-type: none !important;
}

body.editorial-home .header .container {
    min-height: var(--editorial-header-height);
    padding-block: 0.58rem;
}

body.editorial-home > .editorial-landing-block,
body.editorial-home > section.skills-section,
body.editorial-home > section.experience-section,
body.editorial-home > section.projects-section,
body.editorial-home > section.education-section,
body.editorial-home > section.editorial-contact-section,
body.editorial-home > section.editorial-archive-section {
    min-height: auto !important;
    height: auto !important;
    overflow: visible !important;
    padding-top: clamp(1.2rem, 2.1vw, 2rem);
    padding-bottom: clamp(1.45rem, 2.4vw, 2.2rem);
    scroll-snap-align: none !important;
    scroll-snap-stop: normal !important;
}

body.editorial-home .editorial-landing-block {
    justify-content: flex-start;
}

body.editorial-home .hero-content {
    grid-template-columns: minmax(0, 1.2fr) minmax(230px, 300px);
    gap: 1.3rem;
}

body.editorial-home .editorial-nameplate {
    font-size: clamp(3.85rem, 6vw, 5.35rem);
    margin-bottom: 0.22rem;
}

body.editorial-home .editorial-intro {
    max-width: 23ch;
    margin-bottom: 0.42rem;
    line-height: 1.06;
}

body.editorial-home .hero-role-proof {
    margin: 0 0 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.84rem;
    letter-spacing: 0.01em;
    color: #474747;
}

body.editorial-home .hero-social-links {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

body.editorial-home .hero-social-links a {
    padding: 0.3rem 0.55rem;
}

body.editorial-home .hero-ctas {
    gap: 0.62rem;
    margin-bottom: 0;
}

body.editorial-home .btn-primary,
body.editorial-home .btn-secondary {
    padding: 0.62rem 1rem;
    min-width: 150px;
}

body.editorial-home .headshot {
    width: min(100%, 290px);
    height: clamp(240px, 25vw, 300px);
}

body.editorial-home .skills-section h2,
body.editorial-home .experience-section h2,
body.editorial-home .projects-section h2,
body.editorial-home .education-section h2 {
    gap: 0.45rem;
    font-size: 1.28rem;
}

body.editorial-home .skills-subtitle,
body.editorial-home .experience-title,
body.editorial-home .projects-title,
body.editorial-home .education-title {
    margin-top: 0.28rem;
    margin-bottom: 0.85rem;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

body.editorial-home .skills-elevator {
    margin: 0 0 0.72rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.83rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #474747;
}

body.editorial-home .stack-pillars {
    gap: 0.62rem;
}

body.editorial-home .stack-pillar {
    padding: 0.8rem 0.9rem;
}

body.editorial-home .stack-pillar h3 {
    margin-bottom: 0.28rem;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
}

body.editorial-home .stack-pillar p {
    font-size: 0.92rem;
    line-height: 1.26;
}

body.editorial-home .experience-item {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 0.95rem;
    padding: 0.8rem 0.95rem;
}

body.editorial-home .experience-role {
    font-size: clamp(1.35rem, 1.8vw, 1.8rem);
}

body.editorial-home .experience-summary {
    margin-bottom: 0.16rem;
}

body.editorial-home .experience-details li {
    margin-bottom: 0.2rem;
    line-height: 1.31;
}

body.editorial-home .project-filters {
    margin-bottom: 0.68rem;
}

body.editorial-home .filter-btn {
    padding: 0.42rem 0.84rem;
}

body.editorial-home .projects-grid {
    gap: 0.72rem;
}

body.editorial-home .project-image {
    height: 208px;
}

body.editorial-home .project-content {
    padding: 0.84rem;
}

body.editorial-home .project-content h3 {
    margin-bottom: 0.35rem;
    line-height: 1.08;
    font-size: clamp(1.08rem, 1.6vw, 1.75rem);
}

body.editorial-home .project-content p {
    margin-bottom: 0.5rem;
    line-height: 1.33;
}

body.editorial-home .project-tags {
    margin-bottom: 0.6rem;
    gap: 0.48rem;
}

body.editorial-home .tag {
    padding: 0.28rem 0.55rem;
}

body.editorial-home .education-grid {
    gap: 0.72rem;
    margin-bottom: 0.88rem;
}

body.editorial-home .education-item {
    padding: 0.96rem;
}

body.editorial-home .certifications h3 {
    margin-bottom: 0.64rem;
}

body.editorial-home .cert-list {
    gap: 0.64rem;
}

body.editorial-home .cert-item {
    padding: 0.74rem 0.82rem;
}

body.editorial-home .editorial-contact-section h2 {
    font-size: clamp(2.8rem, 5.8vw, 4.5rem);
    margin-bottom: 1rem;
}

body.editorial-home .editorial-contact-form label {
    margin-bottom: 0.2rem;
}

body.editorial-home .editorial-contact-form input,
body.editorial-home .editorial-contact-form textarea {
    margin-bottom: 0.86rem;
}

body.editorial-home .editorial-contact-form textarea {
    min-height: 120px;
}

body.editorial-home .editorial-social-links {
    margin-top: 1rem;
}

body.editorial-home .editorial-ticker p {
    padding: 0.46rem 0.9rem;
}

@media (max-width: 1024px) {
    body.editorial-home .hero-content {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    body.editorial-home .headshot {
        width: min(100%, 260px);
        height: 280px;
    }

    body.editorial-home .experience-item {
        grid-template-columns: 1fr;
    }

    body.editorial-home .project-image {
        height: 180px;
    }
}

/* ==========================================================================
   Latest Visual Alignment Pass (Hero + Experience)
   ========================================================================== */

body.editorial-home {
    scroll-snap-type: none !important;
}

html:has(body.editorial-home) {
    overflow-y: auto !important;
}

body.editorial-home .hero {
    min-height: auto !important;
    padding-top: clamp(2rem, 4.2vw, 3.2rem) !important;
    padding-bottom: clamp(1.1rem, 2.4vw, 1.8rem) !important;
}

body.editorial-home .hero-content {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 420px) !important;
    gap: clamp(2rem, 5vw, 5.25rem) !important;
    align-items: center !important;
}

body.editorial-home .hero-text {
    max-width: 620px;
}

body.editorial-home .editorial-nameplate {
    margin-bottom: 0.3rem;
    line-height: 0.9;
}

body.editorial-home .editorial-intro {
    max-width: 20ch;
    margin: 0 0 0.58rem;
    line-height: 1.06;
}

body.editorial-home .hero-role-proof {
    margin: 0 0 0.72rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.87rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: #474747;
}

body.editorial-home .hero-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 0.68rem;
}

body.editorial-home .hero-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.68rem;
    border: 1px solid rgba(0, 0, 0, 0.32);
    background: transparent;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    color: #111;
}

body.editorial-home .hero-social-links a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

body.editorial-home .hero-ctas {
    gap: 0.75rem;
    margin: 0;
}

body.editorial-home .btn-primary,
body.editorial-home .btn-secondary {
    min-width: 194px;
    padding: 0.72rem 1.2rem;
}

body.editorial-home .headshot {
    width: min(100%, 380px);
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
}

body.editorial-home .experience-timeline.karpathy-style {
    position: relative;
    padding-left: 0;
    border: 0;
    background: transparent;
    gap: 0 !important;
}

body.editorial-home .experience-timeline.karpathy-style::before {
    content: "";
    position: absolute;
    top: 0.4rem;
    bottom: 0.4rem;
    left: 146px;
    width: 1px;
    background: rgba(0, 0, 0, 0.2);
    display: block !important;
}

body.editorial-home .experience-item.karpathy-item {
    display: grid;
    grid-template-columns: 170px 132px minmax(0, 1fr) !important;
    gap: 1.1rem;
    align-items: start;
    margin: 0 !important;
    padding: 1.1rem 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.16) !important;
    background: transparent !important;
}

body.editorial-home .experience-item.karpathy-item:last-child {
    border-bottom: 0 !important;
}

body.editorial-home .experience-rail {
    position: relative;
    padding-right: 1rem;
    padding-left: 0.2rem;
    text-align: left;
}

body.editorial-home .experience-year {
    display: block;
    min-width: 12ch;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #777;
}

body.editorial-home .experience-dot {
    position: absolute;
    right: -6px;
    top: 0.28rem;
    width: 10px;
    height: 10px;
    border-radius: 50% !important;
    border: 1px solid #c9c9c9;
    background: #d8d8d8;
}

body.editorial-home .experience-brand {
    width: 132px;
    min-height: 84px;
    height: auto;
    padding: 0.45rem 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #f0f0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    line-height: 1.18;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: #585858;
}

body.editorial-home .experience-copy {
    min-width: 0;
    padding-top: 0.05rem;
}

body.editorial-home .experience-summary {
    margin: 0 0 0.12rem;
    font-size: 1.06rem;
    line-height: 1.2;
    color: #202020;
}

body.editorial-home .experience-company {
    margin: 0 0 0.3rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    color: #676767;
}

body.editorial-home .experience-impact {
    margin: 0 0 0.36rem;
    font-size: 1.02rem;
    line-height: 1.33;
    color: #222;
}

body.editorial-home .experience-details {
    margin: 0;
    padding-left: 1.05rem;
    list-style: disc;
}

body.editorial-home .experience-details li {
    margin: 0 0 0.28rem;
    padding-left: 0;
    line-height: 1.33;
}

body.editorial-home .experience-details li::before {
    content: none;
}

@media (max-width: 1024px) {
    body.editorial-home .hero-content {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    body.editorial-home .hero-image {
        order: -1;
    }

    body.editorial-home .headshot {
        width: min(100%, 300px);
    }

    body.editorial-home .experience-timeline.karpathy-style::before {
        left: 124px;
    }

    body.editorial-home .experience-item.karpathy-item {
        grid-template-columns: 142px 96px minmax(0, 1fr) !important;
        gap: 0.86rem;
    }

    body.editorial-home .experience-brand {
        width: 96px;
        min-height: 72px;
        padding: 0.4rem;
        font-size: 0.72rem;
    }
}

@media (max-width: 768px) {
    body.editorial-home .hero-social-links a {
        font-size: 0.83rem;
        padding: 0.38rem 0.58rem;
    }

    body.editorial-home .btn-primary,
    body.editorial-home .btn-secondary {
        min-width: 0;
        width: auto;
    }

    body.editorial-home .experience-timeline.karpathy-style::before {
        display: none !important;
    }

    body.editorial-home .experience-item.karpathy-item {
        grid-template-columns: 1fr !important;
        gap: 0.5rem;
        padding: 0.9rem 0 !important;
    }

    body.editorial-home .experience-rail {
        text-align: left;
        padding-right: 0;
    }

    body.editorial-home .experience-dot {
        display: none;
    }

    body.editorial-home .experience-brand {
        width: 72px;
        min-height: 58px;
        padding: 0.34rem;
        font-size: 0.6rem;
    }
}

/* ==========================================================================
   Karpathy-like Hero Refinement (latest request)
   ========================================================================== */

body.editorial-home .hero-content.karpathy-hero {
    grid-template-columns: minmax(260px, 360px) minmax(0, 1fr) !important;
    gap: clamp(1.2rem, 2.8vw, 2.4rem) !important;
    align-items: center !important;
}

body.editorial-home .hero-image.karpathy-hero-image {
    justify-content: flex-start;
}

body.editorial-home .headshot.karpathy-headshot {
    width: min(100%, 330px) !important;
    aspect-ratio: 1 / 1;
    height: auto !important;
    border-radius: 50% !important;
    object-fit: cover;
}

body.editorial-home .hero-text.karpathy-hero-text {
    max-width: 780px;
}

body.editorial-home .editorial-nameplate.karpathy-name {
    margin-bottom: 0.3rem;
    font-size: clamp(2.15rem, 3.8vw, 3.9rem) !important;
    line-height: 0.95;
    letter-spacing: -0.02em;
    text-transform: none;
}

body.editorial-home .editorial-intro.karpathy-intro {
    max-width: 30ch;
    margin: 0 0 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.02rem, 1.6vw, 1.52rem);
    font-weight: 500;
    line-height: 1.16;
    font-style: normal;
    letter-spacing: -0.01em;
    color: #202020;
}

body.editorial-home .hero-role-proof.karpathy-proof {
    margin: 0 0 0.52rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #5d5d5d;
}

body.editorial-home .hero-social-links.karpathy-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0 0 0.7rem;
}

body.editorial-home .hero-social-links.karpathy-social-links a {
    width: 3rem;
    height: 3rem;
    border-radius: 999px !important;
    border: 0 !important;
    background: #3b3b3b;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

body.editorial-home .hero-social-links.karpathy-social-links a svg {
    width: 1.35rem;
    height: 1.35rem;
}

body.editorial-home .hero-social-links.karpathy-social-links a:hover {
    background: #1f1f1f;
    color: #ffffff;
}

body.editorial-home .hero-email-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0 0 0.82rem;
}

body.editorial-home .hero-email-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-decoration: none;
    color: #202020;
    border-bottom: 1px solid rgba(0, 0, 0, 0.24);
}

body.editorial-home .hero-email-text:hover {
    color: #000000;
    border-bottom-color: #000000;
}

body.editorial-home .hero-copy-btn {
    border: 1px solid rgba(0, 0, 0, 0.36);
    background: transparent;
    color: #111111;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.36rem 0.58rem;
    cursor: pointer;
}

body.editorial-home .hero-copy-btn:hover {
    border-color: #000000;
    background: #000000;
    color: #ffffff;
}

@media (max-width: 1024px) {
    body.editorial-home .hero-content.karpathy-hero {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    body.editorial-home .hero-image.karpathy-hero-image {
        order: -1;
    }

    body.editorial-home .headshot.karpathy-headshot {
        width: min(100%, 260px) !important;
    }
}

@media (max-width: 768px) {
    body.editorial-home .hero-social-links.karpathy-social-links a {
        width: 2.6rem;
        height: 2.6rem;
    }

    body.editorial-home .hero-social-links.karpathy-social-links a svg {
        width: 1.15rem;
        height: 1.15rem;
    }

    body.editorial-home .hero-email-row {
        gap: 0.48rem;
        margin-bottom: 0.72rem;
    }

    body.editorial-home .hero-email-text {
        font-size: 0.82rem;
    }

    body.editorial-home .hero-copy-btn {
        font-size: 0.72rem;
        padding: 0.32rem 0.5rem;
    }
}

/* Contact button in nav should match link appearance */
.nav .nav-contact-btn {
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    line-height: inherit;
}

body.editorial-home .nav .nav-contact-btn {
    color: var(--tc-on-surface);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

body.editorial-home .nav .nav-contact-btn:hover {
    color: var(--tc-primary);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Stylish black line under each main section */
body.editorial-home > .editorial-landing-block,
body.editorial-home > section.skills-section,
body.editorial-home > section.experience-section,
body.editorial-home > section.projects-section,
body.editorial-home > section.education-section {
    position: relative;
}

body.editorial-home > .editorial-landing-block::after,
body.editorial-home > section.skills-section::after,
body.editorial-home > section.experience-section::after,
body.editorial-home > section.projects-section::after,
body.editorial-home > section.education-section::after {
    content: "";
    display: block !important;
    position: absolute;
    width: auto !important;
    left: max(16px, calc((100% - 1100px) / 2 + 22px));
    right: max(16px, calc((100% - 1100px) / 2 + 22px));
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), #0f0f0f 18%, #000000 50%, #0f0f0f 82%, rgba(0, 0, 0, 0));
    opacity: 0.95;
    transform: none !important;
    z-index: 2;
    pointer-events: none;
}

/* Keep date badges readable in monochrome mode */
body.editorial-home .education-period {
    background: #000000;
    color: #f2f2f2 !important;
    border: 1px solid #000000;
}

/* Project section: archive-style rows with expanded detail */
body.editorial-home .projects-grid {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    max-width: 100%;
}

body.editorial-home .project-card.project-archive-row {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr) 228px;
    align-items: start;
    gap: 1rem;
    border: 2px solid #111111;
    background: var(--tc-surface);
    padding: 0.36rem;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

body.editorial-home .project-card.project-archive-row:hover {
    transform: translateX(4px);
    background: var(--tc-surface-high, #e8e8e8);
    border-color: #000000;
}

body.editorial-home .project-card.project-archive-row .project-image.project-row-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    height: auto;
    align-self: center;
    border-bottom: 0;
}

body.editorial-home .project-card.project-archive-row .project-image.project-row-thumbs img {
    width: 100%;
    height: 90px;
    object-fit: contain;
    object-position: center;
    background: #f7f7f7;
    padding: 1px;
    border: 1px solid var(--tc-outline-variant);
}

body.editorial-home .project-card.project-archive-row:hover .project-image.project-row-thumbs img {
    transform: none;
}

body.editorial-home .project-card.project-archive-row .project-content.project-row-main {
    padding: 0.2rem 0.1rem 0.1rem;
}

body.editorial-home .project-card.project-archive-row .project-row-main h3 {
    margin: 0 0 0.28rem;
    font-size: clamp(1.05rem, 1.4vw, 1.45rem);
    line-height: 1.08;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

body.editorial-home .project-card.project-archive-row .project-row-summary {
    margin: 0 0 0.32rem;
    font-size: 0.93rem;
    line-height: 1.28;
    color: #202020;
}

body.editorial-home .project-card.project-archive-row .project-row-detail {
    margin: 0 0 0.38rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #4b4b4b;
}

body.editorial-home .project-card.project-archive-row .project-tags {
    margin: 0;
    gap: 0.34rem;
}

body.editorial-home .project-card.project-archive-row .tag {
    padding: 0.2rem 0.46rem;
    font-size: 0.69rem;
}

body.editorial-home .project-card.project-archive-row .project-row-type {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    padding-top: 0.18rem;
}

body.editorial-home .project-card.project-archive-row .project-row-type p {
    margin: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.84rem;
    line-height: 1.15;
    color: #1b1b1b;
    text-transform: uppercase;
}

body.editorial-home .project-card.project-archive-row .project-row-type span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    line-height: 1.2;
    color: #4b4b4b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

body.editorial-home .project-card.project-archive-row .project-row-type .project-row-year {
    display: block;
    margin-top: 0.08rem;
    font-size: 0.82rem;
    line-height: 1.15;
    color: #1f1f1f;
    letter-spacing: 0.06em;
}

body.editorial-home .project-card.project-archive-row .project-summary-btn {
    display: none;
}

@media (max-width: 1024px) {
    body.editorial-home .project-card.project-archive-row {
        grid-template-columns: 198px minmax(0, 1fr) 188px;
    }

    body.editorial-home .project-card.project-archive-row .project-image.project-row-thumbs img {
        height: 80px;
    }
}

@media (max-width: 768px) {
    body.editorial-home .project-card.project-archive-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 0.42rem;
    }

    body.editorial-home .project-card.project-archive-row .project-image.project-row-thumbs img {
        height: 82px;
    }

    body.editorial-home .project-card.project-archive-row .project-row-type {
        gap: 0.16rem;
        padding-top: 0;
    }

    body.editorial-home .project-card.project-archive-row .project-row-type .project-row-year {
        margin-top: 0.04rem;
    }
}
