/* Hallmark · macrostructure: Split Mission · tone: editorial · anchor hue: burgundy */
/* Hallmark · pre-emit critique: P5 H5 E5 S5 R5 V5 */
:root {
    --spbfc-heading-font: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --spbfc-brand-burgundy: #79272A;
}

#main_page > .container:first-child {
    padding-bottom: 30px;
}

body {
    font-variant-numeric: lining-nums;
    font-feature-settings: 'lnum' 1;
}

body h1,
body h2,
body #post h3 {
    font-family: var(--spbfc-heading-font) !important;
    font-style: normal;
}

#intro .name span,
#nav .name span {
    font-family: var(--spbfc-heading-font);
    font-style: normal;
}

@media only screen and (min-width: 771px) {
    #main_page > .container:first-child {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px;
        align-items: stretch;
    }

    #main_page > .container:first-child > .left,
    #main_page > .container:first-child > .right {
        float: none;
        width: auto;
        margin-left: 0;
        min-width: 0;
    }

    #main_page > .container:first-child > .left {
        display: flex;
        align-items: center;
    }

    #main_page > .container:first-child > .right {
        display: flex;
        align-items: center;
    }

    #main_page > .container:first-child .title_image {
        margin-bottom: 0;
    }
}

#main_page > .container:first-child .our_business {
    width: 100%;
    margin: 0;
    padding: 24px 0;
    gap: 24px;
    color: var(--spbfc-brand-burgundy);
    box-shadow: none;
}

#main_page > .container:first-child .our_business .description {
    width: 100%;
    margin: 0;
}

#main_page > .container:first-child .our_business .description span {
    display: block;
    max-width: 21ch;
    margin: 0 auto;
    color: var(--spbfc-brand-burgundy);
    font-family: var(--spbfc-heading-font);
    font-size: clamp(30px, 2.4vw, 38px);
    font-weight: 500;
    font-style: normal;
    line-height: 1.28;
    letter-spacing: 0.005em;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

#main_page > .container:first-child .mission-rapiers {
    width: 100%;
    display: flex;
    justify-content: center;
}

#main_page > .container:first-child .mission-rapiers img {
    display: block;
    width: min(40%, 430px);
    height: auto;
}

#main_page > .container:first-child .mission-rapiers--bottom img {
    transform: rotate(180deg);
}

@media only screen and (max-width: 770px) {
    #main_page > .container:first-child .our_business {
        padding: 28px 0 36px;
        gap: 18px;
    }

    #main_page > .container:first-child .our_business .description span {
        max-width: 23ch;
        font-size: clamp(26px, 7.4vw, 34px);
    }

    #main_page > .container:first-child .mission-rapiers img {
        width: min(82%, 430px);
    }
}
