/* ========================================
   ZULU® ARCHITECTURE CORPORATION
   7ulu.com
   ======================================== */

/* --- FONTS --- */
@font-face {
    font-family: 'HelveticaNowText';
    src: url('../assets/fonts/HelveticaNowText-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNowText';
    src: url('../assets/fonts/HelveticaNowText-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNowText';
    src: url('../assets/fonts/HelveticaNowText-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'HelveticaNowText';
    src: url('../assets/fonts/HelveticaNowText-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* --- RESET & BASE --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #0a0a0a;
    --white: #f5f5f0;
    --gray: #888;
    --gray-light: #ccc;
    --accent: #f5f5f0;
    --font: 'HelveticaNowText', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --nav-height: 60px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    display: block;
}

/* --- NAV --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: var(--nav-height);
    background: transparent;
    transition: background 0.3s ease;
    mix-blend-mode: difference;
}

.nav--scrolled {
    mix-blend-mode: normal;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav__logo {
    display: flex;
    align-items: center;
    height: var(--nav-height);
}

.nav__logo img {
    height: 26px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

@media (min-width: 769px) {
    .nav__logo img {
        height: 34px;
    }
}

.nav__links {
    display: flex;
    gap: 2rem;
}

.nav__link {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--white);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nav__link:hover {
    opacity: 1;
}

/* Language switcher */
.nav__lang {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--white);
    opacity: 0.4;
    padding: 0.25rem 0.6rem;
    border: 1px solid rgba(245, 245, 240, 0.3);
    border-radius: 2px;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.nav__lang:hover {
    opacity: 1;
    border-color: var(--white);
}

.mobile-menu__lang {
    font-size: 1rem !important;
    opacity: 0.4 !important;
    padding: 0.3rem 1rem;
    border: 1px solid rgba(245, 245, 240, 0.3);
    border-radius: 2px;
    margin-top: 1rem;
}

/* Hamburger */
.nav__menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.nav__menu-btn span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s ease;
}

.nav__menu-btn.active span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav__menu-btn.active span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(10, 10, 10, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__icon {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    margin-bottom: 2rem;
}

.mobile-menu__link {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.mobile-menu__link:hover {
    opacity: 1;
}

/* --- FEED (HERO) --- */
.feed {
    scroll-snap-type: y mandatory;
    overflow-y: auto;
    height: 100vh;
    -webkit-overflow-scrolling: touch;
}

.feed__slide {
    position: relative;
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    background-image: var(--bg);
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    display: flex;
    align-items: flex-end;
    cursor: default;
}

/* Video background */
.feed__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Gradient overlay */
.feed__overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.1) 40%,
        transparent 100%
    );
}

.feed__content {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
    width: 100%;
}

.feed__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

/* Portrait pair slide — two vertical images side by side */
.feed__slide--pair {
    background: var(--black);
}

.feed__pair {
    display: flex;
    width: 100%;
    height: 100%;
}

.feed__pair-img {
    position: relative;
    flex: 1;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.feed__pair-img .feed__content {
    padding: 2rem 1.5rem;
}

.feed__pair-img .feed__title {
    font-size: clamp(1.2rem, 3vw, 2rem);
}

.feed__pair-img .feed__category {
    font-size: 0.65rem;
    padding: 0.3rem 0.7rem;
}

.feed__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(245, 245, 240, 0.5);
    border-radius: 2px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.feed__category:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.feed__title-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
    border-bottom: 1px solid transparent;
}

.feed__title-link:hover {
    opacity: 0.8;
    border-bottom-color: rgba(245, 245, 240, 0.4);
}

.feed__location {
    font-size: 0.85rem;
    opacity: 0.6;
    font-weight: 300;
    margin-top: 0.3rem;
}

/* Scroll indicator */
.feed__slide:first-child::after {
    content: '';
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: var(--white);
    opacity: 0.4;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; height: 40px; }
    50% { opacity: 0.1; height: 20px; }
}

/* Slide progress dots */
.feed__progress {
    position: fixed;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feed__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--white);
    opacity: 0.3;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feed__dot.active {
    opacity: 1;
    transform: scale(1.4);
}

/* --- SECTION COMMON --- */
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
}

/* --- BRAND DIVIDER (full-screen statement between feed and about) --- */
.brand-divider {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
}

.brand-divider__logo {
    width: clamp(280px, 55vw, 750px);
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.15;
}

/* --- FIRMA (signature element) --- */
.firma {
    width: clamp(200px, 40vw, 400px);
    opacity: 0.15;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

/* --- ABOUT --- */
.about {
    padding: 8rem 2rem;
    background: var(--black);
    border-top: 1px solid rgba(245, 245, 240, 0.08);
    position: relative;
    overflow: hidden;
}

.about__firma {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%) rotate(-5deg);
    width: clamp(300px, 50vw, 700px);
    opacity: 0.04;
    filter: brightness(0) invert(1);
    pointer-events: none;
}

