/* ABOUT BASKINTA V1 */

.bk-about {
    color: #18364b;
    background: #fff;
}

.bk-about-wrap {
    width: min(calc(100% - 80px), 1500px);
    margin: 0 auto;
}

.bk-about-kicker {
    display: block;
    margin-bottom: 13px;
    color: #0877a6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .25em;
}

.bk-about-hero {
    min-height: 610px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.bk-about-hero .bk-about-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bk-about-hero-content {
    max-width: 650px;
}

.bk-about-hero .bk-about-kicker {
    color: #fff;
}

.bk-about-hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(55px,6vw,92px);
    line-height: .92;
}

.bk-about-hero h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 27px;
    line-height: 1.25;
}

.bk-about-hero p {
    max-width: 580px;
    margin: 0 0 25px;
    font-size: 16px;
    line-height: 1.6;
}

.bk-about-button {
    display: inline-flex;
    padding: 15px 22px;
    border-radius: 9px;
    text-decoration: none !important;
    font-weight: 800;
}

.bk-about-button-white {
    background: #fff;
    color: #164b63 !important;
}

.bk-about-signature {
    text-align: left;
    color: #fff;
}

.bk-about-signature strong {
    display: block;
    font-size: 53px;
    font-style: italic;
    font-weight: 400;
}

.bk-about-signature span {
    display: block;
    margin-left: 65px;
    font-size: 24px;
    line-height: 1.3;
}

.bk-about-identity {
    padding: 55px 0;
}

.bk-about-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.bk-about-copy h2,
.bk-about-section-head h2,
.bk-about-tomorrow-copy h2 {
    margin: 0 0 18px;
    color: #164b63;
    font-size: 38px;
}

.bk-about-copy > p,
.bk-about-tomorrow-copy > p {
    font-size: 16px;
    line-height: 1.65;
}

.bk-about-facts {
    margin-top: 35px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
}

.bk-about-facts > div {
    padding: 0 16px;
    text-align: center;
    border-right: 1px solid #e2e7ea;
}

.bk-about-facts > div:last-child {
    border-right: 0;
}

.bk-about-facts strong {
    display: block;
    color: #176a53;
    font-size: 21px;
}

.bk-about-facts span {
    display: block;
    margin-top: 4px;
    font-size: 12px;
}

.bk-about-identity-image {
    position: relative;
}

.bk-about-identity-image img {
    width: 100%;
    height: 410px;
    object-fit: cover;
    border-radius: 12px;
}

.bk-about-quote {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 330px;
    padding: 25px;
    border-radius: 10px;
    background: #164b63;
    color: #fff;
}

.bk-about-quote strong,
.bk-about-quote span {
    display: block;
}

.bk-about-quote strong {
    font-size: 20px;
    font-style: italic;
}

.bk-about-quote span {
    margin-top: 10px;
    font-size: 12px;
    letter-spacing: .08em;
}

.bk-about-layers {
    padding: 55px 0;
    background: #f8f8f5;
}

.bk-about-section-head {
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 50px;
}

.bk-about-section-head p {
    margin: 0;
    line-height: 1.6;
}

.bk-about-layer-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.bk-about-layer {
    position: relative;
    height: 285px;
    overflow: hidden;
    border-radius: 11px;
    color: #fff !important;
}

.bk-about-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        transparent 35%,
        rgba(4,24,37,.88)
    );
}

.bk-about-layer img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bk-about-layer > div {
    position: absolute;
    z-index: 2;
    left: 20px;
    right: 50px;
    bottom: 18px;
}

.bk-about-layer h3,
.bk-about-layer p {
    margin: 0;
    color: #fff;
clear 
cd /home/baskinta/public_html || exit 1
set -e

THEME="wp-content/themes/baskinta-child"
COMP="$THEME/inc/about-baskinta.php"
CSS="$THEME/assets/css/about-baskinta.css"
FUNC="$THEME/functions.php"
SHELL="$THEME/inc/global-shell.php"

echo "======================================================"
echo " ABOUT BASKINTA V1 - FINISH BUILD"
echo "======================================================"

echo
echo "===== 1. FINISH CSS ====="

cat >> "$CSS" <<'CSS'

    color: #fff !important;
}

.bk-about-layer h3 {
    margin-bottom: 5px;
    font-size: 20px;
}

.bk-about-layer p {
    font-size: 12px;
    line-height: 1.4;
}

.bk-about-layer > span {
    position: absolute;
    z-index: 3;
    right: 16px;
    bottom: 17px;

    width: 37px;
    height: 37px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #fff;
    color: #164b63;

    font-size: 21px;
}


/* ==========================================================
   TOMORROW
   ========================================================== */

.bk-about-tomorrow {
    display: grid;
    grid-template-columns: 1fr 1fr;

    min-height: 390px;
}

.bk-about-tomorrow-image {
    position: relative;

    min-height: 390px;

    overflow: hidden;
}

.bk-about-tomorrow-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            0deg,
            rgba(5,38,58,.25),
            rgba(5,38,58,.05)
        );
}

.bk-about-tomorrow-image img {
    width: 100%;
    height: 100%;

    position: absolute;
    inset: 0;

    object-fit: cover;
}

