:root {
    --bg-color: #F4F1EA;
    /* Cream */
    --text-color: #111111;
    /* Black */
    --text-muted: #666666;
    /* Dark Grey for muted text */
    /* Deep Red */
    --accent-color: #D32F2F;
    --primary-color: #D32F2F;
    /* Deep Red */
    --secondary-color: #333333;
    /* Dark Grey */
    --card-bg: #FFFFFF;
    /* White */
    --nav-bg: rgba(244, 241, 234, 0.95);
    /* Cream with opacity */
    --glass-bg: rgba(0, 0, 0, 0.05);
    /* Subtle dark glass for light bg */
    --glass-border: rgba(0, 0, 0, 0.1);
    --gradient-1: #F4F1EA;
    --gradient-2: #EBE7E0;
    --font-main: 'Outfit', sans-serif;
    --font-display: 'Poppins', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --font-alt: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    /* Custom cursor */
}

/* Custom Cursor */
.cursor-dot,
.cursor-outline {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 1px solid var(--text-color);
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

body:hover .cursor-outline {
    opacity: 1;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.header.scrolled {
    background: var(--bg-color);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-alt);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
    transition: var(--transition-fast);
    display: inline-block;
}

.logo:hover .logo-text {
    transform: rotate(-3deg) scale(1.05);
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(211, 47, 47, 0.3);
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

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

.btn-primary {
    background: var(--text-color);
    color: var(--bg-color);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background: var(--primary-color);
    color: var(--text-color);
    transform: translateY(-2px);
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--glass-border);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    width: 45%;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

.timeline-item:nth-child(even) .timeline-date {
    text-align: left;
}

.timeline-content {
    width: 45%;
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background: var(--text-color);
    border-radius: 50%;
    border: 4px solid var(--bg-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Philosophy Section */
.philosophy {
    text-align: center;
    padding: 10rem 0;
}

.philosophy h2 {
    font-size: 4rem;
    line-height: 1.2;
}

/* Interests Section */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.interest-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition-fast);
}

.interest-card:hover {
    transform: translateY(-5px) rotate(2deg);
    border-color: var(--accent-color);
}

.interest-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 50px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-date {
        width: 100%;
        text-align: left;
        margin-bottom: 0.5rem;
    }

    .timeline-content {
        width: 100%;
    }

    .timeline-item::after {
        left: 20px;
    }

    .philosophy h2 {
        font-size: 2.5rem;
    }
}

/* About Page Specifics */
.bio-text {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.bio-text strong {
    color: var(--text-color);
}

.info-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.8rem 1.2rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

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

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.edu-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.edu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition-fast);
}

.edu-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

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

.edu-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.edu-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    /* Push content down slightly */
}

.hero-bg-gradient {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 50% 50%, rgba(211, 47, 47, 0.15) 0%, rgba(10, 10, 10, 0) 50%);
    z-index: -1;
    animation: pulse 8s ease-in-out infinite;
}

/* Floating Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.shape {
    position: absolute;
    filter: blur(50px);
    opacity: 0.4;
    animation: float-shape 20s infinite linear;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -10%;
    left: -10%;
    border-radius: 50%;
    animation-duration: 25s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    bottom: 10%;
    right: -10%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    top: 40%;
    left: 40%;
    border-radius: 50%;
    animation-duration: 20s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    border: 2px solid var(--primary-color);
    top: 15%;
    right: 20%;
    border-radius: 50%;
    animation-duration: 18s;
    animation-direction: reverse;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: linear-gradient(to bottom right, var(--secondary-color), transparent);
    bottom: 20%;
    left: 15%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-duration: 22s;
}

.shape-6 {
    width: 50px;
    height: 50px;
    background: var(--text-color);
    top: 60%;
    right: 10%;
    border-radius: 50%;
    opacity: 0.2;
    animation-duration: 15s;
    animation-name: float-shape-vertical;
}

@keyframes float-shape {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

@keyframes float-shape-vertical {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-100px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    backdrop-filter: blur(5px);
    transition: var(--transition-fast);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-color);
}

/* Animations */
.reveal-text,
.reveal-text-scroll,
.reveal-text-delay,
.reveal-text-delay-2 {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.active,
.reveal-text-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text-delay.active {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.reveal-text-delay-2.active {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

/* Typing Effect */
.typing-text {
    min-height: 1.1em;
    display: inline-block;
}

.cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--primary-color);
    animation: blink 1s infinite;
    margin-left: 5px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.7;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--text-color);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% {
        top: 6px;
        opacity: 1;
    }

    100% {
        top: 20px;
        opacity: 0;
    }
}

