/* FOCUS Architecture — rebuilt from the live Elementor site (focusai.ca, captured 2026-10-21).
   Breakpoints follow Elementor: tablet <= 1024px, mobile <= 767px. */

:root {
    --red: #96191E;      /* Elementor global primary */
    --grey: #5F5454;     /* global secondary */
    --light: #B6B6B6;    /* global accent */
    --poppins: "Poppins", Sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    background: #fff;
}
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: #000; text-decoration: none; }
a:hover { color: var(--red); }
p { margin: 0 0 .9rem; }
h1, h2, h3 { margin: 0; }
button { font: inherit; }
.mobile-only, .people-col img.mobile-only { display: none; }

/* ---------- Header (fixed overlay, like the sticky Elementor header) ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; height: 0; z-index: 100; }
.header-bar { position: absolute; top: 0; left: 0; right: 0; height: 46px; background: #fff; }
.site-logo { position: absolute; top: -8px; left: 50px; width: 91px; z-index: 1; }
.site-logo img { display: block; width: 100%; }
.main-nav { position: absolute; top: 0; right: 50px; display: flex; z-index: 2; }
.main-nav a {
    position: relative;
    display: block;
    padding: 13px 20px;
    font: 400 17px/20px var(--poppins);
    text-transform: uppercase;
    color: var(--grey);
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--red);
    opacity: 0;
    transition: opacity .3s;
}
.main-nav a:hover, .main-nav a.active { color: var(--grey); }
.main-nav a:hover::after, .main-nav a.active::after { opacity: 1; }

.menu-toggle {
    display: none;
    position: absolute;
    top: 7px; right: 30px;
    width: 33px; height: 33px;
    padding: 5.5px;
    border: 0;
    border-radius: 3px;
    background: rgba(0, 0, 0, .05);
    color: #33373D;
    cursor: pointer;
    z-index: 3;
}
.menu-toggle svg { display: block; width: 22px; height: 22px; fill: currentColor; }
.menu-toggle .icon-close, .menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
.dropdown-nav {
    display: none;
    position: absolute;
    top: 43px; left: 0; right: 0;
    background: #fff;
    z-index: 3;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .3s;
}
.menu-open .dropdown-nav { transform: scaleY(1); }
.dropdown-nav a {
    display: block;
    padding: 10px 20px;
    font: 400 17px/20px var(--poppins);
    text-transform: uppercase;
    text-align: center;
    color: #33373D;
}
.dropdown-nav a:hover, .dropdown-nav a.active { background: #3F444B; color: #fff; }

/* ---------- Home slider ---------- */
.hero-slider { position: relative; height: 695px; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide-bg { position: absolute; inset: 0; background: #bbb center / cover no-repeat; }
.slide-inner { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 50px; color: #fff; text-align: center; }
.slide-inner.text-right { text-align: right; }
.slide-caption { margin-left: auto; font: 400 12px/1.4 var(--poppins); }
.slide.is-active .slide-caption { animation: fadeInUp 1.25s both; }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
.slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 25px; height: 25px;
    margin-top: -12.5px;
    padding: 0;
    border: 0;
    background: none;
    color: rgba(238, 238, 238, .9);
    cursor: pointer;
}
.slider-arrow svg { display: block; width: 25px; height: 25px; fill: currentColor; }
.slider-prev { left: 10px; }
.slider-next { right: 10px; }

/* ---------- Page hero bands ---------- */
.page-hero { height: 350px; background-size: 100% auto; background-attachment: fixed; }
.page-hero--completed { background-position: 0 -150px; }
.page-hero--in-progress { background-position: 0 -278px; background-repeat: no-repeat; }
.page-hero--people { margin-top: 35px; background-position: -33px -223px; background-size: cover; background-repeat: no-repeat; } /* live: Elementor motion layer, cover */

/* ---------- Completed Projects / In Progress ---------- */
.listing-heading { padding: 50px 10px 27px; text-align: center; }
.listing-heading h2 { font: 400 42px/1 var(--poppins); text-transform: uppercase; color: var(--grey); }
.portfolio { max-width: 1150px; min-height: 400px; margin: 0 auto; padding-bottom: 20px; } /* live: hidden mobile widget below adds 20px */
.page-in-progress .listing-heading { padding: 40px 10px 37px; }
.portfolio-masonry { display: flex; gap: 20px; align-items: flex-start; }
.portfolio-masonry--2, .portfolio-grid { display: none; }
.portfolio-col { flex: 1 1 0; min-width: 0; }
.portfolio-col .portfolio-item + .portfolio-item { margin-top: 20px; }
.portfolio-item a { position: relative; display: block; overflow: hidden; }
.portfolio-item img { display: block; width: 100%; }
.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    background: #000000AD;
    opacity: 0;
    transition: opacity .5s;
}
.portfolio-item a:hover .portfolio-overlay { opacity: 1; }
.portfolio-title { width: 100%; font: 300 31px/1 var(--poppins); text-transform: uppercase; text-align: center; color: #fff; }
.portfolio--in-progress .portfolio-title { font-size: 29px; }

/* ---------- Single project ---------- */
.project-hero { height: 416px; margin-top: -71px; background: center / cover no-repeat; }
.project-head { max-width: 1123px; margin: 42px auto 0; padding-top: 35px; }
.project-head h2 { font: 400 37px/1 var(--poppins); text-transform: uppercase; color: var(--grey); }
.project-location { font: 400 16px/1.5 var(--poppins); text-transform: uppercase; color: var(--light); }
.project-body { max-width: 1166px; margin: 0 auto; padding: 20px; }
.project-body--narrow-gallery .gallery { max-width: var(--gallery-max); margin: 0 auto; }
.project-body--narrow-gallery { padding-bottom: 21px; } /* live: gallery sits in its own section followed by an empty one */
.project-text { display: flow-root; margin-bottom: 20px; }
.project-text p { margin-bottom: .9rem; }
.text-style-a { font: 200 16px/1.5 var(--poppins); color: #000; }
.text-style-b { font: 400 15px/1.5 var(--poppins); color: var(--grey); }

/* ---------- Lightbox galleries (project pages, About Us) ---------- */
.gallery { display: flex; gap: var(--gap); align-items: flex-start; }
.gallery--t, .gallery--m { display: none; }
.gallery-col { flex: 1 1 0; min-width: 0; }
.gallery-col .gallery-item + .gallery-item { margin-top: var(--gap); }
.gallery-item { position: relative; display: block; overflow: hidden; }
.gallery-item img { display: block; width: 100%; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background-color .8s; }
.gallery-item:hover .gallery-overlay, .gallery-item:focus .gallery-overlay { background: rgba(0, 0, 0, .5); }

/* ---------- About Us ---------- */
.people-row { display: flex; max-width: 1160px; margin: 0 auto; padding: 0 40px 33px; }
.people-row h2 { font: 400 37px/1 var(--poppins); text-transform: uppercase; color: var(--grey); }
.people-text { font: 400 15px/1.5 var(--poppins); color: var(--grey); }
.people-col img { display: block; width: 100%; }
.people-who-text { width: 67.096%; padding-top: 80px; }
.people-who-text .people-text { margin-top: 20px; padding-right: 45px; }
.people-who-img { width: 32.856%; padding: 10px; }
.people-who-img img { margin-top: 35px; }
.people-believe { padding-top: 22px; padding-bottom: 0; }
.people-believe-img { width: 40.24%; padding: 10px; }
.people-believe-img img { width: calc(100% + 9px); max-width: none; margin: -38px 0 0 -9px; }
.people-believe-text { width: 59.76%; margin-top: 30px; padding-left: 45px; }
.people-believe-text h2 { font-size: 35px; }
.people-believe-text .people-text { margin-top: 20px; }
.people-leader { max-width: 1080px; padding: 19px 0 0; }
.people-leader-text { width: 66.655%; padding-right: 60px; display: flex; flex-direction: column; justify-content: center; }
.people-leader-text > h2:first-child { margin-top: 21px; padding-bottom: 10px; }
.people-leader .leader-name { font: 400 24px/1 var(--poppins); text-transform: uppercase; color: var(--red); }
.people-leader .leader-role { font: 400 17px/1 var(--poppins); text-transform: uppercase; color: var(--light); }
.people-leader-text .people-text { margin-top: 18px; }
.people-leader-img { width: 33.345%; padding: 10px; display: flex; align-items: center; }
.people-join-img { width: 52.56%; padding: 10px; }
.people-join-img img { margin-top: 44px; }
.people-join-text { width: 47.392%; padding: 41px 0 0 40px; }
.people-join-text .people-text { margin-top: 20px; }
.people-gallery { max-width: 1080px; margin: 0 auto; padding: 10px 10px 31px; } /* live: hidden mobile gallery widget adds 20px, then a 1px empty section */

/* ---------- Contact ---------- */
.contact-map { margin: 35px 0 -20px; padding: 10px; }
.contact-map iframe { display: block; width: 100%; border: none; }
.map-desktop { height: 600px; margin-bottom: 26px; }
.contact-map .map-mobile { display: none; height: 350px; }

/* ---------- 404 (mirrors the theme default on live) ---------- */
.not-found { max-width: 1140px; margin: 0 auto; padding: 0 10px; }
.not-found h1 { margin-bottom: .5rem; font-size: 2.5rem; font-weight: 500; line-height: 1.2; color: #333; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 47px; font-family: var(--poppins); }
.footer-row { display: flex; max-width: 1280px; margin: 0 auto; }
.footer-col { min-width: 0; }
.footer-brand { width: 25.286%; padding-bottom: 20px; }
.footer-logo { display: block; width: 221px; margin: 9px 0 0 30px; }
.copyright { margin: 17px 0 0 45px; font: 400 11px/1 var(--poppins); text-transform: uppercase; color: #000; }
.rights { margin: 1px 0 0 45px; font: 400 11px/1.2 var(--poppins); text-transform: uppercase; color: #000; }
.rights strong { font-weight: 700; }
.focus-red { color: #993300; }
.footer-links { width: 57.453%; display: flex; align-items: center; padding: 0 0 0 226px; }
.footer-links p { font: 400 13px/1.5 var(--poppins); color: var(--grey); }
.footer-contact { width: 16.568%; display: flex; align-items: center; padding: 10px; }
.footer-contact ul { margin: 0; padding: 0; list-style: none; }
.footer-contact li + li { margin-top: 7px; }
.footer-contact a { display: flex; align-items: flex-start; color: var(--grey); }
.footer-contact .icon { flex: 0 0 auto; width: 17.5px; margin-right: 6px; display: flex; justify-content: center; padding-top: 2.75px; }
.footer-contact .icon svg { width: 14px; height: 14px; fill: var(--red); }
.footer-contact .text { padding-left: 5px; font: 400 13px/1.5 var(--poppins); text-transform: uppercase; color: var(--grey); }
.footer-mobile-brand { display: none; }
.site-footer::after { content: ""; display: block; height: 30px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
    .main-nav { display: none; }
    .menu-toggle, .dropdown-nav { display: block; }
    .page-hero { background-attachment: scroll; background-position: 0 0; }
    .portfolio { padding: 10px 10px 30px; }
    .page-in-progress .listing-heading { padding: 50px 10px 27px; }
    .portfolio-masonry--3 { display: none; }
    .portfolio-masonry--2 { display: flex; }
    .gallery--d { display: none; }
    .gallery--t { display: flex; }
    .footer-links { display: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .site-logo { top: 0; left: 20px; }
    .menu-toggle { right: 20px; }
    .mobile-only, .people-col img.mobile-only { display: block; }

    .hero-slider { height: 400px; }
    .slide-inner { padding: 30px; }
    .slide-caption { padding-bottom: 15px; }

    .page-hero, .page-hero--people { background-size: cover; background-repeat: no-repeat; background-position: 0 0; }

    .listing-heading h2 { font-size: 23px; }
    .page-in-progress .listing-heading h2 { font-size: 24px; }
    .portfolio { padding-bottom: 10px; }
    .portfolio-masonry--2 { display: none; }
    .portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; padding: 0 10px; }
    .portfolio--in-progress .portfolio-grid { gap: 10px; }
    .portfolio-grid .portfolio-item a { padding-bottom: 87%; }
    .portfolio--in-progress .portfolio-grid .portfolio-item a { padding-bottom: 90%; }
    .portfolio-grid .portfolio-item img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
    .portfolio-grid .portfolio-title { font-size: 18px; font-weight: 400; }

    .project-head { padding-top: 0; text-align: center; }
    .project-head h2 { font-size: 25px; }
    .project-location { font-size: 14px; }
    .project-body { padding: 20px 35px; }
    .gallery--t { display: none; }
    .gallery--m { display: flex; }
    .gallery--square { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .gallery--square .gallery-item { aspect-ratio: 1 / 1; }
    .gallery--square .gallery-item img { height: 100%; object-fit: cover; }

    .people-row, .people-leader { display: block; padding: 0; }
    .people-row h2, .people-believe-text h2 { font-size: 25px; text-align: center; }
    .people-col { display: flow-root; width: auto; padding: 0; margin: 0; }
    .people-who { padding: 21px 15px 15px; }
    .people-who-text .people-text { padding: 0 15px; }
    .people-who-img img { margin-top: 30px; }
    .people-believe-img { padding: 0 15px; }
    .people-believe-img img { width: 100%; margin: 0; }
    .people-believe-text { padding: 33px; }
    .people-leader-text { margin-top: 21px; padding: 0 15px; }
    .people-leader-text > h2:first-child { margin-top: 0; padding-bottom: 0; }
    .people-leader-photo-m { width: 100%; margin-top: 25px; }
    .people-leader .leader-name { padding-top: 14px; text-align: center; }
    .people-leader .leader-role { text-align: center; }
    .people-leader-text .people-text { padding: 0 15px; }
    .people-leader-img { display: none; }
    .people-join { padding: 0 15px; }
    .people-join-img img { margin-top: 30px; }
    .people-join-text h2 { padding-top: 21px; }
    .people-join-text .people-text { padding: 0 10px 10px; }
    .people-gallery { padding-bottom: 11px; }

    .contact-map { margin-bottom: -20px; }
    .contact-map .map-desktop { display: none; }
    .contact-map .map-mobile { display: block; margin-bottom: 6px; }

    .footer-brand { display: none; }
    .footer-contact { width: 100%; padding: 0 22px 0 76px; display: block; }
    .site-footer::after { display: none; }
    .footer-mobile-brand { display: block; padding: 48px 0 18px 40px; }
    .footer-mobile-brand .footer-logo { width: 132px; margin: 0 0 0 30px; }
    .footer-mobile-brand .copyright { margin: 6px 0 0 37px; }
    .footer-mobile-brand .rights { margin: 0 0 .9rem 40px; }
}
