/*
Theme Name: Forcefield Stratum
Author: Forcefield Web Development
Author URI: https://forcefieldnc.com
Version: 2.88
Description: Custom base theme
*/

/* ============================================================
   FONTS
   ============================================================ */

@font-face {
    font-family: 'Josefin Sans';
    src: url('fonts/JosefinSans-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Outfit';
    src: url('fonts/Outfit-VariableFont_wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   BASE
   ============================================================ */

body, html {
    font-family: 'Outfit' !important;
}

#wrapper {
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    border-bottom: 1px solid var(--lt-border);
    padding: 0 36px;
    display: flex;
    align-items: center;
    height: 125px;
    transition: background-color 0.4s ease;
}

.site-header.is-scrolled {
    background-color: #fff;
    box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #ddd;
}

body.admin-bar .site-header {
    top: 32px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
    height: 125px;
}

/* ── Logo ── */

.logo-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-primary,
.logo-scrolled {
    top: 0;
    left: 0;
    width: 150px;
    height: auto;
    display: block;
}

.logo-primary {
    position: absolute;
    width: 150px;
    opacity: 1;
    transition: opacity 0.35s ease;
}

.logo-scrolled {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.site-header.is-scrolled .logo-primary {
    opacity: 0;
    pointer-events: none;
}

.site-header.is-scrolled .logo-scrolled {
    opacity: 1;
    pointer-events: auto;
}

/* ── Nav ── */

.nav-left {
    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav > li {
    position: relative;
}

.site-header ul li a {
    font-family: 'Josefin Sans';
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    color: #fff !important;
    text-decoration: none;
}

.site-header.is-scrolled ul li a {
    color: #000 !important;
}

/* ── Hamburger ── */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #000;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ── Mobile Drawer ── */

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    padding: 80px 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.12);
}

.mobile-drawer.is-open {
    right: 0;
}

.drawer-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #000;
}

.drawer-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-nav li { border-bottom: 1px solid #eee; }

.drawer-nav a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    color: #000;
    text-decoration: none;
}

.drawer-nav a:hover { opacity: 0.6; }

.drawer-cta {
    display: inline-block;
    margin-top: 24px;
}

.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1999;
}

.drawer-overlay.is-open { display: block; }

/* ── No-hero state ── */

.no-hero .site-header {
    background: #fff;
    box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

.no-hero .logo-primary { opacity: 0; }
.no-hero .logo-scrolled { opacity: 1; }

.no-hero .main-nav > li > a {
    color: #000 !important;
}

/* ============================================================
   HERO / SLIDER
   ============================================================ */

.home-slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.home-slider-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 1;
}

.home-slider-splide {
    width: 100%;
    height: 100%;
}

.home-slider-splide .splide__track,
.home-slider-splide .splide__list,
.home-slider-splide .splide__slide {
    width: 100%;
    height: 100%;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.splide__pagination {
    display: none;
}

/* ============================================================
   PROJECT HERO
   ============================================================ */

.project-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.product-hero {
    height: 400px;
}

.project-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
    z-index: 0;
}

.project-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.project-hero-title {
    position: relative;
    z-index: 1;
    color: #fff;
    text-align: center;
    margin: 0;
    font-weight: 300;
    width: 100%;
    font-size: 65px;
}

.project-hero-title,
.hero-scroll-caret {
    z-index: 1;
}

.hero-scroll-caret {
    display: flex;
    justify-content: center;
    margin: 40px auto 0;
    z-index: 1;
    width: 80px !important;
    color: #fff;
    opacity: 0.85;
    animation: caret-bounce 2s ease-in-out infinite;
    cursor: pointer;
}

@keyframes caret-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.85; }
    50%       { transform: translateY(8px); opacity: 1; }
}

#the-text {
    scroll-margin-top: 225px;
}

/* ============================================================
   PROJECT CONTENT
   ============================================================ */

.project-content-wrap .content-wrap {
    padding: 50px;
    font-weight: 300;
    font-size: 18px;
    max-width: 990px;
    margin: auto;
}

/* ============================================================
   TEXT BLOCKS
   ============================================================ */

.gray-text-block {
    background-color: #f8f8f8;
}

.eyebrow {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 7px;
    font-size: 11px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
}

.inner-text {
    max-width: 1300px;
    margin: auto;
    background-color: #f8f8f8;
    padding: 80px;
    font-size: 18px;
    font-weight: 300;
    line-height: 32px;
}

