html,
body {
    margin: 0;
    background: #fff;
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.home {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1600px;
    perspective-origin: center 50%;
}

.home-circle {
    position: relative;
    width: clamp(760px, 90vw, 1500px);
    height: clamp(460px, 68vh, 900px);
    transform-style: preserve-3d;
    transform-origin: center center;
    transition: transform 0.1s linear;
}

.home-circle-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    backface-visibility: visible;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.home-circle-item img {
    width: clamp(130px, 14vw, 250px);
    max-height: 62vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

@media (max-width: 1024px) {
    .home-circle {
        width: 96vw;
        height: 72vh;
    }

    .home-circle-item img {
        width: clamp(120px, 18vw, 210px);
    }

    .main-nav {
        top: max(12px, env(safe-area-inset-top));
        left: max(14px, env(safe-area-inset-left));
        right: max(14px, env(safe-area-inset-right));
    }
}
.main-nav {
    position: fixed;
    top: max(14px, env(safe-area-inset-top));
    left: max(18px, env(safe-area-inset-left));
    right: max(18px, env(safe-area-inset-right));
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

body.home .main-nav {
    justify-content: space-between;
}


.main-nav a {
    text-decoration: none;
    color: #888; /* gris elegante */
    font-size: clamp(11px, 1vw, 14px);
    letter-spacing: clamp(1px, 0.25vw, 2px);
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.main-nav a:hover {
    opacity: 0.5;
    font-weight: 300;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .main-nav {
        top: max(10px, env(safe-area-inset-top));
        left: max(12px, env(safe-area-inset-left));
        right: max(12px, env(safe-area-inset-right));
    }

    .main-nav a {
        font-size: 11px;
        letter-spacing: 1px;
    }
}


#wpadminbar {
    display: none !important;
}
html,
html.admin-bar,
html.wp-toolbar {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
@media screen {
    html,
    html.admin-bar,
    html.wp-toolbar {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}
html, body {
    min-height: 100%;
    overflow-x: hidden;
}

.project-layout {
    display: flex;
    height: 100vh;
    overflow: hidden;
    padding-left: 120px; /* compensación del sidebar fijo */
    box-sizing: border-box;
    gap: 0;
}

.project-sidebar {
    position: fixed;
    top: 0;
    left: 0;

    width: 120px;
    height: 100vh;

    overflow-y: auto;

    margin: 0;
    padding: 0;
}

.sidebar-item {
    display: block;
    margin-bottom: 18px;
    padding-left: 0;
    width: 90px;
}
.sidebar-item img {
    width: 100%;
    height: auto;
    max-width: 90px;
    display: block;
    margin: 0;
    object-fit: contain;
}

.project-gallery {
    flex: 1;
    overflow-y: auto;
    padding: 70px 0 0 0;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0;
}

.project-gallery img,
.project-video {
    width: 65%;
    margin: 0 0 40px 200px;
    display: block;
    max-width: 900px;
}

.project-info {
    width: 300px;
    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    justify-content: center; /* 🔥 centra verticalmente */

    padding: 0 40px; /* quitamos el padding-top grande */
}

.project-title {
    font-size: 12px;
    font-weight: normal;
    margin-bottom: 0px;
}

.project-meta {
    font-size: 12px;
    line-height: 1.6;
    color: #333;
}

.project-top-bar {
    position: fixed;
    top: 15px; /* 🔥 casi pegado */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 9999;
}
.site-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;

    font-weight: bold;
    text-decoration: none;
    color: black;

    text-transform: uppercase; /* 🔥 clave */
    font-size: 34px;
    letter-spacing: 2px;
}
.about-link {
    position: fixed;
    top: 10px;
    right: 10px;
    text-decoration: none;
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
}

.about-link:hover {
    opacity: 0.5;
}

.project-sidebar::-webkit-scrollbar,
.project-gallery::-webkit-scrollbar {
    display: none;
}

.project-sidebar,
.project-gallery {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.project-video iframe,
.project-video video {
    width: 100%;
    height: auto;
}

.about-page {
    position: relative;
    height: 100vh;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1600px;
    perspective-origin: center 45%;
}

.about-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    margin-left: -300px;
    margin-top: -300px;
    transform-style: preserve-3d;
    transform-origin: center center;
    pointer-events: none;
}

.about-circle-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    backface-visibility: visible;
    opacity: 0.35;
    filter: blur(8px);
}

.about-circle-item img {
    width: 140px;
    transform: translate(-50%, -50%);
    display: block;
}

.about-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: left;
    color: black;
    font-size: 12px;
    line-height: 1.5;
    max-width: 340px;
}

.about-top-bar {
    position: fixed;
    top: 15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 9999;
}

.works-link {
    position: fixed;
    top: 10px;
    right: 10px;
    text-decoration: none;
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
}

.works-link:hover {
    opacity: 0.5;
}
.instagram-link {
    color: black;
    font-size: 16px;
    text-decoration: none;
}

.instagram-link:hover {
    opacity: 0.6;
}