/*
Theme Name: Split Brain
Theme URI: https://georgyabraham.com
Author: Georgy Abraham
Author URI: https://georgyabraham.com
Description: A split-screen portfolio theme for dual professions - AI & Search Visibility Strategist and Screenwriter & Tutor.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: split-brain
*/

:root {
    /* Left Brain - Consultant */
    --left-bg: #e8e4dc;
    --left-bg-dark: #d4d0c6;
    --left-text: #1a1a1a;
    --left-accent: #4a5548;
    --left-muted: #6b6b6b;
    
    /* Right Brain - Creative */
    --right-bg: #8b4513;
    --right-bg-dark: #6b3410;
    --right-text: #f5f0e8;
    --right-accent: #d4a574;
    --right-muted: #c4a882;
    
    /* Shared */
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    background: #1a1a1a;
}

/* ================================
   SCROLL INDICATOR
================================ */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator span {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0,0,0,0.7);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.scroll-indicator .arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

.scroll-indicator .arrow svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ================================
   SPLIT CONTAINER
================================ */
.split-section {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.brain-side {
    flex: 1;
    padding: 50px;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Left Brain Styling */
.left-brain {
    background: var(--left-bg);
    color: var(--left-text);
    font-family: 'Outfit', sans-serif;
}

/* Right Brain Styling */
.right-brain {
    background: var(--right-bg);
    color: var(--right-text);
    font-family: 'Courier Prime', monospace;
}

/* Hover Interactions */
.split-section:hover .left-brain {
    filter: brightness(0.4);
}

.split-section:hover .right-brain {
    filter: brightness(0.4);
}

.split-section .left-brain:hover {
    filter: brightness(1);
}

.split-section .right-brain:hover {
    filter: brightness(1);
}

.split-section .left-brain:hover ~ .right-brain,
.split-section:has(.left-brain:hover) .right-brain {
    filter: brightness(0.4);
}

.split-section:has(.right-brain:hover) .left-brain {
    filter: brightness(0.4);
}

/* Reset when not hovering the section */
.split-section:not(:hover) .brain-side {
    filter: brightness(1);
}

/* ================================
   HEADER - NEW FORMAT
================================ */
.hero-section .brain-header {
    margin-bottom: 30px;
    text-align: center;
}

.hero-section .brain-label {
    justify-content: center;
}

.hero-section .brain-nav {
    justify-content: center;
}

.brain-header {
    margin-bottom: 30px;
}

.brain-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 25px;
}

.brain-icon {
    width: 20px;
    height: 20px;
}

.left-brain .brain-icon {
    stroke: var(--left-text);
}

.right-brain .brain-icon {
    stroke: var(--right-text);
}

.brain-type {
    font-weight: 600;
    opacity: 0.5;
    margin-left: 5px;
}

.wordmark {
    margin-bottom: 6px;
}

.left-brain .wordmark {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.right-brain .wordmark {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0;
}

.role-title {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 8px;
}

.left-brain .role-title {
    font-weight: 400;
}

.right-brain .role-title {
    font-style: italic;
}

/* ================================
   NAVIGATION
================================ */
.brain-nav {
    display: flex;
    gap: 25px;
    margin-bottom: auto;
    margin-top: 15px;
}

.brain-nav a {
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    position: relative;
}

.left-brain .brain-nav a {
    color: var(--left-text);
    font-weight: 500;
}

.right-brain .brain-nav a {
    color: var(--right-text);
    font-family: 'Courier Prime', monospace;
}

.brain-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.brain-nav a:hover::after {
    width: 100%;
}

/* ================================
   HERO CONTENT - CENTRED
================================ */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hero section: centre everything */
.hero-section .hero-content {
    align-items: center;
}

.hero-section .hero-tagline {
    text-align: center;
}

/* Mobile-only hero content - hidden on desktop */
.mobile-hero-content {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.mobile-subheading {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0.9;
}

.left-brain .mobile-subheading {
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.right-brain .mobile-subheading {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    letter-spacing: 0;
}

.mobile-description {
    font-size: 0.75rem;
    line-height: 1.5;
    opacity: 0.8;
    max-width: 200px;
}

.left-brain .mobile-description {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

.right-brain .mobile-description {
    font-family: 'Courier Prime', monospace;
}

.hero-tagline {
    margin-bottom: 40px;
}

.left-brain .hero-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1px;
}

.right-brain .hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    font-style: italic;
    letter-spacing: -0.5px;
}

/* ================================
   VISUAL ELEMENTS
================================ */
.hero-visual {
    margin-top: 40px;
}

/* Left Brain - Graph */
.graph-container {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    width: 380px;
    max-width: 380px;
    min-height: 280px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.graph-bars {
    display: flex;
    align-items: flex-end;
    gap: 18px;
    height: 180px;
    margin-bottom: 20px;
}

.bar {
    flex: 1;
    background: var(--left-text);
    border-radius: 4px 4px 0 0;
    transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar:nth-child(1) { height: 40%; }
.bar:nth-child(2) { height: 55%; }
.bar:nth-child(3) { height: 45%; }
.bar:nth-child(4) { height: 70%; }
.bar:nth-child(5) { height: 85%; }
.bar:nth-child(6) { height: 65%; }
.bar:nth-child(7) { height: 95%; }

.graph-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--left-muted);
    font-style: italic;
}

/* Right Brain - Screenplay */
.screenplay-container {
    background: #f5f0e8;
    color: #1a1a1a;
    border-radius: 8px;
    padding: 30px 35px;
    width: 380px;
    max-width: 380px;
    min-height: 280px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    position: relative;
    font-family: 'Courier Prime', monospace;
}

.screenplay-container::before {
    content: 'SCENE 12';
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 0.65rem;
    opacity: 0.4;
    letter-spacing: 1px;
}

.scene-heading {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 18px;
    letter-spacing: 1px;
    text-decoration: underline;
}

.action-line {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

.character-name {
    text-align: center;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 5px;
    letter-spacing: 2px;
}

.dialogue {
    text-align: center;
    font-style: italic;
    font-size: 0.85rem;
    margin-bottom: 18px;
    max-width: 260px;
    margin-left: auto;
    margin-right: auto;
}

.screenplay-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    opacity: 0.5;
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* ================================
   SECTION 2 - PUNCHY STATEMENTS - CENTRED
================================ */
.punchy-section .hero-content {
    justify-content: center;
    align-items: center;
}

.punchy-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 320px;
}

.punchy-image {
    width: 220px;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.left-brain .punchy-image {
    background: linear-gradient(135deg, #4a5548 0%, #6b7c65 100%);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.right-brain .punchy-image {
    background: linear-gradient(135deg, #d4a574 0%, #c67b5c 100%);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.punchy-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    color: #fff;
}

.punchy-statement {
    max-width: 320px;
    text-align: center;
}

.left-brain .punchy-statement {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15;
}

.right-brain .punchy-statement {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.2;
}

.punchy-statement .highlight {
    display: block;
    margin-top: 8px;
}

.left-brain .highlight {
    color: var(--left-accent);
}

.right-brain .highlight {
    color: var(--right-accent);
}

/* ================================
   SECTION 3 - FAQ - LEFT ALIGNED (both sides)
================================ */
.faq-title {
    margin-bottom: 35px;
}

.left-brain .faq-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.right-brain .faq-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    font-style: italic;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 500px;
}

.faq-item {
    border-bottom: 1px solid rgba(128,128,128,0.2);
    overflow: hidden;
}

.faq-question {
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: opacity 0.3s ease;
}

.faq-question:hover {
    opacity: 0.7;
}

.left-brain .faq-question {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

.right-brain .faq-question {
    font-family: 'Courier Prime', monospace;
    font-size: 0.95rem;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.8;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 20px;
}

.left-brain .faq-answer {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
}

.right-brain .faq-answer {
    font-family: 'Courier Prime', monospace;
}

/* ================================
   SECTION 4 - LATEST POSTS - LEFT ALIGNED (both sides)
================================ */
.posts-title {
    margin-bottom: 35px;
}

.left-brain .posts-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.right-brain .posts-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    font-style: italic;
}

.post-card {
    padding: 25px 0;
    border-bottom: 1px solid rgba(128,128,128,0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    max-width: 450px;
}

.post-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.post-meta {
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 10px;
}

.post-title {
    margin-bottom: 10px;
}

.left-brain .post-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.right-brain .post-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 400;
    font-style: italic;
}

.post-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 15px;
}

.read-more {
    font-size: 0.8rem;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.left-brain .read-more {
    color: var(--left-text);
    font-weight: 500;
}

.right-brain .read-more {
    color: var(--right-text);
}

.read-more:hover {
    opacity: 1;
}

/* ================================
   FOOTER
================================ */
.site-footer {
    background: #0d0d0d;
    color: #888;
    padding: 50px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-status {
    display: flex;
    gap: 60px;
    padding: 30px 0;
}

.status-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.status-icon {
    font-size: 1.2rem;
}

.status-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    margin-bottom: 5px;
}

.status-text {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-bottom {
    font-size: 0.7rem;
    opacity: 0.3;
    text-align: center;
}

/* ================================
   REVEAL ANIMATION
================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   SINGLE PAGE TEMPLATES
================================ */
.single-page {
    min-height: 100vh;
    padding: 80px 50px;
}

.single-page.left-brain-page {
    background: var(--left-bg);
    color: var(--left-text);
}

.single-page.right-brain-page {
    background: var(--right-bg);
    color: var(--right-text);
}

.page-header {
    max-width: 800px;
    margin-bottom: 60px;
}

.page-title {
    margin-bottom: 20px;
}

.left-brain-page .page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
}

.right-brain-page .page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
}

.page-content {
    max-width: 800px;
    line-height: 1.8;
}

.left-brain-page .page-content {
    font-family: 'Outfit', sans-serif;
}

.right-brain-page .page-content {
    font-family: 'Courier Prime', monospace;
}

/* ================================
   BLOG ARCHIVE
================================ */
.blog-archive {
    min-height: 100vh;
    padding: 80px 50px;
}

.blog-archive.left-brain-page {
    background: var(--left-bg);
    color: var(--left-text);
}

.blog-archive.right-brain-page {
    background: var(--right-bg);
    color: var(--right-text);
}

.archive-header {
    margin-bottom: 60px;
}

.archive-title {
    margin-bottom: 10px;
}

.left-brain-page .archive-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
}

.right-brain-page .archive-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    font-style: italic;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1200px;
}

.archive-post-card {
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.left-brain-page .archive-post-card {
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.right-brain-page .archive-post-card {
    background: var(--right-bg-dark);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.archive-post-card:hover {
    transform: translateY(-5px);
}

.left-brain-page .archive-post-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.right-brain-page .archive-post-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* ================================
   SINGLE POST
================================ */
.single-post {
    min-height: 100vh;
    padding: 80px 50px;
}

.single-post.left-brain-page {
    background: var(--left-bg);
    color: var(--left-text);
}

.single-post.right-brain-page {
    background: var(--right-bg);
    color: var(--right-text);
}

.post-header {
    max-width: 800px;
    margin-bottom: 40px;
}

.single-post .post-title {
    margin-bottom: 15px;
}

.left-brain-page .single-post .post-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
}

.right-brain-page .single-post .post-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    font-style: italic;
}

.post-body {
    max-width: 800px;
    line-height: 1.9;
}

.left-brain-page .post-body {
    font-family: 'Outfit', sans-serif;
}

.right-brain-page .post-body {
    font-family: 'Courier Prime', monospace;
}

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

.post-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-body h3 {
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.back-link:hover {
    opacity: 1;
}

.left-brain-page .back-link {
    color: var(--left-text);
}

.right-brain-page .back-link {
    color: var(--right-text);
}

/* ================================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 1200px) {
    .hero-section .hero-content {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 900px) {
    .brain-side {
        padding: 30px;
    }

    .hero-section .hero-content {
        align-items: center;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-section .hero-tagline {
        text-align: center;
    }

    .punchy-wrapper {
        gap: 25px;
    }

    .punchy-image {
        width: 160px;
        height: 200px;
    }

    .footer-main {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-status {
        flex-direction: column;
        gap: 25px;
    }
    
    .single-page,
    .blog-archive,
    .single-post {
        padding: 60px 30px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .split-section {
        flex-direction: row;
    }

    .brain-side {
        padding: 15px;
        min-width: 50%;
        transition: flex 0.4s ease, min-width 0.4s ease;
    }

    .brain-side.expanded {
        flex: 6;
        min-width: 85%;
    }

    .brain-side.collapsed {
        flex: 1;
        min-width: 15%;
        overflow: hidden;
    }

    .brain-side.collapsed .hero-content,
    .brain-side.collapsed .brain-nav,
    .brain-side.collapsed .role-title {
        opacity: 0;
        pointer-events: none;
    }

    /* Hide visuals on mobile */
    .hero-visual {
        display: none;
    }

    /* Show mobile-only content */
    .mobile-hero-content {
        display: block;
        margin-top: 25px;
    }

    /* Hide header labels on mobile for more space */
    .brain-label {
        display: none;
    }

    /* Compact header - aligned */
    .brain-header {
        margin-bottom: 12px;
        text-align: center;
    }

    /* Wordmark with Space Grotesk for left brain */
    .left-brain .wordmark {
        font-family: 'Space Grotesk', sans-serif !important;
        font-size: 0.95rem;
        font-weight: 500;
        letter-spacing: 0.5px;
    }

    .right-brain .wordmark {
        font-family: 'Playfair Display', serif !important;
        font-size: 1rem;
        font-weight: 400;
        font-style: italic;
    }

    .role-title {
        font-size: 0.6rem;
        margin-bottom: 8px;
        opacity: 0.7;
        letter-spacing: 0.3px;
    }

    /* Compact nav - button style on mobile */
    .brain-nav {
        flex-wrap: nowrap;
        gap: 4px;
        margin-top: 12px;
        justify-content: center;
    }

    .brain-nav a {
        font-size: 0.45rem;
        letter-spacing: 0.3px;
        padding: 5px 8px;
        border-radius: 12px;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .left-brain .brain-nav a {
        background: var(--left-text);
        color: var(--left-bg);
    }

    .right-brain .brain-nav a {
        background: var(--right-text);
        color: var(--right-bg);
    }

    /* Hero taglines with Space Grotesk for left */
    .left-brain .hero-tagline {
        font-family: 'Space Grotesk', sans-serif !important;
        font-size: 1.4rem !important;
        font-weight: 600;
        line-height: 1.15;
        letter-spacing: -0.5px;
    }

    .right-brain .hero-tagline {
        font-family: 'Playfair Display', serif !important;
        font-size: 1.25rem !important;
        font-weight: 600;
        font-style: italic;
        line-height: 1.2;
    }

    /* Mobile subheading with Space Grotesk */
    .left-brain .mobile-subheading {
        font-family: 'Space Grotesk', sans-serif !important;
        font-size: 0.75rem;
        font-weight: 500;
        letter-spacing: 1.5px;
    }

    .left-brain .mobile-description {
        font-family: 'Space Grotesk', sans-serif !important;
        font-weight: 400;
        font-size: 0.7rem;
        line-height: 1.6;
    }

    /* FAQ section alignment */
    .faq-section .hero-content {
        padding-top: 30px;
    }

    .faq-title {
        margin-bottom: 20px;
    }

    .left-brain .faq-title {
        font-family: 'Space Grotesk', sans-serif !important;
        font-size: 1.3rem;
        font-weight: 600;
    }

    .faq-question {
        padding: 15px 0;
        font-size: 0.8rem !important;
    }

    .faq-answer {
        font-size: 0.75rem !important;
    }

    /* Posts section alignment */
    .posts-section .hero-content {
        padding-top: 30px;
    }

    .posts-title {
        margin-bottom: 20px;
    }

    .left-brain .posts-title {
        font-family: 'Space Grotesk', sans-serif !important;
        font-size: 1.3rem;
        font-weight: 600;
    }

    .post-card {
        padding: 18px 0;
    }

    .post-meta {
        font-size: 0.6rem;
    }

    .left-brain .post-title {
        font-family: 'Space Grotesk', sans-serif !important;
        font-size: 1rem;
        font-weight: 600;
    }

    .post-excerpt {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    /* Punchy section */
    .punchy-wrapper {
        flex-direction: column !important;
        text-align: center;
    }

    .punchy-image {
        width: 100px;
        height: 130px;
    }

    .left-brain .punchy-statement {
        font-family: 'Space Grotesk', sans-serif !important;
        font-size: 1rem !important;
        font-weight: 600;
        text-align: center;
    }

    .right-brain .punchy-statement {
        font-family: 'Playfair Display', serif !important;
        font-size: 0.95rem !important;
        font-style: italic;
        text-align: center;
    }

    .graph-container {
        padding: 20px;
        max-width: 100%;
    }

    .screenplay-container {
        padding: 20px;
        max-width: 100%;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .single-page,
    .blog-archive,
    .single-post {
        padding: 40px 20px;
    }
    
    .page-title,
    .archive-title,
    .single-post .post-title {
        font-size: 2rem !important;
    }
}

/* Extra small screens */
@media (max-width: 400px) {
    .brain-side {
        padding: 10px;
    }

    .left-brain .wordmark {
        font-size: 0.85rem;
    }

    .right-brain .wordmark {
        font-size: 0.9rem;
    }

    .left-brain .hero-tagline {
        font-family: 'Space Grotesk', sans-serif !important;
        font-size: 1.2rem !important;
        font-weight: 600;
    }

    .right-brain .hero-tagline {
        font-size: 1.1rem !important;
    }

    .brain-nav a {
        font-size: 0.5rem;
    }

    .mobile-subheading {
        font-size: 0.65rem !important;
    }

    .mobile-description {
        font-size: 0.6rem !important;
        max-width: 140px;
    }
}

/* Disable hover effects on touch devices */
@media (hover: none) {
    .split-section:hover .left-brain,
    .split-section:hover .right-brain,
    .split-section .left-brain:hover ~ .right-brain,
    .split-section:has(.left-brain:hover) .right-brain,
    .split-section:has(.right-brain:hover) .left-brain {
        filter: brightness(1);
    }
}
/* Page content centering for wide screens */
.page-content {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

.page-header {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}
/* Backstory page image spacing */
.page-content img {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.page-content p {
    margin-bottom: 24px;
    line-height: 1.7;
}