/* ===== CSS Variables ===== */
:root {
    /* Colors — aligned to blog-design-system.css */
    --color-green: #6db33f;
    --color-green-dark: #2d5a3d;
    --color-green-light: #6FA05A;
    --color-green-pale: #E8F0E4;
    --color-bg: #ffffff;
    --color-bg-alt: #fafafa;
    --color-text: #111827;
    --color-text-muted: #6b7280;
    --color-text-light: #9ca3af;
    --color-border: #e5e7eb;
    --color-rule: #e5e7eb;
    --color-white: #FFFFFF;

    /* Status / category colors */
    --color-blue: #1E6BB8;
    --color-blue-pale: #E8F4FD;
    --color-amber: #B45309;
    --color-amber-pale: #FEF3E2;

    /* Hero gradient (blue) */
    --color-hero-dark: #0a1628;
    --color-hero-mid: #2563eb;
    --color-hero-light: #93c5fd;

    /* Typography — add mono */
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-handwritten: 'Caveat', cursive;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 100px;

    /* Layout */
    --max-width: 960px;
    --container-padding: 24px;

    /* Animation */
    --transition: 0.25s ease;
}
/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    font-size: 16px;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ===== Section Dividers & Backgrounds ===== */
.bg-grid {
    background-color: var(--color-white);
    background-image:
        linear-gradient(var(--color-rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-rule) 1px, transparent 1px);
    background-size: 32px 32px;
}

.bg-gray {
    background-color: var(--color-bg-alt);
    background-image: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--color-green);
}

h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    line-height: 1.15;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: 24px;
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin-bottom: 8px;
    color: var(--color-text);
}

h4 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 8px;
}

p {
    color: var(--color-text-muted);
}

p.large {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--color-text);
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    background: var(--color-green);
    color: var(--color-white);
    padding: 14px 32px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--color-green-light);
    transform: translateY(-1px);
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    overflow: visible;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    padding: 12px 0;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-wordmark {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-green);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-wordmark:hover {
    color: var(--color-green-light);
}

.nav-cursor {
    animation: blink 1s infinite;
    color: var(--color-green);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.nav-iteration {
    display: inline;
}

.nav-iteration.struck {
    text-decoration: line-through;
    opacity: 0.6;
}

.nav-iteration.italic {
    font-style: italic;
}

.nav-iteration.bold {
    font-weight: 600;
}

.nav-iteration.spaced {
    letter-spacing: 0.15em;
}

.nav-iteration.tight {
    letter-spacing: -0.05em;
}

/* ===== Peppermint Divider ===== */
.peppermint-divider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 0;
    z-index: 100;
}

.peppermint-spinner {
    width: 160px;
    height: 160px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
    transition: transform 0.05s ease-out;
}

/* ===== Sticker Divider ===== */
.sticker-divider {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 0;
    z-index: 100;
}

.sticker-divider img {
    width: 160px;
    height: 160px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
    transition: transform 0.1s ease-out;
}

/* ===== Animations ===== */
@keyframes wave {
    0%, 100% { transform: rotate(-2deg); }
    25% { transform: rotate(3deg) scaleX(1.02); }
    50% { transform: rotate(-1deg); }
    75% { transform: rotate(4deg) scaleX(1.01); }
}

.animate-wave {
    animation: wave 3s ease-in-out infinite;
    transform-origin: left center;
}

@keyframes gradientShift {
    0%   { background-position: 15% 35%; }
    20%  { background-position: 85% 45%; }
    40%  { background-position: 60% 75%; }
    60%  { background-position: 30% 65%; }
    80%  { background-position: 70% 25%; }
    100% { background-position: 15% 35%; }
}

@keyframes swirlDrift {
    0%   { background-position: 0% 50%, 100% 50%, 50% 0%; }
    25%  { background-position: 100% 25%, 0% 75%, 75% 100%; }
    50%  { background-position: 50% 100%, 50% 0%, 0% 50%; }
    75%  { background-position: 0% 75%, 100% 25%, 25% 0%; }
    100% { background-position: 0% 50%, 100% 50%, 50% 0%; }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--color-green);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    transition: all var(--transition);
}

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

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

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

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

.hero .container {
    max-width: 720px;
}

.hero-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-deco {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.15;
    pointer-events: none;
}

.hero-deco img {
    width: 480px;
    animation: gentle-pulse 6s ease-in-out infinite;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background:
        linear-gradient(135deg,
            #4A7A3D 0%,
            #5B8F4A 25%,
            #6FA05A 50%,
            #83B569 75%,
            #97CA78 100%
        );
    color: var(--color-white);
    position: relative;
}

.about h2 {
    color: var(--color-white);
}

.about p {
    color: rgba(255, 255, 255, 0.85);
}

.about p.large {
    color: var(--color-white);
}

.about-layout {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 16px;
}

.about-content p:last-of-type {
    margin-bottom: 0;
}

.about-highlight {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.about-highlight h4 {
    font-family: var(--font-serif);
    color: var(--color-white);
}

.about-highlight p {
    font-size: 0.95rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* ===== CTA Section ===== */
.cta {
    padding: 100px 0;
    position: relative;
    background-color: var(--color-white);
    background-image:
        linear-gradient(var(--color-rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-rule) 1px, transparent 1px);
    background-size: 32px 32px;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-green);
}

.cta-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    margin-bottom: 28px;
}

.cta-deco {
    display: flex;
    justify-content: center;
}

.cta-deco img {
    max-width: 240px;
    animation: wave 3s ease-in-out infinite;
    transform-origin: left center;
}

/* ===== Featured Post ===== */
.featured-post {
    position: relative;
    background: var(--color-white);
    border: 2px solid var(--color-green);
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0 48px;
    box-shadow: 0 4px 16px rgba(91, 143, 74, 0.08);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--color-green);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 20px;
}

.featured-post h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    line-height: 1.3;
    margin: 16px 0 12px;
}

.featured-post h3 a {
    color: var(--color-green);
    text-decoration: none;
    transition: color var(--transition);
}

