/*
Theme Name: SoleStudio
Theme URI: solestudiobcn.com
Template: hello-elementor
Author: SoleStudio
Author URI: solestudiobcn.com
Version: 1.1757191078

*/

/* ======================================================
   SOLÉ STUDIO — HOVER SERVICES
====================================================== */
.sole-hover-services {
    --sole-line: rgba(25, 22, 18, 0.16);
    --sole-text: #171512;
    --sole-bg: #f4f0eb;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--sole-bg);
}

/* LIST
------------------------------------------------------ */
.sole-hover-services__list {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ROW
------------------------------------------------------ */
.sole-hover-services__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 62px;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--sole-line);
    color: var(--sole-text);
    text-decoration: none;
    cursor: pointer;
}
.sole-hover-services__item:last-child {
    border-bottom: 1px solid var(--sole-line);
}
.sole-hover-services__item,
.sole-hover-services__item:hover,
.sole-hover-services__item:focus,
.sole-hover-services__item:visited {
    color: var(--sole-text) !important;
}

/* TYPOGRAPHY
------------------------------------------------------ */
.sole-hover-services__title,
.sole-hover-services__view {
    position: relative;
    z-index: 3;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.015em;
	font-family: "clarendon-urw-extra-narrow", serif!important;
}
.sole-hover-services__view {
    font-size: 12px;
}

.sole-hover-services__title {
    transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}
.sole-hover-services__view {
    transition:
        transform 0.5s cubic-bezier(.22,1,.36,1),
        opacity 0.4s ease;
}
.sole-hover-services__item:hover .sole-hover-services__title {
    transform: translateX(8px);
}
.sole-hover-services__item:hover .sole-hover-services__view {
    transform: translateX(-8px);
}

/* IMAGE PREVIEW
------------------------------------------------------ */
.sole-hover-services__preview {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: clamp(180px, 15vw, 280px);
    aspect-ratio: 0.72;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
    transform: translate3d(0, -40%, 0);
}
.sole-hover-services__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* MOBILE
------------------------------------------------------ */
@media (max-width: 767px) {
    .sole-hover-services__item {
        min-height: 74px;
        padding: 0 20px;
    }
    .sole-hover-services__title {
        max-width: 75%;
        font-size: 12px;
        line-height: 1.2;
    }
    .sole-hover-services__view {
        font-size: 10px;
    }
    .sole-hover-services__preview {
        display: none;
    }
}


/* ==========================================
   SOLÉ ABOUT — SLIDE FROM TOP
========================================== */

.sole-about-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999999;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    padding: 0;

    visibility: hidden;
    pointer-events: none;

    overflow: hidden;

    transition: visibility 0s linear .9s;
}


/* ABIERTO */
.sole-about-overlay.is-open {
    visibility: visible;
    pointer-events: auto;

    transition-delay: 0s;
}


/* ==========================================
   BACKDROP
========================================== */

.sole-about-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(20, 18, 16, 0.10);

    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);

    opacity: 0;

    transition:
        opacity .65s ease,
        backdrop-filter .9s cubic-bezier(.16, 1, .3, 1),
        -webkit-backdrop-filter .9s cubic-bezier(.16, 1, .3, 1);
}


.sole-about-overlay.is-open .sole-about-backdrop {
    opacity: 1;

    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
}


/* ==========================================
   PANEL
========================================== */

.sole-about-panel {
    position: relative;
    z-index: 2;

    width: 100%;

    /* altura editorial */
    min-height: 370px;

    padding:
        clamp(75px, 8vw, 115px)
        clamp(32px, 4.5vw, 80px)
        clamp(55px, 6vw, 85px);

    background: #f6f3f0;

    /*
     * Empieza completamente fuera del viewport.
     * Un poquito más del 100% hace que nunca
     * asome una línea antes de abrir.
     */
    transform: translate3d(0, -105%, 0);

    will-change: transform;

    transition:
        transform .95s cubic-bezier(.77, 0, .18, 1);
}


/* ENTRADA */
.sole-about-overlay.is-open .sole-about-panel {

    transform: translate3d(0, 0, 0);

    /*
     * Esta curva es distinta al cierre:
     * rápida al principio, muy suave al llegar.
     */
    transition:
        transform 1.05s cubic-bezier(.16, 1, .3, 1);
}


/* ==========================================
   CONTENIDO INTERIOR
========================================== */

.sole-about-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(500px, .85fr);

    gap: clamp(80px, 10vw, 180px);

    align-items: end;

    max-width: 1800px;
    margin: 0 auto;
}


/* COPY */
.sole-about-copy {
    max-width: 760px;
}


/* pequeña etiqueta */
.sole-about-eyebrow {
    display: block;

    margin: 0 0 25px;

    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 10px;
    line-height: 1;

    color: #171717;

    opacity: .55;
}


/* TEXTO */
.sole-about-intro,
.sole-about-text {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;

    color: #171717;
}


.sole-about-intro {
    margin-bottom: 7px;

    font-size: 15px;
    line-height: 1.45;
}


.sole-about-text {
    max-width: 720px;

    font-size: 15px;
    line-height: 1.55;
}


/* ==========================================
   TEAM
========================================== */

.sole-about-team {
    display: flex;
    flex-direction: column;

    gap: 6px;

    padding: 0;
}


.sole-team-row {
    display: grid;

    grid-template-columns: 105px 1fr;

    column-gap: 18px;

    align-items: baseline;
}


.sole-team-name,
.sole-team-role {
    font-family: Georgia, "Times New Roman", serif;

    font-size: 13px;
    line-height: 1.3;

    font-weight: 400;

    color: #171717;
}


.sole-team-role {
    white-space: nowrap;
}


/* ==========================================
   X
========================================== */

.sole-about-close {
    position: absolute;

    top: 26px;
    right: clamp(28px, 4vw, 70px);

    z-index: 5;

    width: 25px;
    height: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
    margin: 0;

    border: 0;
    background: transparent;

    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 20px;
    line-height: 1;
    font-weight: 300;

    color: #171717;

    cursor: pointer;

    transition:
        transform .4s cubic-bezier(.16, 1, .3, 1),
        opacity .3s ease;
}


.sole-about-close:hover {
    transform: rotate(90deg);
    opacity: .55;
}


/* ==========================================
   ANIMACIÓN INTERIOR
========================================== */

.sole-about-copy,
.sole-about-team {

    opacity: 0;

    transform: translateY(-8px);

    transition:
        opacity .35s ease,
        transform .35s ease;
}


/* aparece ligeramente después de bajar la capa */
.sole-about-overlay.is-open .sole-about-copy,
.sole-about-overlay.is-open .sole-about-team {

    opacity: 1;
    transform: translateY(0);

    transition:
        opacity .65s ease .38s,
        transform .75s cubic-bezier(.16, 1, .3, 1) .34s;
}


.sole-about-overlay.is-open .sole-about-team {
    transition-delay: .45s;
}


/* SCROLL */
html.sole-about-open,
body.sole-about-open {
    overflow: hidden !important;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    .sole-about-panel {
        height: auto;
        max-height: 100svh;
        min-height: 0;

        overflow-y: auto;

        padding:
            80px
            22px
            45px;
    }

    .sole-about-inner {
        grid-template-columns: 1fr;

        gap: 48px;

        align-items: start;
    }

    .sole-about-team {
        gap: 13px;
    }

    .sole-team-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .sole-team-role {
        white-space: normal;
        opacity: .55;
    }

    .sole-about-close {
        top: 24px;
        right: 20px;
    }

}