.about__inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.about__lead {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.about__text p:last-child {
    font-size: 0.95rem;
    opacity: 0.6;
    line-height: 1.8;
}

.about__stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 0.5rem;
}

.about__stat {
    display: flex;
    flex-direction: column;
}

.about__stat-number {
    font-size: 2.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.about__stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.5;
}

.about__stat--presence {
    gap: 0;
}

.about__stat-region {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.7;
    line-height: 1.8;
}

.about__quote {
    margin-top: 2rem;
    font-size: 1.1rem;
    font-weight: 300;
    font-style: italic;
    opacity: 0.7;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(245, 245, 240, 0.2);
    line-height: 1.8;
}

.about__text p + p {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.6;
    line-height: 1.8;
}

.about__categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(245, 245, 240, 0.08);
}

.about__cat-link {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    border: 1px solid rgba(245, 245, 240, 0.2);
    border-radius: 2px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.about__cat-link:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    opacity: 1;
}

/* --- STUDIO / TEAM (Full-screen overlay) --- */
.studio {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: var(--black);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.studio.studio--active {
    opacity: 1;
    pointer-events: all;
}

.studio__close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 160;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.studio__close:hover {
    opacity: 1;
}

.studio__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.studio__intro {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.6;
    max-width: 700px;
    margin-bottom: 4rem;
}

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

.studio__card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
    background: #0a0a0a;
}

.studio__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.5s ease, opacity 0.5s ease;
    filter: grayscale(100%) contrast(1.2);
}

.studio__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(25, 55, 85, 0.35);
    mix-blend-mode: color;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.studio__card:hover img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.studio__card:hover::after {
    opacity: 0;
}

.studio__card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.studio__card:hover .studio__card-overlay {
    opacity: 1;
}

.studio__card-overlay h3 {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0.2rem;
}

.studio__card-overlay span {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.6;
}