.featured-post h3 a:hover {
    color: var(--color-green-light);
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.featured-meta time {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.featured-excerpt {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 12px 0 24px;
}

.subsection-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
    text-align: center;
}

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

.kanban-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kanban-title {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 4px;
}

.kanban-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    padding: 16px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.kanban-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.kanban-card.shipped {
    opacity: 0.7;
}

.kanban-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 3px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.tag-learning {
    background: var(--color-blue-pale);
    color: var(--color-blue);
}

.tag-experiment {
    background: var(--color-amber-pale);
    color: var(--color-amber);
}

.tag-project {
    background: var(--color-green-pale);
    color: var(--color-green);
}

.tag-done {
    background: var(--color-bg-alt);
    color: var(--color-text-light);
}

/* ===== Footer ===== */
.footer {
    padding: 16px 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.footer-nav {
    font-size: 0.85rem;
    color: var(--color-green);
    margin: 0;
}

.footer-nav a {
    color: var(--color-green);
    text-decoration: none;
    transition: color var(--transition);
}

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

.footer-legal {
    font-size: 0.85rem;
    color: var(--color-green);
    margin: 0;
}

.footer-separator {
    margin: 0 8px;
    color: var(--color-green);
    opacity: 0.5;
}

.footer-divider {
    display: inline;
}

@media (max-width: 600px) {
    .footer .container {
        flex-direction: column;
        gap: 6px;
    }
    .footer-divider {
        display: none;
    }
}

/* ===== Mobile Styles ===== */
@media (max-width: 900px) {
    .hero-deco {
        display: none;
    }

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


    .cta-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-deco {
        order: -1;
    }

    .cta-deco img {
        max-width: 180px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        transition: right var(--transition);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.15rem;
        color: var(--color-text);
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-playdough {
        margin-bottom: 32px;
    }

    .hero-playdough img {
        max-width: 280px;
    }

    .section-header {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .view-all {
        position: static;
    }

    .services,
    .about,
    .work,
    .now,
    .cta {
        padding: 72px 0;
    }

    .process-section {
        padding: 40px 0;
    }

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

    .work::before {
        height: 48px;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .featured-post {
        padding: 24px;
        margin: 24px 0 40px;
    }

    .featured-badge {
        font-size: 0.7rem;
        padding: 5px 14px;
        top: -10px;
        left: 16px;
    }

    .featured-post h3 {
        font-size: 1.4rem;
    }

    .featured-excerpt {
        font-size: 1rem;
    }
}

@media (max-width: 900px) {
    .kanban {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .annotation {
        display: none;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.85rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .work-item {
        padding: 24px;
    }

    .hero-headline {
        gap: 0 0.2em;
    }

    .cursor-pennant,
    .doodle-canvas,
    .doodle-hint {
        display: none;
    }
}

/* ===== New Multi-Page Styles ===== */

/* Homepage Hero */
.hero-home {
    padding: 140px 0 80px;
    min-height: auto;
}

/* Hero Playdough */
.hero-playdough {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-playdough img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* Hero Content */
.hero-content {
    font-family: 'JetBrains Mono', 'SF Mono', 'Fira Code', 'Courier New', 'Courier', monospace;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text);
    margin: 0 auto 32px;
    max-width: 720px;
}

.hero-text {
    margin: 0 0 0.75em 0;
}

.hero-text:first-child {
    font-weight: 600;
    font-size: 1.25rem;
}


.hero-byline {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-top: 24px;
}

.hero-byline a {
    color: var(--color-green);
    text-decoration: underline;
    text-decoration-color: var(--color-green-pale);
    text-underline-offset: 2px;
}

.hero-byline a:hover {
    text-decoration-color: var(--color-green);
}

/* Recent from Lab Section */
.recent-lab {
    padding: 80px 0 100px;
    position: relative;
}

.recent-lab:not(.bg-gray) {
    background-color: var(--color-white);
    background-image:
        linear-gradient(var(--color-rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-rule) 1px, transparent 1px);
    background-size: 32px 32px;
}

.recent-lab:not(.bg-gray)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-green);
}

.section-header {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 32px;
    position: relative;
}

.section-header h2 {
    margin-bottom: 0;
    text-align: center;
}

.view-all {
    position: absolute;
    right: 0;
    font-size: 0.9rem;
    color: var(--color-green);
    text-decoration: none;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

/* Lab section styles */
.lab-tag {
    font-family: var(--font-handwritten);
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.lab-intro {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin: 0 auto 40px;
    max-width: 660px;
    text-align: center;
}

.kanban-card.placeholder {
    border-style: dashed;
    background: rgba(255,255,255,0.5);
}

/* Contact buttons */
.contact-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--color-green);
    padding: 14px 32px;
    border-radius: 6px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--transition);
    border: 2px solid var(--color-green);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--color-green-pale);
    transform: translateY(-1px);
}

/* Availability text in about section */
.availability {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    font-style: italic;
}

/* Kanban Preview */
.kanban-preview {
    grid-template-columns: repeat(3, 1fr);
}

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

.kanban-shipped {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
}

.kanban-card-link {
    text-decoration: none;
    display: block;
    transition: transform var(--transition), box-shadow var(--transition);
}

.kanban-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.kanban-card-link p {
    color: var(--color-text);
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background-color: var(--color-white);
    background-image:
        linear-gradient(var(--color-rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-rule) 1px, transparent 1px);
    background-size: 32px 32px;
}

.page-header h1 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 16px;
}

.page-intro {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.6;
}

.page-intro.large {
    font-size: 1.3rem;
    color: var(--color-text);
}

.page-updated {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 16px;
}

/* Lab Board */
.lab-board {
    padding: 60px 0 100px;
    background: var(--color-bg);
}

.kanban-card h3 {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 8px 0;
    line-height: 1.4;
}

.kanban-card p {
    font-size: 0.85rem;
    line-height: 1.5;
}

.card-tag.tag-paused {
    background: var(--color-bg-alt);
    color: var(--color-text-light);
}

/* Active nav state */
.nav-links a.active {
    color: var(--color-green);
}

/* Mobile adjustments for new pages */
@media (max-width: 900px) {
    .kanban-preview {
        grid-template-columns: 1fr;
    }

    .kanban-wip {
        grid-template-columns: 1fr;
    }

    .kanban-shipped {
        max-width: 100%;
    }
}

/* ===== Blog Post Styles ===== */
.post {
    padding-top: 60px;
}

.post-header {
    padding: 60px 0 48px;
    background: var(--color-white);
    background-image:
        linear-gradient(var(--color-rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-rule) 1px, transparent 1px);
    background-size: 32px 32px;
}

.back-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--color-green);
    margin-bottom: 24px;
    transition: color var(--transition);
}

