/*
Theme Name: Kate
Theme URI: http://localhost/kate/web/
Author: Kate Yuying Yang
Description: Custom WordPress theme for Kate Yuying Yang / Listening Touch.
Version: 1.0.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: kate
*/

@font-face {
    font-family: 'PPRadioGrotesk';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(webfonts/PPRadioGrotesk-Variable.woff) format('woff2');
}
@font-face {
    font-family: 'PPNeueMontreal';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(webfonts/PPNeueMontreal-Variable.woff2) format('woff2');
}
@font-face {
    font-family: haus_headline;
    src: url(webfonts/e269debde48a755f.p.ttf) format("truetype");
    font-display: swap;
    font-weight: 100 900;
}
* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    outline: none;
    vertical-align: baseline;
    list-style: none;
}
html, body {
    font-family:"PPRadioGrotesk","Google Sans", "Noto Sans SC", sans-serif;
    font-size:var(--textSzie);
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    color: var( --color);
    background:var(--bg);
    width:100%;
    -webkit-font-smoothing: antialiased;
}
h1,h2{
    font-family: "Marcellus", serif;
}
:root{
    --color: #000;
    --bg:#fff;
    --textSzie: clamp(14px, 1.1vw, 24px);
    --space:2rem;
    --spaceS:calc(var(--space)/2);
    --spaceB:calc(var(--space)*2);
    --mycolor:#864bff;
    --mycolor2:#09af00;
    --mycolor3:#ff6000;
    --swiper-theme-color:var(--mycolor)
}
a{
    text-decoration: none;
    color: var(--color);
}
.text{
    line-height: 1.5;
}
.text p{
    padding-bottom: 1rem;
}
.text p:last-child{
    padding-bottom: 0;
}
.text img{
    max-width: 100%;
    height: auto;
}
#header{
    position: fixed;
    z-index: 10000;
    width: 100%;
    top:0;
    left: 0;

    backdrop-filter: blur(20px);
    background-color: rgba(255,255,255,0.3);
}
.header-wrap{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: var(--spaceS) var(--spaceB);
    position: relative;
}

.header-brand,
.header-panel,
.header-menu ul{
    font-family: "Marcellus", serif;
}
.header-brand h1{
    font-size: 1rem;
    position: relative;
    font-weight: 400;
    padding: 0 var(--spaceB) 0 0;
}
.header-brand h1 span{
   display: block;
}
.header-brand h1 b{
    font-weight: 400;
}
.header-toggle{
    width: 2.75rem;
    height: 2rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    padding: .25rem 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 10002;
}
.header-toggle span{
    display: block;
    height: 1px;
    background: var(--color);
    transform-origin: center;
    transition: transform 220ms ease, opacity 180ms ease;
}
#header.is-open .header-toggle span:nth-child(1){
    transform: translateY(.625rem) rotate(45deg);
}
#header.is-open .header-toggle span:nth-child(2){
    opacity: 0;
}
#header.is-open .header-toggle span:nth-child(3){
    transform: translateY(-.625rem) rotate(-45deg);
}
.header-panel{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space);
    flex: 1;
}
.header-menu ul{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-family: "Marcellus", serif;
}
.header-menu ul li{
    padding: 0 var(--space);
}
.header-menu ul li a{
    background-image: linear-gradient(currentColor, currentColor);
    background-position: left bottom;
    background-repeat: no-repeat;
    text-decoration: none;
    background-size: 0 1px;
    transition: background-size 150ms linear;
}
.header-menu ul li a:hover{
    background-size: 100% 1px;
}
.booking-btn{
    margin-left: auto;
    padding: 0;

}
.booking-btn a{
    display: flex;
    background: var(--mycolor);
    color: white;
    padding: 3px 10px;
    align-items: center;
    font-size: 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    justify-content: space-between;
}

.booking-btn a i{
    display:block;
    margin-left: 3rem;
}
#content{
    position: relative;
    z-index: 2;
    min-height: 70vh;
}
#aura-canvas,
#aura-canvas2{
    width: 100vw;
    height: 130vh;
    position: absolute;
    z-index: 1;
    display: block;
}
#aura-canvas2{
    width: 100%;
    height: 100%;
    inset: 0;

}

