/* Client mode - polished and classy */
html.client-mode body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fafafa;
    color: #1a1a1a;
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* First content section styling */
.client-container > h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #000;
    letter-spacing: -0.04em;
    line-height: 1;
}

.client-container > .subtitle {
    font-size: 1.375rem;
    color: #666;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Client container */
.client-container {
    display: none;
    max-width: 960px;
    margin: 0 auto;
    padding: 60px 40px 100px;
    background: #ffffff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.03);
}

html.client-mode body .client-container {
    display: block;
}

/* Typography */
.client-container h2 {
    font-size: 1.875rem;
    font-weight: 600;
    margin: 3.5rem 0 1.5rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 1.5rem;
}

.client-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, #e0e0e0 0%, transparent 100%);
}

.client-container h3 {
    font-size: 0.75rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.client-container p {
    margin-bottom: 1rem;
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.6;
}

/* Code block for developer object */
.developer-object {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 3rem 0;
    overflow-x: auto;
    color: #2a2a2a;
    position: relative;
    transition: all 0.3s ease;
}

.developer-object:hover {
    border-color: #d0d0d0;
    background: #f0f0f0;
}

.developer-object pre {
    margin: 0;
    white-space: pre;
}

/* Skills grid */
.client-skills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2.5rem 0 3rem;
}

.client-skill-group {
    background: #fafafa;
    padding: 1.75rem;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.client-skill-group:hover {
    background: #f8f8f8;
    border-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.client-skill-group h3 {
    margin-bottom: 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #1a1a1a;
}

.client-skill-group ul {
    list-style: none;
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.8;
}

.client-skill-group ul li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.client-skill-group ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #999;
    font-size: 0.875rem;
}

/* Services */
.client-services-wrapper {
    margin: 2.5rem 0;
    display: grid;
    gap: 1px;
    background: #e0e0e0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.client-service {
    background: #ffffff;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.client-service:hover {
    background: #f8f8f8;
}

.client-service::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #1a1a1a;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.client-service:hover::before {
    transform: scaleY(1);
}

.client-service h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

.client-service p {
    margin-bottom: 0;
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.6;
}

/* Process list */
.client-process {
    margin: 2.5rem 0;
    list-style: none;
    counter-reset: process-counter;
}

.client-process-item {
    margin: 1.75rem 0;
    display: flex;
    gap: 1.25rem;
    align-items: baseline;
    position: relative;
    padding-left: 3rem;
    padding-bottom: 1.75rem;
    counter-increment: process-counter;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.client-process-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.client-process-item:hover .number {
    background: #333;
    transform: scale(1.1);
}

.client-process-item .number {
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: #1a1a1a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.client-process-item strong {
    color: #1a1a1a;
    font-weight: 600;
}

.client-process-item .dash {
    color: #999;
    margin: 0 0.375rem;
}

/* Testimonials */
.client-testimonial {
    margin: 2rem 0;
    padding: 2rem 2.5rem;
    background: #f5f5f5;
    border-left: 3px solid #e0e0e0;
    font-style: italic;
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.7;
    border-radius: 0 8px 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

.client-testimonial:hover {
    border-left-color: #1a1a1a;
    background: #f0f0f0;
}

.client-testimonial::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 3rem;
    color: #e0e0e0;
    font-family: Georgia, serif;
}

.client-testimonial cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-size: 0.875rem;
    color: #999;
    text-align: right;
}

/* Recent commits */
.client-commits {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: #666;
    margin: 2rem 0;
    list-style: none;
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    line-height: 1.8;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.client-commits:hover {
    background: #f0f0f0;
    border-color: #d0d0d0;
}

.client-commits li {
    margin: 0.5rem 0;
    padding: 0.25rem 0;
}

.client-commits .hash {
    color: #1a1a1a;
    background: #e0e0e0;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
}

/* Buttons */
.client-btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: #1a1a1a;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    border: 2px solid #1a1a1a;
}

.client-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.client-btn.primary {
    background: #1a1a1a;
    color: white;
}

.client-btn.secondary {
    background: transparent;
    color: #1a1a1a;
}

.client-btn.secondary:hover {
    background: #1a1a1a;
    color: white;
}

/* CTA */
.client-cta {
    text-align: center;
    margin: 5rem 0 2rem;
    padding: 5rem 0 0;
    border-top: 1px solid #e0e0e0;
}

.client-cta h2 {
    margin-bottom: 1rem;
    font-size: 2.25rem;
}

.client-cta h2::after {
    display: none;
}