/* Portfolio Section */
.portfolio {
    padding: 8rem 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
    justify-content: center;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-fast);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px -10px rgba(211, 47, 47, 0.3);
}

.card-image {
    height: 250px;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    transition: transform 0.5s ease;
}

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

/* Individual Project Images */
.card-image.project-1 {
    background-image: url('assets/images/project-te-para-3.png');
}

.card-image.project-2 {
    background-image: url('assets/images/project-rostres.png');
}

.card-image.project-3 {
    background-image: url('assets/images/project-champions-burger.png');
}

.card-image.project-4 {
    background-image: url('assets/images/project-emocionarte.png');
}

.card-image.project-5 {
    background-image: url('assets/images/project-portfolio-foto.png');
}

.card-image.project-6 {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
}

/* Placeholder for 6th item if needed */

.card-content {
    padding: 2rem;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .nav {
        display: none;
        /* Mobile menu to be implemented */
    }
}

/* Page Headers */
.page-header {
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Portfolio Page */
.portfolio-page {
    padding-bottom: 6rem;
}

.stagger-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-anim.active {
    opacity: 1;
    transform: translateY(0);
}

/* About Page */
.about-page {
    padding: 8rem 0;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.skills-section {
    margin-top: 3rem;
}

.skills-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    /* Make both columns equal height */
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-visual {
    position: relative;
    height: 100%;
    min-height: 500px;
    /* Ensure minimum height */
}

.image-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(1.1);
    /* Subtle filter */
    transition: var(--transition-smooth);
}

.image-wrapper:hover .about-profile-img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.03);
}

/* Remove old visual styles if no longer needed, or keep for safety */
.visual-image-placeholder {
    display: none;
}

/* Active Nav Link */
.nav-link.active {
    color: var(--text-color);
    font-weight: 600;
}


/* Section Padding Utility */
.section-padding {
    padding: 8rem 0;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 20px;
    transition: var(--transition-fast);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    margin-bottom: -1rem;
    position: relative;
    z-index: 0;
}

.step h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 20px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    font-size: 5rem;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    color: var(--glass-border);
    font-family: serif;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.author strong {
    display: block;
    color: var(--text-color);
}

.author span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Featured Case Study */
.featured-case {
    background: linear-gradient(to right, #1a1a1a, var(--bg-color));
}

.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
}

.case-content {
    padding: 4rem;
}

.case-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.case-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.case-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.case-stats {
    display: flex;
    gap: 3rem;
    list-style: none;
    margin-bottom: 3rem;
}

.case-stats li strong {
    display: block;
    font-size: 2rem;
    color: var(--secondary-color);
}

.case-stats li {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.case-image {
    height: 100%;
    min-height: 500px;
    background: #222;
    background-image: linear-gradient(45deg, #222 25%, #2a2a2a 25%, #2a2a2a 50%, #222 50%, #222 75%, #2a2a2a 75%, #2a2a2a 100%);
    background-size: 40px 40px;
}

/* Clients Section */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    margin-top: 4rem;
}

.client-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--glass-border);
    transition: var(--transition-fast);
    cursor: default;
}

.client-logo:hover {
    color: var(--text-color);
    transform: scale(1.1);
}

@media (max-width: 968px) {
    .case-study {
        grid-template-columns: 1fr;
    }

    .case-image {
        min-height: 300px;
        order: -1;
    }

    .case-content {
        padding: 2rem;
    }
}

.about {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--bg-color), #111);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.skill-tag {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-color);
    transition: var(--transition-fast);
}