.cover{
    position: relative;
    height: 130vh;
}
.cover:after{
    position: absolute;
    width: 100%;
    height: 30%;
    bottom: 0;
    left: 0;
    content: '';
    background: linear-gradient(to top, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    z-index: 2;
}
.cover-i{
    position: relative;
    height: 100vh;
    z-index: 3;
}
.cover-info{
    position: absolute;
    top: 50%;
    left: 50%;

    width: min(99vw, 1800px);
    height: auto;
    pointer-events: none;
    transform: translate(-50%, -50%);
    padding: var(--space) var(--spaceB);

}
h1.fun-text{
    font-weight: 400;
    font-family: haus_headline;
}
.cover-info h1{
    font-size:8.4vw;
    text-align: center;

    display: flex;
    justify-content: space-between;
    color: var(--mycolor);

}
.cover-title-mobile{
    display: none;
}
h1[data-animated-title="true"] .animated-title-letter{
    display: inline-block;
    font-variation-settings: "wght" 400;
    transition:
    font-variation-settings 620ms cubic-bezier(.2, .8, .2, 1);
    will-change: font-variation-settings;
    margin:0 .05em;

}
h1[data-animated-title="true"] .animated-title-space{
    display: inline-block;
    width: .26em;
}
.cover-info h3{
    font-size:1rem;
    text-align: right;
    font-weight: 400;
    line-height: 1.5;
}
.section{
    padding: var(--space);
    position: relative;
}
.section-wrap{
    position: relative;
    z-index: 1;
}
.section.bg:before{
    content: '';
    background: linear-gradient(to bottom, var(--mycolor) 0%,rgba(255,255,255,0) 100%);
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 0;
    opacity: 0.2;
}

.section.bg2:after{
    content: '';
    background: linear-gradient(to top, var(--mycolor3) 0%,rgba(255,255,255,0) 100%);
    position: absolute;
    bottom:0;
    left: 0;
    width: 100%;
    height: 50%;
    z-index: 0;
    opacity: 0.5;
}
.about-section{
    margin-top: -30vh;
    position: relative;
    z-index: 2;
}
.about-section .about-section-in{
    padding: var(--space);
    font-weight: 400;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    font-size: 1.5em;
    font-family: "Marcellus", serif;
}
.about-section-block{
    padding: var(--space);
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: flex-end;
}
.about-section-img{
    position: absolute;
    left: var(--space);
    right: var(--space);
    top:var(--space);
    bottom: var(--space);
    background-color: rgba(255,255,255,0.25);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 1rem;
    overflow: hidden;
}
.about-section-img img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}
.about-section-block .text h2{
    font-size: 2rem;
    font-weight: 400;
    padding-bottom: 2rem;
}
.about-section-info{
    width: 50%;
    position: relative;
    z-index: 2;
    padding: var(--space);
}
.about-section-info-wrap{
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    background-color: rgba(255,255,255,0.5);
    outline: 1px solid var(--mycolor);
    padding: var(--space);
    font-weight: 500;
    box-shadow: 0 0 4px var(--mycolor);
}
.about-section-btn{
    margin-top: 4rem;
}
.btn{
    display: inline-flex;
    align-items: center;
    background-color: var(--mycolor);
    color: white;
    padding: 3px 10px;
    font-size: 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 400;
    width: 8rem;
    justify-content: space-between;
}
.btn.b{
    background-color: var(--mycolor2);
}
.btn:hover i{
    animation: left .5s infinite;
}
@keyframes left {
    0%{
        transform: translateX(0);
    }50%{
             transform: translateX(5px);
         }
    100%{
        transform: translateX(0px);
    }
}
.section-title{
    padding: var(--space);
    position: relative;
}
.section-title h2{
    display: flex;
    justify-content: space-between;
    font-weight: 400;
    align-items: flex-end;
}
.section-title-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space);
    position: relative;
    z-index: 2;
}
.section-title-row h2{
    flex: 1;
    position: relative;
    display: block;
}
.section-title.has-img h2{
    position: absolute;
   left: var(--space);
    right: var(--space);
    top:50%;
    transform: translateY(-50%);
}
.section-title h2 a{
    font-size: 1rem;
}

