/* ========================================
   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;
}

/* No-JS fallback (only rendered when JavaScript is disabled) */
.feed-fallback {
    min-height: 100vh;
    padding: 7rem 2rem 4rem;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}
.feed-fallback h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.feed-fallback__lead {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.85;
}
.feed-fallback__sub {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-top: 1rem;
}
.feed-fallback__cats {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding: 0;
    margin: 0;
}
.feed-fallback__cats a {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.6rem 1.4rem;
    border: 1px solid rgba(245, 245, 240, 0.3);
    border-radius: 2px;
    opacity: 0.9;
    color: var(--white);
    text-decoration: none;
}
.feed-fallback__note {
    font-size: 0.85rem;
    line-height: 1.7;
    opacity: 0.55;
    margin-top: 1rem;
}
.feed-fallback__note a {
    border-bottom: 1px solid rgba(245, 245, 240, 0.3);
    opacity: 1;
}

.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__meta {
    font-size: 0.6rem;
}

.feed__category {
    font: inherit;
    letter-spacing: inherit;
    font-weight: 500;
    text-decoration: none;
    color: var(--white);
    transition: opacity 0.3s ease;
}

.feed__category:hover {
    opacity: 0.7;
}

.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__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
    margin-bottom: 0.5rem;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.85;
}

.feed__pipe-sep {
    opacity: 0.35;
    margin: 0 0.5rem;
}

.feed__dot-sep {
    opacity: 0.35;
    margin: 0 0.4rem;
}

.feed__tag {
    font: inherit;
    letter-spacing: inherit;
}

.feed__client {
    font: inherit;
    letter-spacing: inherit;
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(245, 245, 240, 0.4);
    padding-bottom: 1px;
    transition: all 0.3s ease;
}

a.feed__client:hover {
    opacity: 1;
    border-bottom-color: var(--white);
}

.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 — Compact Roster) --- */
.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: 7rem 2rem 4rem;
}

.studio__header {
    margin-bottom: 3rem;
}

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

.studio__header h2 {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 245, 240, 0.25);
    font-weight: 400;
    margin: 0 0 1.2rem;
}

.studio__intro {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.5;
    max-width: 600px;
}

.studio__roster {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
    margin-bottom: 0;
}

.studio__member {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font);
    color: var(--white);
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.studio__member:hover {
    opacity: 0.8;
}

.studio__member.active {
    opacity: 1;
}

.studio__member-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.6rem;
    border: 1.5px solid rgba(245, 245, 240, 0.1);
    filter: grayscale(100%);
    transition: filter 0.4s ease, border-color 0.3s ease;
}

.studio__member.active .studio__member-photo {
    filter: grayscale(0%);
    border-color: var(--white);
}

.studio__member:hover .studio__member-photo {
    filter: grayscale(0%);
}

.studio__member-name {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.studio__member-role {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.35;
    margin-top: 0.2rem;
}

.studio__detail {
    position: sticky;
    top: 7rem;
    padding-left: 3rem;
    border-left: 1px solid rgba(245, 245, 240, 0.06);
    opacity: 0;
    transition: opacity 0.4s ease;
    max-height: calc(100vh - 10rem);
    overflow-y: auto;
}

.studio__detail.visible {
    opacity: 1;
}

.studio__detail-name {
    font-size: 1.4rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin: 0 0 0.3rem;
}

.studio__detail-title {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.35;
    margin-bottom: 1.8rem;
}

.studio__detail-bio {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.9;
    opacity: 0.6;
    max-width: 650px;
}

.studio__detail-bio p {
    margin: 0 0 1rem;
}

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

.studio__detail-email {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(245, 245, 240, 0.06);
}

.studio__detail-email a {
    font-size: 0.8rem;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.studio__detail-email a:hover {
    opacity: 1;
}

/* --- 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 removed — bio now shows inline in split layout */

/* --- 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: 0.5rem !important;
}

.contacto__social {
    font-size: 0.9rem;
    margin-bottom: 2rem !important;
    opacity: 0.7;
}

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

.contacto__social a:hover {
    opacity: 1;
}

.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 --- */
/* Projects layout — sidebar + grid */
.projects-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 2rem 2rem;
    min-height: 100vh;
}

/* Sidebar */
.projects-sidebar {
    position: sticky;
    top: 5rem;
    align-self: start;
    padding-right: 2rem;
    border-right: 1px solid rgba(245,245,240,0.06);
    max-height: calc(100vh - 6rem);
    overflow-y: auto;
}

.projects-sidebar__section {
    margin-bottom: 2rem;
}

.projects-sidebar__label {
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245,245,240,0.25);
    margin-bottom: 0.6rem;
}