.client-cta p {
    margin-bottom: 2.5rem;
    font-size: 1.125rem;
    color: #666;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .client-container > h1 {
        font-size: 2.5rem;
    }
    
    .client-container > .subtitle {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .client-container {
        padding: 20px 20px 60px;
    }

    .client-container h2 {
        font-size: 1.625rem;
        margin: 3rem 0 1.5rem;
    }

    .client-skills {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .client-skill-group {
        padding: 1.5rem;
    }

    .developer-object {
        font-size: 0.75rem;
        padding: 1.5rem 1rem;
    }

    .client-process-item {
        padding-left: 2.5rem;
    }
    
    .client-process-item .number {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.75rem;
    }

    .client-cta {
        margin: 4rem 0 2rem;
        padding: 4rem 0 0;
    }
    
    .client-cta h2 {
        font-size: 1.875rem;
    }
}

/* ============================================
   IMPROVED HERO GRID WITH CONTACT FORM
   Replace the hero styles in css/client-mode.css
   ============================================ */

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 380px;
    gap: 3rem;
    align-items: start;
    margin-bottom: 4rem;
}

/* Developer Object - Improved Contrast */
.hero-content .developer-object {
    background: #282828;
    border: 1px solid #3c3836;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
    margin: 2rem 0;
    color: #ebdbb2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-content .developer-object pre {
    margin: 0;
    white-space: pre;
    color: #ebdbb2;
}

/* Hero Highlights - Better Spacing */
.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.highlight-item:hover {
    background: #fafafa;
}

.highlight-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    filter: grayscale(0);
}

.highlight-item strong {
    display: block;
    color: #1a1a1a;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.highlight-item p {
    color: #666;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.5;
}

/* Form Wrapper - Lighter Feel */
.hero-form-wrapper {
    position: sticky;
    top: 140px;
}

.hero-form-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.hero-form-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f5f5f5;
}

.form-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    font-weight: 700;
    text-transform: none;
    letter-spacing: -0.01em;
}

.form-header p {
    color: #666;
    font-size: 0.9375rem;
    margin: 0;
}

/* Form Inputs - Softer Look */
.hero-contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.hero-contact-form .form-group {
    margin: 0;
}

.hero-contact-form input,
.hero-contact-form select,
.hero-contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: inherit;
    background: #fafafa;
    transition: all 0.2s ease;
}

.hero-contact-form input:hover,
.hero-contact-form select:hover,
.hero-contact-form textarea:hover {
    border-color: #d0d0d0;
    background: #ffffff;
}

.hero-contact-form input:focus,
.hero-contact-form select:focus,
.hero-contact-form textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.hero-contact-form input::placeholder,
.hero-contact-form textarea::placeholder {
    color: #999;
}