/* --- CAREERS (Full-screen overlay) --- */
.careers {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: var(--black);
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.careers.careers--active {
    opacity: 1;
    pointer-events: all;
}

.careers__close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 160;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.careers__close:hover {
    opacity: 1;
}

.careers__inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.careers__intro {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.6;
    max-width: 600px;
    margin-bottom: 4rem;
}

.careers__list {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.careers__item {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(245, 245, 240, 0.08);
    cursor: pointer;
    transition: padding-left 0.3s ease;
}

.careers__item:first-child {
    border-top: 1px solid rgba(245, 245, 240, 0.08);
}

.careers__item:hover {
    padding-left: 1rem;
}

.careers__item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.careers__item-title {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.careers__item-location {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.4;
}

.careers__item-desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.5;
    max-width: 700px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
}

.careers__item.open .careers__item-desc {
    max-height: 300px;
    opacity: 0.6;
    margin-top: 0.8rem;
}

.careers__item-toggle {
    font-size: 1.2rem;
    opacity: 0.3;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.careers__item.open .careers__item-toggle {
    transform: rotate(45deg);
    opacity: 0.6;
}

.careers__cta {
    margin-top: 3rem;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.5;
    line-height: 1.6;
}

.careers__cta a {
    opacity: 1;
    border-bottom: 1px solid rgba(245, 245, 240, 0.3);
    transition: border-color 0.3s ease;
}

.careers__cta a:hover {
    border-bottom-color: var(--white);
}

/* --- STUDIO MODAL --- */
.studio-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.studio-modal.active {
    opacity: 1;
    pointer-events: all;
}

.studio-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.studio-modal__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    background: #111;
    border: 1px solid rgba(245, 245, 240, 0.08);
}

.studio-modal__close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    z-index: 2;
    line-height: 1;
}

.studio-modal__close:hover {
    opacity: 1;
}

.studio-modal__body {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.studio-modal__photo {
    aspect-ratio: 3/4;
    overflow: hidden;
    background: #1a1a1a;
}

.studio-modal__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-modal__info {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.studio-modal__name {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 0.4rem;
}

.studio-modal__title {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.5;
    display: block;
    margin-bottom: 2rem;
}

.studio-modal__bio {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.75;
}

.studio-modal__bio p {
    margin-bottom: 1rem;
}

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

.studio-modal__email {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(245, 245, 240, 0.08);
}

.studio-modal__email a {
    font-size: 0.85rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.studio-modal__email a:hover {
    opacity: 1;
}

/* --- CONTACTO --- */
.contacto {
    padding: 8rem 2rem;
    background: #111;
}

.contacto__inner {
    max-width: 1100px;
    margin: 0 auto;
}

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

.contacto__info p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    opacity: 0.8;
}

.contacto__info a {
    transition: opacity 0.3s ease;
}

.contacto__info a:hover {
    opacity: 1;
}

.contacto__email {
    font-size: 1.2rem;
    margin-bottom: 2rem !important;
}

.contacto__offices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.contacto__office {
    display: flex;
    flex-direction: column;
}

.contacto__office strong {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    opacity: 0.9;
}

.contacto__office span {
    font-size: 0.8rem;
    opacity: 0.5;
    margin-top: 0.15rem;
}

.contacto__social {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contacto__social a {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.contacto__social a:hover {
    opacity: 1;
}

/* Form */
.contacto__form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacto__form input,
.contacto__form textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(245, 245, 240, 0.15);
    color: var(--white);
    padding: 0.9rem 1rem;
    font-family: var(--font);
    font-size: 0.9rem;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.3s ease;
}

.contacto__form input::placeholder,
.contacto__form textarea::placeholder {
    color: rgba(245, 245, 240, 0.35);
}

.contacto__form input:focus,
.contacto__form textarea:focus {
    border-color: rgba(245, 245, 240, 0.5);
}

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

.contacto__form button {
    align-self: flex-start;
    padding: 0.8rem 2.5rem;
    background: var(--white);
    color: var(--black);
    border: none;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.contacto__form button:hover {
    background: transparent;
    color: var(--white);
    box-shadow: inset 0 0 0 1px var(--white);
}

/* --- FOOTER --- */
.footer {
    padding: 4rem 2rem 2rem;
    text-align: center;
    background: var(--black);
    border-top: 1px solid rgba(245, 245, 240, 0.06);
}

.footer__logo {
    height: 20px;
    width: auto;
    margin: 0 auto 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.4;
}

.footer__firma {
    width: clamp(120px, 20vw, 200px);
    margin: 0 auto 1.5rem;
    filter: brightness(0) invert(1);
    opacity: 0.15;
}

.footer p {
    font-size: 0.7rem;
    opacity: 0.3;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* --- CATEGORY PAGE --- */
.category-header {
    padding: 8rem 2rem 3rem;
    background: var(--black);
}

.category-header__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.category-header__back {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0.5;
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: opacity 0.3s ease;
}

.category-header__back:hover {
    opacity: 1;
}

.category-header__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: capitalize;
}

/* Project grid */
.projects-grid {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

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

a.project-card {
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-card {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1a1a1a;
    cursor: pointer;
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.project-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(10,10,10,0.8), transparent);
}

.project-card__name {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.2rem;
}

.project-card__loc {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* Category filter pills */
.category-filter {
    padding: 0 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.category-filter__pill {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(245,245,240,0.2);
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    color: var(--white);
    font-family: var(--font);
}

.category-filter__pill:hover,
.category-filter__pill.active {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

/* --- PROJECT PAGE --- */

/* Hero — full-screen first image */
.proj-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1a;
    display: flex;
    align-items: flex-end;
}

.proj-hero__content {
    position: relative;
    z-index: 2;
    padding: 4rem 2.5rem;
    width: 100%;
}

.proj-hero__category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(245, 245, 240, 0.5);
    border-radius: 2px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.proj-hero__category:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.proj-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.05;
    margin-bottom: 0.5rem;
}

.proj-hero__location {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.6;
    letter-spacing: 0.05em;
}

.proj-hero__scroll-hint {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: var(--white);
    opacity: 0.3;
    animation: scrollPulse 2s ease-in-out infinite;
    z-index: 2;
}

/* Project info — editorial layout */
.proj-info {
    padding: 6rem 2.5rem;
    border-bottom: 1px solid rgba(245, 245, 240, 0.08);
}

.proj-info__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.proj-info__meta {
    display: flex;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.proj-info__label {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.5;
}

.proj-info__tagline {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0.01em;
    max-width: 800px;
    margin-bottom: 3rem;
}

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

.proj-info__description {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.7;
    max-width: 650px;
}

.proj-info__data {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    border-left: 1px solid rgba(245, 245, 240, 0.1);
    padding-left: 2rem;
}

.proj-info__data-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.proj-info__data-key {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.35;
}

.proj-info__data-val {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Gallery — editorial scroll */
.proj-gallery {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
}

.proj-gallery__section {
    margin-bottom: 2rem;
}

.proj-gallery__section-header {
    max-width: 700px;
    margin: 0 auto;
    padding: 5rem 0 3rem;
    text-align: center;
    border-top: 1px solid rgba(245, 245, 240, 0.06);
    display: none;
}

.proj-gallery__section:first-child .proj-gallery__section-header {
    padding-top: 3rem;
    border-top: none;
}

.proj-gallery__section-title {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.4;
    margin-bottom: 0;
}

.proj-gallery__section-text {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.6;
    max-width: 550px;
    margin: 1.5rem auto 0;
}

.proj-gallery__media-item {
    margin-bottom: 2.5rem;
}

.proj-gallery__media-item img,
.proj-gallery__media-item video {
    width: 100%;
    height: auto;
    display: block;
}

.proj-gallery__media-item--full {
    width: 100%;
}

.proj-gallery__media-item--inset {
    max-width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.proj-gallery__media-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 2.5rem;
}

.proj-gallery__media-pair img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.proj-gallery__block {
    max-width: 700px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
}

.proj-gallery__block--highlight {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    opacity: 1;
    padding: 5rem 2rem;
    margin: 5rem auto;
    border-top: 1px solid rgba(245, 245, 240, 0.1);
    border-bottom: 1px solid rgba(245, 245, 240, 0.1);
}

.proj-gallery__block--caption {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.5;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* Editorial: image + text side by side */
.proj-gallery__editorial {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    margin-bottom: 2.5rem;
    min-height: 400px;
}

.proj-gallery__editorial--reverse {
    grid-template-columns: 1fr 1.2fr;
}

.proj-gallery__editorial-img {
    overflow: hidden;
}

.proj-gallery__editorial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.proj-gallery__editorial-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 3.5rem;
    background: rgba(245, 245, 240, 0.03);
}

.proj-gallery__editorial-title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.proj-gallery__editorial-body {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.55;
}

/* Prev / Next navigation */
.proj-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(245, 245, 240, 0.08);
}

.proj-nav__item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 3rem 2.5rem;
    transition: background 0.3s ease;
}

.proj-nav__item:hover {
    background: rgba(245, 245, 240, 0.04);
}

.proj-nav__next {
    text-align: right;
    border-left: 1px solid rgba(245, 245, 240, 0.08);
}

.proj-nav__label {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.4;
}

.proj-nav__name {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* --- RESPONSIVE --- */

@media (max-width: 768px) {
    .nav__links {
        display: none;
    }

    .nav__menu-btn {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    /* Feed adjustments */
    .feed__content {
        padding: 2rem 1.5rem;
    }

    .feed__title {
        font-size: 1.8rem;
    }

    .feed__pair-img .feed__content {
        padding: 1.2rem 1rem;
    }

    .feed__pair-img .feed__title {
        font-size: 1rem;
    }

    .feed__pair-img .feed__category {
        font-size: 0.55rem;
        padding: 0.2rem 0.5rem;
    }

    .feed__progress {
        right: 0.8rem;
    }

    .feed__dot {
        width: 5px;
        height: 5px;
    }

    /* About */
    .about {
        padding: 5rem 1.5rem;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about__stats {
        flex-direction: row;
        gap: 3rem;
    }

    /* Studio */
    .studio__inner {
        padding: 5rem 0 4rem;
    }

    .studio .section-title,
    .studio__intro {
        padding: 0 1.5rem;
    }

    .studio__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2px;
    }

    .studio__card-overlay {
        opacity: 1;
        padding: 1rem 0.8rem;
    }

    .studio__card-overlay h3 {
        font-size: 0.8rem;
    }

    .studio__card-overlay span {
        font-size: 0.6rem;
    }

    /* Studio modal */
    .studio-modal__body {
        grid-template-columns: 1fr;
    }

    .studio-modal__photo {
        aspect-ratio: 1;
        max-height: 50vh;
    }

    .studio-modal__info {
        padding: 2rem 1.5rem;
    }

    .studio-modal__content {
        width: 100%;
        max-height: 100vh;
        height: 100%;
    }

    /* Contacto */
    .contacto {
        padding: 5rem 1.5rem;
    }

    .contacto__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    /* Category page */
    .projects-grid__list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Project page */
    .proj-hero__content {
        padding: 3rem 1.5rem;
    }

    .proj-info {
        padding: 3rem 1.5rem;
    }

    .proj-info__meta {
        gap: 1.5rem;
    }

    .proj-info__body {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .proj-info__data {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(245, 245, 240, 0.1);
        padding-top: 2rem;
    }

    .proj-gallery__media-item {
        margin-bottom: 2rem;
    }

    .proj-gallery__media-item--inset {
        padding: 0 1rem;
    }

    .proj-gallery__media-pair {
        margin-bottom: 2rem;
    }

    .proj-gallery__section-header {
        padding: 4rem 1.5rem 2rem;
    }

    .proj-gallery__editorial,
    .proj-gallery__editorial--reverse {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .proj-gallery__editorial-text {
        padding: 2rem 1.5rem;
    }

    .proj-nav__item {
        padding: 2rem 1.5rem;
    }

    .category-filter {
        padding: 0 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .feed__title {
        font-size: 1.5rem;
    }

    .about__stats {
        gap: 2rem;
    }

    .about__stat-number {
        font-size: 2rem;
    }
}
