/*
Theme Name: MixStream Integration Pro v12
Theme URI: https://mixstreamintegration.com
Author: MixStream Integration
Description: Professional WordPress theme for acoustic treatment, AV integration, and broadcast installation services.
Version: 12.0
Requires at least: 6.0
Text Domain: mixstream-pro
*/
:root{--navy:#061f38;--navy2:#031526;--blue:#0e5aa7;--light:#f3f7fb;--text:#111827;--muted:#667085;--border:#d8e2ef;--white:#fff;--shadow:0 20px 55px rgba(6,31,56,.16)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);font-size:19px;line-height:1.65;background:white}a{color:var(--blue)}img{max-width:100%;height:auto;display:block}.container{width:min(1180px,calc(100% - 42px));margin:0 auto}.topbar{background:var(--navy2);color:white;padding:8px 0;font-size:15px}.topbar .container{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.topbar a{color:white;text-decoration:none;font-weight:800}.site-header{position:sticky;top:0;z-index:99;background:rgba(255,255,255,.97);border-bottom:1px solid var(--border);backdrop-filter:blur(10px)}.nav{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:14px;color:var(--navy);text-decoration:none;font-size:1.35rem;font-weight:900;letter-spacing:.02em}.brand img{width:82px;height:82px;object-fit:contain}.menu{display:flex;align-items:center;gap:20px}.menu a{color:var(--navy);text-decoration:none;font-weight:800;font-size:16px}.btn,button,input[type=submit]{display:inline-block;background:var(--blue);color:white!important;text-decoration:none;border:0;border-radius:10px;padding:15px 24px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(14,90,167,.22)}.btn.secondary{background:var(--navy)}.btn.light{background:white;color:var(--navy)!important}.btn.small{padding:11px 17px;font-size:15px}.hero{color:white;min-height:720px;display:flex;align-items:center;position:relative;background:linear-gradient(90deg,rgba(3,21,38,.92),rgba(6,31,56,.70),rgba(6,31,56,.25)),url('assets/hero-rccc-gym.jpg') center/cover no-repeat}.hero-content{max-width:760px;padding:110px 0}.eyebrow{margin:0 0 12px;color:var(--blue);text-transform:uppercase;letter-spacing:.12em;font-weight:900;font-size:.9rem}.hero .eyebrow{color:#b5ddff}h1{margin:0 0 24px;font-size:clamp(3.1rem,7vw,6rem);line-height:.94;color:inherit}h2{margin:0 0 18px;font-size:clamp(2.1rem,4vw,3.25rem);line-height:1.06;color:var(--navy)}h3{color:var(--navy);margin:0 0 10px;font-size:1.35rem}.lead{font-size:1.45rem;color:rgba(255,255,255,.92);max-width:780px}.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:30px}.section{padding:88px 0}.section.alt{background:var(--light)}.page-hero{color:white;background:linear-gradient(135deg,var(--navy),var(--blue));padding:86px 0}.page-hero h1{font-size:clamp(2.85rem,6vw,5rem);max-width:980px}.content-area{padding:78px 0}.cards,.steps,.gallery-grid,.project-grid,.faq-grid{display:grid;gap:22px;margin-top:32px}.cards,.steps,.project-grid{grid-template-columns:repeat(3,1fr)}.gallery-grid,.faq-grid{grid-template-columns:repeat(2,1fr)}.card,.step,.project-card,.faq-card,.feature,form{background:white;border:1px solid var(--border);border-radius:20px;padding:28px;box-shadow:0 10px 28px rgba(6,31,56,.07)}.card .icon,.step span{color:var(--blue);font-size:1.55rem;font-weight:900}.two-col,.split-grid,.contact-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}.checklist{padding-left:22px}.checklist li{margin:10px 0}.project-card{overflow:hidden;padding:0}.project-card img{width:100%;height:250px;object-fit:cover}.project-card .project-body{padding:26px}.case-study{margin-top:40px;padding:34px;border:1px solid var(--border);border-radius:24px;background:white;box-shadow:var(--shadow)}.case-meta{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0 22px}.case-meta span{background:var(--light);color:var(--navy);border:1px solid var(--border);border-radius:999px;padding:8px 13px;font-weight:800;font-size:15px}.case-gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:24px}.case-gallery figure{margin:0;border:1px solid var(--border);border-radius:18px;overflow:hidden;background:var(--light)}.case-gallery img{width:100%;height:285px;object-fit:cover}.case-gallery figcaption{padding:14px 16px;font-size:16px;font-weight:800;color:var(--navy)}.case-gallery .wide{grid-column:1/-1}.case-gallery .wide img{height:430px}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:22px}.compare-box{padding:26px;border-radius:18px;background:white;border:1px solid var(--border)}.compare-box.bad{border-top:7px solid #8a1f1f}.compare-box.good{border-top:7px solid var(--blue)}.cta{background:var(--navy);color:white;text-align:center;padding:82px 0}.cta h2{color:white}.contact a{font-weight:900}form{display:grid;gap:16px}label{color:var(--navy);font-weight:900}input,textarea,select{width:100%;margin-top:7px;border:1px solid var(--border);border-radius:10px;padding:15px;font:inherit}.sticky-cta{position:fixed;right:18px;bottom:18px;z-index:120;display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.sticky-cta a{box-shadow:0 15px 38px rgba(0,0,0,.25)}.site-footer{background:var(--navy2);color:white;padding:38px 0}.footer-grid{display:flex;justify-content:space-between;gap:22px;flex-wrap:wrap}.site-footer a{color:white}@media(max-width:980px){.menu{display:none}.hero{min-height:620px}.cards,.steps,.project-grid,.gallery-grid,.faq-grid,.two-col,.split-grid,.contact-grid,.case-gallery,.comparison{grid-template-columns:1fr}.case-gallery .wide{grid-column:auto}.case-gallery .wide img,.case-gallery img{height:auto}body{font-size:18px}.brand img{width:72px;height:72px}.sticky-cta{left:12px;right:12px}.sticky-cta .btn{flex:1;text-align:center;padding:12px 10px}}


/* v7 full case study galleries */
.dark-lead { color: #111827; }
.project-grid-v7 { grid-template-columns: repeat(3, 1fr); }
.project-card .btn { margin-top: 12px; }
.case-hero-v7 { color: white; background-position: center; background-size: cover; background-repeat: no-repeat; padding: 110px 0; min-height: 520px; display: flex; align-items: center; }
.case-hero-v7 .eyebrow { color: #b5ddff; }
.case-hero-v7 h1 { font-size: clamp(2.9rem, 6vw, 5.5rem); max-width: 1050px; }
.case-intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: start; }
.case-facts { background: #f3f7fb; border: 1px solid #d8e2ef; border-radius: 18px; padding: 28px; }
.case-facts p { margin: 0 0 12px; }
.case-note { background: #f3f7fb; border-left: 6px solid #0e5aa7; padding: 16px 18px; border-radius: 10px; }
.case-jump-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.case-section { margin-top: 42px; }
.case-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 22px; }
.case-photo-grid figure { margin: 0; border: 1px solid #d8e2ef; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(6,31,56,.07); }
.case-photo-grid img { width: 100%; height: 265px; object-fit: cover; }
.case-photo-grid figcaption { padding: 14px 16px; font-weight: 800; color: #061f38; font-size: 15px; }
.case-photo-grid .wide { grid-column: span 2; }
.case-photo-grid .wide img { height: 375px; }
.case-nav { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media(max-width: 980px) { .project-grid-v7, .case-intro-grid, .case-photo-grid { grid-template-columns: 1fr; } .case-photo-grid .wide { grid-column: auto; } .case-photo-grid img, .case-photo-grid .wide img { height: auto; } .case-hero-v7 { min-height: 440px; padding: 80px 0; } }

/* v8 Case Study Image Lightbox */
.case-photo-grid img,
.case-gallery img,
.project-card img {
  cursor: zoom-in;
}

.mixstream-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .92);
  padding: 28px;
}

.mixstream-lightbox.is-open {
  display: flex;
}

.mixstream-lightbox-inner {
  position: relative;
  width: min(1200px, 96vw);
  max-height: 94vh;
  display: grid;
  gap: 14px;
  justify-items: center;
}

.mixstream-lightbox img {
  max-width: 96vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 25px 80px rgba(0,0,0,.55);
  cursor: default;
}

.mixstream-lightbox-caption {
  color: #ffffff;
  text-align: center;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.35;
  max-width: 900px;
}

.mixstream-lightbox-close,
.mixstream-lightbox-prev,
.mixstream-lightbox-next {
  position: absolute;
  border: 0;
  color: #ffffff !important;
  background: rgba(255,255,255,.16);
  box-shadow: none;
  cursor: pointer;
  font-weight: 900;
  display: grid;
  place-items: center;
  transition: background .2s ease, transform .2s ease;
}

.mixstream-lightbox-close:hover,
.mixstream-lightbox-prev:hover,
.mixstream-lightbox-next:hover {
  background: rgba(255,255,255,.28);
  transform: scale(1.04);
}

.mixstream-lightbox-close {
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 28px;
  line-height: 1;
  padding: 0;
}

.mixstream-lightbox-prev,
.mixstream-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 72px;
  border-radius: 12px;
  font-size: 42px;
  line-height: 1;
  padding: 0;
}

.mixstream-lightbox-prev:hover,
.mixstream-lightbox-next:hover {
  transform: translateY(-50%) scale(1.04);
}

.mixstream-lightbox-prev {
  left: 18px;
}

.mixstream-lightbox-next {
  right: 18px;
}

body.mixstream-lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .mixstream-lightbox {
    padding: 12px;
  }

  .mixstream-lightbox img {
    max-width: 94vw;
    max-height: 78vh;
  }

  .mixstream-lightbox-prev,
  .mixstream-lightbox-next {
    width: 44px;
    height: 56px;
    font-size: 34px;
  }

  .mixstream-lightbox-close {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .mixstream-lightbox-caption {
    font-size: 15px;
  }
}

/* v10 Media Page */
.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:32px}
.video-card{background:#fff;border:1px solid var(--border,#d8e2ef);border-radius:20px;overflow:hidden;box-shadow:0 10px 28px rgba(6,31,56,.07)}
.video-embed{position:relative;width:100%;aspect-ratio:16/9;background:#061f38}
.video-embed.short{aspect-ratio:9/16;max-height:720px;background:#061f38}
.video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-card-body{padding:24px}
.video-card-body h3{margin-top:0}
.video-card-body .btn{margin-top:12px}
.video-section-note{max-width:860px;color:#111827;font-size:1.15rem}
@media(max-width:900px){.video-grid{grid-template-columns:1fr}.video-embed.short{max-height:none}}

/* v11 logo and about page update */
.brand img{width:260px;height:auto;max-height:76px;object-fit:contain;}
.menu{gap:16px;}
.menu a{font-size:15px;}
.about-page p{font-size:1.05rem;}
.about-card-highlight{border-top:7px solid var(--blue);}
.about-process-cards .card{min-height:255px;}
.company-info-card a:not(.btn){font-weight:900;}
@media(max-width:1100px){.brand img{width:220px}.menu{gap:12px}.menu a{font-size:14px}.btn.small{padding:10px 13px}}
@media(max-width:980px){.brand img{width:230px;max-height:70px}.menu{display:none}}
/* v11.1 final logo sizing */
.brand img{width:280px !important;height:auto !important;max-height:82px !important;object-fit:contain !important;}
@media(max-width:1100px){.brand img{width:230px !important;max-height:74px !important}}
@media(max-width:980px){.brand img{width:230px !important;max-height:72px !important}}

/* v12 updated logo: replaced header logo artwork only. */
