/* ==========================================================================
   Brick & Mojo — site styles (matched to the original Wix site)
   ========================================================================== */

:root {
    /* Colors (sampled from the live site) */
    --ink:        #1e1e1e;   /* text, dark bands, dark buttons */
    --white:      #ffffff;
    --paper:      #f5f5f5;   /* page background, light buttons */
    --header:     #545454;   /* header band (matches logo background) */
    --mist:       #eeeeee;   /* "put us to work" band */
    --sand:       #e4e0dc;   /* services band */
    --stone:      #e0e0e0;   /* project cards */
    --rule:       #dbdbdb;   /* thin band above dark CTA (About) */
    --mauve:      #8c665f;   /* "consultative." titles, testimonial names */
    --brick:      #662c21;   /* "learn more >>" button */
    --sage:       #899791;   /* phone numbers, sub-heading, chat button */
    --sage-light: #b7cac1;   /* menu, email link on dark */

    /* Fonts */
    --f-main:   "Poppins", "Helvetica Neue", Arial, sans-serif;
    --f-script: "Caveat", "Brush Script MT", cursive;

    --content: 980px;        /* text column width */
    --wide:    1252px;       /* image sections (hero, cards) */
    --gutter:  20px;
}

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

html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-main);
    font-weight: 200;
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.2; }
strong { font-weight: 400; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
    display: inline-block;
    min-width: 160px;
    padding: 9px 26px;
    font: 200 15px/22px var(--f-main);
    text-align: center;
    text-decoration: none;
    border: 0;
    transition: opacity .2s, background-color .2s;
}
.btn:hover { opacity: .85; }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-dark  { background: var(--ink); color: var(--white); }
.btn-brick { background: var(--brick); color: var(--white); }