.gray-text-block h2 {
    font-family: 'Josefin Sans';
    font-size: 40px;
    font-weight: 400;
    display: block;
    max-width: 700px;
    line-height: 44px !important;
}

/* ── CTA Section ── */

.cta-section {
    background-color: #333 !important;
    text-align: center;
}

.cta-section .inner-text {
    background-color: #333;
}

.cta-section .wpforms-required-label {
    display: none;
}

.cta-section label,
.cta-section legend {
    color: #e8e8e8 !important;
    text-align: left;
}

.cta-section h2,
.cta-section .eyebrow,
.cta-section p {
    color: #f8f8f8 !important;
}

.cta-section h2 {
    font-size: 40px;
    font-weight: 400;
}

.wpforms-submit {
    background-color: white !important;
    color: #333 !important;
    text-transform: uppercase !important;
    font-family: 'Outfit';
}

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */

.vivid-project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 30px;
}

.vivid-project-item {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.vivid-project-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 1;
    transition: opacity .3s ease;
    z-index: 1;
}

.vivid-project-item:hover::after {
    opacity: 0;
}

.vivid-project-item:hover .vivid-project-title {
    opacity: 0;
}

.vivid-project-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.vivid-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity .5s cubic-bezier(.4,0,.2,1);
}

.vivid-project-image img:hover {
    opacity: .7;
    cursor: pointer;
}

.vivid-project-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 400;
    text-align: center;
    padding: 20px;
    letter-spacing: 1px;
    pointer-events: none;
    z-index: 2;
    transition: opacity .3s ease;
}

/* ============================================================
   MASONRY GALLERY
   ============================================================ */

.vivid-masonry-gallery {
    column-count: 2;
    column-gap: 24px;
}

.vivid-masonry-item {
    break-inside: avoid;
    margin-bottom: 24px;
}

.vivid-masonry-item img {
    width: 100%;
    display: block;
}

/* ============================================================
   TEAM
   ============================================================ */

.team-section {
    padding: 80px 40px;
}

.team-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 2rem;
}

.team-member {
    cursor: default;
}

.team-img {
    width: 100%;
    aspect-ratio: 2/3;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-name {
    font-size: 18px;
    margin-bottom: 0;
}

p.team-title {
    font-weight: 200;
    margin-top: 0px !important;
    font-size: 14px;
}

.team-bio {
    font-weight: 300;
}

.team-bio-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #999;
    cursor: pointer;
    margin-top: .75rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.team-bio-btn:hover { color: #000; }

/* ── Team Modal ── */

.team-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
}

.team-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.team-modal-box {
    position: relative;
    background: #fff;
    z-index: 1;
    max-width: 760px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 50px;
}

.team-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #000;
}

.team-modal-inner {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.team-modal-img {
    width: 180px;
    flex-shrink: 0;
    aspect-ratio: 2/3;
    object-fit: cover;
}

.team-modal-bio {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-top: 1rem;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services-grid-section {
    padding: 80px 40px;
}

.services-grid-inner {
    max-width: 1300px;
    margin: 0 auto;
}

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

.service-card {
    padding: 40px 32px;
    border: 0.5px solid #e0dbd4;
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    stroke: currentColor;
}

.service-title {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .75rem;
}

.service-desc {
    font-size: 15px;
    line-height: 1.75;
    color: #666;
}

/* ============================================================
   STORE - CATEGORIES
   ============================================================ */

.store-categories {
    padding: 80px 40px;
}

.store-categories-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.store-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.store-cat-item {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.store-cat-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
}

.store-cat-item:hover::after {
    opacity: 0;
}

.store-cat-img {
    aspect-ratio: 1;
    overflow: hidden;
}

.store-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.store-cat-item:hover .store-cat-img img {
    transform: scale(1.04);
}

.store-cat-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    z-index: 1;
}

/* ── Category siblings ── */

.cat-siblings {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0px 30px 0px;
    max-width: 1300px;
    margin: 0 auto;
}

.cat-sibling-link {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #888;
    text-decoration: none;
    padding: 6px 14px;
    border: 0.5px solid #ddd;
}

.cat-sibling-link:hover {
    color: #000;
    border-color: #000;
}

.cat-sibling-link.is-active {
    color: #000;
    border-color: #000;
}

/* ============================================================
   STORE - PRODUCTS
   ============================================================ */

.store-products {
    padding: 80px 40px;
    margin-top: 100px;
    background-color: #fff;
}

.store-products-inner {
    max-width: 1300px;
    margin: 0 auto;
}

.store-products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.store-products ul.products::before,
.store-products ul.products::after {
    display: none;
}

.store-products ul.products li.product {
    position: relative;
    overflow: hidden;
    border: 2px solid #ddd;
    padding: 20px;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
}

.store-products ul.products li.product a.woocommerce-loop-product__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.store-products ul.products li.product a.woocommerce-loop-product__link img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.store-products ul.products li.product:hover a.woocommerce-loop-product__link img {
    transform: scale(1.04);
}

.store-products ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 12px 0 4px;
    font-weight: 400;
    line-height: 1.4;
}