.projects-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.projects-sidebar__item {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245,245,240,0.35);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    font-family: var(--font);
    transition: color 0.3s ease;
}

.projects-sidebar__item:hover {
    color: rgba(245,245,240,0.7);
}

.projects-sidebar__item.active {
    color: var(--white);
    font-weight: 500;
}

/* Main content area */
.projects-main {
    padding-left: 2.5rem;
}

.projects-main__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.projects-main__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: 0.05em;
    text-transform: capitalize;
}

.projects-main__count {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245,245,240,0.25);
}

/* Project grid */
.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;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}

.project-card__img-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1a1a1a;
}

.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 {
    padding: 0.8rem 0 0;
}

.project-card__name {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.15rem;
    letter-spacing: 0.02em;
}

.project-card__meta {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245,245,240,0.5);
    margin-bottom: 0.15rem;
}

.project-card__meta a {
    color: rgba(245,245,240,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-card__meta a:hover {
    color: var(--white);
}

.project-card__loc {
    font-size: 0.7rem;
    opacity: 0.35;
}

/* Mobile sidebar toggle */
.projects-sidebar__toggle {
    display: none;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245,245,240,0.4);
    background: none;
    border: 1px solid rgba(245,245,240,0.12);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-family: var(--font);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.projects-sidebar__toggle:hover {
    color: var(--white);
    border-color: rgba(245,245,240,0.3);
}

/* --- 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__client {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.7;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.proj-hero__client-link {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(245, 245, 240, 0.4);
    transition: all 0.3s ease;
}

.proj-hero__client-link:hover {
    opacity: 1;
    border-bottom-color: var(--white);
}

.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;
}

/* Project Team */
.proj-team {
    padding: 4rem 5%;
    text-align: center;
}

.proj-team__title {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.5;
    margin-bottom: 2rem;
}

.proj-team__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.proj-team__member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    width: 90px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.proj-team__photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.proj-team__member:hover .proj-team__photo {
    filter: grayscale(0%);
}

.proj-team__name {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.3;
}

.proj-team__role {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.5;
}

/* 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;
}

/* --- LIGHTBOX --- */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox__img {
    max-width: 92vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 2px;
    cursor: default;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.lightbox.active .lightbox__img {
    transform: scale(1);
}
.lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: color 0.2s;
    line-height: 1;
}
.lightbox__close:hover { color: #fff; }
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1rem;
    z-index: 10;
    transition: color 0.2s;
    line-height: 1;
}
.lightbox__nav:hover { color: #fff; }
.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox__counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}
@media (max-width: 768px) {
    .lightbox__nav { font-size: 1.8rem; padding: 0.5rem; }
    .lightbox__prev { left: 0.5rem; }
    .lightbox__next { right: 0.5rem; }
    .lightbox__img { max-width: 96vw; max-height: 85vh; }
}

/* --- 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__meta {
        font-size: 0.65rem;
    }

    .feed__pair-img .feed__meta {
        font-size: 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 — Compact Roster mobile */
    .studio__inner {
        padding: 5rem 1.5rem 3rem;
    }

    .studio__body {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .studio__roster {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem 1rem;
    }

    .studio__member-photo {
        width: 70px;
        height: 70px;
    }

    .studio__member-name {
        font-size: 0.7rem;
    }

    .studio__detail {
        position: static;
        max-height: none;
        padding-left: 0;
        border-left: none;
        margin-top: 2.5rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(245, 245, 240, 0.06);
    }

    .studio__detail-name {
        font-size: 1.2rem;
    }

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

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

    /* Category page */
    .projects-layout {
        grid-template-columns: 1fr;
        padding: 6rem 1.5rem 2rem;
    }

    .projects-sidebar {
        position: static;
        border-right: none;
        padding-right: 0;
        max-height: none;
        border-bottom: 1px solid rgba(245,245,240,0.06);
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .projects-sidebar__toggle {
        display: block;
    }

    .projects-sidebar.collapsed .projects-sidebar__section {
        display: none;
    }

    .projects-sidebar__section {
        margin-bottom: 1.5rem;
    }

    .projects-sidebar__list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.3rem 0.8rem;
    }

    .projects-main {
        padding-left: 0;
    }

    .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;
    }

}

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

    .about__stats {
        gap: 2rem;
    }

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