.back-link:hover {
    color: var(--color-green-light);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.post-meta .read-time {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.post-meta .read-time::before {
    content: "•";
    margin: 0 8px;
    color: var(--color-text-light);
}


.post-header time {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

.post-header .container {
    max-width: 680px;
}

.post-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
}

.post-excerpt {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.6;
}

.post-content {
    padding: 64px 0;
    background: var(--color-white);
    position: relative;
    /* Better text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.post-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--color-green);
}

.post-content .container {
    max-width: 680px;
}

.post-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5em;
    color: var(--color-text);
    /* Prevent orphans and widows */
    orphans: 3;
    widows: 3;
}

.post-content h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    margin-top: 2.5em;
    margin-bottom: 0.75em;
}

.post-content h3 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin-top: 2em;
    margin-bottom: 0.5em;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.post-content li {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 0.5em;
    color: var(--color-text);
}

.post-content blockquote {
    border-left: 3px solid var(--color-green);
    padding-left: 24px;
    margin: 2em 0;
    font-style: italic;
}

.post-content blockquote p {
    color: var(--color-text-muted);
}

.post-content a {
    color: var(--color-green);
    text-decoration: underline;
    text-decoration-color: var(--color-green-pale);
    text-underline-offset: 2px;
    font-weight: 500; /* Better scannability */
}

.post-content a:hover {
    text-decoration-color: var(--color-green);
}

/* Better emphasis styling */
.post-content strong {
    font-weight: 600;
    color: var(--color-text);
}

.post-content em {
    font-style: italic;
    color: var(--color-text-muted);
}

.post-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9em;
    background: var(--color-bg-alt);
    padding: 2px 6px;
    border-radius: 3px;
}

.post-content pre {
    background: var(--color-text);
    color: var(--color-bg);
    padding: 20px 24px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 2em 0;
}

.post-content pre code {
    background: none;
    padding: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Images in posts */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 2em 0;
    display: block;
}

.post-content figure {
    margin: 2em 0;
}

.post-content figure img {
    margin: 0;
}

.post-content figcaption {
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-align: center;
    margin-top: 12px;
    font-style: italic;
}

.post-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2.5em 0;
}

.post-image img {
    max-width: 500px;
    width: 100%;
    height: auto;
}

/* Full-width images (break out of container) */
.post-content .full-width {
    width: 100vw;
    max-width: none;
    margin-left: calc(-50vw + 50%);
    border-radius: 0;
}

/* Experiment/widget containers */
.post-content .experiment {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 32px;
    margin: 2em 0;
}

.post-content .experiment-label {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-green);
    margin-bottom: 16px;
    display: block;
}

/* Embed containers (YouTube, tweets, etc.) */
.post-content .embed {
    margin: 2em 0;
}

.post-content .embed iframe {
    max-width: 100%;
    border-radius: 6px;
}

/* Side-by-side images or content */
.post-content .side-by-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 2em 0;
}

@media (max-width: 600px) {
    .post-content .side-by-side {
        grid-template-columns: 1fr;
    }

    .post-image img {
        max-width: 100%;
    }
}

/* Social Share Section */
.post-share {
    padding: 48px 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.post-share .container {
    max-width: 680px;
    text-align: center;
}

.share-label {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-white);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition);
}

.share-btn:hover {
    border-color: var(--color-green);
    background: var(--color-green);
    color: var(--color-white);
    transform: translateY(-2px);
}

.share-twitter:hover {
    border-color: #1DA1F2;
    background: #1DA1F2;
}

.share-linkedin:hover {
    border-color: #0A66C2;
    background: #0A66C2;
}

.share-facebook:hover {
    border-color: #1877F2;
    background: #1877F2;
}

.share-email:hover {
    border-color: var(--color-text);
    background: var(--color-text);
}

@media (max-width: 600px) {
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .share-btn {
        justify-content: center;
    }
}

.post-footer {
    padding: 48px 0;
    background: var(--color-green);
}

.post-footer .btn-secondary {
    color: var(--color-white);
    border-color: rgba(255,255,255,0.4);
}

.post-footer .btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.post-footer .btn-primary {
    background: var(--color-white);
    color: var(--color-green);
}

.post-footer .btn-primary:hover {
    background: var(--color-bg);
}

.post-nav {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ===== Lab Archive Grid ===== */
.lab-archive {
    padding: 60px 0 100px;
    background-color: var(--color-white);
    background-image:
        linear-gradient(var(--color-rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--color-rule) 1px, transparent 1px);
    background-size: 32px 32px;
}

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

.archive-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 24px;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}

.archive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.archive-card .post-meta {
    margin-bottom: 12px;
}

.archive-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-green);
    margin-bottom: 8px;
    line-height: 1.3;
    transition: color var(--transition);
}

.archive-card:hover h3 {
    color: var(--color-green-light);
}

.archive-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    flex-grow: 1;
}

.archive-card .read-more {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--color-green);
    font-weight: 500;
}

.archive-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
    background: var(--color-white);
    border: 2px dashed var(--color-border);
    border-radius: 8px;
}

.archive-empty p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

/* Collapsible backstory/details */
.backstory {
    margin-top: 3em;
    padding: 24px;
    background: var(--color-bg-alt);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.backstory summary {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    cursor: pointer;
    list-style: none;
}

.backstory summary::-webkit-details-marker {
    display: none;
}

.backstory summary::before {
    content: "+ ";
    color: var(--color-green);
    font-weight: 600;
}

.backstory[open] summary::before {
    content: "- ";
}

.backstory p {
    margin-top: 16px;
}

.backstory p:last-child {
    margin-bottom: 0;
}

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

    .post-nav {
        flex-direction: column;
        align-items: center;
    }

    /* Mobile reading optimizations */
    .post-content .container {
        padding: 0 20px;
    }

    .post-content p {
        font-size: 1rem;
    }

    /* Larger touch targets for links */
    .post-content a {
        padding: 2px 0;
        display: inline-block;
    }

    /* Better code block scrolling on mobile */
    .post-content pre {
        padding: 16px;
        font-size: 0.85rem;
    }

    /* Adjust image margins */
    .post-content img,
    .post-content figure {
        margin: 1.5em 0;
    }

    /* Tighter heading spacing on mobile */
    .post-content h2 {
        margin-top: 2em;
        font-size: 1.5rem;
    }
}