.store-products ul.products li.product .price {
    font-size: 13px;
    color: #888;
}

.store-products ul.products li.product a.button {
    display: none;
}

.woocommerce img,
.woocommerce-page img {
    height: 100%;
    max-width: 100%;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-page {
    display: grid;
    grid-template-columns: .5fr .5fr;
    min-height: calc(100vh - 125px);
}

.contact-left {
    background: #1a1a18;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-eyebrow {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1.5rem;
}

.contact-heading {
    font-size: 32px;
    font-weight: 300;
    color: #fff;
    line-height: 1.4;
    font-family: Georgia, serif;
    font-style: italic;
    margin-bottom: 2.5rem;
}

.contact-detail {
    margin-bottom: 1.5rem;
}

.contact-detail-label {
    font-size: 10px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 4px;
}

.contact-detail-value {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.contact-detail-value a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}

.contact-detail-value a:hover { color: #fff; }

.contact-divider {
    width: 30px;
    height: 0.5px;
    background: rgba(255,255,255,0.2);
    margin: 2rem 0;
}

.contact-hours {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    line-height: 1.8;
}

.contact-right {
    background: #f8f8f8;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-right-eyebrow {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 2rem;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    background: #1a1a18;
    color: rgba(255,255,255,0.6);
    padding: 60px 40px;
    font-size: 14px;
    line-height: 1.8;
}

.footer-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}

.footer-col h4 {
    font-size: 11px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
    margin-bottom: 1.25rem;
    font-weight: 400;
}

.footer-logo img {
    width: 120px;
    margin-bottom: 1.25rem;
    display: block;
    opacity: 0.85;
}

.footer-col address {
    font-style: normal;
    margin-bottom: 1rem;
}

.footer-col a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}

.footer-col a:hover { color: #fff; }

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    border-bottom: 0.5px solid rgba(255,255,255,0.07);
}

.footer-col ul li a {
    display: block;
    padding: 8px 0;
}

.footer-copy {
    margin-top: 1rem;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 4px;
}

.social-icons a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.social-icons a:hover { color: #fff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 980px) {
    .hamburger { display: flex; }

    #site-navigation,
    .nav-divider,
    .header-cta { display: none; }

    .site-header {
        height: 85px;
        background: #fff;
        box-shadow: 0 2px 24px rgba(0,0,0,0.08);
    }

    .header-container { height: 80px; }

    .logo-primary { opacity: 0; }
    .logo-scrolled { opacity: 1; }

    body { padding-top: 85px !important; }

    .content-area {
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .vivid-project-grid { grid-template-columns: repeat(2, 1fr); }

    .vivid-project-title {
        font-size: 40px !important;
        line-height: 48px !important;
        font-family: 'Josefin Sans' !important;
    }

    .vivid-masonry-gallery { column-count: 2; }

    .project-content-wrap .content-wrap { padding: 20px; }

    .team-grid { grid-template-columns: repeat(2, 1fr); }

    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .store-cat-grid { grid-template-columns: repeat(2, 1fr); }

    .store-products ul.products { grid-template-columns: repeat(2, 1fr); }

    .contact-page { grid-template-columns: 1fr; }
    .contact-left { padding: 60px 30px; }
    .contact-right { padding: 60px 30px; }

    .footer-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    h2 {
        font-size: 24px;
        line-height: 30px !important;
    }

    h3 { font-size: 18px; }

    .site-header ul li a {
        color: #000 !important;
    }
}

@media (max-width: 600px) {
    .vivid-project-grid { grid-template-columns: 1fr; }
    .vivid-masonry-gallery { column-count: 1; }
    .team-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .team-modal-inner { flex-direction: column; }
    .team-modal-img { width: 100%; }
    .team-modal-box { padding: 30px 20px; }
    .services-grid { grid-template-columns: 1fr; }
    .store-products { padding: 40px 20px; }
    .store-products ul.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}