.skill-tag:hover {
    background: var(--glass-bg);
    border-color: var(--primary-color);
}

.about-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-circle {
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 6s ease-in-out infinite;
}

.visual-glass {
    position: absolute;
    width: 80%;
    height: 80%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transform: rotate(-5deg);
    transition: var(--transition-smooth);
}

.about-visual:hover .visual-glass {
    transform: rotate(0deg) scale(1.05);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Contact Section */
.contact {
    padding: 8rem 0;
    text-align: center;
}

.contact-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--glass-border);
    padding: 4rem 2rem;
    border-radius: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.contact p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

.social-links {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}

.social-link:hover {
    color: var(--text-color);
}

.social-link:hover::after {
    width: 100%;
}

/* Scroll Reveal Animation Class */
.reveal-text-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.active,
.reveal-text-scroll.active,
.reveal-text-delay.active,
.reveal-text-delay-2.active {
    opacity: 1;
    transform: translateY(0);
}

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

    .about-visual {
        height: 300px;
        order: -1;
    }
}

/* Project Detail Pages */
.project-hero {
    padding: 12rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.project-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.project-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.meta-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.project-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    margin-top: 3rem;
}

/* Grid Cells */
.grid-cell {
    border-right: 1px solid #111;
    border-bottom: 1px solid #111;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.cell-center {
    justify-content: center;
    align-items: center;
}

/* Double lines / Accents */
.border-thick {
    border-bottom: 3px solid #111;
}

/* "+" Decorations at intersections */
.grid-cell::after {
    content: '+';
    position: absolute;
    bottom: -12px;
    right: -6px;
    background: var(--primary-color);
    /* Match bg */
    color: #111;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    line-height: 1;
    z-index: 10;
    padding: 0 2px;
}

/* Typography */
.mega-text {
    font-family: 'Impact', 'Arial Black', var(--font-display);
    font-size: clamp(4rem, 15vw, 18rem);
    line-height: 0.8;
    text-transform: uppercase;
    color: #000;
    /* mix-blend-mode: multiply; -> Removed for solid black */
    z-index: 2;
    position: relative;
    pointer-events: none;
    letter-spacing: -5px;
}

.mega-outline {
    -webkit-text-stroke: 2px #000;
    color: transparent;
    mix-blend-mode: normal;
}

.editorial-title {
    font-family: var(--font-main);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.editorial-title::after {
    content: '+';
    color: #000;
    font-size: 1.5rem;
}

/* Hero Section Specifics */
.editorial-hero {
    grid-column: 1 / -1;
    min-height: 90vh;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    padding: 0;
    border-bottom: 1px solid #111;
}

/* Services and Animations update */
.service-box {
    padding: 4rem 2rem;
    border-right: 1px solid #111;
    border-bottom: 1px solid #111;
    transition: background 0.3s ease, transform 0.3s ease;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-box:hover {
    background: #000;
    color: #fff;
}

.service-box:hover .service-num {
    color: #fff;
}

.service-num {
    font-family: 'Courier New', monospace;
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    z-index: 0;
    opacity: 0.1;
    /* Subtle background text */
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-text {
    font-size: 8rem;
    font-family: 'Impact';
    color: #000;
    margin-right: 2rem;
    text-transform: uppercase;
}

.project-text h2:first-child {
    margin-top: 0;
}

.project-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.results-list {
    list-style: none;
    margin-top: 1.5rem;
}

.results-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.results-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gallery-item {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.gallery-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-placeholder {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 4rem;
}

.nav-btn {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.nav-btn:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

.nav-btn.prev:hover {
    transform: translateX(-10px);
}

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

    .project-title {
        font-size: 2.5rem;
    }

    .project-meta {
        gap: 2rem;
    }

    .gallery-image {
        height: 300px;
    }
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    margin-top: 2rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    min-width: 100%;
    height: 500px;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--bg-color);
    font-size: 1.2rem;
    font-weight: 600;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-fast);
}

.carousel-container:hover .carousel-caption {
    transform: translateY(0);
    opacity: 1;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-color);
    border: 1px solid var(--glass-border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Dynamic Object Styles */
.dynamic-orb-container {
    position: relative;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
}

.dynamic-orb {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 8s ease-in-out infinite;
    filter: blur(15px);
    opacity: 0.8;
    position: relative;
    z-index: 0;
    box-shadow: 0 0 40px var(--primary-color);
}

.dynamic-orb::after {
    content: '';
    position: absolute;
    inset: -10px;
    background: inherit;
    border-radius: inherit;
    filter: blur(20px);
    opacity: 0.5;
    z-index: -1;
}

@keyframes morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) scale(1);
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
        transform: rotate(90deg) scale(1.2);
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
        transform: rotate(180deg) scale(1);
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
        transform: rotate(270deg) scale(0.9);
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(360deg) scale(1);
    }
}

