/*
Theme Name: Blair Technology Advisors
Theme URI: https://www.btallc.biz/
Author: Blair Technology Advisors LLC
Description: Custom WordPress theme for Blair Technology Advisors LLC.
Version: 1.0.0
Text Domain: bta
*/
:root{--gold:#c9a227;--gold2:#e0bd4f;--black:#0b0b0c;--charcoal:#171719;--ink:#202124;--muted:#686868;--line:#e8e5de;--soft:#f7f5ef;--white:#fff;--radius:20px;--shadow:0 18px 55px rgba(0,0,0,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.6}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(1160px,92%);margin:auto}.topbar{background:#070708;color:#cfcfcf;font-size:.82rem}.topbar .container{display:flex;justify-content:flex-end;gap:24px;padding:8px 0}.navbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.nav{display:flex;align-items:center;justify-content:space-between;min-height:78px}.brand{display:flex;align-items:center;gap:12px;font-family:Georgia,serif;font-weight:700;letter-spacing:.05em}.brand-mark{width:48px;height:48px;object-fit:contain}.navlinks{display:flex;align-items:center;gap:26px;font-size:.95rem;font-weight:700}.navlinks a:hover,.navlinks a.active{color:#9d7b12}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:999px;font-weight:800;transition:.2s;border:1px solid transparent}.btn-gold{background:linear-gradient(135deg,var(--gold2),var(--gold));color:#111}.btn-gold:hover{transform:translateY(-2px);box-shadow:0 10px 25px rgba(201,162,39,.25)}.btn-dark{background:#111;color:white}.btn-outline{border-color:#b99a35;color:#7f6510;background:white}.menu{display:none;border:0;background:none;font-size:1.6rem}.page-hero{background:linear-gradient(110deg,rgba(4,4,5,.97),rgba(17,17,18,.91)),url('../img/bta-hero.png') center/cover;color:white;padding:86px 0 74px}.eyebrow{color:#d6b13a;text-transform:uppercase;font-size:.8rem;letter-spacing:.18em;font-weight:900}.page-hero h1{font-family:Georgia,serif;font-size:clamp(2.4rem,6vw,4.7rem);line-height:1.05;max-width:850px;margin:10px 0 18px}.page-hero p{max-width:730px;color:#dedede;font-size:1.08rem}.section{padding:78px 0}.section.alt{background:var(--soft)}.section.dark{background:#0e0e10;color:white}.section-head{max-width:760px;margin-bottom:36px}.section h2{font-family:Georgia,serif;font-size:clamp(2rem,4vw,3.1rem);line-height:1.12;margin:.3rem 0 1rem}.lead{font-size:1.08rem;color:var(--muted)}.dark .lead{color:#c6c6c6}.grid{display:grid;gap:24px}.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:0 6px 26px rgba(0,0,0,.04);transition:.2s}.card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.card h3{margin:.5rem 0;font-size:1.25rem}.icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:#111;color:#e4bf46;font-weight:900;font-size:1.25rem}.tag{display:inline-block;padding:6px 10px;border-radius:999px;background:#f0ead7;color:#765d0d;font-weight:800;font-size:.78rem}.checklist{list-style:none;padding:0;margin:18px 0 0}.checklist li{margin:9px 0;padding-left:24px;position:relative}.checklist li:before{content:'✓';position:absolute;left:0;color:#ae8b1d;font-weight:900}.stat{padding:28px;border-left:3px solid var(--gold)}.stat strong{display:block;font-size:2.1rem;font-family:Georgia,serif}.industry{min-height:220px;position:relative;overflow:hidden;background:#111;color:white}.industry:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent,rgba(0,0,0,.82))}.industry .content{position:absolute;z-index:2;left:24px;bottom:20px;right:24px}.industry p{color:#d6d6d6;margin:.4rem 0 0}.quote{font-family:Georgia,serif;font-size:1.6rem;line-height:1.4}.timeline{border-left:2px solid #d5c27e;margin-left:8px;padding-left:28px}.timeline article{margin-bottom:28px}.contact-wrap{display:grid;grid-template-columns:.95fr 1.35fr;gap:34px}.contact-panel{background:#111;color:white;border-radius:24px;padding:34px}.contact-panel a{color:#e3c456}.form{display:grid;gap:16px}.field{display:grid;gap:7px}.field label{font-weight:800;font-size:.9rem}.field input,.field textarea,.field select{width:100%;padding:13px 14px;border:1px solid #d8d4c7;border-radius:12px;font:inherit;background:white}.field textarea{min-height:150px;resize:vertical}.cta{background:linear-gradient(135deg,#dcb73a,#b58d16);padding:48px;border-radius:28px;display:flex;justify-content:space-between;align-items:center;gap:24px}.cta h2{margin:0;font-size:2.2rem}.footer{background:#080809;color:#d0d0d0;padding:56px 0 22px}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:30px}.footer h4{color:white}.footer a{display:block;margin:8px 0;color:#c9c9c9}.footer a:hover{color:#e0bd4f}.copyright{border-top:1px solid #252526;margin-top:36px;padding-top:18px;font-size:.85rem;display:flex;justify-content:space-between;gap:20px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.breadcrumbs{font-size:.9rem;color:#cacaca;margin-bottom:12px}.service-detail{border-top:4px solid var(--gold)}
@media(max-width:900px){.grid-4,.grid-3{grid-template-columns:repeat(2,1fr)}.contact-wrap,.grid-2{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}.navlinks{position:absolute;display:none;left:0;right:0;top:78px;background:white;padding:24px;box-shadow:0 20px 40px rgba(0,0,0,.1);flex-direction:column;align-items:flex-start}.navlinks.open{display:flex}.menu{display:block}.topbar{display:none}.cta{align-items:flex-start;flex-direction:column}}
@media(max-width:580px){.grid-4,.grid-3,.footer-grid{grid-template-columns:1fr}.page-hero{padding:62px 0}.section{padding:58px 0}.cta{padding:30px}.copyright{flex-direction:column}.brand span{display:none}}

.consult-facts{display:grid;gap:12px;margin:28px 0}.consult-facts div{display:grid;padding:14px 0;border-bottom:1px solid #2c2c2e}.consult-facts strong{color:#fff}.consult-facts span{color:#aaa;font-size:.88rem}.consent{display:flex;gap:10px;align-items:flex-start;font-size:.9rem;color:#555}.consent input{margin-top:5px}.form-note{font-size:.84rem;color:#777;margin:0}.form-status{display:none;padding:14px 16px;border-radius:12px;background:#f0ead7;color:#66500d;font-weight:700}.form-status.show{display:block}

.booking-card{background:#fff;border:1px solid #e4e4e4;border-radius:18px;padding:34px;box-shadow:0 14px 40px rgba(0,0,0,.06)}
.booking-card h2{margin-top:8px}.booking-card p{max-width:680px}
.booking-primary{display:inline-flex;margin:10px 0 12px}
.booking-divider{display:flex;align-items:center;gap:14px;margin:28px 0 22px;color:#888;font-size:.8rem;text-transform:uppercase;letter-spacing:.14em}
.booking-divider:before,.booking-divider:after{content:"";height:1px;background:#ddd;flex:1}
.btn-outline-dark{border:1px solid #1b1b1b;color:#1b1b1b;background:transparent}
.btn-outline-dark:hover{background:#1b1b1b;color:#fff}

.phase5-cta{padding-top:20px}.phase5-cta .cta-box{background:#111;color:#fff;border-radius:20px;padding:42px;display:grid;grid-template-columns:1.5fr 1fr;gap:34px;align-items:center}.phase5-cta h2{color:#fff;margin:.45rem 0}.phase5-cta p{color:#c9c9c9}@media(max-width:800px){.phase5-cta .cta-box{grid-template-columns:1fr;padding:28px}}

/* Phase 5.1 — WordPress-safe homepage hero image patch */
.home .hero,
body.home .hero{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:#111;
}
.home .hero::before,
body.home .hero::before{
  content:"";
  position:absolute;
  z-index:-2;
  inset:0;
  background-image:var(--bta-hero-image);
  background-repeat:no-repeat;
  background-position:right center;
  background-size:cover;
  opacity:.82;
}
.home .hero::after,
body.home .hero::after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(90deg,rgba(10,10,10,.98) 0%,rgba(10,10,10,.92) 39%,rgba(10,10,10,.48) 68%,rgba(10,10,10,.18) 100%);
}
.home .hero .container,
body.home .hero .container{position:relative;z-index:1}
@media(max-width:800px){
  .home .hero::before,body.home .hero::before{background-position:65% center;opacity:.42}
  .home .hero::after,body.home .hero::after{background:rgba(10,10,10,.82)}
}

/* Phase 5.2 deterministic hero artwork */
body.home section:first-of-type{position:relative!important;overflow:hidden!important;isolation:isolate!important;background:#111!important}
body.home section:first-of-type::before{background-image:none!important;content:none!important}
body.home section:first-of-type::after{content:""!important;position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none!important;background:linear-gradient(90deg,rgba(9,9,10,.98) 0%,rgba(9,9,10,.90) 38%,rgba(9,9,10,.46) 66%,rgba(9,9,10,.16) 100%)!important}
body.home section:first-of-type .bta-hero-art{position:absolute!important;inset:0!important;z-index:0!important;display:block!important;visibility:visible!important;opacity:1!important;pointer-events:none!important}
body.home section:first-of-type .bta-hero-art img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;object-fit:cover!important;object-position:center right!important;opacity:1!important;visibility:visible!important;filter:none!important}
body.home section:first-of-type>.container{position:relative!important;z-index:2!important}
@media(max-width:800px){body.home section:first-of-type .bta-hero-art img{object-position:65% center!important}body.home section:first-of-type::after{background:rgba(9,9,10,.78)!important}}

/* Phase 5.3 — final single-hero integration */
body.home .bta-final-hero{
 position:relative!important;min-height:520px!important;display:flex!important;align-items:center!important;
 overflow:hidden!important;isolation:isolate!important;background:#0b0b0c!important;padding:72px 0!important
}
body.home .bta-final-hero::before,body.home .bta-final-hero::after{content:none!important;background:none!important}
body.home .bta-final-hero-art{position:absolute!important;inset:0!important;z-index:0!important;overflow:hidden!important}
body.home .bta-final-hero-art img{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;
 object-position:center 54%!important;display:block!important;opacity:1!important;filter:none!important
}
body.home .bta-final-hero-shade{
 position:absolute!important;inset:0!important;z-index:1!important;
 background:linear-gradient(90deg,rgba(8,8,9,.97) 0%,rgba(8,8,9,.91) 36%,rgba(8,8,9,.60) 58%,rgba(8,8,9,.28) 78%,rgba(8,8,9,.18) 100%)!important
}
body.home .bta-final-hero-content{position:relative!important;z-index:2!important}
body.home .bta-final-hero-content>span,body.home .bta-final-hero-content>h1,body.home .bta-final-hero-content>p,body.home .bta-final-hero-content>.hero-actions{max-width:680px}
body.home .bta-final-hero h1{color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.38)}
body.home .bta-final-hero p{color:#f0f0f0!important}
@media(max-width:800px){
 body.home .bta-final-hero{min-height:500px!important;padding:56px 0!important}
 body.home .bta-final-hero-art img{object-position:64% center!important}
 body.home .bta-final-hero-shade{background:rgba(8,8,9,.78)!important}
}

/* Phase 5.4 final artwork integration */
body.home .bta-final-hero-art img{object-position:center center!important}
body.home .bta-final-hero-shade{background:linear-gradient(90deg,rgba(8,8,9,.95) 0%,rgba(8,8,9,.84) 35%,rgba(8,8,9,.30) 64%,rgba(8,8,9,.08) 100%)!important}

/* Phase 5.5 — final hero polish and placement */
body.home .bta-final-hero{
  min-height:540px!important;
  padding:68px 0 62px!important;
}
body.home .bta-final-hero-art img{
  object-fit:cover!important;
  object-position:58% 43%!important;
  transform:scale(1.035)!important;
  transform-origin:center center!important;
}
body.home .bta-final-hero-shade{
  background:
    linear-gradient(90deg,rgba(7,7,8,.97) 0%,rgba(7,7,8,.91) 31%,rgba(7,7,8,.64) 48%,rgba(7,7,8,.20) 72%,rgba(7,7,8,.08) 100%),
    linear-gradient(0deg,rgba(7,7,8,.48) 0%,rgba(7,7,8,0) 24%)!important;
}
body.home .bta-final-hero-content{padding-top:4px!important}
body.home .bta-final-hero-content>span{letter-spacing:.16em!important}
body.home .bta-final-hero h1{
  max-width:650px!important;
  font-size:clamp(3.55rem,5.25vw,5.65rem)!important;
  line-height:.93!important;
  letter-spacing:-.035em!important;
  margin:.34em 0 .30em!important;
}
body.home .bta-final-hero-content>p{
  max-width:650px!important;
  color:#f5f5f5!important;
  font-size:1.02rem!important;
  line-height:1.62!important;
  text-shadow:0 1px 8px rgba(0,0,0,.55)!important;
}
body.home .bta-final-hero .hero-actions{margin-top:24px!important;gap:12px!important}
body.home .bta-final-hero .btn{min-height:48px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
@media(min-width:801px) and (max-width:1200px){
 body.home .bta-final-hero h1{font-size:clamp(3.15rem,5.2vw,4.45rem)!important;max-width:570px!important}
 body.home .bta-final-hero-content>p{max-width:610px!important}
 body.home .bta-final-hero-art img{object-position:62% 43%!important}
}
@media(max-width:800px){
 body.home .bta-final-hero{min-height:520px!important;padding:54px 0 48px!important}
 body.home .bta-final-hero-art img{object-position:68% 45%!important;transform:scale(1.06)!important}
 body.home .bta-final-hero-shade{background:linear-gradient(90deg,rgba(7,7,8,.92),rgba(7,7,8,.68))!important}
 body.home .bta-final-hero h1{font-size:clamp(2.75rem,12vw,4rem)!important;line-height:.96!important;max-width:520px!important}
 body.home .bta-final-hero-content>p{font-size:.98rem!important;max-width:540px!important}
}
@media(max-width:520px){
 body.home .bta-final-hero .hero-actions{display:grid!important;grid-template-columns:1fr!important;max-width:320px!important}
 body.home .bta-final-hero .btn{width:100%!important}
}

/* Phase 5.6 — FINAL HERO LOCK
   Preserve approved composition; clean only the lower edge. */
body.home .bta-final-hero{
  min-height:505px!important;
  padding:68px 0 48px!important;
}
body.home .bta-final-hero-art{
  bottom:-38px!important;
}
body.home .bta-final-hero-art img{
  height:calc(100% + 38px)!important;
  object-position:58% 40%!important;
}
body.home .bta-final-hero-shade{
  background:
    linear-gradient(90deg,rgba(7,7,8,.97) 0%,rgba(7,7,8,.91) 31%,rgba(7,7,8,.64) 48%,rgba(7,7,8,.20) 72%,rgba(7,7,8,.08) 100%),
    linear-gradient(0deg,rgba(7,7,8,.92) 0%,rgba(7,7,8,.54) 7%,rgba(7,7,8,.12) 17%,rgba(7,7,8,0) 27%)!important;
}
@media(min-width:801px) and (max-width:1200px){
 body.home .bta-final-hero{min-height:500px!important;padding-bottom:46px!important}
}
@media(max-width:800px){
 body.home .bta-final-hero{min-height:500px!important;padding:54px 0 44px!important}
 body.home .bta-final-hero-art{bottom:-30px!important}
 body.home .bta-final-hero-art img{height:calc(100% + 30px)!important}
}
