/*
Theme Name: Broad Lantern Media
Theme URI: https://broadlantern.com
Author: Broad Lantern Media
Author URI: https://broadlantern.com
Description: Custom WordPress theme for Broad Lantern Media — local SEO, web design, and digital marketing for home service businesses (HVAC, plumbing, roofing, electrical, and related trades), with a secondary section for the agency's wellness and coaching client work.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: broadlantern
*/



  :root{
    --navy:#1C2B57;
    --navy-deep:#141F40;
    --indigo:#3E3FA6;
    --indigo-soft:#5457C4;
    --sage:#7EA98C;
    --sage-light:#AFCBB4;
    --sage-pale:#E7EFE8;
    --gold:#F2A93D;
    --gold-deep:#D98F1F;
    --cream:#DEDCED;
    --cream-deep:#D2CDDC;
    --white:#FFFFFF;
    --ink:#242233;
    --ink-soft:#585672;

    --display: 'Lora', serif;
    --body: 'Inter', sans-serif;
    --mono: 'IBM Plex Mono', monospace;

    --max: 1180px;
    --radius: 18px;
  }

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth; overflow-x:hidden;}
  body{overflow-x:hidden;}

  body{
    font-family:var(--body);
    background:var(--cream);
    color:var(--ink);
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
  }

  a{color:inherit;text-decoration:none;}
  ul{list-style:none;}
  img,svg{display:block;max-width:100%;}

  :focus-visible{
    outline:3px solid var(--gold);
    outline-offset:3px;
  }

  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
  }

  .wrap{max-width:var(--max); margin:0 auto; padding:0 32px;}

  .eyebrow{
    font-family:var(--mono);
    font-size:12.5px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--sage);
    font-weight:600;
  }

  h1,h2,h3{font-family:var(--display); color:var(--navy); font-weight:600;}

  .btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:14px 26px;
    border-radius:999px;
    font-weight:600;
    font-size:15px;
    border:1.5px solid transparent;
    cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
  }
  .btn:hover{transform:translateY(-2px);}

  .btn-gold{
    background:var(--gold);
    color:var(--navy-deep);
    box-shadow:0 6px 18px rgba(242,169,61,0.35);
  }
  .btn-gold:hover{background:var(--gold-deep); box-shadow:0 10px 24px rgba(217,143,31,0.4);}

  .btn-outline{
    background:transparent;
    color:var(--cream);
    border-color:rgba(246,243,235,0.45);
  }
  .btn-outline:hover{border-color:var(--cream); background:rgba(255,255,255,0.06);}

  .btn-navy{
    background:var(--navy);
    color:var(--cream);
  }
  .btn-navy:hover{background:var(--navy-deep);}

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:9999;
    background:var(--cream);
    border-bottom:1px solid rgba(28,43,87,0.08);
  }
  .nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:14px 32px;
    min-height:76px;
  }
  .logo{
    display:flex; align-items:center; gap:12px;
    font-family:var(--display); font-weight:700; font-size:19px; color:var(--navy);
    flex:0 0 auto;
  }
  .logo .lantern-mark{
  width:70px;
  height:70px;
  object-fit:contain;
  flex:0 0 auto;
}
  .logo-text{display:flex; flex-direction:column; line-height:1.15; flex:0 0 auto;}
  .logo-text .l1{font-size:17px; font-weight:700; color:var(--navy); letter-spacing:-0.01em; white-space:nowrap;}
  .logo-text .l2{
    font-family:var(--mono); font-size:11px; font-weight:600;
    letter-spacing:0.22em; text-transform:uppercase; color:var(--sage);
    margin-top:2px;
  }
  .navlinks{
  display:flex;
  align-items:center;
  gap:30px;
  font-size:15.5px;
  font-weight:600;
  color:var(--navy);
  flex:1 1 auto;
  justify-content:center;
  white-space:nowrap;
}

.navlinks a{
  position:relative;
  transition:color .18s ease;
}

.navlinks a:hover{
  color:var(--gold-deep);
}

.navlinks a::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:-7px;
  width:0;
  height:2px;
  background:var(--gold);
  border-radius:2px;
  transform:translateX(-50%);
  transition:width .2s ease;
}

.navlinks a:hover::after{
  width:100%;
}
  .navcta{
  display:flex;
  align-items:center;
  gap:18px;
  flex:0 0 auto;
}

.navcta .phone{
  font-family:var(--mono);
  font-size:13.5px;
  color:var(--navy);
  font-weight:500;
  display:flex;
  align-items:center;
  gap:6px;
}

/* Header audit CTA */
.navcta .btn{
  background:var(--gold);
  color:var(--navy-deep);
  border-color:var(--gold);
  font-size:14px;
  font-weight:700;
  box-shadow:0 5px 16px rgba(242,169,61,0.22);
}

.navcta .btn:hover{
  background:var(--gold-deep);
  border-color:var(--gold-deep);
  color:var(--navy-deep);
  box-shadow:0 8px 20px rgba(242,169,61,0.30);
}

.menu-toggle{
    display:none; background:none; border:none; cursor:pointer;
    flex:0 0 auto; margin-left:14px; padding:8px; font-size:22px; line-height:1;
    color:var(--navy);
  }

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    background:var(--navy-deep);
    overflow:hidden;
    padding:55px 0 0;
  }
  .hero-grid{
    position:absolute; inset:0;
    background-image:
      radial-gradient(circle at 1px 1px, rgba(255,255,255,0.09) 1.4px, transparent 1.4px);
    background-size:34px 34px;
    mask-image:radial-gradient(circle at 74% 42%, black 0%, black 20%, transparent 62%);
    -webkit-mask-image:radial-gradient(circle at 74% 42%, black 0%, black 20%, transparent 62%);
  }
  .hero-glow{
    position:absolute;
    width:900px; height:900px;
    right:-220px; top:-260px;
    background:radial-gradient(circle, rgba(242,169,61,0.30) 0%, rgba(242,169,61,0.10) 32%, transparent 62%);
    pointer-events:none;
  }
  .hero-inner{
    position:relative; z-index:2;
    display:grid; grid-template-columns:1.08fr 0.92fr; gap:40px;
    align-items:center;
    padding-bottom:80px;
  }
  .hero-copy .eyebrow{color:var(--gold);}
  .hero h1{
    color:var(--white);
    font-size:clamp(36px, 4.6vw, 58px);
    line-height:1.05;
    margin:18px 0 22px;
    letter-spacing:-0.01em;
  }
  .hero h1 em{
    font-style:normal;
    color:var(--gold);
    background:linear-gradient(180deg, transparent 62%, rgba(242,169,61,0.28) 62%);
  }
  .hero p.lede{
    color:#C7CCE0;
    font-size:17.5px;
    max-width:480px;
    margin-bottom:34px;
  }
  .hero-ctas{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.hero-ctas-wrap{
  margin-bottom:44px;
}

.hero-call{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#C7CCE0;
  font-size:14px;
  font-weight:500;
  transition:color .18s ease;
}

.hero-call-icon{
  color:var(--gold);
  font-size:16px;
}

.hero-call strong{
  color:var(--white);
  font-family:var(--mono);
  font-size:13.5px;
  font-weight:600;
  white-space:nowrap;
}

.hero-call:hover{
  color:var(--gold);
}

.hero-call:hover strong{
  color:var(--gold);
}
  .hero-trustline{
    display:flex; align-items:center; gap:14px;
    color:#9AA1C4; font-size:13.5px; font-family:var(--mono);
  }
  .hero-trustline .stars{color:var(--gold); letter-spacing:2px;}

  .lantern-hero-art{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  height:100%;
  min-height:380px;
  isolation:isolate;
}

/* Soft, naturally feathered light surrounding the lantern */
.lantern-hero-art::before{
  content:"";
  position:absolute;
  z-index:-1;
  width:520px;
  height:440px;
  left:50%;
  top:43%;
  transform:translate(-50%, -50%);
  background:radial-gradient(
    ellipse at center,
    rgba(242,169,61,0.25) 0%,
    rgba(242,169,61,0.15) 25%,
    rgba(242,169,61,0.07) 48%,
    rgba(242,169,61,0.025) 67%,
    rgba(242,169,61,0) 82%
  );
  filter:blur(18px);
  pointer-events:none;
}

.lantern-hero-art svg{
  position:relative;
  z-index:1;
  width:100%;
  max-width:400px;
  display:block;
}

.lantern-photo{
  position:absolute;
  left:50%;
  top:50%;
  width:350px;
  height:350px;
  transform:translate(-50%, -50%);
  z-index:2;
  pointer-events:none;
  filter:drop-shadow(0 26px 40px rgba(0,0,0,0.45));
}

  /* ---------- SERVED TICKER ---------- */
  .served{
    background:var(--navy);
    padding:20px 0;
    overflow:hidden;
  }
  .served-track{
    display:flex; gap:52px; white-space:nowrap;
    font-family:var(--mono); font-size:13.5px; letter-spacing:0.06em;
    color:#B9C0DC; text-transform:uppercase;
    animation:scroll 26s linear infinite;
    width:max-content;
  }
  @keyframes scroll{ from{transform:translateX(0);} to{transform:translateX(-50%);} }
  .served-track span{opacity:0.85;}
  .served-track span b{color:var(--gold); font-weight:600;}

  /* ---------- SECTION BASE ---------- */
section{padding:34px 0;}
.section-head{max-width:640px; margin-bottom:56px;}
.section-head h2{font-size:clamp(28px,3.2vw,38px); margin:14px 0 16px; line-height:1.12;}
.section-head p{color:var(--ink-soft); font-size:16.5px;}
  /* ---------- SERVICES ---------- */
  .services{
  background:var(--cream);
}

#whats-different{
  padding-top:25px;
  padding-bottom:20px;
}

#whats-different .section-head{
  margin-bottom:36px;
}