.hero-contact-form textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.hero-contact-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Submit Button - More Prominent */
.hero-submit-btn {
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.hero-submit-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.hero-submit-btn .btn-loading {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.form-response-time {
    text-align: center;
    font-size: 0.8125rem;
    color: #999;
    margin: 0.75rem 0 0;
}

/* Form Status Messages */
.hero-contact-form .form-status {
    margin-top: 1rem;
    padding: 0.875rem;
    border-radius: 10px;
    display: none;
    text-align: center;
    font-size: 0.9375rem;
    font-weight: 500;
}

.hero-contact-form .form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.hero-contact-form .form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Divider - Cleaner */
.form-divider {
    text-align: center;
    margin: 1.75rem 0 1.25rem;
    color: #ccc;
    font-size: 0.8125rem;
    position: relative;
}

.form-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #f0f0f0;
    z-index: 0;
}

.form-divider::after {
    content: 'or';
    background: white;
    padding: 0 0.875rem;
    position: relative;
    z-index: 1;
}

/* Direct Contact Links - More Polished */
.direct-contact {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem;
    background: #fafafa;
    border: 1.5px solid #e8e8e8;
    border-radius: 10px;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.contact-link:hover {
    background: white;
    border-color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-link span {
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-form-wrapper {
        position: static;
    }

    .hero-form-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-grid {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .hero-form-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .form-header {
        padding-bottom: 1rem;
        margin-bottom: 1.25rem;
    }

    .form-header h3 {
        font-size: 1.25rem;
    }

    .highlight-item {
        padding: 0.5rem;
    }

    .highlight-icon {
        font-size: 1.5rem;
    }
}

/* Add/Replace these styles in public/css/client-mode.css */

/* Hero Grid - Tighter spacing */
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 380px;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 3.5rem;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000;
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.hero-content .subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
}

/* Developer Object - Sleeker */
.hero-content .developer-object {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    line-height: 1.65;
    margin: 2rem 0;
    color: #e0e0e0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* Hero Highlights - Tighter, cleaner */
.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e8e8e8;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.highlight-item:hover {
    background: #f5f5f5;
    border-color: #e0e0e0;
    transform: translateX(4px);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.highlight-item strong {
    display: block;
    color: #1a1a1a;
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
    font-weight: 600;
}

.highlight-item p {
    color: #666;
    font-size: 0.8125rem;
    margin: 0;
    line-height: 1.4;
}

/* Why Suboptimal & Truth Sections - Tighter */
.why-suboptimal-section,
.truth-section {
    margin: 3.5rem 0;
}

.why-suboptimal-section h2,
.truth-section h2 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
}

.why-suboptimal-section p,
.truth-section p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
}

/* Technical Skills - Cleaner grid */
.client-container > h2 {
    font-size: 1.875rem;
    font-weight: 600;
    margin: 3.5rem 0 1.5rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.client-skills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 2rem 0 3rem;
}

.client-skill-group {
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.client-skill-group:hover {
    background: #f5f5f5;
    border-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.client-skill-group h3 {
    margin-bottom: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #1a1a1a;
}

.client-skill-group ul {
    list-style: none;
    font-size: 0.875rem;
    color: #666;
    line-height: 1.8;
}

.client-skill-group ul li {
    padding: 0.125rem 0;
    position: relative;
    padding-left: 1rem;
}

.client-skill-group ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #999;
    font-size: 0.75rem;
}

/* Services - Tighter spacing */
.client-services-wrapper {
    margin: 2rem 0;
    display: grid;
    gap: 1px;
    background: #e8e8e8;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
}

.client-service {
    background: #ffffff;
    padding: 1.75rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.client-service:hover {
    background: #fafafa;
}

.client-service::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #1a1a1a;
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.client-service:hover::before {
    transform: scaleY(1);
}

.client-service h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.0625rem;
    margin-bottom: 0.625rem;
    font-weight: 600;
    color: #1a1a1a;
}

.client-service p {
    margin-bottom: 0;
    font-size: 0.875rem;
    color: #666;
    line-height: 1.6;
}

/* Recent commits - Tighter */
.client-commits {
    list-style: none;
    margin: 2rem 0 3rem;
    padding: 0;
}

.client-commits li {
    padding: 0.625rem 0;
    color: #555;
    font-size: 0.875rem;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.6;
}

.client-commits li:last-child {
    border-bottom: none;
}

.client-commits .hash {
    font-family: 'JetBrains Mono', monospace;
    color: #999;
    font-size: 0.8125rem;
    margin-right: 0.5rem;
}

/* CTA - Cleaner */
.client-cta {
    text-align: center;
    margin: 4rem 0 2rem;
    padding: 3.5rem 2rem;
    border-top: 1px solid #e8e8e8;
}

.client-cta h2 {
    margin-bottom: 0.75rem;
    font-size: 2rem;
}

.client-cta h2::after {
    display: none;
}

.client-cta p {
    margin-bottom: 2rem;
    font-size: 1rem;
    color: #666;
}

/* Mobile responsive - PERFECT */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-form-wrapper {
        position: static;
    }

    .hero-form-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    /* Container */
    .client-container {
        padding: 100px 16px 60px;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Hero */
    .hero-grid {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-content .subtitle {
        font-size: 1.0625rem;
        margin-bottom: 1.5rem;
    }

    /* Developer object */
    .hero-content .developer-object {
        font-size: 0.6875rem;
        padding: 1rem 1.125rem;
        overflow-x: auto;
        margin: 1.5rem 0;
    }

    /* Hero highlights - PERFECT ALIGNMENT */
    .hero-highlights {
        gap: 0.75rem;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .highlight-item {
        padding: 0.875rem;
        gap: 0.875rem;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }

    .highlight-icon {
        font-size: 1.375rem;
        width: 1.375rem;
        height: 1.375rem;
        flex-shrink: 0;
    }

    .highlight-item div {
        flex: 1;
        min-width: 0;
    }

    .highlight-item strong {
        font-size: 0.875rem;
        margin-bottom: 0.125rem;
    }

    .highlight-item p {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    /* Sections */
    .why-suboptimal-section,
    .truth-section {
        margin: 3rem 0;
    }

    .why-suboptimal-section h2,
    .truth-section h2,
    .client-container > h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .why-suboptimal-section p,
    .truth-section p {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    /* Skills */
    .client-skills {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1.5rem 0 2.5rem;
    }

    .client-skill-group {
        padding: 1.25rem;
        width: 100%;
        box-sizing: border-box;
    }

    .client-skill-group h3 {
        font-size: 0.625rem;
        margin-bottom: 0.875rem;
    }

    .client-skill-group ul {
        font-size: 0.8125rem;
    }

    /* Services */
    .client-services-wrapper {
        margin: 1.5rem 0;
        width: 100%;
    }

    .client-service {
        padding: 1.375rem;
        width: 100%;
        box-sizing: border-box;
    }

    .client-service h3 {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
    }

    .client-service p {
        font-size: 0.8125rem;
    }

    /* Commits */
    .client-commits {
        margin: 1.5rem 0 2.5rem;
        padding: 0;
    }

    .client-commits li {
        padding: 0.5rem 0;
        font-size: 0.8125rem;
    }

    .client-commits .hash {
        font-size: 0.75rem;
        display: inline-block;
    }

    /* CTA */
    .client-cta {
        margin: 3rem 0 2rem;
        padding: 2.5rem 1rem;
    }

    .client-cta h2 {
        font-size: 1.75rem;
        margin-bottom: 0.625rem;
    }

    .client-cta p {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    /* Form */
    .hero-form-card {
        padding: 1.375rem;
        border-radius: 12px;
        width: 100%;
        box-sizing: border-box;
    }

    .form-header h3 {
        font-size: 1.25rem;
    }

    .form-header p {
        font-size: 0.875rem;
    }
}

/* Small mobile - extra tight */
@media (max-width: 480px) {
    .client-container {
        padding: 100px 12px 50px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .developer-object {
        font-size: 0.625rem;
        padding: 0.875rem 1rem;
    }

    .highlight-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .highlight-item strong {
        font-size: 0.8125rem;
    }

    .highlight-item p {
        font-size: 0.6875rem;
    }
}

/* Hero Grid - add top margin for spacing below header */
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 380px;
    gap: 2.5rem;
    align-items: start;
    margin-top: 2rem; /* Add spacing below header */
    margin-bottom: 3.5rem;
}

/* Mobile - increase top margin */
@media (max-width: 768px) {
    .hero-grid {
        gap: 2rem;
        margin-top: 1.5rem; /* Space below header on mobile */
        margin-bottom: 3rem;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-grid {
        margin-top: 1.25rem;
    }
}

/* H1 - Page titles */
h1 {
    font-size: 2.5rem !important;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* H2 - Major sections */
h2 {
    font-size: 1.875rem !important;  /* Reduce from what looks like 2.5rem+ */
    font-weight: 600;
    margin: 3rem 0 1.5rem;
}

/* H3 - Subsections (these look good as-is) */
h3 {
    font-size: 1.25rem !important;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.125rem !important; }
}

/* For those column headers in Technical Skills */
.client-skill-group h3 {
    font-size: 0.75rem !important;  /* Make them smaller */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Replace these values in your client-mode.css */

/* 1. Warmer background - less sterile */
html.client-mode body {
    background: #f8f8f6; /* Changed from #fafafa */
}

.client-container {
    background: #fefefe; /* Slightly warmer than pure white */
}

/* 2. Warmer borders throughout */
.client-container h2::after {
    background: linear-gradient(to right, #e5e5e0 0%, transparent 100%); /* Was #e0e0e0 */
}

.hero-highlights {
    border-top: 1px solid #e5e5e0; /* Was #e8e8e8 */
}

.highlight-item {
    background: #f8f8f6; /* Warmer */
    border: 1px solid #ecece8; /* Warmer */
}

.highlight-item:hover {
    background: #f5f5f0; /* Warmer */
    border-color: #e5e5e0; /* Warmer */
}

/* 3. Make H1 monospace for terminal vibe */
h1 {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 2.25rem !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* 4. H2 stays Inter but slightly adjusted */
h2 {
    font-size: 1.875rem !important;
    font-weight: 600;
    color: #2a2a2a; /* Slightly softer than pure black */
}

/* 5. Service headers already monospace - good! Keep those */

/* 6. Slightly darker default text for better readability */
.client-container p {
    color: #3a3a3a; /* Was #4a4a4a, now slightly darker */
}

/* 7. Warm up skill group backgrounds */
.client-skill-group {
    background: #f8f8f6; /* Was #fafafa */
    border: 1px solid #ecece8; /* Was #f0f0f0 */
}

.client-skill-group:hover {
    background: #f5f5f0; /* Was #f8f8f8 */
    border-color: #e5e5e0; /* Was #e0e0e0 */
}

/* 8. Make form backgrounds slightly warmer */
.hero-contact-form input,
.hero-contact-form select,
.hero-contact-form textarea {
    background: #f8f8f6; /* Was #fafafa */
    border: 1.5px solid #e5e5e0; /* Was #e8e8e8 */
}

/* 9. Optional: Add subtle yellow accent to primary button */
.client-btn.primary,
.hero-submit-btn {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%); /* Slightly lighter starting point */
}

.hero-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
}

/* 10. Warm up CTA section */
.client-cta {
    border-top: 1px solid #e5e5e0; /* Was #e8e8e8 */
}

/* 11. Adjust contact links */
.contact-link {
    background: #f8f8f6; /* Was #fafafa */
    border: 1.5px solid #e5e5e0; /* Was #e8e8e8 */
}
@media (max-width: 768px) {
    h1 { 
        font-size: 2rem !important; 
        letter-spacing: -0.03em; /* Add this for tighter mobile spacing */
        line-height: 1.1; /* Bring the two lines closer together */
    }
}


.value-prop {
  text-align: center;
}

.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin: 3rem 0;
  padding: 3rem 2.5rem;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.value-number {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 3.5rem;  /* slightly bigger */
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.value-prop p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .value-props {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
        /* Remove column-reverse */
        display: grid; 
    }
    
    /* Keep heading, hide the value props and highlights */
    .hero-content h1,h4,
    .hero-content .subtitle {
        text-align: center;
    }
    
    /* Hide ONLY the value props (67%, <2s, 15yr) */
    .hero-content .value-props {
        display: none;
    }
    
    /* Center the form better */
    .hero-form-wrapper {
        width: 100%;
        max-width: 100%;
        position: static;
    }
    
    .hero-form-card {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
}

  /* Add spacing between major sections */
  section {
    margin: 5rem 0;
  }

  .hero-statement {
        text-align: center;

    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0;
    color: #1a1a1a;
  }

  /* Proof Section - Compact Stats */
  .proof-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 2rem;
    background: #f8f8f8;
    border-radius: 12px;
    margin: 4rem 0;
    text-align: center;
  }

  .proof-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
  }

  .proof-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
  }

  /* Services Grid - Cards Instead of List */
  .services-overview {
     text-align: center;
    margin: 5rem 0;
  }

  .section-intro {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.125rem;
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .service-card {
    background: #fafafa;
    padding: 1.75rem;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    transition: all 0.2s;
  }

  .service-card:hover {
    border-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .service-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
  }

  .service-card p {
    color: #666;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
  }

  .pricing-note {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: #f5f5f5;
    border-radius: 8px;
    color: #555;
  }

  .pricing-note a {
    color: #1a1a1a;
    text-decoration: underline;
  }

  /* Recent Work - Cards Not Commits */
  .recent-work {
    margin: 5rem 0;
  }

  .work-list {
    display: grid;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
  }

  .work-item {
    padding: 1.5rem;
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
  }

  .work-item strong {
    display: block;
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
  }

  .work-item p {
    color: #666;
    margin: 0;
    font-size: 0.9375rem;
  }

  .text-link {
    color: #1a1a1a;
    text-decoration: underline;
    font-weight: 500;
  }

  /* Working With Me - Grid */
  .working-with-me {
    margin: 5rem 0;
  }

  .truth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .truth-item {
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 8px;
    border-left: 3px solid #1a1a1a;
  }

  .truth-item p {
    margin: 0;
    color: #555;
    line-height: 1.6;
  }

  /* Final CTA - Stronger */
  .final-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f8f8;
    border-radius: 12px;
    margin: 5rem 0;
  }

  .final-cta h2 {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
  }

  .final-cta p {
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 2rem;
  }

  .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .cta-primary,
  .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 1rem;
  }

  .cta-primary {
    background: #1a1a1a;
    color: white;
  }

  .cta-primary:hover {
    background: #000;
    transform: translateY(-2px);
  }

  .cta-secondary {
    background: white;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
  }

  .cta-secondary:hover {
    background: #1a1a1a;
    color: white;
  }

  /* Mobile */
  @media (max-width: 768px) {
    section {
      margin: 3rem 0;
    }

    .proof-section {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      padding: 2rem 1.5rem;
    }

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

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

    .final-cta {
      padding: 3rem 1.5rem;
    }

    .cta-buttons {
      flex-direction: column;
      align-items: stretch;
    }
  }