@media (max-width: 768px) {
    .carousel-slide {
        height: 300px;
    }

    .carousel-caption {
        font-size: 1rem;
        padding: 1rem;
        transform: translateY(0);
        opacity: 1;
    }
}

/* Coffee Cup Animation */
.coffee-cup-container {
    position: relative;
    height: 120px;
    width: 120px;
    margin: 10rem auto 4rem;
    /* Increased top margin to move down and avoid steam overlap */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    transform: scale(2.0);
    /* Made bigger */
}

.coffee-cup {
    position: relative;
    width: 80px;
    height: 60px;
    background: linear-gradient(to right, #f9f9f9, #d9d9d9);
    border-radius: 0 0 40px 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 1;
    animation: cup-float 3s ease-in-out infinite;
}

.coffee-cup::after {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to right, #f9f9f9, #d9d9d9);
    border-radius: 50%;
}

.coffee-cup::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 5px;
    width: calc(100% - 10px);
    height: 10px;
    background: linear-gradient(to right, #6f4e37, #4a332a);
    /* Coffee color */
    border-radius: 50%;
    z-index: 1;
}

.coffee-handle {
    position: absolute;
    right: -25px;
    top: 5px;
    width: 35px;
    height: 30px;
    border: 6px solid #d9d9d9;
    border-left: none;
    border-radius: 0 20px 20px 0;
    z-index: 0;
    animation: cup-float 3s ease-in-out infinite;
}

.steam-container {
    position: absolute;
    top: -60px;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    z-index: 0;
}

.steam {
    position: relative;
    width: 6px;
    height: 30px;
    background: #fff;
    margin: 0 4px;
    border-radius: 50%;
    animation: steam-rise 2s linear infinite;
    opacity: 0;
    filter: blur(4px);
    animation-delay: calc(var(--i) * -0.5s);
}

@keyframes steam-rise {
    0% {
        transform: translateY(0) scaleX(1);
        opacity: 0;
    }

    15% {
        opacity: 0.6;
    }

    50% {
        transform: translateY(-30px) scaleX(1.5);
    }

    95% {
        opacity: 0;
    }

    100% {
        transform: translateY(-60px) scaleX(2);
        opacity: 0;
    }
}

@keyframes cup-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Hamburger Animation */
.burger-container {
    position: relative;
    height: 120px;
    width: 120px;
    margin: 6rem auto 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(1.5);
}

.burger {
    position: relative;
    width: 100px;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.bun-top {
    width: 100%;
    height: 25px;
    background: #f2c94c;
    border-radius: 50px 50px 10px 10px;
    border-bottom: 2px solid #e0b030;
}

.lettuce {
    width: 110%;
    height: 10px;
    background: #6fcf97;
    border-radius: 10px;
    margin: -5px 0;
    z-index: 2;
}

.patty {
    width: 100%;
    height: 20px;
    background: #5d4037;
    border-radius: 10px;
}

.bun-bottom {
    width: 100%;
    height: 20px;
    background: #f2c94c;
    border-radius: 10px 10px 30px 30px;
    border-top: 2px solid #e0b030;
}

.bite {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--bg-color);
    /* Matches background to simulate bite */
    border-radius: 50%;
    opacity: 0;
    animation: bite-anim 4s infinite steps(1);
    z-index: 10;
}

.bite-1 {
    top: -10px;
    right: -20px;
    animation-delay: 0s;
}

.bite-2 {
    bottom: -10px;
    right: 10px;
    animation-delay: 1s;
}

.bite-3 {
    top: 20px;
    left: -10px;
    animation-delay: 2s;
}

@keyframes bite-anim {
    0% {
        opacity: 0;
    }

    25% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

/* Disco Ball Animation */
.disco-ball-container {
    position: relative;
    height: 150px;
    width: 150px;
    margin: 4rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.disco-line {
    width: 2px;
    height: 40px;
    background: #ccc;
    margin-bottom: -5px;
}

.disco-ball {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff, #ccc, #666);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: disco-spin 5s linear infinite;
}

.disco-ball::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg,
            rgba(255, 255, 255, 0.1) 0px,
            rgba(255, 255, 255, 0.1) 10px,
            transparent 10px,
            transparent 20px),
        repeating-linear-gradient(-45deg,
            rgba(255, 255, 255, 0.1) 0px,
            rgba(255, 255, 255, 0.1) 10px,
            transparent 10px,
            transparent 20px);
    border-radius: 50%;
}

.sparkle {
    position: absolute;
    color: #fff;
    font-size: 1.5rem;
    animation: twinkle 1.5s infinite ease-in-out;
    text-shadow: 0 0 10px #fff, 0 0 20px #d32f2f;
}

.sparkle-1 {
    top: 20px;
    right: 0;
    animation-delay: 0s;
}

.sparkle-2 {
    bottom: 20px;
    left: 0;
    animation-delay: 0.5s;
}

.sparkle-3 {
    top: 50%;
    left: -20px;
    animation-delay: 1s;
    font-size: 1rem;
}

.sparkle-4 {
    bottom: 0;
    right: 20px;
    animation-delay: 0.2s;
    font-size: 1.2rem;
}

@keyframes disco-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes twinkle {

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

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

/* Painting Animation */
.painting-container {
    position: relative;
    height: 150px;
    width: 120px;
    margin: 4rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.canvas {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 8px solid #333;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.stroke {
    position: absolute;
    opacity: 0;
    animation: paint-appear 4s infinite;
}

.stroke-1 {
    top: 10%;
    left: 10%;
    width: 80%;
    height: 30%;
    background: #ff6b6b;
    /* Red */
    animation-delay: 0s;
}

.stroke-2 {
    bottom: 10%;
    right: 10%;
    width: 40%;
    height: 40%;
    background: #4ecdc4;
    /* Teal */
    border-radius: 50%;
    animation-delay: 1s;
}

.stroke-3 {
    top: 50%;
    left: -10%;
    width: 120%;
    height: 5px;
    background: #333;
    /* Black Line */
    transform: rotate(-15deg);
    animation-delay: 2s;
}

.stroke-4 {
    top: 20%;
    right: 20%;
    width: 20px;
    height: 20px;
    background: #ffe66d;
    /* Yellow */
    border-radius: 50%;
    animation-delay: 3s;
}

@keyframes paint-appear {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }

    10% {
        opacity: 1;
        transform: scale(1);
    }

    90% {
        opacity: 1;
        transform: scale(1);
    }

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

/* Heart Collage Animation */
.heart-container {
    width: 100px;
    height: 100px;
    transform: rotate(-45deg);
    margin: 6rem auto;
    position: relative;
}

.heart-piece {
    position: absolute;
    opacity: 0;
    animation: assemble 1.5s forwards cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.piece-1 {
    /* Left Hump (Circle) */
    width: 100px;
    height: 100px;
    background: #e91e63;
    border-radius: 50%;
    top: -50px;
    left: 0;
    transform: translateY(-150px);
    /* Start far above */
    animation-delay: 0s;
    z-index: 1;
}

.piece-2 {
    /* Right Hump (Circle) */
    width: 100px;
    height: 100px;
    background: #ff4081;
    border-radius: 50%;
    top: 0;
    left: 50px;
    transform: translateX(150px);
    /* Start far right */
    animation-delay: 0.2s;
    z-index: 2;
}

.piece-3 {
    /* Left Half of Square Base */
    width: 50px;
    height: 100px;
    background: #d81b60;
    top: 0;
    left: 0;
    transform: translateX(-100px);
    /* Start far left */
    animation-delay: 0.4s;
    z-index: 3;
}

.piece-4 {
    /* Right Half of Square Base */
    width: 50px;
    height: 100px;
    background: #c2185b;
    top: 0;
    left: 50px;
    transform: translateY(150px);
    /* Start far below */
    animation-delay: 0.6s;
    z-index: 4;
}

@keyframes assemble {
    to {
        opacity: 1;
        transform: translate(0, 0);
        /* Reset to defined top/left positions */
    }
}

/* Blinking Eye Animation */
.eye-container {
    width: 120px;
    height: 120px;
    margin: 4rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.eye {
    width: 100px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    /* Oval shape */
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.iris {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, #8d6e63 0%, #4e342e 100%);
    /* Brown/Hazel */
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.pupil {
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.reflection {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 25%;
    left: 25%;
    opacity: 0.8;
}

.eyelid-top,
.eyelid-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--bg-color);
    /* Matches background to hide eye */
    z-index: 10;
}

.eyelid-top {
    top: 0;
    transform-origin: top;
    animation: blink-top 4s infinite ease-in-out;
}

.eyelid-bottom {
    bottom: 0;
    transform-origin: bottom;
    animation: blink-bottom 4s infinite ease-in-out;
}

@keyframes blink-top {

    0%,
    48%,
    52%,
    100% {
        transform: scaleY(0);
    }

    /* Open */
    50% {
        transform: scaleY(1.1);
    }

    /* Closed (slightly more to ensure coverage) */
}

@keyframes blink-bottom {

    0%,
    48%,
    52%,
    100% {
        transform: scaleY(0);
    }

    /* Open */
    50% {
        transform: scaleY(1.1);
    }

    /* Closed */
}

/* Camera Animation */
.camera-container {
    width: 140px;
    height: 120px;
    margin: 4rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.camera-body {
    width: 120px;
    height: 80px;
    background: #333;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: shutter-click 4s infinite ease-in-out;
}

.camera-body::before {
    /* Top part of camera */
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 15px;
    background: #222;
    border-radius: 8px 8px 0 0;
}

.camera-lens {
    width: 50px;
    height: 50px;
    background: #111;
    border-radius: 50%;
    border: 4px solid #555;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.lens-reflection {
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    right: 10px;
}

.camera-flash {
    position: absolute;
    top: -15px;
    right: 20px;
    width: 20px;
    height: 15px;
    background: #ccc;
    border-radius: 4px;
}

.flash-burst {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    opacity: 0;
    animation: flash-fire 4s infinite ease-in-out;
    z-index: 10;
}

.camera-button {
    position: absolute;
    top: -8px;
    left: 20px;
    width: 15px;
    height: 8px;
    background: #d32f2f;
    /* Red button */
    border-radius: 4px 4px 0 0;
    cursor: pointer;
}

/* Radical About Page Redesign - Refined V7 (Overlap Cut) */
.about-hero-split {
    height: 100vh;
    width: 100%;
    display: flex;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-color);
    align-items: center;
    justify-content: center;
}

.poster-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: auto;
    /* Allow content to define width */
    height: 90vh;
}

.text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    z-index: 10;
    /* On top of image */
    background-color: var(--bg-color);
    /* The Mask */
    padding-right: 2rem;
    /* Space between text and the "cut" edge */
    /* Overlap logic: Increased to -220px as requested ("corta algo mas") */
    margin-right: -220px;
    /* Pull the image UNDER this column */
    height: 100%;
    /* Full height to mask effectively */
}

.vertical-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: 'Impact', 'Arial Black', var(--font-display);
    font-size: 8rem;
    /* Dialed back from 8.5rem ("no tanto") */
    font-weight: 900;
    line-height: 0.8;
    text-transform: uppercase;
    color: var(--text-color);
    transform: rotate(180deg);
    margin: 0;
    padding: 0;
    letter-spacing: 2px;
    /* Reduced nudge to maintain centering ("que este centrado") */
    margin-top: 1.5rem;
}

.poster-description {
    width: 100%;
    max-width: 420px;
    /* Dialed back from 550px */
    font-family: var(--font-main);
    font-size: 1.15rem;
    line-height: 1.45;
    /* Restored some height for balance */
    color: var(--text-color);
    text-align: right;
    margin-top: 1rem;
}

.poster-image-container {
    flex: none;
    width: 500px;
    height: 94vh;
    /* "Un poquitito mas" - 94vh for the ultimate lock-in */
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Behind text */
    /* Increased shift to -4.5% */
    transform: translateY(-4.5%);
    /* Restore background color to ensure no white gaps */
    background-color: var(--bg-color);
    /* Ensure no overflow issues */
    border-bottom: 1px solid transparent;
    align-self: center;
    /* Ensure it floats in the middle with the text */
}

.poster-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Move head UP to align with 'A' (top of text) */
    object-position: center 0%;
    mix-blend-mode: multiply;
    filter: grayscale(100%) contrast(1.2) brightness(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .poster-container {
        flex-direction: column;
    }

    .text-column {
        margin-right: 0;
        margin-bottom: -50px;
        /* Overlap vertically? */
        width: 100%;
        align-items: center;
        background-color: transparent;
        /* Remove mask on mobile? or keep it */
        padding: 1rem;
    }

    .vertical-title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 4rem;
    }

    .poster-image-container {
        width: 100%;
        height: 60vh;
    }
}

@keyframes shutter-click {

    0%,
    45%,
    55%,
    100% {
        transform: rotate(0);
    }

    48% {
        transform: rotate(-2deg);
    }

    50% {
        transform: rotate(2deg);
    }

    52% {
        transform: rotate(0);
    }
}

@keyframes flash-fire {

    0%,
    48% {
        opacity: 0;
        width: 0;
        height: 0;
    }

    49% {
        opacity: 1;
        width: 150px;
        height: 150px;
        transform: translate(-50%, -50%) rotate(0deg);
    }

    51% {
        opacity: 0.8;
        width: 180px;
        height: 180px;
        transform: translate(-50%, -50%) rotate(45deg);
    }

    55% {
        opacity: 0;
        width: 200px;
        height: 200px;
    }

    100% {
        opacity: 0;
    }
}

/* =========================================
   Simple Centered List Style (Text Clip)
   ========================================= */

.main-fullscreen {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-color);
    overflow: hidden;
}

.simple-list-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Centered Project List */
.project-list-centered {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    /* Nice spacing between items */
    z-index: 10;
}

.project-item-clean {
    text-align: center;
}

.text-clip-link {
    display: inline-block;
    font-family: 'Impact', 'Arial Black', var(--font-display);
    font-size: 5rem;
    /* Slightly larger for impact since it's the only element */
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary-color);
    position: relative;
    /* Prepare for text clip */
    background-image: var(--bg-img, none);
    background-size: cover;
    background-position: center;
    -webkit-background-clip: text;
    background-clip: text;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
    cursor: pointer;
}