.service-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
  .service-card{
    background:var(--white);
    border:1px solid rgba(28,43,87,0.08);
    border-radius:var(--radius);
    padding:30px 26px;
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  }
  .service-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 40px rgba(28,43,87,0.10);
    border-color:transparent;
  }
  .service-icon{
    width:46px; height:46px; border-radius:12px;
    display:flex; align-items:center; justify-content:center;
    margin-bottom:20px;
  }
  .service-card h3{font-size:19px; margin-bottom:10px; line-height:1.25;}
  .service-card p{font-size:16px; line-height:1.55; color:var(--ink); margin-bottom:16px;}
  .service-card .tag{
    font-family:var(--mono); font-size:12px; color:var(--sage); font-weight:600;
  }
  /* 3-column variant for grids with 6 items (2 clean rows) instead of the
     base 4-column grid built for the homepage's original 4-card section —
     !important + matching breakpoints so mobile collapse still works. */
  .service-grid-3col{grid-template-columns:repeat(3,1fr) !important;}
  @media (max-width:900px){
    .service-grid-3col{grid-template-columns:repeat(2,1fr) !important;}
  }
  @media (max-width:600px){
    .service-grid-3col{grid-template-columns:1fr !important;}
  }

  /* ---------- STATS / WHY IT MATTERS ---------- */
  .stats{
    background:var(--sage-pale);
    border-top:1px solid rgba(28,43,87,0.06);
    border-bottom:1px solid rgba(28,43,87,0.06);
  }
  .stats-inner{
    display:grid; grid-template-columns:0.9fr 1.1fr; gap:60px; align-items:center;
  }
  .stats-copy h2{font-size:clamp(26px,3vw,34px); line-height:1.15; margin:14px 0 18px;}
  .stats-copy p{color:var(--ink-soft); font-size:16px; margin-bottom:10px;}
  .stat-list{display:grid; grid-template-columns:1fr 1fr; gap:24px 32px;}
  .stat{border-left:3px solid var(--sage); padding-left:16px;}
  .stat .num{font-family:var(--mono); font-size:34px; font-weight:600; color:var(--navy); display:block;}
  .stat .num span{color:var(--gold-deep);}
  .stat .label{font-size:13.5px; color:var(--ink-soft); margin-top:4px;}
  
  /* ---------- ABOUT PAGE VALUES ---------- */
.about-values-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
  margin-top:24px;
}

@media (max-width:900px){
  .about-values-grid{
    grid-template-columns:1fr;
    gap:32px;
  }
}

.about-value{
  border-left:3px solid var(--sage);
  padding-left:20px;
}

.about-value h3{
  font-size:20px;
  margin-bottom:10px;
}