/* Header ----------------------------------------------------------------- */
.site-header { background: var(--header); position: relative; z-index: 50; }
.header-inner {
    max-width: calc(var(--content) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 0 var(--gutter);
    min-height: 190px;
    display: flex;
    align-items: center;
    gap: 30px;
}
.logo img { width: 196px; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.nav-link {
    font-weight: 200;
    font-size: 28px;
    line-height: 1;
    color: var(--sage-light);
    text-decoration: none;
    transition: color .2s;
}
.nav-link:hover, .nav-link.is-active { color: var(--white); }

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px; height: 44px;
    background: none; border: 0; padding: 0;
    cursor: pointer;
    position: relative;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
    position: absolute; left: 8px;
    width: 28px; height: 2px;
    background: var(--sage-light);
    content: "";
    transition: transform .2s, top .2s, opacity .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -9px; }
.nav-toggle-bar::after  { left: 0; top: 9px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle-bar::after  { top: 0; transform: rotate(-45deg); }

/* Shared section bits ---------------------------------------------------- */
.section-title { font-size: 37px; text-align: center; }

.page-intro {
    max-width: calc(var(--content) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 50px var(--gutter) 50px;
    line-height: 1.85;
}
.page-intro--title-only { padding-bottom: 30px; }
.page-title { font-size: 46px; margin-bottom: 26px; }
.page-intro--title-only .page-title { margin-bottom: 0; }

.cta-band {
    background: var(--ink);
    color: var(--white);
    text-align: center;
    padding: 92px var(--gutter) 110px;
}
.cta-band h2 { font-size: 25px; margin-bottom: 58px; }
.cta-band .btn { min-width: 173px; }

.band-rule { height: 28px; background: var(--rule); }

/* Home: hero -------------------------------------------------------------- */
.hero {
    max-width: var(--wide);
    margin: 0 auto;
    min-height: 780px;
    background-color: #8a8a8a;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--white);
}
.hero-text { padding: 72px 82px; }
.hero h1 { font-weight: 200; margin-bottom: 44px; }
.hero-script {
    display: block;
    font-family: var(--f-script);
    font-weight: 400;
    font-size: 64px;
    line-height: 1.1;
}
.hero-line { display: block; font-size: 46px; line-height: 1.3; letter-spacing: -.5px; }
.hero .btn { min-width: 183px; }

/* Home: "all things home." ----------------------------------------------- */
.intro {
    max-width: var(--wide);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 626px 1fr;
}
.intro-image img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 626 / 664; }
.intro-text { padding: 105px 40px 60px 90px; max-width: 520px; }
.intro-text .section-title { text-align: left; margin-bottom: 48px; }
.intro-text p { max-width: 400px; line-height: 1.67; margin-bottom: 40px; }
.intro-text .btn { display: block; width: 160px; margin-left: calc(400px - 160px); }

/* Home: "why choose us." ------------------------------------------------- */
.why-us { padding: 85px var(--gutter) 30px; }
.why-grid {
    max-width: 1413px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.why-item { text-align: center; padding: 0 10px; }
.why-item h3 { font-size: 19px; color: var(--mauve); margin-bottom: 38px; }
.why-item p { max-width: 235px; margin: 0 auto; line-height: 1.67; }

/* Home: "put us to work." ------------------------------------------------ */
.put-to-work { background: var(--mist); padding: 62px var(--gutter) 70px; text-align: center; }
.work-grid {
    max-width: var(--wide);
    margin: 75px auto 70px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}
.work-card { position: relative; display: block; text-decoration: none; color: var(--ink); overflow: hidden; }
.work-card img { width: 100%; aspect-ratio: 398 / 727; object-fit: cover; transition: transform .6s; }
.work-card:hover img { transform: scale(1.03); }
.work-label {
    position: absolute; left: 0; right: 0;
    padding: 0 30px;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.4;
    text-align: center;
}
.work-card--middle .work-label { top: 39%; }
.work-card--bottom .work-label { bottom: 30px; }
.work-card--top    .work-label { top: 40px; }
.work-label { max-width: 300px; margin: 0 auto; }

/* Home: testimonials ----------------------------------------------------- */
.testimonials {
    padding: 110px var(--gutter) 94px;
    background-color: #eef0f4;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.testimonial-grid {
    max-width: 1070px;
    margin: 70px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.testimonial { margin: 0; padding: 0 10px; text-align: center; }
.quote-mark { display: block; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 90px; line-height: 1; height: 44px; }
.testimonial blockquote { margin: 60px auto 26px; max-width: 232px; line-height: 1.75; }
.testimonial figcaption { color: var(--mauve); font-weight: 600; font-size: 19px; }

/* Home: "want some mojo?" (dark contact section) ------------------------- */
.mojo { background: var(--ink); color: var(--white); padding: 125px var(--gutter) 110px; }
.mojo-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 40px;
}
.mojo-info { padding-left: 22px; }
.mojo h2 { font-size: 40px; margin: 6px 0 30px; }
.mojo-sub { color: var(--sage); font-size: 27px; line-height: 1.85; max-width: 420px; margin-bottom: 120px; }
.mojo-email { font-size: 23px; margin-bottom: 4px; }
.mojo-email a { color: var(--sage-light); }
.mojo-phone { font-size: 32px; margin-bottom: 70px; }
.mojo-phone a { color: var(--white); text-decoration: none; }
.mojo-area { margin-left: -6px; }

/* Contact form (shared by Home + Contact) -------------------------------- */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 10px; row-gap: 18px; align-content: start; }
.contact-form .field-full { grid-column: 1 / -1; }
.contact-form label { display: block; font-size: 15px; line-height: 22px; margin: 0 0 2px; }
.contact-form input,
.contact-form textarea {
    width: 100%;
    font: 200 15px var(--f-main);
    color: inherit;
    background: transparent;
    border: 0;
    border-bottom: 1px solid currentColor;
    line-height: 20px;
    padding: 2px 0 6px;
    border-radius: 0;
}
.contact-form textarea { height: 150px; resize: vertical; padding-top: 0; }
.contact-form ::placeholder { color: inherit; opacity: 1; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-width: 2px; }
.btn-submit {
    height: 49px;
    border: 0;
    font: 200 15px var(--f-main);
    cursor: pointer;
    margin-top: -2px;
    transition: opacity .2s;
}
.btn-submit:disabled { opacity: .5; cursor: not-allowed; }
.contact-form--dark  { color: var(--white); }
.contact-form--dark  .btn-submit { background: var(--paper); color: var(--ink); }
.contact-form--light { color: var(--ink); }
.contact-form--light .btn-submit { background: var(--ink); color: var(--white); }
.btn-submit:hover:not(:disabled) { opacity: .88; }

/* Honeypot "Zip Code" field — hidden from people, visible to bots reading the HTML */
.zip-field { display: none; }

/* Form errors */
.form-alert {
    margin: 0;
    padding: 10px 14px;
    background: #8f1d1d;
    color: var(--white);
    font-size: 15px;
    font-weight: 300;
}
.field-error { display: block; margin: 6px 0 0; font-size: 13px; font-weight: 400; }
.contact-form--dark  .field-error { color: #f2a7a0; }
.contact-form--light .field-error { color: #8f1d1d; }
.contact-form--dark  .field.has-error input { border-bottom: 2px solid #f2a7a0; }
.contact-form--light .field.has-error input { border-bottom: 2px solid #8f1d1d; }

/* About ------------------------------------------------------------------ */
.banner-image img { width: 100%; height: 650px; object-fit: cover; }
.bio {
    max-width: 1170px;
    margin: 0 auto 0 max(0px, calc(50% - 522px));   /* sits right of center, like the original */
    padding: 36px var(--gutter) 70px;
    display: grid;
    grid-template-columns: 1fr 421px;
    gap: 50px;
    align-items: start;
}
.bio + .bio { padding-top: 40px; }
.bio-text { padding-left: 10px; }
.bio h2 { margin: 18px 0 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 36px; }
.bio-greeting { font-size: 54px; }
.bio-intro { font-size: 24px; }
.bio-text p { padding-left: 22px; line-height: 1.53; margin-bottom: 1.5em; }
.bio-photo img { width: 100%; }

/* Services --------------------------------------------------------------- */
.services { padding: 0 40px; }
.services-grid {
    background: var(--sand);
    padding: 13px 54px 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    max-width: 1333px;
    margin: 0 auto;
}
.service img { width: 248px; max-width: 89%; aspect-ratio: 248 / 300; object-fit: cover; }
.service-card {
    position: relative;
    background: var(--paper);
    margin: -47px 0 0 7px;
    padding: 30px 17px 34px;
    max-width: 279px;
}
.service-card h2 { font-size: 18px; margin-bottom: 12px; }
.service-card p { line-height: 1.8; }

/* Projects --------------------------------------------------------------- */
.projects {
    max-width: 1337px;
    margin: 0 auto;
    padding: 20px var(--gutter) 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 39px;
}
.project { background: var(--stone); display: grid; grid-template-columns: 325px 1fr; min-height: 436px; align-items: start; }
.project img { width: 100%; aspect-ratio: 325 / 282; object-fit: cover; }
.project-text { padding: 28px 24px 30px; max-width: 280px; font-size: 16px; line-height: 1.37; }
.project-text h2 { font-size: 18px; line-height: 1.45; margin-bottom: 30px; }
.project-text .em { font-weight: 300; }
.project-text .em span { font-weight: 200; }

/* Contact page ----------------------------------------------------------- */
.contact-page { padding: 50px var(--gutter) 105px; }
.contact-page-inner {
    max-width: 1020px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 460px;
    gap: 40px;
}
.contact-details h1 { font-size: 30px; margin: 10px 0 52px; }
.contact-details p { line-height: 1.75; margin-bottom: 1.9em; }
.contact-address a { color: var(--ink); }
.contact-phone { font-size: 52px; line-height: 1.2; letter-spacing: -1px; }
.contact-phone a { color: var(--sage); text-decoration: none; }
.contact-page .contact-form { margin-top: 10px; }
.map-block iframe {
    display: block;
    width: 100%;
    height: 470px;
    border: 0;
    filter: grayscale(1) invert(.88) contrast(.9);   /* dark map, like the Wix site */
}

/* Success page ------------------------------------------------------------ */
.success-block { text-align: center; padding: 90px var(--gutter) 110px; }
.success-block h1 { font-size: 40px; margin-bottom: 24px; }
.success-contact { font-size: 20px; line-height: 1.7; margin-bottom: 40px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--paper); }
.footer-inner {
    max-width: calc(var(--content) + var(--gutter) * 2);
    margin: 0 auto;
    padding: 56px var(--gutter) 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.copyright { margin: 0; font-size: 14px; }
.social { list-style: none; margin: 0 50px 0 0; padding: 0; display: flex; gap: 8px; }
.social img { width: 23px; height: 23px; }
.social a:hover { opacity: .7; }

/* Floating chat button --------------------------------------------------- */
.chat-button {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 90;
    display: flex; align-items: center; gap: 10px;
    background: var(--sage);
    color: var(--white);
    padding: 12px 34px 12px 30px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}
.chat-button:hover { filter: brightness(1.07); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1200px) {
    .intro { grid-template-columns: 1fr 1fr; }
    .intro-text { padding: 70px 40px 50px 50px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); padding: 30px 40px 40px; row-gap: 50px; }
    .service img { width: 100%; max-width: 89%; }
    .service-card { max-width: none; }
    .projects { grid-template-columns: 1fr; max-width: 700px; }
}

@media (max-width: 900px) {
    .header-inner { min-height: 120px; }
    .logo img { width: 130px; }
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--header);
        padding: 10px var(--gutter) 26px;
    }
    .nav-open .site-nav { display: block; }
    .site-nav ul { flex-direction: column; gap: 14px; align-items: center; }

    .hero { min-height: 520px; }
    .hero-text { padding: 50px 28px; }
    .hero-script { font-size: 46px; }
    .hero-line { font-size: 32px; }

    .intro { grid-template-columns: 1fr; }
    .intro-text { padding: 50px 28px; max-width: none; }
    .intro-text .btn { margin-left: 0; }

    .why-grid { grid-template-columns: 1fr 1fr; row-gap: 50px; }
    .why-item h3 { margin-bottom: 16px; }

    .work-grid { grid-template-columns: 1fr; max-width: 420px; }
    .work-card img { aspect-ratio: 4 / 5; }

    .testimonial-grid { grid-template-columns: 1fr; row-gap: 50px; }
    .testimonial blockquote { margin-top: 40px; max-width: 360px; }

    .mojo { padding: 70px var(--gutter); }
    .mojo-inner, .contact-page-inner { grid-template-columns: 1fr; gap: 50px; }
    .mojo-info { padding-left: 0; }
    .mojo-sub { margin-bottom: 40px; }
    .mojo-phone { margin-bottom: 30px; }
    .mojo-area { margin-left: 0; }

    .banner-image img { height: 360px; }
    .bio { grid-template-columns: 1fr; gap: 30px; margin: 0 auto; }
    .bio-photo { order: -1; max-width: 360px; }
    .bio-text, .bio-text p { padding-left: 0; }

    .page-title { font-size: 38px; }
    .contact-phone { font-size: 40px; }
    .map-block iframe { height: 360px; }
}

@media (max-width: 600px) {
    .section-title { font-size: 30px; }
    .why-grid { grid-template-columns: 1fr; }
    .services { padding: 0; }
    .services-grid { grid-template-columns: 1fr; padding: 30px 20px 40px; }
    .service img { max-width: 100%; }
    .service-card { margin: -40px 0 0 14px; }
    .project { grid-template-columns: 1fr; min-height: 0; }
    .project-text { max-width: none; }
    .mojo h2 { font-size: 32px; }
    .mojo-sub { font-size: 22px; }
    .contact-form { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; padding: 40px var(--gutter) 90px; }
    .social { margin: 0; }
    .chat-button { padding: 10px 20px; font-size: 16px; right: 12px; bottom: 12px; }
    .bio-greeting { font-size: 44px; }
}