.section-title.has-img:after{
    display: none;
}
.section-title.has-side-img:after{
    display: none;
}
.section-title.has-img h2:after,
.section-title:after{
    display: block;
    height: 8px;
    border: var(--mycolor) solid 1px;
    border-bottom: none;
    content: '';
    margin-top: .5rem;
}
.section-title.has-img h2:after{
    position: absolute;
    width: 100%;
   top:2rem;
}
.section-title.has-side-img h2:after{
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1;
    display: block;
    width: calc(100% + var(--space) + max(15vw, 9rem));
    height: 8px;
    border: var(--mycolor) solid 1px;
    border-bottom: none;
    content: '';
    margin-top: .5rem;
}
.section-title-img{
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.section-title-img img{
    max-width: 50vw;
    height: auto;
}
.section-title-img-bg{
    background-color: rgba(255,255,255,0.25);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 1rem;
    overflow: hidden;
    line-height: 0;
}
.section-title-img-bg img{
    display: block;
    border-radius: 1rem;
}
.section-title-side-img{
    flex: 0 0 auto;
    width: 15vw;
    max-width: 15vw;
    min-width: 9rem;
    position: relative;
    z-index: 5;
    transform: translateX(calc(var(--space) * -1));
    background-color: rgba(255,255,255,0.25);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 1rem;
    overflow: hidden;
    line-height: 0;
}
.section-title-side-img img{
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 1rem;
}
.big-grid-swiper .swiper-slide{
    padding: var(--space);
}
.card{
    background-size: cover;
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    padding: .5rem;
    outline: 1px solid var(--mycolor);
    box-shadow: 0 0 4px var(--mycolor);
}
.card:before{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(20px);
    content: '';
    background-color: rgba(255,255,255,0.5);
}
.card-wrap{
    display: flex;
    position: relative;
    z-index: 1;
}
.card-wrap>div{
    width: 50%;
}
.card-img{
    padding: 1rem;
}
.card-img-bg{
    background-color: rgba(255,255,255,0.25);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 1rem;
    overflow: hidden;
}
.card-img img{
    display: block;
    aspect-ratio: 1/1;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
}
.card-info{
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.box-info h2,
.card-info h2{
    font-size: 1.35rem;
    font-weight: 500;
}
.box-info .text,
.card-info .text{
    padding: 1rem 0;
}
.card-btn a{
    margin-top: .5rem;
    margin-right: .25rem;
}
.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction{
    position: relative;
    bottom: 0;
}
.wrap{
    display: flex;
    flex-wrap: wrap;
}
.box{
    width: 33.33333%;
    padding: var(--space);
}
.box a{
    display: block;
    background-size: cover;
    border-radius: 1rem;
    overflow: hidden;
}
.box-img{
    line-height: 0;
}
.box-img-bg{
    background-color: rgba(255,255,255,0.25);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.box-img img{
    display: block;
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
    object-fit: cover;
}
.box-info{
    backdrop-filter: blur(20px);
    background-color: rgba(255,255,255,0.7);
    padding: 2rem;
}

.small-content{
    width: 60%;
    margin: 0 auto;

}
.big-content{
    width: 80%;
    margin: 0 auto;
}
.big-content-wrap,
.small-content-wrap{
    display: flex;
}
.small-content-wrap>*{
    padding: var(--space);
}
.about-me-img{
    display: block;
    width: 50%;
    min-width: 20vw;
}
.about-me-img-bg{
    background-color: rgba(255,255,255,0.25);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 1rem;
    overflow: hidden;
}
.about-me-img-bg img{
    display: block;
    border-radius: 1rem;
    width: 100%;
    height: auto;
}
.treatment-detail-img{
    display: block;
    flex: 0 0 50%;
    width: 50%;
    min-width: 20vw;
}
.treatment-detail-img-bg{
    background-color: rgba(255,255,255,0.25);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 1rem;
    overflow: hidden;
}
.treatment-detail-img-bg img{
    display: block;
    border-radius: 1rem;
    width: 100%;
    height: auto;
}
.treatment-detail-book{
    margin-top: 1rem;
}
.small-content-wrap .text{
    width: 100%;
}
.treatment-detail-wrap .text{
    flex: 1;
    width: auto;
}
.text.big-text{
    font-size: 1.2rem;
}
.text.big-text b{
    font-family: "Marcellus", serif;
    font-weight: 600;
}
.about-me-l{
    margin-top: 1rem;
}
#footer{
    position: relative;
    overflow: hidden;
    padding-top: var(--space);
    z-index: 3;
    border-top: var(--mycolor) solid 1px;
}
#footer:after{
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
    z-index: 1;
}
.footer-content{
    position: relative;
    z-index: 2;
}
.footer-wrap{
    padding: var(--space);
    display: flex;
}
.footer-item{
    padding: var(--space);
    flex: 1;
    text-align: right;
}
.footer-item h2{
    font-size: 1.2rem;
    font-weight: 500;
    padding-bottom: 1rem;
}
.follow-item{
    display: flex;
    justify-content: flex-end;
}
.follow-item a{
    margin-left: 1rem;
    display: inline-block;
    font-size: 1.5rem;
}
.foot-logo h1{
    text-align: center;
    font-size: 2.5vw;
    display: flex;
    justify-content: space-between;
    color: var(--mycolor);
}
.foot{
    padding:var(--spaceB);
}

.page-wrapper{
    padding-top:8rem;
    padding-bottom: 5rem;
}

.page-header{
    padding:var(--space) var(--spaceB);
}
.page-header h1{
    font-size: 10vw;
    font-weight: 400;
    text-align: center;
    color: var(--mycolor);
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-header h1 span{
    width: 7vw;
    display: block;
}
.two-line h1{
    line-height: 1;
}
.two-content{
    display: flex;
    width: 80%;
    margin: 0 auto;
}
.two-content>div{
    flex: 1;
    padding: var(--space);
}
.text ul{
    padding: 0 var(--spaceS);
}
.text ul li{
    list-style: outside;
    margin: 0 0 .5rem 1rem;
}

.page-grid{
    padding: var(--space);
}

@media (max-width: 1100px){
    :root{
        --textSzie: 16px;
        --space:1.25rem;
    }
    .header-menu ul li{
        padding: 0 .75rem;
    }
    .header-panel{
        padding: var(--space);
    }
    .booking-btn{
        padding: 0;
    }
    .booking-btn a i{
        margin-left: 1rem;
    }
    .small-content,
    .big-content,
    .two-content{
        width: 92%;
    }
    .box{
        width: 50%;
    }
    .card-wrap{
        flex-direction: column;
    }
    .card-wrap>div{
        width: 100%;
    }
    .about-section-info{
        width: 65%;
    }
}

@media (max-width: 768px){
    :root{
        --textSzie: 15px;
        --space:1rem;
    }
    body{
        overflow-x: hidden;
    }
    #header{
        position: sticky;
    }
    .header-wrap{
        justify-content: space-between;
        padding: .75rem var(--space);
    }
    .header-brand h1{
        padding: 0;
        font-size: 1.05rem;
    }
    .header-toggle{
        display: inline-flex;
        width: 2.35rem;
        height: 1.8rem;
    }
    .header-panel{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: var(--space);
        background-color: rgba(255,255,255,0.82);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0,0,0,0.08);
        border-bottom: 1px solid rgba(0,0,0,0.08);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-.75rem);
        transition: opacity 220ms ease, transform 220ms ease;
        z-index: 10001;
    }
    #header.is-open .header-panel{
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
    .header-menu ul{
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
        font-size: 1.35rem;
    }
    .header-menu ul li{
        padding: 0;
    }
    .booking-btn{
        padding: 0;
        width: 100%;
    }
    .booking-btn a{
        width: 100%;
        min-height: 2rem;
    }
    .cover{
        height: 100vh;
        min-height: 620px;
    }
    .cover-i{
        height: 100vh;
        min-height: 620px;
    }
    #aura-canvas{
        height: 100vh;
        min-height: 620px;
    }
    #aura-canvas2{
        opacity: .75;
    }
    .cover-info{
        top: 48%;
        width: 100%;
        padding: var(--space);
    }
    .cover-info h1{
        display: block;
        font-size: 5rem;
        line-height: .95;
        text-align: center;
        overflow-wrap: anywhere;
    }
    .cover-title-desktop{
        display: none;
    }
    .cover-title-mobile{
        display: block;
    }
    .cover-info h3{
        margin-top: 1.25rem;
        text-align: center;
        font-size: .95rem;
    }
    .page-wrapper{
        padding-top: 2rem;
        padding-bottom: 3rem;
    }
    .page-header{
        padding: var(--space);
    }
    .page-header h1{
        display: block;
        font-size: 4rem;
        line-height: .95;
        overflow-wrap: anywhere;
    }
    .section{
        padding: var(--space) 0;
    }
    .section-title{
        padding: var(--space);
    }
    .section-title h2,
    .section-title-row{
        display: block;
    }
    .section-title h2{
        font-size: 1.85rem;
        line-height: 1.05;
    }
    .section-title h2 a{
        display: inline-block;
        margin-top: .75rem;
    }
    .section-title.has-img h2{
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        transform: none;
        margin-bottom: 1rem;
    }
    .about-page .section-title-img{
        padding-top: var(--spaceB);
    }
    .section-title.has-img h2:after,
    .section-title.has-side-img h2:after,
    .section-title:after{
        height: 6px;
    }
    .section-title.has-side-img h2:after{
        position: relative;
        width: 100%;
        top: auto;
    }
    .section-title-img img{
        max-width: 100%;
    }
    .section-title-side-img{
        width: min(56vw, 14rem);
        max-width: none;
        min-width: 0;
        margin: 1rem 0 0 auto;
        transform: none;
    }
    .about-section{
        margin-top: -12vh;
    }
    .about-section .about-section-in{
        width: 100%;
        padding: var(--space);
        font-size: 1.15rem;
    }
    .about-section-block{
        display: block;
        padding: var(--space);
    }
    .about-section-img{
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        aspect-ratio: 4/5;
    }
    .about-section-info{
        width: 100%;
        padding: 0;
        margin-top: var(--space);
    }
    .about-section-info-wrap{
        padding: var(--space);
    }
    .about-section-btn{
        margin-top: 2rem;
    }
    .small-content,
    .big-content,
    .two-content{
        width: 100%;
    }
    .two-content,
    .big-content-wrap,
    .small-content-wrap,
    .treatment-detail-wrap,
    .footer-wrap{
        flex-direction: column;
    }
    .two-content>div,
    .small-content-wrap>*{
        padding: var(--space);
    }
    .about-me-img,
    .treatment-detail-img{
        width: 100%;
        min-width: 0;
        flex-basis: auto;
        padding: var(--space);
    }
    .treatment-detail-img-bg img,
    .about-me-img-bg img{
        aspect-ratio: 4/5;
        object-fit: cover;
    }
    .card{
        border-radius: .75rem;
    }
    .card-img,
    .card-info{
        padding: .75rem;
    }
    .box{
        width: 100%;
        padding: var(--space);
    }
    .box-info{
        padding: 1.25rem;
    }
    .page-grid{
        padding: 0;
    }
    .footer-wrap{
        padding: var(--space);
    }
    .footer-item{
        padding: var(--space) 0;
        text-align: left;
    }
    .follow-item{
        justify-content: flex-start;
    }
    .follow-item a{
        margin-left: 0;
        margin-right: 1rem;
    }
    .foot-logo h1{
        display: block;
        text-align: left;
        font-size: 2.35rem;
        line-height: 1;
    }
    .foot{
        padding: var(--space);
    }
}

@media (max-width: 420px){
    .cover-info h1{
        font-size: 4rem;
    }
    .page-header h1{
        font-size: 3.2rem;
    }
    .section-title h2{
        font-size: 1.55rem;
    }
    .btn{
        width: 100%;
        min-height: 2.25rem;
    }
    .card-btn a{
        margin-right: 0;
    }
}