.about-value p{
  color:var(--ink);
  font-size:16.5px;
  line-height:1.6;
  margin:0;
}

  /* ---------- PROCESS ---------- */
  .process{background:var(--cream);}
  .process-list{display:flex; flex-direction:column;}
  .process-row{
    display:grid; grid-template-columns:90px 1fr 1.3fr; gap:28px;
    padding:34px 0;
    border-top:1px solid rgba(28,43,87,0.1);
    align-items:start;
  }
  .process-row:last-child{border-bottom:1px solid rgba(28,43,87,0.1);}
  .process-num{font-family:var(--mono); font-size:15px; color:var(--sage); font-weight:600; padding-top:4px;}
  .process-row h3{font-size:21px;}
  .process-row p{color:var(--ink-soft); font-size:15.5px; max-width:520px;}

  /* ---------- PORTFOLIO ---------- */
  .work{background:var(--navy-deep); color:var(--cream);}
  .work .section-head h2{color:var(--white);}
  .work .section-head p{color:#B7BCDA;}
  .work .eyebrow{color:var(--gold);}
  .work-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px;}
  .work-card{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:var(--radius);
    overflow:hidden;
    transition:transform .22s ease, border-color .22s ease;
  }
  .work-card:hover{transform:translateY(-6px); border-color:rgba(242,169,61,0.4);}
  .work-thumb{
    height:150px;
    display:flex; align-items:center; justify-content:center;
    font-family:var(--mono); font-size:12.5px; letter-spacing:.06em; text-transform:uppercase;
  }
  .work-card .body{padding:22px 22px 26px;}
  .work-card h3{color:var(--white); font-size:18px; margin-bottom:8px;}
  .work-card p{color:#AEB4D2; font-size:14px; margin-bottom:14px;}
  .work-card .result{
    font-family:var(--mono); font-size:13px; color:var(--gold); font-weight:600;
  }

  /* ---------- TESTIMONIAL / CASE STUDY SPOTLIGHT ---------- */
  .quote-section{background:var(--indigo); color:var(--white); position:relative; overflow:hidden;}
  .quote-glow{
    position:absolute; width:520px; height:520px; left:-160px; bottom:-220px;
    background:radial-gradient(circle, rgba(242,169,61,0.28), transparent 65%);
  }
  .spotlight-grid{
    position:relative; z-index:2;
    display:grid; grid-template-columns:1.2fr 1fr; gap:48px; align-items:start;
  }
  .spotlight-quote{max-width:640px;}
  .spotlight-quote .eyebrow{color:var(--gold); display:block; margin-bottom:14px;}
  .spotlight-quote .mark{font-family:var(--display); font-size:64px; color:var(--gold); line-height:0.6; margin-bottom:18px; display:block;}
  .spotlight-quote p.quote{font-family:var(--display); font-size:clamp(22px,2.6vw,30px); line-height:1.4; margin-bottom:26px;}
  .quote-attr{display:flex; align-items:center; gap:14px;}
  .quote-avatar{
    width:46px; height:46px; border-radius:50%;
    background:var(--gold); color:var(--navy-deep);
    display:flex; align-items:center; justify-content:center;
    font-family:var(--mono); font-weight:700; font-size:15px;
  }
  .quote-attr .who b{display:block; font-size:14.5px;}
  .quote-attr .who span{font-size:13px; color:#D5D7F2;}

  .spotlight-facts{
    background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14);
    border-radius:var(--radius); padding:26px 24px;
    display:flex; flex-direction:column; gap:18px;
  }
  .fact{display:flex; flex-direction:column; gap:4px; border-top:1px solid rgba(255,255,255,0.12); padding-top:14px;}
  .fact:first-child{border-top:none; padding-top:0;}
  .fact-label{font-family:var(--mono); font-size:11.5px; letter-spacing:.08em; text-transform:uppercase; color:var(--gold);}
  .fact-value{font-size:14.5px; color:#EDEFFA; line-height:1.4;}

  /* ---------- TWO ENGINES ---------- */
.engines{
  background:var(--cream);
  padding-bottom:55px;
}

.engines-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  margin-top:44px;
}

.engine-card{
    background:var(--white); border:1px solid rgba(28,43,87,0.08); border-radius:var(--radius);
    padding:30px 28px; position:relative;
  }
  .engine-tag{
    font-family:var(--mono); font-size:11px; font-weight:600; letter-spacing:.08em;
    color:var(--sage); text-transform:uppercase; display:block; margin-bottom:10px;
  }
  .engine-card h3{font-size:20px; margin-bottom:10px;}
  .engine-card p{color:var(--ink-soft); font-size:14.5px; margin-bottom:16px;}
  .engine-card .list{list-style:none; margin:0; padding:0;}
  .engine-card .list li{position:relative; padding-left:22px; margin-bottom:8px; font-size:14px; color:var(--ink);}
  .engine-card .list li::before{
    content:""; position:absolute; left:2px; top:8px; width:7px; height:7px;
    border-radius:2px; background:var(--gold); transform:rotate(45deg);
  }

  /* ---------- BACKYARD JOBS ---------- */
  .backyard{background:var(--navy-deep); color:#e8ecf4; padding:70px 0;}
  .backyard .section-head h2{color:#fff;}
  .backyard .section-head p{color:#B7BCDA;}
  .backyard .eyebrow{color:var(--gold);}
  .backyard-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px;}
  .backyard-card{
    background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.08);
    border-radius:var(--radius); padding:26px 24px;
  }
  .backyard-card h3{color:#fff; font-size:17px; margin-bottom:10px;}
  .backyard-card p{color:#AEB4D2; font-size:14px; margin:0;}

  /* ---------- ROI CALCULATOR ---------- */
  .roi{background:var(--white);}
  .roi-tool{
    background:var(--cream-deep); border-radius:var(--radius); border:1px solid rgba(28,43,87,0.08);
    padding:34px 32px; margin-top:40px;
    display:grid; grid-template-columns:1.3fr 1fr; gap:36px; align-items:center;
  }
  .roi-inputs{display:flex; flex-direction:column; gap:16px;}
  .roi-label{
    display:flex; justify-content:space-between; align-items:center;
    font-size:13.5px; font-weight:600; color:var(--navy);
  }
  .roi-val{font-family:var(--mono); color:var(--gold-deep); font-weight:600;}
  .roi-tool input[type="range"]{
    width:100%; accent-color:var(--gold); margin:2px 0 8px;
  }
  .roi-tool select{
    width:100%; padding:11px 14px; border-radius:10px; border:1px solid rgba(28,43,87,0.15);
    font-family:var(--body); font-size:14px; background:var(--white); color:var(--ink);
  }
  .roi-hint{
    font-family:var(--mono); font-size:11.5px; color:var(--ink-soft); opacity:.8;
    margin:-4px 0 0;
  }
  .roi-output{
    background:var(--navy-deep); border-radius:14px; padding:26px 24px;
    display:flex; flex-direction:column; gap:16px;
  }
  .roi-out-row{display:flex; justify-content:space-between; align-items:baseline; color:#C7CCE0; font-size:13.5px;}
  .roi-out-row b{font-family:var(--mono); font-size:22px; color:#fff; font-weight:600;}
  .roi-out-row.roi-payback{border-top:1px solid rgba(255,255,255,0.15); padding-top:14px;}
  .roi-out-row.roi-payback b{color:var(--gold);}
  .roi-out-row.roi-net{border-top:1px solid rgba(255,255,255,0.15); padding-top:14px;}
  .roi-out-row.roi-net b{color:var(--sage);}
  .roi-out-row.roi-net.is-negative b{color:#E0685A;}
  .roi-fine{font-family:var(--mono); font-size:12px; color:var(--ink-soft); text-align:center; margin-top:16px;}

  /* ---------- PRICING ---------- */
  .pricing{background:var(--navy-deep);}
  .pricing .section-head .eyebrow{color:var(--gold);}
  .pricing .section-head h2{color:#ffffff;}
  .pricing .section-head p{color:rgba(255,255,255,0.75);}
  .pricing-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px;}
  .pricing-card{
    position:relative; background:var(--white); border:1px solid rgba(28,43,87,0.08);
    border-radius:var(--radius); padding:30px 26px; display:flex; flex-direction:column;
    transition:transform .2s ease, box-shadow .2s ease;
  }
  .pricing-card:hover{transform:translateY(-5px); box-shadow:0 18px 36px rgba(28,43,87,0.10);}
  .pricing-card.is-popular{border:2px solid var(--gold);}
  .pricing-badge{
    position:absolute; top:-13px; left:50%; transform:translateX(-50%);
    background:var(--gold); color:var(--navy-deep); font-family:var(--mono);
    font-size:10.5px; font-weight:600; letter-spacing:.05em; padding:5px 14px; border-radius:999px;
  }
  .pricing-card h3{font-size:19px; margin-bottom:10px;}
  .pricing-price{font-family:var(--mono); font-size:32px; font-weight:600; color:var(--navy); margin-bottom:10px;}
  .pricing-price span{font-size:15px; color:var(--ink-soft); font-weight:500;}
  .pricing-desc{color:var(--ink-soft); font-size:14px; margin-bottom:18px;}
  .pricing-features{list-style:none; margin:0 0 24px; padding:0; flex:1;}
  .pricing-features li{position:relative; padding-left:22px; margin-bottom:9px; font-size:13.5px; color:var(--ink);}
  .pricing-features li::before{
    content:""; position:absolute; left:2px; top:7px; width:7px; height:7px;
    border-radius:2px; background:var(--sage); transform:rotate(45deg);
  }
  .pricing-card .btn{text-align:center; justify-content:center;}
  .pricing-details-link{
    display:block; text-align:center; margin-top:12px; font-family:var(--mono);
    font-size:12.5px; font-weight:600; color:var(--sage); text-decoration:none;
  }
  .pricing-details-link:hover{color:var(--navy);}

  /* ---------- INDUSTRIES WE SERVE ---------- */
  .industries{
    background:var(--sage-pale);
    padding:100px 0;
  }
  .industries .section-head{max-width:640px; margin-bottom:44px;}
  .industries-grid{
    display:grid; grid-template-columns:repeat(3,1fr); gap:20px;
  }
  .industry-card{
    position:relative;
    background:var(--white);
    border:1px solid rgba(28,43,87,0.08);
    border-radius:var(--radius);
    padding:26px 24px;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .industry-card:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 36px rgba(28,43,87,0.10);
    border-color:transparent;
  }
  .industry-card.is-featured{border:2px solid var(--gold); background:var(--cream);}
  .industry-tag{
    position:absolute; top:16px; right:18px;
    font-family:var(--mono); font-size:10.5px; font-weight:600; letter-spacing:.06em;
    color:var(--gold-deep);
  }
  .industry-ico{
    width:44px; height:44px; border-radius:11px;
    display:flex; align-items:center; justify-content:center;
    font-size:1.3rem; margin-bottom:16px;
  }
  .industry-card h3{font-size:17px; margin-bottom:8px; line-height:1.25;}
  .industry-card p{color:var(--ink-soft); font-size:13.5px; margin:0 0 10px;}
  .industry-link{font-family:var(--mono); font-size:12.5px; font-weight:600; color:var(--sage); border-bottom:1px solid var(--sage);}
  .industry-link:hover{color:var(--navy); border-color:var(--navy);}

  /* ---------- CTA BAND ---------- */
  .cta-band{
    background:var(--cream-deep);
    text-align:center;
  }
  .cta-band-inner{max-width:640px; margin:0 auto;}
  .cta-band h2{font-size:clamp(28px,3.4vw,40px); margin:14px 0 18px; line-height:1.15;}
  .cta-band p{color:var(--ink-soft); font-size:16.5px; margin-bottom:34px;}
  .cta-band .btns{display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}

  /* ---------- FOOTER ---------- */
  footer{background:var(--navy-deep); color:#A9AFCC; padding:70px 0 30px;}
  .foot-grid{
    display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px;
    padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,0.08);
  }
  .foot-brand .foot-logo{width:150px; margin-bottom:16px; filter:brightness(1.1); display:block; transition:opacity .18s ease;}
  .foot-social{display:flex; flex-wrap:wrap; gap:10px; margin-top:18px;}
  .foot-social a{
    display:flex; align-items:center; justify-content:center; width:34px; height:34px;
    border-radius:50%; background:rgba(255,255,255,0.08); color:var(--cream);
    transition:background .18s ease, color .18s ease, transform .18s ease;
  }
  .foot-social a:hover{background:var(--gold); color:var(--navy-deep); transform:translateY(-2px);}
  .foot-brand a:hover .foot-logo{opacity:.85;}
  .foot-brand p{font-size:14px; max-width:280px; color:#9198BC;}
  footer h3{color:var(--white); font-size:14px; margin-bottom:16px; font-weight:600;}
  footer ul li{margin-bottom:10px; font-size:14px;}
  footer ul li a:hover{color:var(--gold);}
  .foot-bottom{
    display:flex; justify-content:space-between; align-items:center;
    padding-top:26px; font-size:13px; color:#7C82A8; flex-wrap:wrap; gap:12px;
  }
  .foot-legal-links{display:flex; align-items:center; gap:8px; flex-wrap:wrap;}
  .foot-legal-links a{color:#7C82A8; text-decoration:none; transition:color .15s ease;}
  .foot-legal-links a:hover{color:var(--gold);}
  .foot-legal-links span[aria-hidden]{color:rgba(124,130,168,0.4);}

  /* ---------- RESPONSIVE ---------- */
  @media (max-width:1080px){
    .navcta .phone{display:none;}
  }
  @media (max-width:900px){
    .navlinks{display:none;}
    .menu-toggle{display:block;}
  }
  @media (max-width:980px){
    .service-grid{grid-template-columns:repeat(2,1fr);}
    .industries-grid{grid-template-columns:repeat(2,1fr);}
    .work-grid{grid-template-columns:1fr 1fr;}
    .stats-inner{grid-template-columns:1fr;}
    .hero-inner{grid-template-columns:1fr;}
    .lantern-hero-art{max-width:340px; margin:0 auto;}
    .foot-grid{grid-template-columns:1fr 1fr;}
    .engines-grid{grid-template-columns:1fr;}
    .backyard-grid{grid-template-columns:1fr 1fr;}
    .spotlight-grid{grid-template-columns:1fr;}
    .roi-tool{grid-template-columns:1fr;}
    .pricing-grid{grid-template-columns:1fr 1fr;}
  }
  @media (max-width:680px){

  /* Give the mobile header more horizontal room */
  .nav{
    padding-left:14px;
    padding-right:14px;
  }

  .logo{
    gap:8px;
  }

  .menu-toggle{
    margin-left:6px;
    padding:6px;
  }

  .service-grid{grid-template-columns:1fr;}
  .work-grid{grid-template-columns:1fr;}
  .process-row{grid-template-columns:1fr; gap:8px;}
  .foot-grid{grid-template-columns:1fr;}

  .hero-ctas{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-ctas .btn{
    justify-content:center;
  }

  /* Phone CTA becomes a full button on mobile */
  .hero-call{
  display:flex;
  width:100%;
  justify-content:center;
  align-items:center;
  gap:10px;
  padding:13px 14px;
  margin-top:2px;
  border:1.5px solid rgba(242,169,61,0.55);
  border-radius:999px;
  color:var(--white);
  font-size:13.5px;
}

.hero-call strong{
  white-space:nowrap;
  font-size:13px;
}

  .hero-call strong{
    color:var(--gold);
  }

  .industries-grid{grid-template-columns:1fr;}
  .backyard-grid{grid-template-columns:1fr;}
  .pricing-grid{grid-template-columns:1fr;}
  .roi-tool{padding:26px 22px;}

  /* Keep mobile hero focused on copy and CTAs */
  .lantern-hero-art{
    display:none;
  }
}

/* ---------- BRAND BLOBS (from the original ad graphic) ---------- */
/* Organic indigo + sage shapes, dot clusters, and plus/x marks. This is the
   decorative language from the source promo graphic, applied to the light
   sections of the site so the vivid indigo/sage color-blocking actually
   shows up as a visual identity element, not just small icon backgrounds. */
.blobwrap{position:relative; overflow:hidden;}
.blobwrap > .wrap{position:relative; z-index:2;}
.blob{
  position:absolute; pointer-events:none; z-index:1;
  border-radius:63% 37% 54% 46% / 47% 41% 59% 53%;
}
.blob-indigo{background:var(--indigo);}
.blob-sage{background:var(--sage-pale);}
.brand-dots{position:absolute; display:flex; gap:9px; z-index:2;}
.brand-dots span{width:8px; height:8px; border-radius:50%; background:currentColor; opacity:.55;}
.brand-plus{
  position:absolute; font-family:var(--mono); font-weight:600; color:var(--indigo);
  opacity:.4; z-index:2; line-height:1;
}

/* per-section placement + sizing */
.services.blobwrap .blob-indigo{width:170px; height:170px; right:24px; top:-46px; opacity:.07;}
.services.blobwrap .blob-sage{width:400px; height:400px; left:-180px; bottom:-180px; opacity:.5;}
.services.blobwrap .brand-plus{top:34px; right:46px; font-size:1.6rem;}

.stats.blobwrap .blob-indigo{width:320px; height:320px; right:-140px; top:-130px; opacity:.08;}
.stats.blobwrap .brand-dots{top:24px; left:0; color:var(--indigo);}

.process.blobwrap .blob-sage{width:260px; height:260px; left:-120px; bottom:-100px; opacity:.06;}
.process.blobwrap .brand-plus{top:40px; right:60px; color:var(--gold); opacity:.5; font-size:1.6rem;}

.industries.blobwrap .blob-indigo{width:220px; height:220px; right:-100px; bottom:-110px; opacity:.10;}

.blog-index.blobwrap .blob-indigo{
  width:420px;
  height:420px;
  right:-140px;
  top:-170px;
  background:#8B92D0;
  opacity:.14;
}

.blog-index.blobwrap .blob-sage{
  width:300px;
  height:300px;
  left:-130px;
  bottom:80px;
  background:#B8BCE0;
  opacity:.08;
}

.blog-index.blobwrap .brand-dots{
  top:20px;
  left:0;
  color:#8B92D0;
  opacity:.55;
}

.blog-index.blobwrap .brand-plus{
  top:35px;
  right:70px;
  font-size:1.7rem;
  color:#9CA2DC;
  opacity:.65;
}

.cta-band.blobwrap .blob-sage{width:300px; height:300px; left:-130px; top:-120px; opacity:.45;}
.cta-band.blobwrap .brand-plus{top:26px; right:70px; font-size:1.7rem; color:var(--indigo); opacity:.35;}
@media (max-width:768px){
  .cta-band.blobwrap .brand-plus{display:none;}
}

/* ---------- LEAD FORM (reusable — audit page, future contact page, etc.) ---------- */
.lead-form-card{
  background:var(--white); border-radius:var(--radius); padding:40px 44px;
  max-width:800px; margin:0 auto; text-align:left;
  box-shadow:0 20px 45px rgba(28,43,87,0.12);
}
/* Widen just this CTA band's container (the audit form), without affecting
   the plain heading+button CTA bands used elsewhere on the site, which
   read better narrower. */
   
/* Widens ANY .cta-band-inner that actually contains a .lead-form-card,
   automatically, regardless of that section's specific ID. Replaces the
   old approach of listing every form page's ID by hand, which is exactly
   how the Social Media page's form got missed, a section using
   .lead-form-card will now always get widened, past, present, or future,
   with nothing to remember to update. Plain heading+button CTA bands
   (which never contain .lead-form-card) are completely unaffected and
   stay at their narrower default width. */
.cta-band-inner:has(.lead-form-card){max-width:860px;}
.lead-form-row,
.lead-form-card .form-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.lead-form-card .form-group-full{grid-column:1 / -1;}
.lead-form-card .form-label{
  display:block; font-weight:600; font-size:13.5px; margin-bottom:7px; color:var(--navy);
}
.lead-form-card .bn-required::after{content:" *"; color:var(--gold-deep);}
.lead-form-card .form-group{margin-bottom:0;}
.lead-form-card .select-wrapper{position:relative;}
.lead-form-card .select-wrapper select.form-control{appearance:none; cursor:pointer;}
.lead-form-card .select-wrapper::after{
  content:"\25BE"; position:absolute; right:16px; top:50%; transform:translateY(-50%);
  color:var(--ink-soft); pointer-events:none;
}
/* Checkbox groups (e.g. "How can we help?") — same fix as the Contact page:
   CF7 wraps checkboxes in nested wrapper spans before reaching the actual
   items, display:contents removes those wrappers from layout so the grid
   below applies directly to the checkboxes instead of stacking them. */
.lead-form-card .radio-group{display:flex; flex-wrap:wrap; gap:12px;}
.lead-form-card .radio-group span:not(.wpcf7-list-item):not(.wpcf7-list-item-label){display:contents;}
.lead-form-card .radio-group .wpcf7-list-item{
  margin:0; flex:1 1 calc(33.333% - 8px); max-width:calc(33.333% - 8px);
}
.lead-form-card .radio-group .wpcf7-list-item label{
  position:relative; display:flex; align-items:center; gap:10px; cursor:pointer;
  border:1.5px solid rgba(28,43,87,0.10); border-radius:11px; padding:12px 14px;
  font-size:14px; color:var(--ink); transition:border-color .18s ease, background .18s ease;
  width:100%;
}
.lead-form-card .radio-group .wpcf7-list-item label:hover{border-color:var(--sage);}
.lead-form-card .radio-group .wpcf7-list-item input[type="checkbox"]{accent-color:var(--gold); margin:0; flex-shrink:0;}
.lead-form-card .radio-group .wpcf7-list-item label:has(input:checked){border-color:var(--gold); background:var(--gold-pale);}
@media (max-width:900px){
  .lead-form-card .form-grid{grid-template-columns:1fr !important;}
  .lead-form-card .radio-group .wpcf7-list-item{flex:1 1 calc(50% - 6px) !important; max-width:calc(50% - 6px) !important;}
}
@media (max-width:600px){
  .lead-form-card .form-grid{grid-template-columns:1fr !important;}
  .lead-form-card .radio-group .wpcf7-list-item{flex:1 1 100% !important; max-width:100% !important;}
  .lead-form-card .select-wrapper,
  .lead-form-card .select-wrapper select.form-control{width:100% !important;}
  .lead-form-card{padding:26px 22px !important;}
}
.lead-form-field{margin-bottom:18px;}
.lead-form-field label{
  display:block; font-weight:600; font-size:13.5px; margin-bottom:7px; color:var(--navy);
}
.lead-form-card input[type=text],
.lead-form-card input[type=email],
.lead-form-card input[type=tel],
.lead-form-card input[type=url],
.lead-form-card textarea{
  width:100%; padding:13px 15px; border:1.5px solid rgba(28,43,87,0.12); border-radius:11px;
  font-family:var(--body); font-size:15px; color:var(--ink); background:var(--cream);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.lead-form-card input:focus,
.lead-form-card textarea:focus{
  outline:none; border-color:var(--gold); box-shadow:0 0 0 4px rgba(242,169,61,0.18);
}
.lead-form-submit{width:100%; text-align:center; justify-content:center; margin-top:4px;}
/* Contact Form 7's own submit button doesn't inherit the btn/btn-gold
   classes used everywhere else on the site — CF7 always renders its own
   input.wpcf7-submit regardless of what's in the shortcode, so it needs its
   own rule to match. !important guards against CF7's bundled plugin
   stylesheet winning on specificity. */
.lead-form-card input.wpcf7-submit{
  display:block; width:100%; text-align:center; margin-top:4px;
  background:var(--gold) !important; color:var(--navy-deep) !important;
  border:none !important; border-radius:999px !important;
  padding:16px 28px !important; font-family:var(--body) !important;
  font-weight:600 !important; font-size:1.04rem !important; cursor:pointer;
  box-shadow:0 6px 18px rgba(242,169,61,.35) !important;
  transition:transform .18s ease, background .18s ease;
}
.lead-form-card input.wpcf7-submit:hover{background:var(--gold-deep) !important; transform:translateY(-2px);}
.lead-form-card .wpcf7-spinner{margin:0 auto; display:block;}
.lead-form-card .wpcf7-response-output{
  margin-top:16px; padding:12px 16px; border-radius:10px; font-size:13.5px;
  border:1.5px solid rgba(28,43,87,0.12); color:var(--ink-soft); text-align:center;
}
.lead-form-card form.sent .wpcf7-response-output{border-color:var(--sage); color:var(--navy);}
.lead-form-card form.invalid .wpcf7-response-output,
.lead-form-card form.failed .wpcf7-response-output{border-color:#E0685A; color:#B4463A;}
.lead-form-card .wpcf7-not-valid-tip{
  display:block; margin-top:6px; font-family:var(--mono); font-size:11px; color:#E0685A;
}
.lead-form-card .wpcf7-form-control.wpcf7-not-valid{border-color:#E0685A !important;}
.lead-form-note{
  font-family:var(--mono); font-size:11.5px; color:var(--ink-soft); opacity:.75;
  text-align:center; margin:16px 0 0;
}

/* Success card shown in place of the form after a real CF7 "mail sent"
   event — hidden by default, .show reveals it. */
.lead-form-success{
  display:none; max-width:640px; margin:0 auto; text-align:center;
  background:var(--white); border-radius:var(--radius); padding:44px 36px;
  box-shadow:0 20px 45px rgba(28,43,87,0.12);
}
.lead-form-success.show{display:block;}
.lead-form-success-icon{
  width:56px; height:56px; border-radius:50%; background:var(--sage); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:26px; margin:0 auto 18px;
}
.lead-form-success h3{font-family:var(--display); color:var(--navy); font-size:22px; margin-bottom:10px;}
.lead-form-success p{color:var(--ink-soft); font-size:15px; margin-bottom:8px;}

@media (max-width:600px){
  .lead-form-row{grid-template-columns:1fr;}
  .lead-form-card{padding:26px 22px;}
  .lead-form-success{padding:32px 24px;}
}

/* ---------- WPFORMS BRAND OVERRIDE ---------- */
/* Restyles the actual WPForms plugin output to match the theme, and pairs
   short fields (Name/Email/Phone/Text/URL) side-by-side on desktop instead
   of stacking every field in one long column. WPForms' own field-type
   classes (wpforms-field-name, wpforms-field-email, etc.) are what's
   targeted here — stable across WPForms versions, but if a specific form
   uses a field type not listed below, that one field will just stay
   full-width, which is a safe fallback, not a broken layout. */
.lead-form-card .wpforms-container{max-width:100%;}
.lead-form-card .wpforms-container .wpforms-field-label{
  font-family:var(--body); font-weight:600; font-size:13.5px; color:var(--navy);
  margin-bottom:7px !important;
}
.lead-form-card .wpforms-container input[type=text],
.lead-form-card .wpforms-container input[type=email],
.lead-form-card .wpforms-container input[type=tel],
.lead-form-card .wpforms-container input[type=url],
.lead-form-card .wpforms-container input[type=number],
.lead-form-card .wpforms-container select,
.lead-form-card .wpforms-container textarea{
  width:100% !important; padding:13px 15px !important;
  border:1.5px solid rgba(28,43,87,0.12) !important; border-radius:11px !important;
  font-family:var(--body) !important; font-size:15px !important;
  background:var(--cream) !important; color:var(--ink) !important;
  transition:border-color .15s ease, box-shadow .15s ease; box-sizing:border-box !important;
}
.lead-form-card .wpforms-container input:focus,
.lead-form-card .wpforms-container select:focus,
.lead-form-card .wpforms-container textarea:focus{
  outline:none !important; border-color:var(--gold) !important;
  box-shadow:0 0 0 4px rgba(242,169,61,0.18) !important;
}
.lead-form-card .wpforms-container .wpforms-field{
  padding:0 !important; margin-bottom:18px !important;
}
.lead-form-card .wpforms-container .wpforms-field-description,
.lead-form-card .wpforms-container .wpforms-error{
  font-family:var(--mono); font-size:12px; color:var(--ink-soft);
}
.lead-form-card .wpforms-container .wpforms-field-required{color:var(--gold-deep) !important;}

@media (min-width:641px){
  .lead-form-card .wpforms-container .wpforms-field-container{
    display:flex; flex-wrap:wrap; gap:0 16px;
  }
  .lead-form-card .wpforms-container .wpforms-field-name,
  .lead-form-card .wpforms-container .wpforms-field-email,
  .lead-form-card .wpforms-container .wpforms-field-phone,
  .lead-form-card .wpforms-container .wpforms-field-text{
    flex:1 1 calc(50% - 8px); max-width:calc(50% - 8px);
  }
  .lead-form-card .wpforms-container .wpforms-field-textarea,
  .lead-form-card .wpforms-container .wpforms-field-select,
  .lead-form-card .wpforms-container .wpforms-field-checkbox,
  .lead-form-card .wpforms-container .wpforms-field-radio,
  .lead-form-card .wpforms-container .wpforms-field-url,
  .lead-form-card .wpforms-container .wpforms-field-html{
    flex:1 1 100%; max-width:100%;
  }
}
.lead-form-card .wpforms-container textarea{
  min-height:auto !important; height:90px !important; resize:vertical;
}

.lead-form-card .wpforms-container button[type=submit],
.lead-form-card .wpforms-container .wpforms-submit{
  background:var(--gold) !important; color:var(--navy-deep) !important;
  border:none !important; border-radius:999px !important; padding:15px 30px !important;
  font-family:var(--body) !important; font-weight:600 !important; font-size:15px !important;
  width:100% !important; cursor:pointer; box-shadow:0 6px 18px rgba(242,169,61,.35) !important;
  transition:transform .18s ease, background .18s ease;
}
.lead-form-card .wpforms-container button[type=submit]:hover,
.lead-form-card .wpforms-container .wpforms-submit:hover{
  background:var(--gold-deep) !important; transform:translateY(-2px);
}

/* ---------- SIMPLE INNER PAGES (about, services, blog, contact) ---------- */
.simple-page{
  padding:80px 0;
  min-height:50vh;
}
.simple-page h1{
  font-size:clamp(30px,4vw,44px);
  margin-bottom:26px;
  max-width:760px;
}
.simple-page-content{
  max-width:720px;
  font-size:17px;
  color:var(--ink-soft);
}
.simple-page-content p{margin-bottom:20px;}
.simple-page-content h2{color:var(--navy); font-size:26px; margin:36px 0 14px;}
.simple-page-content h3{color:var(--navy); font-size:20px; margin:28px 0 12px;}
.simple-page-content ul{margin:0 0 20px 22px; list-style:disc;}
.simple-page-content li{margin-bottom:8px;}
.simple-page-content img{border-radius:var(--radius); margin:20px 0;}
.simple-page-content a{color:var(--sage); text-decoration:underline;}
.simple-page-thumb img{border-radius:var(--radius); margin-bottom:28px;}

/* ---------- BLOG INDEX / ARCHIVE ---------- */
.blog-index{
  position:relative;
  overflow:hidden;
  background:var(--navy-deep);
  padding:90px 0 100px;
}

.blog-index-head{
  position:relative;
  z-index:3;
  margin-bottom:56px;
}

.blog-index-head h1{
  color:var(--white);
  margin-top:12px;
}

.blog-index-head .eyebrow{
  color:var(--sage-light);
}
.blog-list{
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
.blog-card{
  display:flex; flex-direction:column;
  background:var(--white); border:1px solid rgba(28,43,87,0.08); border-radius:var(--radius);
  overflow:hidden; transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.blog-card:hover{transform:translateY(-6px); box-shadow:0 20px 40px rgba(28,43,87,0.10); border-color:transparent;}
.blog-card-thumb{
  display:block; aspect-ratio:16/10; background:var(--sage-pale); flex-shrink:0;
}
.blog-card-thumb img{width:100%; height:100%; object-fit:cover; display:block;}
.blog-card-body{display:flex; flex-direction:column; flex:1; min-width:0; padding:24px 22px 22px;}
.blog-card-date{
  font-family:var(--mono); font-size:11.5px; font-weight:600; letter-spacing:.05em;
  text-transform:uppercase; color:var(--sage); margin-bottom:10px;
}
.blog-card-title{
  font-size:19px; margin-bottom:10px; line-height:1.3;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.blog-card-title a{color:var(--navy); text-decoration:none;}
.blog-card-title a:hover{color:var(--gold-deep);}
.blog-card-excerpt{
  color:var(--ink-soft); font-size:14.5px; line-height:1.6; margin-bottom:16px; flex:1;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.blog-card-excerpt p{margin:0;}
.blog-card-link{
  font-family:var(--mono); font-size:13px; font-weight:600; color:var(--sage);
  border-bottom:1px solid var(--sage); align-self:flex-start; text-decoration:none;
  margin-top:auto;
}
.blog-card-link:hover{color:var(--navy); border-color:var(--navy);}

.blog-empty{
  background:var(--cream-deep); border-radius:var(--radius); padding:40px;
  color:var(--ink-soft); max-width:600px;
}

.blog-pagination{margin-top:48px;}
.blog-pagination .nav-links{display:flex; gap:10px; flex-wrap:wrap; align-items:center;}
.blog-pagination .page-numbers{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:38px;
  height:38px;
  padding:0 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.18);
  font-family:var(--mono);
  font-size:13px;
  color:#C7CCE0;
  text-decoration:none;
  transition:background .18s ease, color .18s ease, border-color .18s ease;
}

.blog-pagination .page-numbers:hover{
  background:rgba(255,255,255,0.08);
  color:var(--white);
  border-color:var(--gold);
}

.blog-pagination .page-numbers.current{
  background:var(--gold);
  color:var(--navy-deep);
  border-color:var(--gold);
}

.blog-pagination .page-numbers.dots{
  border:none;
  background:none;
}

@media (max-width:980px){
  .blog-list{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:680px){
  .blog-list{grid-template-columns:1fr;}
}

/* ---------- SINGLE POST ---------- */
.reading-progress{
  position:fixed; top:0; left:0; height:3px; width:0%;
  background:linear-gradient(90deg, var(--sage), var(--gold));
  z-index:9998; transition:width .1s ease-out;
}

/* The "cover": a genuine dark editorial band, same dot-grid and gold glow
   language as the homepage hero, so the post opens with the same visual
   weight as the rest of the site instead of sitting on flat cream. */
.single-post{
  position:relative;
  overflow:hidden;
  background:var(--navy-deep);
  padding-top:0;
  padding-bottom:90px;
}
.single-post::before{
  content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1.3px, transparent 1.3px);
  background-size:32px 32px;
  mask-image:radial-gradient(circle at 80% 20%, black 0%, black 15%, transparent 55%);
  -webkit-mask-image:radial-gradient(circle at 80% 20%, black 0%, black 15%, transparent 55%);
}
.single-post::after{
  content:""; position:absolute; z-index:0; pointer-events:none;
  width:640px; height:640px; right:-200px; top:-260px;
  background:radial-gradient(circle, rgba(242,169,61,0.26) 0%, rgba(242,169,61,0.08) 40%, transparent 68%);
}
.single-post > .wrap{position:relative; z-index:1;}

.back-to-blog{
  display:inline-block;
  color:var(--gold);
  margin-top:36px;
}

.back-to-blog:hover{
  color:#fff;
  border-color:#fff;
}

.post-cats{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px;}
.post-cat-pill{
  font-family:var(--mono); font-size:11px; font-weight:700; letter-spacing:.06em;
  text-transform:uppercase; background:var(--gold); color:var(--navy-deep);
  padding:6px 14px; border-radius:999px; text-decoration:none;
  transition:background .18s ease, color .18s ease;
}
.post-cat-pill:hover{background:#fff; color:var(--navy-deep);}

.single-post h1{
  color:#fff; max-width:820px;
  font-size:clamp(30px,4.2vw,50px);
}

.post-meta-row{
  display:flex; align-items:center; gap:16px; flex-wrap:wrap;
  font-family:var(--mono); font-size:13px; color:#C7CCE0;
  padding-bottom:36px; margin-bottom:0; border-bottom:none;
}
.post-meta-row span{display:flex; align-items:center; gap:6px;}
.post-meta-row span::before{font-size:14px; opacity:.85;}
.post-meta-row span:nth-child(1)::before{content:"📅";}
.post-meta-row span:nth-child(3)::before{content:"⏱";}
.post-meta-row span:nth-child(5)::before{content:"✍️";}
.post-meta-dot{display:none !important;}

.post-hero-image{
  position:relative; border-radius:var(--radius); overflow:hidden;
  margin:0 auto 36px; box-shadow:0 24px 48px rgba(0,0,0,0.28); max-width:800px;
}
.post-hero-image::after{content:none;}
.post-hero-image img{width:100%; height:auto; display:block; max-height:460px; object-fit:cover;}

/* The content card — this is the actual "cover ends, article begins"
   moment. White, padded, shadowed, sitting forward of the dark band
   above it, exactly the separation the reference examples all share.
   Deliberately a fully separate element from the image above it, rather
   than trying to visually fuse the two — that fusion trick only reads
   cleanly with a plain full-bleed photo, and breaks down whenever the
   featured image is itself a pre-styled graphic with its own rounded
   corners or shadow baked into the file. */
.simple-page-content{
  background:var(--white); border-radius:var(--radius);
  padding:52px 50px 44px; margin:0 auto 50px;
  box-shadow:0 30px 60px rgba(20,31,64,0.22);
  position:relative; z-index:2;
}
.single-post .simple-page-content{max-width:800px;}

/* drop cap on the opening paragraph for an editorial feel */
.simple-page-content > p:first-of-type::first-letter{
  font-family:var(--display); font-size:64px; font-weight:600; color:var(--gold-deep);
  float:left; line-height:0.8; margin:8px 10px 0 0;
}

/* gold rotated-square marker before every H2 — the same accent shape
   already used for list bullets sitewide, brought into post content as
   a consistent brand signature. */
.simple-page-content h2{
  display:flex; align-items:center; gap:12px;
}
.simple-page-content h2::before{
  content:""; flex-shrink:0; width:10px; height:10px;
  background:var(--gold); transform:rotate(45deg); border-radius:2px;
}

.post-tags{border-top-color:rgba(255,255,255,0.14); margin-top:0;}

/* richer typography for pasted/rich-text post content — the oversized
   gold quote mark echoes .spotlight-quote .mark used in the testimonial
   section elsewhere on the site, so a pull-quote here feels like part of
   the same brand, not a generic blockquote style. */
.simple-page-content blockquote{
  position:relative; margin:36px 0; padding:8px 28px 8px 52px;
  border-left:3px solid var(--gold);
  background:var(--cream-deep); border-radius:0 12px 12px 0;
  font-family:var(--display); font-style:italic; color:var(--navy); font-size:19px;
}
.simple-page-content blockquote::before{
  content:"\201C"; position:absolute; left:14px; top:-6px;
  font-family:var(--display); font-size:48px; color:var(--gold); line-height:1;
  font-style:normal;
}
.simple-page-content ol{margin:0 0 20px 22px; padding:0;}
.simple-page-content strong{color:var(--navy); font-weight:700;}
.simple-page-content hr{border:none; border-top:1px solid rgba(28,43,87,0.12); margin:36px 0;}
.simple-page-content table{width:100%; border-collapse:collapse; margin:24px 0; font-size:15px;}
.simple-page-content th, .simple-page-content td{
  padding:10px 14px; border:1px solid rgba(28,43,87,0.12); text-align:left;
}
.simple-page-content th{background:var(--cream-deep); color:var(--navy); font-weight:600;}
.simple-page-content figure{margin:24px 0;}
.simple-page-content figcaption{
  font-family:var(--mono); font-size:12.5px; color:var(--ink-soft); margin-top:8px; text-align:center;
}
.simple-page-content code{
  background:var(--cream-deep); padding:2px 6px; border-radius:5px; font-size:14px;
}

.post-tags{display:flex; flex-wrap:wrap; gap:8px; margin-top:36px; padding-top:24px; border-top:1px solid rgba(28,43,87,0.08);}
.post-tag-pill{
  font-family:var(--mono); font-size:12px; color:var(--ink-soft); text-decoration:none;
  background:var(--cream-deep); padding:5px 12px; border-radius:999px;
  transition:background .18s ease, color .18s ease;
}
.post-tag-pill:hover{background:var(--sage-pale); color:var(--navy);}

.post-nav{
  display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:50px; max-width:820px;
}
.post-nav-prev, .post-nav-next{
  position:relative; display:flex; flex-direction:column; padding:22px 26px;
  border:1.5px solid rgba(28,43,87,0.08); background:var(--white);
  border-radius:var(--radius); min-height:74px; justify-content:center;
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.post-nav-prev:hover, .post-nav-next:hover{
  border-color:var(--gold); transform:translateY(-3px); box-shadow:0 16px 32px rgba(28,43,87,0.10);
}
.post-nav-next{text-align:right; align-items:flex-end;}
.post-nav a{text-decoration:none; display:flex; flex-direction:column; gap:6px;}
.post-nav-label{
  font-family:var(--mono); font-size:11.5px; color:var(--sage); font-weight:700;
  letter-spacing:.04em; text-transform:uppercase;
}
.post-nav-title{color:var(--navy); font-size:15.5px; font-weight:600; line-height:1.35;}

/* ---------- RELATED POSTS ---------- */
.related-posts{background:var(--cream-deep); padding:90px 0;}
.related-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:40px;}
.related-card{
  background:var(--white); border:1px solid rgba(28,43,87,0.08); border-radius:var(--radius);
  overflow:hidden; transition:transform .2s ease, box-shadow .2s ease;
}
.related-card:hover{transform:translateY(-5px); box-shadow:0 18px 36px rgba(28,43,87,0.10);}
.related-card-thumb{display:block; aspect-ratio:16/10; background:var(--sage-pale);}
.related-card-thumb img{width:100%; height:100%; object-fit:cover; display:block;}
.related-card-noimg{
  display:flex; align-items:center; justify-content:center; height:100%; padding:20px;
  font-family:var(--display); color:var(--navy); text-align:center; font-size:15px;
}
.related-card-body{padding:20px 22px;}
.related-card-body h3{font-size:16.5px; margin:8px 0 0; line-height:1.3;}
.related-card-body h3 a{color:var(--navy); text-decoration:none;}
.related-card-body h3 a:hover{color:var(--gold-deep);}

@media (max-width:780px){
  .post-nav{grid-template-columns:1fr;}
  .post-nav-next{text-align:left; align-items:flex-start;}
  .related-grid{grid-template-columns:1fr;}
}

/* ---------- NAV DROPDOWNS ---------- */
/* WordPress auto-generates class="menu-item-has-children" on any top-level
   <li> that has nested items, and wraps those nested items in <ul
   class="sub-menu"> — this only activates once a real menu with nested
   items exists in Appearance > Menus (the flat fallback menu has none). */
.navlinks li{position:relative; list-style:none;}
.navlinks li.menu-item-has-children > a{display:flex; align-items:center; gap:6px;}
.navlinks li.menu-item-has-children > a::before{
  content:"";
  position:static;
  background:none;
  width:6px; height:6px;
  border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor;
  border-left:none; border-top:none;
  transform:rotate(45deg);
  margin-top:-4px;
  opacity:.5;
  transition:transform .2s ease, margin-top .2s ease;
}
.navlinks li.menu-item-has-children:hover > a::before{transform:rotate(225deg); margin-top:2px;}

.navlinks .sub-menu{
  position:absolute; top:100%; left:50%;
  transform:translateX(-50%) translateY(4px);
  min-width:250px;
  background:var(--white);
  border-radius:12px;
  border:1px solid rgba(28,43,87,0.08);
  box-shadow:0 16px 32px rgba(28,43,87,0.12);
  padding:8px;
  margin:0;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .18s ease, transform .18s ease, visibility .18s;
  z-index:200;
}
.navlinks li.menu-item-has-children:hover > .sub-menu{
  opacity:1; visibility:visible; pointer-events:auto;
  transform:translateX(-50%) translateY(0);
}
.navlinks .sub-menu li{width:100%;}
.navlinks .sub-menu a{
  display:flex; align-items:center;
  padding:10px 14px; border-radius:8px;
  font-size:14px; font-weight:500; color:var(--navy);
  white-space:nowrap;
  transition:background .15s ease;
}
.navlinks .sub-menu a:hover{background:var(--sage-pale);}
/* "See All Services" style divider link — add the CSS Class "nav-divider"
   to this menu item in Appearance > Menus (click the item to expand it;
   if the CSS Classes field isn't visible, turn it on under Screen Options
   at the top of the Menus screen first). */
.navlinks .sub-menu li.nav-divider{
  margin-top:6px; padding-top:10px; border-top:1px solid rgba(28,43,87,0.10);
}
.navlinks .sub-menu li.nav-divider a{
  color:var(--sage); font-weight:600; font-family:var(--mono); font-size:13px;
}
.navlinks .sub-menu li.nav-divider a:hover{color:var(--navy); background:none;}
.navlinks .sub-menu li.menu-item-has-children > a::before{
  margin-left:auto; margin-top:0; opacity:.4;
  transform:rotate(-45deg);
}

/* third-level flyout (e.g. Industries → Home Services → HVAC/Plumbing/etc) —
   opens to the right of its parent instead of stacking below it */
.navlinks .sub-menu .sub-menu{
  top:-9px; left:100%;
  transform:translateY(0) translateX(4px);
}
.navlinks .sub-menu li.menu-item-has-children:hover > .sub-menu{
  transform:translateY(0) translateX(0);
}

/* ---------- FAQ ACCORDION ----------
   Used across every service page, the pricing page, and the FAQ page.
   Deliberately NOT a bordered card with a chevron — that "boxed card,
   rotating icon" shape is the generic accordion pattern most agency FAQ
   sections default to, and reads as templated rather than distinct. This
   uses a simpler list treatment instead: a thin divider between
   questions rather than a box around each one, a gold accent bar that
   only appears on the left edge while a question is open, and a plus
   sign that becomes an × rather than a chevron rotating in place. */
.faq-sec{background:var(--cream); padding:90px 0;}
.faq{max-width:800px; margin:0 auto;}
.faq details{
  border-bottom:1px solid rgba(28,43,87,0.12);
  padding-left:18px; border-left:3px solid transparent;
  transition:border-left-color .2s ease;
}
.faq details:first-child{border-top:1px solid rgba(28,43,87,0.12);}
.faq details[open]{border-left-color:var(--gold);}
.faq summary{
  list-style:none; cursor:pointer; padding:24px 40px 24px 4px; position:relative;
  font-family:var(--display); font-size:18px; font-weight:600; color:var(--navy);
  line-height:1.4;
}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::marker{content:"";}
.faq summary::before,
.faq summary::after{
  content:""; position:absolute; right:4px; top:50%; background:var(--sage);
  transition:transform .2s ease, background .2s ease;
}
.faq summary::before{width:14px; height:2px; transform:translateY(-50%);}
.faq summary::after{width:2px; height:14px; transform:translateY(-50%);}
.faq details[open] summary::after{transform:translateY(-50%) rotate(90deg); background:var(--gold-deep);}
.faq details[open] summary::before{background:var(--gold-deep);}
.faq summary:hover{color:var(--gold-deep);}
.faq .ans{padding:0 40px 26px 4px;}
.faq .ans p{
  margin:0; color:var(--ink-soft); font-size:15.5px; line-height:1.7;
}
.faq .ans a{color:var(--sage); font-weight:600;}
.faq .ans a:hover{color:var(--navy);}

/* ---------- MOBILE NAV (JS-toggled) ---------- */
@media (max-width:900px){
  .navlinks{
    display:none;
    position:absolute; top:100%; left:0; right:0;
    width:100%; max-width:100vw; box-sizing:border-box;
    overflow-x:hidden;
    background:var(--cream);
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:8px 24px 20px;
    border-bottom:1px solid rgba(28,43,87,0.08);
    box-shadow:0 16px 32px rgba(28,43,87,0.14);
    z-index:9999;
  }
  .navlinks.is-open{display:flex;}
  .navlinks li{width:100%; max-width:100%; border-bottom:1px solid rgba(28,43,87,0.06);}
  .navlinks li:last-child{border-bottom:none;}
  .navlinks .sub-menu,
  .navlinks .sub-menu .sub-menu{
    position:static !important; left:auto !important; right:auto !important; top:auto !important;
    transform:none !important; opacity:1 !important; visibility:visible !important; pointer-events:auto !important;
    box-shadow:none !important; border:none !important; border-radius:0 !important;
    margin:0 !important; width:100% !important; max-width:100% !important; min-width:0 !important;
    box-sizing:border-box !important; background:none !important;
    padding:0 0 10px 16px !important;
    display:none;
  }
  .navlinks{white-space:normal;}
  .navlinks a{padding:15px 4px; width:100%; max-width:100%; font-size:16px; box-sizing:border-box;}
  .navlinks a::after{display:none;} /* the sliding gold underline only makes sense on hover/desktop */

  /* dropdowns become inline accordions on mobile instead of hover flyouts —
     the chevron needs to be clearly visible here since there's no hover
     state on a touchscreen to hint that something's tappable. It's a
     ::before (not ::after) to avoid colliding with the underline effect
     above, which means it renders BEFORE the link text in normal flow —
     margin-left:auto pushes it to the right without needing
     justify-content, which would incorrectly treat the pseudo-element and
     the text as two flex items and shove them to opposite ends. */
  .navlinks li.menu-item-has-children > a{
    display:flex; align-items:center;
  }
  .navlinks li.menu-item-has-children > a::before{
    width:9px; height:9px;
    border-right:2px solid var(--sage);
    border-bottom:2px solid var(--sage);
    opacity:1; margin-top:-2px; margin-left:auto; flex-shrink:0;
    order:2;
  }
  .navlinks li.menu-item-has-children.mobile-open > a::before{
    transform:rotate(225deg); border-color:var(--gold-deep);
  }
  .navlinks .sub-menu li{border-bottom:none;}
  .navlinks .sub-menu a{padding:11px 4px; font-size:14.5px; color:var(--ink-soft); white-space:normal;}
  .navlinks li.mobile-open > .sub-menu{display:block !important;}

  /* shrink the audit button on mobile so it stops crowding the hamburger —
     the hamburger has protected space (flex:0 0 auto) but a full-size pill
     button next to it still looked cramped on narrow phones */
  .navcta .btn{padding:10px 18px; font-size:13.5px;}

  /* Anchor-linked sections (e.g. /free-local-seo-audit/#audit-form) need
     room reserved above them so the sticky header doesn't cover part of
     the target when the browser jumps there — without this, the header's
     own height eats into where the target "starts," which is what was
     making mobile land past the form entirely once the taller, single-
     column mobile layout was factored in. */
  section[id]{scroll-margin-top:88px;}

  header{position:sticky;}
}

@media (max-width:480px){
  .navcta .btn{padding:9px 14px; font-size:12.5px;}
  .logo-text .l1{font-size:15px;}
}
/* ---------- MOBILE FIXES: HOMEPAGE SERVICE CARDS ---------- */

.service-grid-even{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
}

.service-grid-even .service-card{
  flex:1 1 calc(25% - 17px);
  min-width:0;
}

/* Tablet */
@media (max-width:980px){
  .service-grid-even .service-card{
    flex:1 1 calc(50% - 11px);
    max-width:calc(50% - 11px);
  }
}

/* Mobile */
@media (max-width:680px){
  .service-grid-even{
    display:grid;
    grid-template-columns:minmax(0, 1fr);
    gap:16px;
    width:100%;
  }

  .service-grid-even .service-card{
    display:block;
    width:100%;
    max-width:none !important;
    min-width:0;
    padding:24px 20px;
    overflow:hidden;
  }

  .service-grid-even .service-card h3{
    font-size:19px;
    line-height:1.3;
    margin-bottom:10px;
  }

  .service-grid-even .service-card p{
    font-size:15.5px;
    line-height:1.55;
    margin-bottom:16px;
  }

  .service-grid-even .service-card .tag{
    display:block;
    font-size:11.5px;
  }

  .service-grid-even .service-icon{
    width:42px;
    height:42px;
    margin-bottom:16px;
    font-size:1.15rem;
  }
}

.engine-card{min-width:0;}
.engine-card .list li{overflow-wrap:break-word;}
@media (max-width:600px){
  .engine-card{padding:24px 20px;}
  .engine-card h3{font-size:18px;}
  .industry-link{display:inline-block; margin-top:6px;}
  
  
  /**
 * Site-wide scroll-reveal: cards and content blocks fade and slide up
 * into view as they enter the viewport, instead of all appearing at once
 * on page load. Same IntersectionObserver pattern used on the Life Coach
 * Marketing landing page, brought here so every page benefits, not just
 * that one. Purely visual, degrades invisibly (everything just appears
 * normally) if JS fails to run for any reason.
 */
function blm_scroll_reveal() {
	?>
	<script>
	document.addEventListener('DOMContentLoaded', function () {
		var selectors = [
			'.service-card', '.industry-card', '.engine-card', '.backyard-card',
			'.work-card', '.pricing-card', '.process-row', '.stat',
			'.faq details', '.reslib-card', '.svcarea-card', '.related-card'
		];
		var targets = document.querySelectorAll(selectors.join(','));
		if (!targets.length) return;

		var io = new IntersectionObserver(function (entries) {
			entries.forEach(function (entry) {
				if (entry.isIntersecting) {
					entry.target.style.opacity = '1';
					entry.target.style.transform = 'translateY(0)';
					io.unobserve(entry.target);
				}
			});
		}, { threshold: 0.12, rootMargin: '0px 0px -40px 0px' });

		targets.forEach(function (el, i) {
			el.style.opacity = '0';
			el.style.transform = 'translateY(18px)';
			el.style.transition = 'opacity .55s ease, transform .55s ease';
			el.style.transitionDelay = (Math.min(i % 6, 5) * 0.06) + 's';
			io.observe(el);
		});
	});
	</script>
	<?php
}
add_action( 'wp_footer', 'blm_scroll_reveal' );
}

/* engine-card and industry-card became real links (Map Pack, AI Answers
   pages, and the 4 new industry pages) — this makes them behave like
   clickable cards instead of plain text blocks, matching how
   .service-card already handles being wrapped in an <a> tag. */
.engine-card{display:block; text-decoration:none; color:inherit; cursor:pointer; transition:transform .2s ease, box-shadow .2s ease;}
.engine-card:hover{transform:translateY(-4px); box-shadow:0 18px 36px rgba(28,43,87,0.10);}

/* ---------- HOMEPAGE PHOTO SLOTS ---------- */

/* Stats section photo: sits inside .stats-copy, above the paragraph
   text. Source at 900×500px, displayed at a fixed height with
   object-fit:cover so any crop still fills the space cleanly. */
.stats-photo{
  width:100%; height:220px; object-fit:cover;
  border-radius:var(--radius); margin:18px 0 22px;
  box-shadow:0 16px 32px rgba(28,43,87,0.10);
}

/* Recent Work thumbnails: real photos now instead of solid-color divs.
   Source at 800×400px per image. The category label (e.g. "HVAC &
   COOLING") becomes a small badge overlaid on the photo's bottom-left
   corner instead of being the entire visible content. */
.work-thumb{
  position:relative; height:150px; overflow:hidden;
}
.work-thumb img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.work-thumb-label{
  position:absolute; left:12px; bottom:12px;
  background:rgba(20,31,64,0.75); color:var(--white);
  font-family:var(--mono); font-size:11px; font-weight:600; letter-spacing:.05em;
  padding:5px 10px; border-radius:6px; text-transform:uppercase;
}

/* Closing CTA background photo: sits behind the existing dark overlay
   this section already has, so the photo shows through subtly rather
   than competing with the text. Source at 1920×700px. */
.cta-band-photo{
  background-size:cover; background-position:center;
  position:relative;
}
.cta-band-photo::before{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(210,205,220,0.94) 0%, rgba(210,205,220,0.88) 100%);
  z-index:0;
}
.cta-band-photo .blob,
.cta-band-photo .brand-plus,
.cta-band-photo .cta-band-inner{
  position:relative; z-index:1;
}

/* ---------- TRADE LANDING PAGE HERO PHOTOS ----------
   Real photos in the hero's right column (HVAC, Plumbing, Electrical,
   Roofing, etc.) need their own treatment — unlike the SVG illustrations
   in .lantern-hero-art elsewhere, a plain photo with no rounding or
   shadow just looks like an unstyled rectangle dropped onto the dark
   background. */
.trade-hero-photo{
  min-height:0; height:auto;
}
.trade-hero-photo img{
  width:100%; max-width:420px; height:auto;
  aspect-ratio:8/9; object-fit:cover;
  border-radius:var(--radius);
  box-shadow:0 30px 60px rgba(0,0,0,0.35);
  border:1px solid rgba(255,255,255,0.08);
  display:block;
}
@media (max-width:680px){
  .trade-hero-photo{display:none;}
}
/* Work card body links (Recent Work section) — these carry real anchor-
   text SEO value, but only deliver it if actual visitors notice and
   click them too. Styled to match the sage-link convention already used
   elsewhere on the site (e.g. .loc-service-p a) rather than left to
   inherit whatever default link color happened to apply. */
.work-card .body p a{
  color:var(--sage); font-weight:600; text-decoration:underline;
  text-decoration-color:rgba(126,169,140,0.4);
}
.work-card .body p a:hover{
  color:var(--white); text-decoration-color:var(--white);
}
.foot-chamber-badge{
  display:flex; justify-content:center; margin:24px 0;
}
.foot-chamber-badge img{
  max-width:160px; height:auto; opacity:.92; transition:opacity .2s ease;
}
.foot-chamber-badge a:hover img{opacity:1;}

.hero-chamber-badge{
  display:inline-block; margin-top:16px;
}
.hero-chamber-badge img{
  max-width:140px; height:auto; opacity:.9; transition:opacity .2s ease, transform .2s ease;
}
.hero-chamber-badge:hover img{opacity:1; transform:translateY(-2px);}

.post-updated-date{
  font-style:italic; color:var(--mono);; opacity:.9;
}
.key-takeaways{
  background:var(--sage-pale); border-left:4px solid var(--sage);
  border-radius:0 14px 14px 0; padding:22px 26px; margin:0 0 36px;
}
.key-takeaways h3{
  font-family:var(--mono); font-size:12.5px; font-weight:700; letter-spacing:.05em;
  text-transform:uppercase; color:var(--sage); margin:0 0 12px;
}
.key-takeaways ul{margin:0; padding-left:20px;}
.key-takeaways li{color:var(--ink); font-size:15.5px; line-height:1.7; margin-bottom:6px;}
.key-takeaways li:last-child{margin-bottom:0;}
.rank-math-breadcrumb{
  font-size:13px; color:rgba(255,255,255,0.75); margin-bottom:14px;
}
.rank-math-breadcrumb a{color:#ffffff; text-decoration:underline; text-decoration-color:rgba(255,255,255,0.4);}
.rank-math-breadcrumb a:hover{text-decoration-color:#ffffff;}
.rank-math-breadcrumb .separator{color:rgba(255,255,255,0.5); margin:0 6px;}

#seo-plans{
  background: var(--cream);
}
#seo-plans .section-head h2{color: var(--navy);}
#seo-plans .section-head p{color: var(--ink-soft);}

.map-sec{padding:60px 0;}
.map-frame{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,0.08);
  box-shadow:0 8px 24px rgba(0,0,0,0.08);
}
.foot-logo{
  display:inline-block;
}
.foot-logo-img{
  display:block;
  width:180px;
  max-width:100%;
  height:auto;
}
.map-frame iframe{display:block;}
/* Performance: avoid continuous ticker animation on mobile */
@media (max-width: 768px) {
  .served-track {
    animation: none;
  }

  .served-track span:nth-child(2) {
    display: none;
  }
}
/* Mobile performance: keep above-the-fold text independent of web fonts */
@media (max-width: 768px) {
  .hero h1 {
    font-family: Georgia, 'Times New Roman', serif;
  }

  .hero p.lede,
  .hero-call,
  .hero-trustline,
  .hero-ctas .btn {
    font-family: Arial, Helvetica, sans-serif;
  }
}
/* Mobile performance: defer rendering of below-the-fold homepage sections */
@media (max-width: 768px) {

  .services,
  .pricing,
  .stats,
  .engines,
  .work,
  .quote-section,
  #insights {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
  }

}
/* ---------- FOOTER BRAND LOCKUP ---------- */

.foot-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  height: auto;
  margin: 0 0 18px;
  text-decoration: none;
}

.foot-lantern-mark {
  display: block;
  width: 70px !important;
  height: 70px !important;
  min-width: 70px;
  max-width: 70px !important;
  object-fit: contain;
  flex: 0 0 70px;
}

.foot-logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  color: #fff;
}

.foot-logo-line1 {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}

.foot-logo-line2 {
  display: block;
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--sage-light);
}

@media (max-width: 680px) {

  .foot-brand-logo {
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 20px !important;
  }

  .foot-lantern-mark {
    display: block !important;
    width: 64px !important;
    height: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    object-fit: contain !important;
    flex: 0 0 64px !important;
  }

  .foot-logo-text {
    display: flex !important;
    flex-direction: column !important;
    width: auto !important;
  }

  .foot-logo-line1 {
    font-size: 19px !important;
    white-space: nowrap;
  }

  .foot-logo-line2 {
    font-size: 9px !important;
    letter-spacing: .3em;
    margin-top: 7px;
  }
}
/* ---------- HERO BACKGROUND PHOTO ---------- */

.hero-photo {
  position: relative;
  min-height: 570px;
  height: auto;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 0;
  display: flex;
  align-items: center;
}

/* Darker overlay with extra darkness behind the text */
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(20,31,64,0.96) 0%,
      rgba(20,31,64,0.90) 35%,
      rgba(20,31,64,0.76) 65%,
      rgba(20,31,64,0.68) 100%
    );
  z-index: 1;
  pointer-events: none;
}

.hero-photo .hero-grid,
.hero-photo .hero-glow {
  position: absolute;
  z-index: 2;
}

/* Same container structure as homepage */
.hero-photo .hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 50px;
}

/* Keep About copy in the homepage's left column */
.hero-photo .hero-copy {
  grid-column: 1;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
  visibility: visible;
  opacity: 1;
}

.hero-photo h1 {
  color: #fff;
}

.hero-photo .lede {
  color: #d9ddec;
  max-width: 480px;
}

@media (max-width: 980px) {
  .hero-photo {
    height: auto;
    min-height: 520px;
  }

  .hero-photo .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-photo .hero-copy {
    grid-column: 1;
  }
}
.hero-photo h1 {
  color: #fff;
  font-size: clamp(38px, 4vw, 54px);
}
/* =========================================================
   MOBILE PHOTO HERO
   Keep photo on desktop, cover it completely on mobile
   ========================================================= */

@media screen and (max-width: 768px) {

  section.hero.hero-photo {
    position: relative;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    background-color: var(--navy-deep) !important;
  }

  /*
   * Solid navy layer completely covers the desktop photo.
   * The photo can remain inline for desktop.
   */
  section.hero.hero-photo::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: var(--navy-deep) !important;
    opacity: 1 !important;
    pointer-events: none !important;
  }

  /* Decorative Broad Lantern pattern above navy */
  section.hero.hero-photo .hero-grid {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
  }

  section.hero.hero-photo .hero-glow {
    display: block !important;
    position: absolute !important;
    z-index: 2 !important;
  }

  /* Content above everything */
  section.hero.hero-photo .hero-inner {
    position: relative !important;
    z-index: 3 !important;
    display: block !important;
    width: 100% !important;
    padding-top: 42px !important;
    padding-bottom: 46px !important;
  }

  section.hero.hero-photo .hero-copy {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  /* Heading */
  section.hero.hero-photo h1 {
    color: #ffffff !important;
  }

  section.hero.hero-photo h1 em {
    color: var(--gold) !important;
  }

  /* Paragraph */
  section.hero.hero-photo p.lede {
    color: #C7CCE0 !important;
  }

  /* Breadcrumb */
  section.hero.hero-photo .rank-math-breadcrumb,
  section.hero.hero-photo .rank-math-breadcrumb p,
  section.hero.hero-photo .rank-math-breadcrumb a,
  section.hero.hero-photo .rank-math-breadcrumb span {
    color: #ffffff !important;
  }

  /* Trust line */
  section.hero.hero-photo .hero-trustline {
    color: #B9C0DC !important;
  }

  section.hero.hero-photo .hero-trustline .stars {
    color: var(--gold) !important;
  }

  /* Buttons */
  section.hero.hero-photo .hero-ctas {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
  }

  section.hero.hero-photo .hero-ctas .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  section.hero.hero-photo .btn-outline {
    color: #ffffff !important;
    border-color: rgba(255,255,255,0.55) !important;
    background: transparent !important;
  }
}

/* ABOUT HERO - MOBILE ONLY */
@media screen and (max-width: 768px) {

  body .about-photo-hero {
    background: #141F40 !important;
    background-image: none !important;
  }

  body .about-photo-hero::before {
    display: none !important;
    content: none !important;
    background: none !important;
  }

  body .about-photo-hero .hero-glow {
    display: none !important;
  }

  body .about-photo-hero .hero-grid {
    display: block !important;
  }

  body .about-photo-hero h1 {
    color: #ffffff !important;
  }

  body .about-photo-hero h1 em {
    color: #F2A93D !important;
  }

  body .about-photo-hero p.lede {
    color: #C7CCE0 !important;
  }

  body .about-photo-hero .hero-trustline {
    color: #9AA1C4 !important;
  }
}
/* =========================================================
   CONTACT PAGE HERO - MOBILE COLOR FIX
   ========================================================= */
@media screen and (max-width: 768px) {

  .broad-nexus-contact .hero.hero-photo,
  .broad-nexus-contact .hero.hero-photo .hero-inner,
  .broad-nexus-contact .hero.hero-photo .hero-copy {
    color: #ffffff !important;
  }

  /* Breadcrumb */
  .broad-nexus-contact .hero.hero-photo .rank-math-breadcrumb,
  .broad-nexus-contact .hero.hero-photo .rank-math-breadcrumb p,
  .broad-nexus-contact .hero.hero-photo .rank-math-breadcrumb a,
  .broad-nexus-contact .hero.hero-photo .rank-math-breadcrumb span {
    color: #C7CCE0 !important;
  }

  .broad-nexus-contact .hero.hero-photo .rank-math-breadcrumb a {
    color: #ffffff !important;
  }

  /* Contact */
  .broad-nexus-contact .hero.hero-photo h1,
  .broad-nexus-contact .hero.hero-photo .hero-copy h1 {
    color: #ffffff !important;
    opacity: 1 !important;
  }

  /* Broad Lantern Media */
  .broad-nexus-contact .hero.hero-photo h1 em,
  .broad-nexus-contact .hero.hero-photo .hero-copy h1 em {
    color: #F2A93D !important;
    -webkit-text-fill-color: #F2A93D !important;
    opacity: 1 !important;
  }

  /* Description */
  .broad-nexus-contact .hero.hero-photo p.lede,
  .broad-nexus-contact .hero.hero-photo .hero-copy p.lede {
    color: #C7CCE0 !important;
    -webkit-text-fill-color: #C7CCE0 !important;
    opacity: 1 !important;
  }

  /* Gold CTA */
  .broad-nexus-contact .hero.hero-photo .btn-gold {
    background: #F2A93D !important;
    color: #141F40 !important;
    -webkit-text-fill-color: #141F40 !important;
  }

  /* Phone CTA */
  .broad-nexus-contact .hero.hero-photo .btn-outline {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border-color: rgba(255,255,255,.55) !important;
  }

  /* Bottom trust line */
  .broad-nexus-contact .hero.hero-photo .hero-trustline,
  .broad-nexus-contact .hero.hero-photo .hero-trustline span {
    color: #B9C0DC !important;
    -webkit-text-fill-color: #B9C0DC !important;
    opacity: 1 !important;
  }

  .broad-nexus-contact .hero.hero-photo .hero-trustline .stars {
    color: #F2A93D !important;
    -webkit-text-fill-color: #F2A93D !important;
  }
}
/* ---------- WEBSITE CONSTRUCTION FORM: SPACING & CONTRAST ----------
   Scoped specifically to #constructionFormCard, not the shared
   .lead-form-card class, so the shorter Free Audit and Contact forms
   elsewhere on the site keep their existing tighter spacing, which
   actually suits a 4-6 field form fine. This one has 30+ fields across
   five sections and needs real breathing room and clearer visual
   separation between sections. */

#constructionFormCard h3{
  font-family:var(--display); font-size:20px; color:var(--navy);
  margin:44px 0 22px; padding-bottom:12px; border-bottom:2px solid var(--gold);
}
#constructionFormCard h3:first-child{margin-top:0;}

#constructionFormCard hr{
  border:none; border-top:1px solid rgba(28,43,87,0.10);
  margin:36px 0 0;
}

#constructionFormCard label{
  display:block; margin-bottom:26px;
}
#constructionFormCard label:has(input),
#constructionFormCard label:has(textarea),
#constructionFormCard label:has(select){
  font-weight:600; color:var(--navy); font-size:15px;
}

#constructionFormCard input[type="text"],
#constructionFormCard input[type="email"],
#constructionFormCard input[type="tel"],
#constructionFormCard input[type="url"],
#constructionFormCard textarea,
#constructionFormCard select{
  display:block; width:100%; margin-top:8px;
  padding:13px 14px; font-size:15px;
  border:1.5px solid rgba(28,43,87,0.15); border-radius:8px;
  background:var(--white); color:var(--ink);
  transition:border-color .18s ease;
}
#constructionFormCard input:focus,
#constructionFormCard textarea:focus,
#constructionFormCard select:focus{
  outline:none; border-color:var(--sage);
}
#constructionFormCard textarea{min-height:100px; resize:vertical;}

/* Plain <p> lines introducing radio/checkbox groups (added specifically
   to fix the CF7 "multiple controls in one label" error) — give these
   the same visual weight as the real field labels above, so they don't
   read as an afterthought next to them. */
#constructionFormCard p{
  font-weight:600; color:var(--navy); font-size:15px;
  margin:0 0 12px;
}

/* CF7's default radio/checkbox groups render as a tight inline block —
   this spaces individual options out clearly and adds a soft card-like
   separation so a 6-7 option checklist (like "Which Services Are You
   Interested In?") doesn't read as one dense wall of text. */
#constructionFormCard .wpcf7-form-control.wpcf7-checkbox,
#constructionFormCard .wpcf7-form-control.wpcf7-radio{
  display:flex; flex-direction:column; gap:12px;
  background:var(--cream-deep); border-radius:10px;
  padding:16px 18px; margin-bottom:26px;
}
#constructionFormCard .wpcf7-list-item{
  margin:0 !important;
}
#constructionFormCard .wpcf7-list-item label{
  display:flex; align-items:center; gap:10px;
  margin-bottom:0; font-weight:500; color:var(--ink); font-size:15px;
  cursor:pointer;
}
#constructionFormCard .wpcf7-list-item input[type="checkbox"],
#constructionFormCard .wpcf7-list-item input[type="radio"]{
  width:18px; height:18px; margin:0; accent-color:var(--sage);
  flex-shrink:0;
}

#constructionFormCard input[type="file"]{
  display:block; width:100%; margin-top:8px;
  padding:12px; font-size:14px;
  border:1.5px dashed rgba(28,43,87,0.25); border-radius:8px;
  background:var(--cream-deep);
}

#constructionFormCard .wpcf7-submit{
  margin-top:16px;
}