/* Mobile hyphenation for very narrow screens */
@media (max-width: 480px) {
    .post-content p {
        hyphens: auto;
        -webkit-hyphens: auto;
    }
}

/* ===== Print Styles ===== */
@media print {
    .navbar,
    .post-footer,
    .footer,
    .back-link,
    .peppermint-divider,
    .sticker-divider {
        display: none;
    }

    .post-content {
        padding: 0;
    }

    .post-header {
        padding: 24px 0;
    }

    .post-content a {
        color: var(--color-text);
        text-decoration: underline;
    }

    /* Show URLs for external links */
    .post-content a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: var(--color-text-muted);
    }

    /* Prevent page breaks inside elements */
    .post-content h2,
    .post-content h3,
    .post-content p,
    .post-content blockquote {
        page-break-inside: avoid;
    }

    /* Keep headings with following content */
    .post-content h2,
    .post-content h3 {
        page-break-after: avoid;
    }
}

/* ===================================================
   HOMEPAGE — 5 Section Layout
   =================================================== */

/* Hero — Blue gradient with floating objects */
.hero-gradient {
    width: 100%;
    position: relative;
    background:
        radial-gradient(ellipse 150% 120% at 30% 50%,
            var(--color-hero-dark) 0%, #0f2440 15%, #1a3a5c 25%,
            var(--color-hero-mid) 35%, #3b82f6 45%, var(--color-hero-light) 50%,
            #3b82f6 55%, var(--color-hero-mid) 65%, #1a3a5c 75%,
            #0f2440 85%, var(--color-hero-dark) 100%
        );
    background-size: 200% 200%;
    animation: gradientShift 12s ease-in-out infinite;
    padding: 180px 24px 100px;
    text-align: center;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle, rgba(255,255,255,0.25) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 1;
}

/* Hero text — centered, no card */
.hero-text-block {
    position: relative;
    z-index: 5;
    max-width: 640px;
    margin: 0 auto;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-logo {
    display: block;
    max-width: 320px;
    margin-bottom: 16px;
    animation: logoDrift 18s ease-in-out infinite;
}

@keyframes logoDrift {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%      { transform: translateY(-4px) rotate(0.5deg); }
    50%      { transform: translateY(2px) rotate(-0.4deg); }
    75%      { transform: translateY(-3px) rotate(0.3deg); }
}

.hero-logo img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.3));
}

.hero-text-block .gradient-title {
    margin-bottom: 0;
    cursor: default;
}

/* ===== Floating Objects ===== */
.floater {
    position: absolute;
    display: block;
    pointer-events: auto;
    text-decoration: none;
    will-change: transform;
    cursor: grab;
}

.floater img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    transform: rotate(var(--rand-rotate, 0deg)) scale(var(--rand-scale, 1));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.floater:hover img {
    transform: rotate(var(--rand-rotate, 0deg)) scale(calc(var(--rand-scale, 1) * 1.12));
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}