.bk-about-tomorrow-image > strong {
    position: absolute;

    z-index: 2;

    right: 8%;
    bottom: 13%;

    color: #fff;

    font-size: 31px;
    font-style: italic;
    font-weight: 500;

    line-height: 1.25;

    transform: rotate(-5deg);
}

.bk-about-tomorrow-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding:
        50px
        max(6vw,55px);

    background: #fff;
}

.bk-about-tomorrow-icons {
    margin-top: 28px;

    display: grid;
    grid-template-columns: repeat(4,1fr);

    gap: 15px;
}

.bk-about-tomorrow-icons > div {
    text-align: center;
}

.bk-about-tomorrow-icons strong {
    display: block;

    margin-bottom: 8px;

    color: #176a53;

    font-size: 28px;
}

.bk-about-tomorrow-icons span {
    color: #18364b;

    font-size: 12px;
    line-height: 1.35;
}


/* ==========================================================
   REMOVE PARENT PAGE CHROME
   ABOUT USES ITS OWN FULL-WIDTH BODY
   ========================================================== */

body.page-about-baskinta
.page_content_wrap,
body.page-about-baskinta
.content_wrap,
body.page-about-baskinta
.content,
body.page-id-82
.page_content_wrap,
body.page-id-82
.content_wrap,
body.page-id-82
.content {
    width: 100% !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-82
.page_content_wrap {
    padding-top: 0 !important;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width:1100px) {

    .bk-about-wrap {
        width:
            calc(100% - 50px);
    }

    .bk-about-hero {
        min-height: 530px;
    }

    .bk-about-hero h1 {
        font-size: 62px;
    }

    .bk-about-signature {
        display: none;
    }

    .bk-about-two {
        gap: 35px;
    }

    .bk-about-layer-grid {
        grid-template-columns:
            repeat(2,1fr);
    }

    .bk-about-tomorrow-icons {
        grid-template-columns:
            repeat(2,1fr);

        row-gap: 25px;
    }

}


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

@media (max-width:767px) {

    .bk-about-wrap {
        width:
            calc(100% - 40px);
    }


    /* Hero */

    .bk-about-hero {
        min-height: 520px;

        background-position: 58% center;
    }

    .bk-about-hero-content {
        max-width: 100%;
    }

    .bk-about-hero h1 {
        font-size: 48px;

        line-height: .98;
    }

    .bk-about-hero h2 {
        font-size: 20px;
    }

    .bk-about-hero p {
        font-size: 14px;
    }


    /* Identity */

    .bk-about-identity {
        padding:
            38px
            0
            50px;
    }

    .bk-about-two {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .bk-about-copy h2,
    .bk-about-section-head h2,
    .bk-about-tomorrow-copy h2 {
        font-size: 30px;
    }

    .bk-about-copy > p,
    .bk-about-tomorrow-copy > p {
        font-size: 14px;
    }

    .bk-about-facts {
        grid-template-columns:
            repeat(2,1fr);

        gap: 25px 0;
    }

    .bk-about-facts > div:nth-child(2) {
        border-right: 0;
    }

    .bk-about-identity-image img {
        height: 300px;
    }

    .bk-about-quote {
        position: relative;

        right: auto;
        bottom: auto;

        width: calc(100% - 30px);

        margin:
            -45px
            auto
            0;

        box-sizing: border-box;
    }


    /* Layers */

    .bk-about-layers {
        padding:
            40px
            0;
    }

    .bk-about-section-head {
        grid-template-columns: 1fr;

        gap: 5px;
    }

    .bk-about-layer-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .bk-about-layer {
        height: 245px;
    }


    /* Tomorrow */

    .bk-about-tomorrow {
        grid-template-columns: 1fr;
    }

    .bk-about-tomorrow-image {
        min-height: 300px;
    }

    .bk-about-tomorrow-image > strong {
        right: 25px;
        bottom: 25px;

        font-size: 24px;
    }

    .bk-about-tomorrow-copy {
        padding:
            40px
            22px;
    }

    .bk-about-tomorrow-icons {
        grid-template-columns:
            repeat(2,1fr);
    }

}


/* ==========================================================
   ABOUT BASKINTA
   GLOBAL DESIGN SYSTEM ALIGNMENT
   ========================================================== */

.bk-about-tomorrow-image > strong {

    font-family:
        var(--bk-font-script)
        !important;

    font-style:
        normal !important;

    font-weight:
        400 !important;

    font-size:
        clamp(30px,3.2vw,49px)
        !important;

    line-height:
        1.18 !important;

    letter-spacing:
        .01em !important;

    text-shadow:
        0 2px 10px
        rgba(0,0,0,.22);

    transform:
        rotate(-5deg)
        !important;
}


/* ==========================================================
   ABOUT HERO V1.1
   Global brand identity already lives in header logo.
   No duplicate page-hero signature.
   ========================================================== */

.bk-about-signature {
    display: none !important;
}


/*
 * With duplicate branding removed, hero content owns
 * the composition rather than competing with a right column.
 */

.bk-about-hero .bk-about-wrap {
    justify-content: flex-start !important;
}


.bk-about-hero-content {
    width: min(700px,65%) !important;
    max-width: 700px !important;
}


/* Mobile */

@media(max-width:767px) {

    .bk-about-hero-content {
        width: 100% !important;
        max-width: 100% !important;
    }

}