.clean-meta {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    font-weight: normal;
    vertical-align: middle;
    margin-right: 15px;
    color: var(--primary-color);
}

/* Hover Effect: Text Clip & Scale */
.text-clip-link:hover {
    color: transparent;
    /* Reveal background image */
    transform: scale(1.05);
    /* Subtle pop */
}

/* Responsive */
@media (max-width: 768px) {
    .text-clip-link {
        font-size: 3rem;
    }
}

/* Footer Video Integration */
/* Footer Video Integration */
.footer-video-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    /* Let height scale with width to preserve aspect ratio */
    min-height: 60vh;
    /* Minimum height for mobile */
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.footer-video-container video {
    width: 100%;
    height: auto;
    /* Maintain aspect ratio */
    object-fit: contain;
    /* Ensure nothing is cut off */
    object-position: bottom center;
    mix-blend-mode: multiply;
    /* Soft blend at the top */
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%);
    opacity: 1;
    transform: scale(1.02);
    /* Slight zoom to hide very edge artifacts/logos if minimal */
}

/* Ensure footer text is visible if needed, or maybe the video replaces it? 
   User asked for floor alignment. I will bring footer up if it's hidden */
.footer-overlay {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    z-index: 20;
    border-top: none;
    color: var(--text-muted);
    /* Revert to muted */
    text-shadow: none;
}