.floater.nudged {
    transition: transform 2s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.floater.pushed {
    transition: transform 0.25s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.floater.pushed-back {
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.3, 1);
}

/* Three depth layers */

/* SMALL: background objects */
.floater-small {
    z-index: 3;
    width: 65px;
}

/* MID: same plane as text */
.floater-mid {
    z-index: 4;
    width: 130px;
}

/* LARGE: in front of text */
.floater-large {
    z-index: 6;
    width: 200px;
}

/* LARGE-BEHIND: big objects that sit behind text */
.floater-large-behind {
    z-index: 4;
    width: 200px;
}

/* 12 unique drift animations — different directions, speeds, rotations */
@keyframes drift-1 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(30px, -20px) rotate(3deg); }
    50%  { transform: translate(15px, -40px) rotate(-2deg); }
    75%  { transform: translate(-10px, -15px) rotate(4deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-2 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(-25px, 15px) rotate(-5deg); }
    50%  { transform: translate(-50px, 5px) rotate(2deg); }
    75%  { transform: translate(-20px, 25px) rotate(-3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-3 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    33%  { transform: translate(40px, 20px) rotate(6deg); }
    66%  { transform: translate(20px, -10px) rotate(-4deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-4 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    20%  { transform: translate(-15px, 30px) rotate(-3deg); }
    40%  { transform: translate(-35px, 15px) rotate(5deg); }
    60%  { transform: translate(-20px, -10px) rotate(-2deg); }
    80%  { transform: translate(10px, 10px) rotate(3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-5 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(20px, -30px) rotate(4deg); }
    50%  { transform: translate(45px, -10px) rotate(-3deg); }
    75%  { transform: translate(25px, 15px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-6 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    30%  { transform: translate(-30px, -25px) rotate(-6deg); }
    60%  { transform: translate(10px, -35px) rotate(3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-7 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(15px, 25px) rotate(5deg); }
    50%  { transform: translate(35px, 10px) rotate(-4deg); }
    75%  { transform: translate(20px, -15px) rotate(2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-8 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    33%  { transform: translate(-35px, 20px) rotate(-5deg); }
    66%  { transform: translate(-15px, -25px) rotate(4deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-9 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    20%  { transform: translate(25px, -15px) rotate(3deg); }
    40%  { transform: translate(10px, 20px) rotate(-6deg); }
    60%  { transform: translate(-20px, 10px) rotate(4deg); }
    80%  { transform: translate(-10px, -20px) rotate(-2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-10 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(20px, 15px) rotate(-3deg); }
    50%  { transform: translate(40px, -10px) rotate(2deg); }
    75%  { transform: translate(15px, -20px) rotate(-4deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-11 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    30%  { transform: translate(-20px, -30px) rotate(5deg); }
    60%  { transform: translate(-40px, 10px) rotate(-3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes drift-12 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(-25px, 20px) rotate(-4deg); }
    50%  { transform: translate(10px, 35px) rotate(6deg); }
    75%  { transform: translate(30px, 10px) rotate(-2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Apply drift animations to each floater via data attribute */
[data-drift="drift-1"]  { animation: drift-1 45s ease-in-out infinite; }
[data-drift="drift-2"]  { animation: drift-2 55s ease-in-out infinite; }
[data-drift="drift-3"]  { animation: drift-3 38s ease-in-out infinite; }
[data-drift="drift-4"]  { animation: drift-4 62s ease-in-out infinite; }
[data-drift="drift-5"]  { animation: drift-5 50s ease-in-out infinite; }
[data-drift="drift-6"]  { animation: drift-6 42s ease-in-out infinite; }
[data-drift="drift-7"]  { animation: drift-7 58s ease-in-out infinite; }
[data-drift="drift-8"]  { animation: drift-8 35s ease-in-out infinite; }
[data-drift="drift-9"]  { animation: drift-9 68s ease-in-out infinite; }
[data-drift="drift-10"] { animation: drift-10 52s ease-in-out infinite; }
[data-drift="drift-11"] { animation: drift-11 40s ease-in-out infinite; }
[data-drift="drift-12"] { animation: drift-12 48s ease-in-out infinite; }

/* Navbar — white text over dark hero gradient.
   Scoped to body.dark-hero so pages with light backgrounds
   (e.g. lab index) keep the default green/dark navbar text. */
body.dark-hero .navbar:not(.scrolled) .nav-wordmark,
body.dark-hero .navbar:not(.scrolled) .nav-cursor {
    color: white;
    transition: color 0.3s ease;
}

body.dark-hero .navbar:not(.scrolled) .nav-wordmark:hover {
    color: rgba(255,255,255,0.8);
}

body.dark-hero .navbar:not(.scrolled) .nav-links a {
    color: rgba(255,255,255,0.85);
}

body.dark-hero .navbar:not(.scrolled) .nav-links a:hover {
    color: white;
}

body.dark-hero .navbar:not(.scrolled) .mobile-menu-btn span {
    background: white;
}

/* Hamburger X — force dark when menu is open so it's visible on white overlay */
body.dark-hero .navbar:not(.scrolled) .mobile-menu-btn.active span {
    background: #111827;
}

/* Mobile menu overlay — force dark text on light bg when open */
body.dark-hero .navbar:not(.scrolled) .nav-links.active a,
body.dark-hero .navbar.scrolled .nav-links.active a,
body.dark-hero .nav-links.active a {
    color: #111827;
}

/* Section Label — mono voice */
.home-section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-green);
    display: block;
    margin-bottom: 16px;
}

.home-section-label.centered { text-align: center; }

/* Hero Title — white on blue gradient */
.gradient-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw + 0.5rem, 2.75rem);
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: -0.015em;
    text-wrap: normal;
    margin: 0 0 20px 0;
    color: #ffffff;
    min-height: 3.5em;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

#hero-typewriter {
    text-align: center;
}

.hero-cursor {
    animation: blink 1s infinite;
    color: white;
}

#hero-tw-selected {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* ===== Section 2: Latest Lab Report ===== */
.latest-report {
    padding: 40px 0 56px;
    background-color: #ffffff;
}

.latest-report-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    margin-top: 8px;
}

.latest-report-image {
    width: 280px;
    flex-shrink: 0;
}

.latest-report-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.2s ease;
}

.latest-report-image a:hover img {
    transform: scale(1.02);
}

/* Title — matches blog .post-title-gradient */
.latest-report-meta h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw + 0.5rem, 2.75rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-wrap: balance;
    margin: 0 0 20px 0;
    text-align: left;
}

.latest-report-meta h2 a {
    text-decoration: none;
    background:
        radial-gradient(ellipse 150% 120% at 30% 50%,
            #2d5a3d 0%, #3a6b47 15%, #4a8f5c 25%,
            #6db33f 35%, #7cd92e 45%, #adff2f 50%,
            #7cd92e 55%, #6db33f 65%, #4a8f5c 75%,
            #3a6b47 85%, #2d5a3d 100%
        );
    background-size: 200% 200%;
    animation: gradientShift 12s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.latest-report-meta h2 a:hover {
    filter: brightness(1.15);
}

/* Excerpt — matches blog .post-intro .post-excerpt (serif italic) */
.latest-report-excerpt {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0 0 24px 0;
}

/* Meta line — pill + date + read time on one row
   baseline alignment keeps date + read-time text bottoms aligned;
   pill uses relative positioning to visually center against the text. */
.latest-report-details {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.latest-report-details .status-pill {
    margin-bottom: 0;
    position: relative;
    top: -1px;
}

.latest-report-details .sep { opacity: 0.4; font-size: 0.65rem; }
.latest-report-details .read-time { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.02em; }

/* Status Pill — shared across sections */
.status-pill {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.status-exploring {
    background: var(--color-blue-pale);
    color: var(--color-blue);
}

.status-building {
    background: var(--color-green-pale);
    color: var(--color-green);
}

.status-shipped {
    background: var(--color-bg-alt);
    color: var(--color-text-light);
}

/* Read Link */
.read-link {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-green-dark);
    text-decoration: underline;
    text-decoration-color: rgba(45,90,61,0.3);
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: text-decoration-color 0.15s;
}

.read-link:hover { text-decoration-color: var(--color-green-dark); text-decoration-thickness: 2px; }

.read-link-secondary {
    color: var(--color-text-muted);
    text-decoration-color: rgba(156,163,175,0.3);
}

.read-link-secondary:hover {
    color: var(--color-green-dark);
    text-decoration-color: var(--color-green-dark);
}

.latest-report-links {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.latest-report-links .sep {
    opacity: 0.3;
    font-size: 0.65rem;
    color: var(--color-text-muted);
}

/* ===== Section 2b: From the Lab — Card Grid ===== */
.from-the-lab {
    padding: 48px 0 56px;
    background-color: #ffffff;
}

.from-the-lab .home-section-label {
    margin-bottom: 24px;
}

.from-the-lab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.lab-card {
    display: flex;
    flex-direction: column;
}

.lab-card-image {
    display: block;
    height: 240px;
    overflow: hidden;
    margin-bottom: 16px;
}

.lab-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    transition: transform 0.2s ease;
}

.lab-card-image:hover img {
    transform: scale(1.03);
}

.lab-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.lab-card-body h3 {
    font-family: var(--font-serif);
    font-size: clamp(1.15rem, 1.5vw + 0.4rem, 1.45rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-wrap: balance;
    margin: 0 0 8px 0;
}

.lab-card-body > .status-pill {
    align-self: flex-start;
    margin-bottom: 10px;
}

.lab-card-body h3 a {
    text-decoration: none;
    background:
        radial-gradient(ellipse 150% 120% at 30% 50%,
            #2d5a3d 0%, #3a6b47 15%, #4a8f5c 25%,
            #6db33f 35%, #7cd92e 45%, #adff2f 50%,
            #7cd92e 55%, #6db33f 65%, #4a8f5c 75%,
            #3a6b47 85%, #2d5a3d 100%
        );
    background-size: 200% 200%;
    animation: gradientShift 12s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lab-card-body h3 a:hover {
    filter: brightness(1.15);
}

.lab-card-excerpt {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.45;
    color: var(--color-text-muted);
    margin: 0 0 14px 0;
    flex: 1;
}

.lab-card-meta {
    display: block;
    font-family: var(--font-sans);
    font-style: normal;
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 6px;
}

.lab-card-meta .sep {
    opacity: 0.4;
    font-size: 0.6rem;
}

.lab-card-meta .read-time {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

.from-the-lab-footer {
    margin-top: 32px;
    text-align: center;
}


/* ===== Section 4: About + Contact Gradient ===== */
.about-contact-gradient {
    width: 100%;
    position: relative;
    background:
        radial-gradient(ellipse 150% 120% at 30% 50%,
            #1a3a5c 0%, #2563eb 20%, #60a5fa 35%,
            var(--color-hero-light) 50%,
            #60a5fa 65%, #2563eb 80%, #1a3a5c 100%
        );
    background-size: 200% 200%;
    animation: gradientShift 12s ease-in-out infinite;
    overflow: hidden;
}

.about-contact-gradient::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle, rgba(255,255,255,0.25) 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    pointer-events: none;
    z-index: 1;
}

.about-drifter {
    position: absolute;
    z-index: 1;
    width: 280px;
    top: 15%;
    right: 8%;
    pointer-events: auto;
    cursor: grab;
    animation: aboutDrift 58s ease-in-out infinite;
}

.about-drifter img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
    transform: rotate(var(--rand-rotate, -8deg)) scale(var(--rand-scale, 1));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.about-drifter:hover img {
    transform: rotate(var(--rand-rotate, -8deg)) scale(calc(var(--rand-scale, 1) * 1.12));
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.4));
}

.about-drifter.nudged {
    transition: transform 2s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes aboutDrift {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(-25px, 20px) rotate(-3deg); }
    50%  { transform: translate(15px, -30px) rotate(4deg); }
    75%  { transform: translate(-20px, -10px) rotate(-2deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

.about-contact-inner {
    position: relative;
    z-index: 2;
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: white;
    margin: 0;
    text-wrap: balance;
    min-height: 3.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

#about-typewriter {
    text-align: center;
}

.about-cursor {
    animation: blink 1s infinite;
    color: white;
}

#about-typewriter.highlighted {
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 6px;
    border-radius: 2px;
    transition: background 0.15s ease;
}

#about-typewriter.highlighted .about-cursor {
    opacity: 0;
    animation: none;
}

/* Floating contact icons — same behavior as hero objects */
.about-floater {
    position: absolute;
    z-index: 3;
    display: block;
    width: 56px;
    height: 56px;
    pointer-events: auto;
    cursor: grab;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.about-floater img {
    display: block;
    width: 100%;
    height: 100%;
    transform: rotate(var(--rand-rotate, 0deg)) scale(var(--rand-scale, 1));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.about-floater:hover img {
    transform: rotate(var(--rand-rotate, 0deg)) scale(calc(var(--rand-scale, 1) * 1.15));
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.3));
}

.about-floater.nudged {
    transition: transform 2s cubic-bezier(0.2, 0.8, 0.3, 1);
}

.about-floater-email {
    top: 25%;
    left: 12%;
    animation: aboutIconDrift1 50s ease-in-out infinite;
}

.about-floater-linkedin {
    bottom: 20%;
    right: 10%;
    animation: aboutIconDrift2 45s ease-in-out infinite;
}

@keyframes aboutIconDrift1 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    25%  { transform: translate(20px, -15px) rotate(4deg); }
    50%  { transform: translate(-10px, 20px) rotate(-3deg); }
    75%  { transform: translate(15px, 10px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes aboutIconDrift2 {
    0%   { transform: translate(0, 0) rotate(0deg); }
    33%  { transform: translate(-20px, 15px) rotate(-4deg); }
    66%  { transform: translate(15px, -20px) rotate(3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

/* Highlight — from blog mark */
mark {
    background: linear-gradient(
        to bottom,
        transparent 0%, transparent 30%,
        rgba(173,255,47,0.5) 30%, rgba(173,255,47,0.5) 70%,
        transparent 70%
    );
    padding: 0 2px;
}

/* ===== Responsive — Homepage ===== */
@media (max-width: 1024px) {
    /* Scale floaters down earlier on narrower desktops */
    .floater-small { width: 50px; }
    .floater-mid { width: 100px; }
    .floater-large { width: 150px; }
    .floater-large-behind { width: 150px; }
}

@media (max-width: 768px) {
    .hero-gradient {
        padding: 140px 16px 64px;
        min-height: 70vh;
    }

    .floater-small { width: 35px; }
    .floater-mid { width: 65px; }
    .floater-large { width: 100px; }
    .floater-large-behind { width: 100px; }

    .hero-logo { max-width: 260px; }

    .latest-report { padding: 32px 0 40px; }
    .latest-report-image { display: none; }
    .latest-report-grid { grid-template-columns: 1fr; gap: 0; }

    .from-the-lab { padding: 32px 0 40px; }
    .from-the-lab-grid { grid-template-columns: 1fr; gap: 0; }
    .lab-card + .lab-card { padding-top: 28px; border-top: 1px solid var(--color-border); margin-top: 28px; }
    .lab-card-image { height: 200px; margin-bottom: 12px; }

    .about-contact-inner {
        padding: 32px 16px;
    }

    .about-title {
        min-height: 4.5em;
    }
}

@media (max-width: 480px) {
    .hero-gradient {
        padding: 100px 12px 48px;
        min-height: 60vh;
    }

    .hero-logo { max-width: 180px; }
    .gradient-title { font-size: 1.65rem; min-height: 4.5em; }

    .floater-small { display: none; }
    .floater-mid { width: 45px; }
    .floater-large { width: 70px; }
    .floater-large-behind { width: 70px; }
    /* Hide most mid objects on phone, keep eraser + correction fluid */
    [data-drift="drift-5"],
    [data-drift="drift-6"],
    [data-drift="drift-7"] { display: none; }
}

/* ===== Curiosity Grid Hero ===== */
.curiosity-grid-hero {
    position: relative;
    padding: 120px 24px 80px;
    background-color: var(--color-bg-alt);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    overflow: hidden;
}

.curiosity-grid-inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
}

.curiosity-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.curiosity-header .home-section-label {
    display: block;
    margin-bottom: var(--space-sm);
    color: rgba(255, 255, 255, 0.7);
}

.curiosity-header h1 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.curiosity-header .page-intro {
    color: rgba(255, 255, 255, 0.8);
    max-width: 480px;
    margin: 0 auto;
}

.curiosity-objects {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    max-width: 720px;
    margin: 0 auto;
}

.curiosity-object {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.curiosity-object img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    animation: float 6s ease-in-out infinite;
}

.curiosity-object:nth-child(1) img { animation-delay: 0s; }
.curiosity-object:nth-child(2) img { animation-delay: 0.5s; }
.curiosity-object:nth-child(3) img { animation-delay: 1s; }
.curiosity-object:nth-child(4) img { animation-delay: 1.5s; }
.curiosity-object:nth-child(5) img { animation-delay: 2s; }
.curiosity-object:nth-child(6) img { animation-delay: 2.5s; }
.curiosity-object:nth-child(7) img { animation-delay: 3s; }
.curiosity-object:nth-child(8) img { animation-delay: 3.5s; }
.curiosity-object:nth-child(9) img { animation-delay: 4s; }
.curiosity-object:nth-child(10) img { animation-delay: 4.5s; }
.curiosity-object:nth-child(11) img { animation-delay: 5s; }
.curiosity-object:nth-child(12) img { animation-delay: 5.5s; }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.curiosity-object.active {
    cursor: pointer;
}

.curiosity-object.active:hover img {
    animation-play-state: paused;
    transform: scale(1.1) translateY(-4px);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.curiosity-object.inactive {
    cursor: default;
    opacity: 0.45;
}

.curiosity-object.inactive img {
    filter: grayscale(100%) brightness(0.7) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* ===== Lab Post Cards ===== */
.lab-posts {
    padding: 72px 0;
    background-color: var(--color-white);
}

.lab-posts-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--color-border);
}

.lab-posts-header .home-section-label {
    display: block;
    margin-bottom: var(--space-sm);
}

.lab-posts-header h1 {
    margin-bottom: var(--space-md);
}

.lab-posts-header .page-intro {
    max-width: 600px;
    margin: 0 auto;
}

.lab-post-card {
    margin-bottom: var(--space-3xl);
}

.lab-post-card:last-child {
    margin-bottom: 0;
}

.lab-post-card + .lab-post-card {
    padding-top: var(--space-3xl);
    border-top: 1px solid var(--color-border);
}

.lab-post-card-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
}

.lab-post-card-image {
    width: 280px;
    flex-shrink: 0;
}

.lab-post-card-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    transition: transform 0.2s ease;
}

.lab-post-card-image a:hover img {
    transform: scale(1.02);
}

.lab-post-card-meta h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.5rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-wrap: balance;
    margin: 0 0 20px 0;
    text-align: left;
}

.lab-post-card-meta h2 a {
    text-decoration: none;
    background:
        radial-gradient(ellipse 150% 120% at 30% 50%,
            #2d5a3d 0%, #3a6b47 15%, #4a8f5c 25%,
            #6db33f 35%, #7cd92e 45%, #adff2f 50%,
            #7cd92e 55%, #6db33f 65%, #4a8f5c 75%,
            #3a6b47 85%, #2d5a3d 100%
        );
    background-size: 200% 200%;
    animation: gradientShift 12s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lab-post-card-meta h2 a:hover {
    filter: brightness(1.15);
}

.lab-post-card-excerpt {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.25rem);
    font-style: italic;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0 0 24px 0;
}

.lab-post-card-details {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
}

.lab-post-card-details .status-pill {
    margin-bottom: 0;
    position: relative;
    top: -1px;
}

.lab-post-card-details .sep {
    opacity: 0.4;
    font-size: 0.65rem;
}

.lab-post-card-details .read-time {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

/* Curiosity Grid Responsive */
@media (max-width: 768px) {
    .curiosity-grid-hero {
        padding: 100px 16px 60px;
    }

    .curiosity-objects {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }

    .curiosity-object img {
        width: 60px;
        height: 60px;
    }

    .lab-post-card-image {
        display: none;
    }

    .lab-post-card-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .curiosity-grid-hero {
        padding: 80px 12px 48px;
    }

    .curiosity-objects {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .curiosity-object img {
        width: 50px;
        height: 50px;
    }
}

/* ===== About Page ===== */

/* Navbar — white text over green gradient hero */
body.about-page .navbar:not(.scrolled) .nav-wordmark,
body.about-page .navbar:not(.scrolled) .nav-cursor {
    color: white;
    transition: color 0.3s ease;
}

body.about-page .navbar:not(.scrolled) .nav-wordmark:hover {
    color: rgba(255,255,255,0.8);
}

body.about-page .navbar:not(.scrolled) .nav-links a {
    color: rgba(255,255,255,0.85);
}

body.about-page .navbar:not(.scrolled) .nav-links a:hover,
body.about-page .navbar:not(.scrolled) .nav-links a.active {
    color: white;
}

body.about-page .navbar:not(.scrolled) .mobile-menu-btn span {
    background: white;
}

body.about-page .navbar:not(.scrolled) .mobile-menu-btn.active span {
    background: #111827;
}

body.about-page .navbar:not(.scrolled) .nav-links.active a,
body.about-page .navbar.scrolled .nav-links.active a,
body.about-page .nav-links.active a {
    color: #111827;
}

/* Hero — matches blog-design-system.css post-header pattern */
.about-hero {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background:
        radial-gradient(ellipse 150% 120% at 30% 50%,
            #2d5a3d 0%, #3a6b47 15%, #4a8f5c 25%,
            #6db33f 35%, #7cd92e 45%, #adff2f 50%,
            #7cd92e 55%, #6db33f 65%, #4a8f5c 75%,
            #3a6b47 85%, #2d5a3d 100%
        );
    background-size: 200% 200%;
    background-position: 15% 35%;
    animation: aboutGradientShift 12s ease-in-out infinite;
    padding: 0 24px 48px;
    margin-top: -80px;
    padding-top: calc(80px + 48px);
    overflow: hidden;
}

@keyframes aboutGradientShift {
    0%   { background-position: 15% 35%; }
    20%  { background-position: 85% 45%; }
    40%  { background-position: 60% 75%; }
    60%  { background-position: 30% 65%; }
    80%  { background-position: 70% 25%; }
    100% { background-position: 15% 35%; }
}

/* Grid overlay — matches blog posts */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        linear-gradient(0deg, rgba(173, 255, 47, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(173, 255, 47, 0.3) 1px, transparent 1px);
    background-size: 20px 20px;
    background-attachment: fixed;
    pointer-events: none;
    z-index: 1;
}

/* Inner wrapper — matches blog .post-header-inner */
.about-hero-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 16px 0 0;
}

/* Bust — matches blog post .post-hero sizing + float animation */
.about-hero-bust {
    max-width: 320px;
    height: 280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-hero-bust img {
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.35));
    animation: aboutBustFloat 6s ease-in-out infinite;
}

@keyframes aboutBustFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* Text section — matches blog post .post-content pattern */
.about-text {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 24px 80px;
    box-sizing: border-box;
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Section labels — matching blog-design-system.css .section-label */
.about-text .section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6db33f;
    margin-top: 48px;
    margin-bottom: 24px;
}

.about-text p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #111827;
    margin: 0 0 1.5em 0;
}

/* Gradient lead — matches blog post .post-title-gradient */
.about-lead-gradient {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4vw + 1rem, 3.25rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-wrap: balance;
    margin: 0 0 20px 0;
    background:
        radial-gradient(ellipse 150% 120% at 30% 50%,
            #2d5a3d 0%, #3a6b47 15%, #4a8f5c 25%,
            #6db33f 35%, #7cd92e 45%, #adff2f 50%,
            #7cd92e 55%, #6db33f 65%, #4a8f5c 75%,
            #3a6b47 85%, #2d5a3d 100%
        );
    background-size: 200% 200%;
    animation: aboutGradientShift 12s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Highlighter — marker pen effect (matches blog design system) */
.about-text mark {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 30%,
        rgba(173, 255, 47, 0.5) 30%,
        rgba(173, 255, 47, 0.5) 70%,
        transparent 70%
    );
    padding: 0 2px;
}

/* Pull quote — gradient text with border accents */
.about-text .pull-quote {
    border-left: none;
    border-top: 2px solid #6db33f;
    border-bottom: 2px solid #6db33f;
    padding: 24px 0;
    margin: 2.5em 0;
    text-align: center;
}

.about-text .pull-quote p {
    font-family: var(--font-serif);
    font-size: clamp(1.375rem, 2.5vw + 0.5rem, 1.875rem);
    line-height: 1.3;
    font-style: italic;
    margin-bottom: 0;
    background:
        radial-gradient(ellipse 150% 120% at 30% 50%,
            #2d5a3d 0%, #3a6b47 15%, #4a8f5c 25%,
            #6db33f 35%, #7cd92e 45%, #adff2f 50%,
            #7cd92e 55%, #6db33f 65%, #4a8f5c 75%,
            #3a6b47 85%, #2d5a3d 100%
        );
    background-size: 200% 200%;
    animation: aboutGradientShift 12s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Contact icons — floating green icons with bobble */
.about-contact-icons {
    display: flex;
    gap: 32px;
    margin-top: 24px;
    align-items: center;
}

.about-contact-icon {
    display: block;
    width: 56px;
    height: 56px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
    transition: transform 0.2s ease, filter 0.2s ease;
    cursor: pointer;
}

.about-contact-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.about-contact-icon:nth-child(1) {
    animation: aboutIconBobble1 4s ease-in-out infinite;
}

.about-contact-icon:nth-child(2) {
    animation: aboutIconBobble2 4.5s ease-in-out infinite;
}

.about-contact-icon:hover {
    transform: scale(1.15);
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.25));
}

@keyframes aboutIconBobble1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%  { transform: translateY(-4px) rotate(2deg); }
    75%  { transform: translateY(3px) rotate(-1.5deg); }
}

@keyframes aboutIconBobble2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    30%  { transform: translateY(3px) rotate(-2deg); }
    70%  { transform: translateY(-5px) rotate(1.5deg); }
}

/* Responsive — matches blog-design-system.css breakpoints */
@media (max-width: 768px) {
    .about-hero {
        margin-top: -60px;
        padding-top: calc(60px + 32px);
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 32px;
    }

    .about-hero-bust {
        max-width: 240px;
        height: 220px;
    }

    .about-hero-bust img {
        max-height: 220px;
    }

    .about-text {
        padding: 32px 16px 64px;
    }

    .about-hero-inner {
        padding: 8px 0 0;
    }
}

@media (max-width: 480px) {
    .about-hero-bust {
        max-width: 200px;
        height: 180px;
    }

    .about-hero-bust img {
        max-height: 180px;
    }

    .about-text p {
        font-size: 0.875rem;
    }

    .about-contact-icons {
        gap: 24px;
    }

    .about-contact-icon {
        width: 48px;
        height: 48px;
    }
}

/* ===== Reduced Motion Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .floater {
        animation: none !important;
    }

    .peppermint-spinner,
    .sticker-divider img {
        transition: none !important;
    }

    .animate-wave {
        animation: none;
    }

    .nav-cursor {
        animation: none;
        opacity: 1;
    }

    html {
        scroll-behavior: auto;
    }
}
