/*
Theme Name: Blake FnB
Theme URI: https://blake-fnb.com/
Author: Atta Rasool
Author URI: https://attarasool.com/
Description: A custom hospitality advisory theme for Blake FnB.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: blake-fnb
*/

:root {
    --ink: #1c231e;
    --forest: #232f27;
    --paper: #f6f2e9;
    --cream: #eee7d9;
    --gold: #dfbf86;
    --line: #d8d0c1;
    --serif: Georgia,"Times New Roman",serif;
}

*,*::before,*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.68 system-ui,sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-underline-offset: .22em;
}

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
    outline: 2px solid #99743d;
    outline-offset: 4px;
}

h1,h2,h3 {
    font: 400 1.2em/1.1 var(--serif);
    margin: 0 0 .45em;
    letter-spacing: -.035em;
}

h1 {
    font-size: clamp(3rem,8.2vw,7.5rem);
}

h2 {
    font-size: clamp(2.35rem,5vw,4.6rem);
}

h3 {
    font-size: clamp(1.65rem,3vw,2.45rem);
}

p {
    margin: 0 0 1.1em;
}

.wrap {
    width: min(1180px,calc(100% - 64px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 10;
    padding: 12px;
    background: #fff;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    background: #1a241e;
    color: #fff;
}

.header-row {
    min-height: 93px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img,.custom-logo-link img {
    width: 157px;
    height: auto;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(13px,3vw,37px);
}

.site-nav a {
    text-decoration: none;
    font-size: .87rem;
}

.site-nav a:hover,.site-nav a[aria-current] {
    color: var(--gold);
}

.nav-toggle {
    display: none;
}

.hero {
    position: relative;
    isolation: isolate;
    background: var(--forest);
    color: #fff;
    display: grid;
    align-items: end;
    min-height: clamp(520px,72vh,800px);
    overflow: hidden;
}

.hero-image,.hero::after {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-image {
    object-fit: cover;
}

.hero::after {
    content: "";
    background: linear-gradient(90deg,rgba(16,21,17,.89),rgba(16,21,17,.55) 45%,rgba(16,21,17,.06)),linear-gradient(0deg,rgba(16,21,17,.52),transparent 50%);
}

.hero-inner {
    padding-block: 90px 76px;
}

.hero h1 {
    max-width: 850px;
    text-wrap: balance;
}

.hero p {
    max-width: 500px;
    color: #f1ece2;
    font-size: 1.1rem;
}

.eyebrow {
    display: block;
    margin-bottom: 20px;
    color: #614a29;
    font-weight: 650;
    font-size: .73rem;
    letter-spacing: .19em;
    text-transform: uppercase;
}

.hero .eyebrow,.dark .eyebrow {
    color: var(--gold);
}

.button,.wpcf7-submit {
    min-height: 48px;
    padding: 12px 20px;
    display: inline-grid;
    place-items: center;
    background: var(--gold);
    color: #1c231e;
    text-decoration: none;
    border: 1px solid transparent;
    font: 600 .86rem/1.35 system-ui,sans-serif;
    cursor: pointer;
}

.button:hover,.wpcf7-submit:hover {
    background: #edcf96;
}

.button.outline {
    background: transparent;
    border-color: currentColor;
    color: inherit;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.section {
    padding-block: clamp(58px,9vw,126px);
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px,7vw,110px);
    align-items: center;
}

.split>img {
    width: 100%;
    aspect-ratio: 5/4;
    object-fit: cover;
}

.intro,.masthead p {
    max-width: 640px;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 24px;
    margin-top: 34px;
}

.theme-card {
    padding: clamp(24px,4vw,48px);
    border: 1px solid var(--line);
    background: #fcf9f2;
}

.theme-card p:last-child {
    margin-bottom: 0;
}

.theme-card ul {
    padding-left: 1.2em;
}

.theme-card li+li {
    margin-top: .55em;
}

.cream {
    background: var(--cream);
}

.dark {
    background: var(--forest);
    color: #fff;
}

.cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-row h2 {
    max-width: 730px;
    margin: 0;
}

.masthead {
    padding-block: clamp(52px,9vw,124px);
    background: var(--forest);
    color: #fff;
}

.masthead h1 {
    font-size: clamp(3rem,7vw,6rem);
}

.masthead .eyebrow {
    color: var(--gold);
}

.masthead p {
    color: #ebe3d6;
}

.masthead p:last-child {
    margin-bottom: 0;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 12px;
    margin-top: 28px;
}

.client-logo {
    margin: 0;
    min-height: 118px;
    display: grid;
    place-items: center;
    padding: 19px;
    background: #fff;
    border: 1px solid var(--line);
}

.client-logo img {
    width: auto;
    max-height: 75px;
    object-fit: contain;
}

.contact-grid {
    align-items: start;
}

.office-list {
    list-style: none;
    padding: 0;
}

.office-list li {
    border-top: 1px solid var(--line);
    padding: 16px 0;
}

.office-list address {
    font-style: normal;
}

.form label {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.form input:not([type=submit]),.form select,.form textarea,.wpcf7 input:not([type=submit]),.wpcf7 textarea,.wpcf7 select {
    display: block;
    width: 100%;
    padding: 11px;
    border: 1px solid #9b978b;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.form textarea {
    resize: vertical;
}

.form .bf-trap {
    position: absolute;
    top: auto;
    left: -9999px;
}

.form-status {
    padding: 12px;
    border-left: 3px solid #8b723e;
    background: #f5eedc;
}

.site-footer {
    padding: 42px 0;
    background: #1a241e;
    color: #fff;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.site-footer p {
    margin: 0;
    font-size: .85rem;
    color: #e5ded1;
}

@media(max-width:800px) {
    .wrap {
        width: calc(100% - 36px);
    }
    .header-row {
        flex-wrap: wrap;
        min-height: 72px;
        padding-block: 12px;
    }
    .brand img,.custom-logo-link img {
        width: 132px;
    }
    .site-nav {
        width: 100%;
    }
    .site-nav ul {
        flex-wrap: wrap;
        gap: 12px 22px;
    }
    .js .nav-toggle {
        display: block;
        background: transparent;
        color: #fff;
        border: 1px solid #c8b79d;
        padding: 8px 14px;
        font: inherit;
    }
    .js .site-nav[hidden] {
        display: none;
    }
    .split,.theme-grid {
        grid-template-columns: 1fr;
    }
    .hero-inner {
        padding-block: 65px 49px;
    }
    .hero {
        min-height: 560px;
    }
    .logo-grid {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }
}

@media(max-width:470px) {
    .logo-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .client-logo {
        min-height: 92px;
    }
    .hero {
        min-height: 515px;
    }
    .hero h1 {
        font-size: clamp(2.8rem,12vw,4rem);
    }
}

@media(min-width:801px) {
    .hero-image {
        left: auto;
        width: 65%;
        object-position: center 57%;
        mask-image: linear-gradient(to right, transparent, #000 22%);
    }
    .hero::after {
        background: linear-gradient(90deg,#1a241e 17%,rgba(26,36,30,.92) 33%,rgba(26,36,30,.38) 60%,rgba(26,36,30,.03)),linear-gradient(0deg,rgba(16,21,17,.42),transparent 65%);
    }
}