/* =========================================
   Editorial / Brutalist Redesign (Harmonized Mode)
   ========================================= */

.editorial-layout {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(100px, auto);
    width: 100%;
    max-width: 100%;
    background-color: var(--bg-color);
    /* BACK TO CREAM */
    color: var(--text-color);
    border-top: 1px solid var(--text-color);
    border-left: 1px solid var(--text-color);
    position: relative;
    overflow-x: hidden;
}

/* Grid Cells */
.grid-cell {
    border-right: 1px solid var(--text-color);
    border-bottom: 1px solid var(--text-color);
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
}

.cell-center {
    justify-content: center;
    align-items: center;
}

/* Double lines / Accents */
.border-thick {
    border-bottom: 3px solid var(--text-color);
}

/* "+" Decorations at intersections */
.grid-cell::after {
    content: '+';
    position: absolute;
    bottom: -12px;
    right: -6px;
    background: var(--bg-color);
    color: var(--primary-color);
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    line-height: 1;
    z-index: 10;
    padding: 0 2px;
}

/* Typography */
.mega-text {
    font-family: 'Impact', 'Arial Black', var(--font-display);
    font-size: clamp(4rem, 15vw, 18rem);
    line-height: 0.8;
    text-transform: uppercase;
    color: var(--text-color);
    /* Black/Dark Grey */
    z-index: 2;
    position: relative;
    pointer-events: none;
    letter-spacing: -5px;
}

