/*
Theme Name: Bimble Workshop for Kadence
Theme URI: https://bimbleworkshop.co.uk/
Description: A bespoke Kadence child theme for Bimble Workshop, based on the approved Variation 3 brand identity.
Author: Bimble Workshop
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Template: kadence
Text Domain: bimble-workshop-kadence
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

@font-face {
    font-family: "Bebas Neue";
    src: url("assets/fonts/bebas-neue-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/montserrat-400.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/montserrat-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/montserrat-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/montserrat-700.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bimble-charcoal: #0d0d0d;
    --bimble-charcoal-soft: #171917;
    --bimble-forest-dark: #2d472c;
    --bimble-green: #3c5e3a;
    --bimble-moss: #5d7a58;
    --bimble-orange: #ff6a00;
    --bimble-steel: #a6a6a6;
    --bimble-light-grey: #d9d9d9;
    --bimble-off-white: #f8f8f8;
    --bimble-white: #ffffff;
    --bimble-display: "Bebas Neue", "Arial Narrow", sans-serif;
    --bimble-body: "Montserrat", Arial, sans-serif;
    --bimble-radius: 18px;
    --bimble-shadow: 0 20px 60px rgba(13, 13, 13, 0.12);
}

body {
    color: var(--bimble-charcoal);
    background: var(--bimble-off-white);
    font-family: var(--bimble-body);
}

.site-header,
#masthead {
    background: rgba(13, 13, 13, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-header .site-branding img,
#masthead .custom-logo {
    width: auto;
    max-width: 245px;
    max-height: 62px;
}

.site-header .bimble-default-logo,
#masthead .bimble-default-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-header .bimble-default-logo img,
#masthead .bimble-default-logo img {
    width: auto;
    height: 60px;
}

.bimble-default-logo > span:not(.screen-reader-text) {
    display: flex;
    flex-direction: column;
    line-height: 0.85;
}

.bimble-default-logo strong {
    color: var(--bimble-white);
    font-family: var(--bimble-display);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.bimble-default-logo small {
    color: var(--bimble-green);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-header .site-title,
.site-header .site-title a,
.site-header .site-description,
.site-header .main-navigation a,
.site-header .menu-toggle-open,
.site-header .menu-toggle-open .menu-toggle-icon {
    color: var(--bimble-white);
}

.site-header .main-navigation a {
    font-family: var(--bimble-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-header .main-navigation a:hover,
.site-header .main-navigation .current-menu-item > a {
    color: var(--bimble-orange);
}

.site-title,
.entry-title,
.page-title,
h1,
h2,
h3,
h4,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3 {
    font-family: var(--bimble-display);
    font-weight: 400;
    letter-spacing: 0.025em;
}

.entry-content,
.editor-styles-wrapper {
    font-family: var(--bimble-body);
}

.bimble-home {
    overflow: hidden;
    background: var(--bimble-off-white);
}

.bimble-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.bimble-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1rem;
    color: var(--bimble-orange);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.bimble-kicker::before {
    width: 34px;
    height: 2px;
    background: currentColor;
    content: "";
}

.bimble-hero {
    position: relative;
    isolation: isolate;
    min-height: 680px;
    display: grid;
    align-items: center;
    padding: clamp(70px, 10vw, 130px) 0;
    color: var(--bimble-white);
    background:
        radial-gradient(circle at 82% 24%, rgba(60, 94, 58, 0.34), transparent 31%),
        linear-gradient(120deg, #0d0d0d 0%, #151815 58%, #0d0d0d 100%);
}

.bimble-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(30deg, transparent 48%, rgba(248, 248, 248, 0.22) 49%, rgba(248, 248, 248, 0.22) 50%, transparent 51%),
        linear-gradient(150deg, transparent 48%, rgba(248, 248, 248, 0.12) 49%, rgba(248, 248, 248, 0.12) 50%, transparent 51%);
    background-size: 90px 90px;
    content: "";
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 70%);
}

.bimble-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
    gap: clamp(40px, 8vw, 100px);
    align-items: center;
}

.bimble-hero h1 {
    max-width: 790px;
    margin: 0;
    color: var(--bimble-white);
    font-size: clamp(4rem, 8.2vw, 7.7rem);
    line-height: 0.88;
    text-wrap: balance;
}

.bimble-hero h1 em {
    color: var(--bimble-green);
    font-style: normal;
}

.bimble-hero-copy > p:not(.bimble-kicker) {
    max-width: 720px;
    margin: 1.6rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.8;
}

.bimble-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 2rem;
}

.bimble-button,
.entry-content .bimble-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.35rem;
    border: 2px solid var(--bimble-orange);
    border-radius: 999px;
    color: var(--bimble-charcoal);
    background: var(--bimble-orange);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.bimble-button:hover,
.bimble-button:focus-visible {
    color: var(--bimble-white);
    background: transparent;
    transform: translateY(-2px);
}

.bimble-button--ghost,
.entry-content .bimble-button--ghost {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--bimble-white);
    background: transparent;
}

.bimble-button--ghost:hover,
.bimble-button--ghost:focus-visible {
    border-color: var(--bimble-white);
    background: var(--bimble-white);
    color: var(--bimble-charcoal);
}

.bimble-hero-mark {
    position: relative;
    justify-self: center;
}

.bimble-hero-mark::after {
    position: absolute;
    z-index: -1;
    inset: 12% 7% 2%;
    border-radius: 50%;
    background: rgba(60, 94, 58, 0.28);
    filter: blur(45px);
    content: "";
}

.bimble-hero-mark img {
    width: min(390px, 100%);
    height: auto;
    filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.48));
}

.bimble-trust {
    color: var(--bimble-white);
    background: var(--bimble-forest-dark);
}

.bimble-trust-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
}

.bimble-trust-list li {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.77rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.bimble-trust-list li:last-child {
    border-right: 0;
}

.bimble-trust-list li::before {
    color: var(--bimble-orange);
    content: "◆";
    font-size: 0.6rem;
}

.bimble-section {
    padding: clamp(76px, 10vw, 130px) 0;
}

.bimble-section-header {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(300px, 0.5fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 3.2rem;
}

.bimble-section-header h2,
.bimble-about h2,
.bimble-contact h2 {
    margin: 0;
    color: var(--bimble-charcoal);
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: 0.94;
}

.bimble-section-header > p {
    margin: 0;
    color: #585d58;
    line-height: 1.75;
}

.bimble-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.bimble-service-card {
    position: relative;
    min-height: 555px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 32px;
    border: 1px solid #dedfda;
    border-radius: var(--bimble-radius);
    background: var(--bimble-white);
    box-shadow: 0 12px 30px rgba(13, 13, 13, 0.06);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.bimble-service-card:hover {
    border-color: rgba(60, 94, 58, 0.42);
    box-shadow: var(--bimble-shadow);
    transform: translateY(-7px);
}

.bimble-service-card--tyres:hover {
    border-color: rgba(255, 106, 0, 0.5);
}

.bimble-service-card img {
    width: auto;
    height: 245px;
    align-self: center;
    margin-bottom: 1.4rem;
    object-fit: contain;
}

.bimble-service-card h3 {
    margin: 0;
    color: var(--bimble-charcoal);
    font-size: 2.25rem;
    line-height: 1;
}

.bimble-service-card p {
    margin: 1rem 0 1.5rem;
    color: #5b605b;
    font-size: 0.95rem;
    line-height: 1.72;
}

.bimble-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--bimble-green);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-decoration: none;
    text-transform: uppercase;
}

.bimble-service-card--tyres .bimble-text-link {
    color: #cf5700;
}

.bimble-text-link::after {
    content: "→";
    transition: transform 180ms ease;
}

.bimble-text-link:hover::after {
    transform: translateX(4px);
}

.bimble-about {
    color: var(--bimble-white);
    background: var(--bimble-charcoal);
}

.bimble-about-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(45px, 9vw, 120px);
    align-items: center;
}

.bimble-about-mark {
    position: relative;
    min-height: 440px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--bimble-radius);
    background:
        linear-gradient(145deg, rgba(60, 94, 58, 0.3), transparent 60%),
        #151715;
}

.bimble-about-mark::before,
.bimble-about-mark::after {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 50%;
    content: "";
}

.bimble-about-mark::before {
    width: 430px;
    height: 430px;
}

.bimble-about-mark::after {
    width: 300px;
    height: 300px;
}

.bimble-about-mark span {
    z-index: 1;
    color: var(--bimble-white);
    font-family: var(--bimble-display);
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.82;
    text-align: center;
    text-transform: uppercase;
}

.bimble-about-mark strong {
    display: block;
    color: var(--bimble-orange);
    font: 700 0.72rem/1.4 var(--bimble-body);
    letter-spacing: 0.19em;
}

.bimble-about h2 {
    color: var(--bimble-white);
}

.bimble-about-copy > p:not(.bimble-kicker) {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.85;
}

.bimble-process {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    counter-reset: process;
}

.bimble-process-item {
    position: relative;
    padding: 34px 30px;
    border-top: 3px solid var(--bimble-green);
    background: var(--bimble-white);
    counter-increment: process;
}

.bimble-process-item::before {
    display: block;
    margin-bottom: 1.3rem;
    color: var(--bimble-orange);
    content: "0" counter(process);
    font-family: var(--bimble-display);
    font-size: 2.1rem;
}

.bimble-process-item h3 {
    margin: 0 0 0.7rem;
    font-size: 2rem;
}

.bimble-process-item p {
    margin: 0;
    color: #5d625d;
    font-size: 0.92rem;
    line-height: 1.7;
}

.bimble-contact {
    position: relative;
    overflow: hidden;
    margin-bottom: clamp(70px, 8vw, 110px);
    padding: clamp(45px, 7vw, 80px);
    border-radius: calc(var(--bimble-radius) + 4px);
    color: var(--bimble-white);
    background: var(--bimble-forest-dark);
}

.bimble-contact::after {
    position: absolute;
    right: -60px;
    bottom: -130px;
    width: 390px;
    height: 390px;
    border: 70px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    content: "";
}

.bimble-contact-inner {
    position: relative;
    z-index: 1;
    max-width: 780px;
}

.bimble-contact h2 {
    color: var(--bimble-white);
}

.bimble-contact p {
    max-width: 670px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.8;
}

.bimble-contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.bimble-contact-details a {
    color: var(--bimble-white);
    font-weight: 600;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 4px;
}

.site-footer,
#colophon {
    color: rgba(255, 255, 255, 0.72);
    background: var(--bimble-charcoal);
}

.site-footer a,
#colophon a {
    color: var(--bimble-white);
}

.bimble-prose .entry-content,
.single-content {
    font-family: var(--bimble-body);
}

.bimble-prose .entry-content a,
.single-content a {
    color: var(--bimble-green);
}

@media (max-width: 980px) {
    .bimble-hero-grid,
    .bimble-about-grid {
        grid-template-columns: 1fr;
    }

    .bimble-hero {
        min-height: auto;
    }

    .bimble-hero-mark img {
        width: min(310px, 72vw);
    }

    .bimble-section-header {
        grid-template-columns: 1fr;
    }

    .bimble-services {
        grid-template-columns: 1fr;
    }

    .bimble-service-card {
        min-height: 0;
    }

    .bimble-service-card img {
        height: 230px;
    }
}

@media (max-width: 720px) {
    .bimble-shell {
        width: min(100% - 28px, 1180px);
    }

    .bimble-hero h1 {
        font-size: clamp(3.7rem, 17vw, 5.8rem);
    }

    .bimble-trust-list,
    .bimble-process {
        grid-template-columns: 1fr;
    }

    .bimble-trust-list li {
        min-height: 65px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .bimble-trust-list li:last-child {
        border-bottom: 0;
    }

    .bimble-about-mark {
        min-height: 330px;
    }

    .bimble-contact {
        padding: 40px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