.mega-outline {
    -webkit-text-stroke: 2px var(--text-color);
    color: transparent;
    mix-blend-mode: normal;
}

.editorial-title {
    font-family: var(--font-main);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.editorial-title::after {
    content: '+';
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Hero Section Specifics */
.editorial-hero {
    grid-column: 1 / -1;
    min-height: 90vh;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    padding: 0;
    border-bottom: 1px solid var(--text-color);
}

.hero-main-text-area {
    grid-column: 1 / 13;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
    z-index: 5;
}

.hero-images-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.hero-img-float {
    position: absolute;
    filter: grayscale(100%) contrast(1.2);
    transition: transform 0.1s linear;
    border: 1px solid #111;
    background: transparent;
}

/* Services and Animations update */
.services-editorial {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.service-box {
    padding: 4rem 2rem;
    border-right: 1px solid var(--text-color);
    border-bottom: 1px solid var(--text-color);
    transition: background 0.3s ease, transform 0.3s ease;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-box:last-child {
    border-right: none;
}

.service-box:hover {
    background: #000;
    color: #fff;
}

.service-box:hover .service-num {
    color: #fff;
}

.service-num {
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Marquee Animation */
@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    position: absolute;
    bottom: 2rem;
    left: 0;
    width: 100%;
    z-index: 0;
    opacity: 0.05;
}

.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-text {
    font-size: 8rem;
    font-family: 'Impact';
    color: var(--text-color);
    margin-right: 2rem;
    text-transform: uppercase;
}

/* Animations */
.draw-border {
    position: relative;
}

.draw-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-color);
    transition: width 1s ease;
}

.draw-border.in-view::before {
    width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
    .editorial-layout {
        grid-template-columns: 1fr;
    }

    .grid-cell,
    .service-box {
        grid-column: 1 / -1;
        border-right: none;
        border-bottom: 1px solid var(--text-color);
    }

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

    .mega-text {
        font-size: 20vw;
    }

    .editorial-layout {
        border-left: none;
        border-right: none;
    }
}

```