/* styles.css - Simple multi-page site with dropdown nav + tabs */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

html {
  scroll-behavior: auto !important;
}
body {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
body.loaded {
  opacity: 1;
  transform: translateY(0);
}
/* Prevent visible scroll during accordion opening */
body.accordion-scrolling {
  overflow: hidden;
}
:root{
  --bg:#fff;
  --card:#fff;
  --card-alt:#0b17a7;
  --border:#d0d0d0;
  --text:#1a1a1a;
  --muted:#666666;
  --primary:#0b17a7; /* accent blue */
  --primary-2:#08127a;
  --accent:#ff6600;
  --accent-red:#dc143c;
  --accent-blue:#0b17a7;
  --accent-yellow:#fef550;
  --logo-red:#dc143c;
  --logo-red-hover:#b01030;
  --error:#d32f2f;
  --success:#2e7d32;
  --shadow:0 1px 3px rgba(0,0,0,.08);
  --radius:16px;
  --focus:0 0 0 3px rgba(11,23,167,.25);
  /* Spacing scale */
  --space-xs:8px;
  --space-sm:16px;
  --space-md:24px;
  --space-lg:40px;
  --space-xl:64px;
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  font-family: 'Manrope', system-ui,-apple-system,Segoe UI,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
  letter-spacing:0.02em;
}

a{color:inherit; text-decoration:none;}
a:hover{text-decoration:underline;}
/* Bold text same color as Contact Us button */
strong, b{color:var(--accent-blue);}
.hero-banner strong, .hero-banner b, .btn strong, .btn b{color:inherit;}
.container{max-width:1200px; margin:0 auto; padding:0 24px;}
.header__top-inner.container,
.header .header__top-inner{padding:0 24px 0 0 !important;}
/* Center content: white background; body/grey shows on sides */
main .container,
main.container{
  background:transparent;
  min-height:34vh;
}
.container--no-padding{padding-left:0; padding-right:0;}
main .container--no-padding{background:transparent;}
main .container--hero{background:transparent;}
main .container.hero-align{
  background:transparent;
  max-width:none;
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  margin-top:0;
  margin-bottom:var(--space-md);
  padding-left:0;
  padding-right:0;
}
main.container.container--hero{background:transparent;}
.img--full-width{
  width:100%;
  height:auto;
  display:block;
  border-radius:0;
  object-fit:cover;
  max-height:420px;
}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:16px; top:16px; width:auto; height:auto;
  background:var(--card); border:1px solid var(--border);
  padding:10px 12px; border-radius:10px; z-index:9999;
}

.header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.97);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--border);
  transition:transform 0.3s ease-in-out;
}
.header.header--hidden{
  transform:translateY(-100%);
}
/* Home page: menu integrated into hero – one continuous section, no separate bar */
.header--home{
  position:absolute;
  top:0; left:0; right:0;
  z-index:50;
  background:transparent;
  backdrop-filter:none;
  border-bottom:none;
}
.header--home .header__inner{
  padding:10px 0 12px;
  gap:10px;
}
.header--home .header__top{
  background:transparent;
  border-bottom:none;
  padding:4px 0;
}
.header--home .header__contact-link,
.header--home .header__social-link{
  color:rgba(255,255,255,0.95);
}
.header--home .header__contact{
  border-radius:999px;
  padding:8px 18px;
}
.header--home .header__contact-link:hover,
.header--home .header__social-link:hover{
  color:#fff;
}
.header--home .brand__tag{
  color:rgba(255,255,255,0.9);
}
.header--home .nav__link{
  color:#fff;
  font-weight:700;
}
.header--home .nav__link:hover{
  color:rgba(255,255,255,0.9);
  text-decoration:underline;
}
.header--home .nav__link[aria-current="page"]{
  color:#fff;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-thickness:2px;
}
.header--home .nav__link.link-contact-us{
  color:rgba(255,255,255,0.95) !important;
}
.header--home .nav__link.link-contact-us:hover{
  color:rgba(255,255,255,0.95) !important;
  text-decoration:none;
}
.header--home .mobile-toggle button{
  color:#fff;
  font-weight:700;
}

/* Overlay header: hero pages (Services, About, About Us, Safety) – desktop only, over hero image like home */
.header--overlay{
  position:absolute;
  top:0; left:0; right:0;
  z-index:50;
  background:transparent;
  backdrop-filter:none;
  border-bottom:none;
}
.header--overlay .header__inner{padding:10px 0 12px; gap:10px;}
.header--overlay .header__top{background:transparent; border-bottom:none; padding:4px 0;}
.header--overlay .header__contact-link,
.header--overlay .header__social-link{color:rgba(255,255,255,0.95);}
.header--overlay .header__contact-link:hover,
.header--overlay .header__social-link:hover{color:#fff;}
.header--overlay .brand__tag{color:rgba(255,255,255,0.9);}
.header--overlay .nav__link{color:#fff; font-weight:700;}
.header--overlay .nav__link:hover{color:rgba(255,255,255,0.9); text-decoration:underline;}
.header--overlay .nav__link[aria-current="page"]{
  color:#fff;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-thickness:2px;
}
.header--overlay .nav__link.link-contact-us{color:rgba(255,255,255,0.95) !important;}
.header--overlay .nav__link.link-contact-us:hover{color:rgba(255,255,255,0.95) !important; text-decoration:none;}
.header--overlay .mobile-toggle button{color:#fff; font-weight:700;}

.header__top{
  background:var(--card);
  border-bottom:1px solid var(--border);
  padding:6px 0;
  font-size:15px;
}
.header__top-inner{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding-left:0;
}
.header__contact{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  background:var(--accent-blue);
  border-radius:999px;
  padding:8px 20px;
  box-shadow:0 10px 40px rgba(0,0,0,0.3);
}
.header__contact .header__contact-link{
  color:#fff;
}
.header__contact .header__contact-link:hover{
  color:rgba(255,255,255,0.9);
  text-decoration:none;
}
.header__contact-link{
  color:var(--muted); text-decoration:none;
  transition:color 0.2s;
}
.header__contact-link:hover{
  color:var(--primary); text-decoration:none;
}
.header__social{
  display:flex; align-items:center; gap:10px;
}
.header__social-link{
  color:var(--muted); text-decoration:none;
  display:flex; align-items:center; justify-content:center;
  width:24px; height:24px;
  border-radius:6px;
  transition:all 0.2s;
}
.header__social-link:hover{
  color:#fff; background:#0b17a7; text-decoration:none;
}
.header__social-link svg{
  width:16px; height:16px;
}
/* Header: two rows - brand + Contact Us top; nav links below */
.header__inner{
  display:flex;
  flex-direction:column;
  padding:12px 0 16px;
  gap:14px;
}
.header__row-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
}
.header__row-nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
}
.brand{display:flex; flex-direction:column; align-items:flex-start; gap:6px;}
.brand__logo{
  height:55px; width:auto; display:block;
}
.brand__tag{color:var(--muted); font-size:15px; margin:0;}

.nav{display:flex; align-items:center; gap:8px; flex-wrap:nowrap;}
.nav__link{
  padding:8px 10px; border-radius:12px;
  font-size:1.2rem;
  white-space:nowrap;
  transition:color 0.2s, background 0.2s, font-weight 0.2s;
}
.nav .nav__link:first-child{
  padding-left:0;
}
.nav__link:hover{
  color:var(--accent-red);
  text-decoration:none;
  font-weight:700;
}
.nav__link[aria-current="page"]{
  background:transparent;
  border:none;
  box-shadow:none;
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-thickness:2px;
  color:var(--accent-red);
  font-weight:700;
  font-size:1.2rem;
}
/* Contact Us link: blue and bold everywhere */
.nav__link.link-contact-us,
a.link-contact-us{
  color:var(--accent-blue) !important;
  font-weight:700 !important;
}
.nav__link.link-contact-us:hover,
a.link-contact-us:hover{
  color:var(--accent-blue) !important;
  text-decoration:none;
}
.nav__link:focus{outline:none; box-shadow:var(--focus);}

.mobile-toggle{display:none;}
.mobile-toggle button{
  border:none;
  background:var(--card);
  padding:10px 12px;
  border-radius:16px;
  box-shadow:none;
  cursor:pointer;
  transition:background 0.2s, color 0.2s;
}
.mobile-toggle button:hover{
  background:#f0f0f0;
  color:var(--accent-red);
}
.mobile-panel{
  display:none;
  padding:0 0 14px;
}
.mobile-panel[data-open="true"]{display:block;}
.mobile-panel a, .mobile-panel button{
  width:100%;
  text-align:left;
  display:block;
  padding:12px 12px;
  border-radius:16px;
  border:none;
  background:var(--card);
  margin-top:10px;
  transition:color 0.2s, background 0.2s;
}
.mobile-panel a:hover, .mobile-panel button:hover{
  color:var(--accent-red);
}
.mobile-panel a.link-contact-us:hover{
  color:var(--accent-blue) !important;
  background:#fff;
  text-decoration:none;
}
.mobile-panel button{cursor:pointer; font:inherit;}
.mobile-panel a:first-child{
  padding-left:0;
}
.mobile-panel a[aria-current="page"]{
  color:var(--accent-red);
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:4px;
  text-decoration-thickness:2px;
}

.hero{padding:34px 0 14px;}
.card{
  background:var(--card);
  border:none; /* removed border */
  border-radius:var(--radius);
  box-shadow:none; /* removed shadow */
  padding:18px;
}
.card--service{
  position:relative;
  padding-bottom:60px;
}
.h1{font-size:clamp(32px, 5vw, 48px); line-height:1.15; margin:0 0 var(--space-sm); font-weight:700;}
.page-meet-the-team .hero .h1{color:var(--accent-blue);}
.safety-page .h1{color:var(--accent-blue);}
h2, .h2{font-size:clamp(24px, 3vw, 32px); line-height:1.2; margin:0 0 var(--space-sm); font-weight:700; color:var(--accent-blue);}
.lead{color:var(--muted); margin:0; line-height:1.6; font-size:clamp(20px, 2.5vw, 22.5px); max-width:65ch;}
/* About You page */
.about-you__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:var(--space-md);
  flex-wrap:wrap;
  margin-bottom:var(--space-sm);
}
.about-you__title{display:flex; flex-direction:column; margin:0 0 var(--space-sm); max-width:28ch; color:var(--accent-blue);}
.about-you__title-line1{font-size:clamp(18px, 2.5vw, 24px); font-weight:600; line-height:1.3; display:block;}
.about-you__title-line2{font-size:clamp(28px, 4.5vw, 42px); font-weight:800; line-height:1.15; display:block; margin-top:4px;}
.about-you__help-circle{
  flex-shrink:0;
  width:100px;
  height:100px;
  border-radius:50%;
  background:var(--accent-blue);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:16px;
  font-weight:700;
  line-height:1.25;
  text-decoration:none;
  padding:10px;
  transition:transform 0.2s, box-shadow 0.2s;
}
.about-you__help-circle:hover{
  text-decoration:none;
  color:#fff;
  transform:scale(1.05);
  box-shadow:0 4px 14px rgba(11,23,167,0.4);
}
.card--rounded{
  background:var(--card);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.about-you__contact-link{ font-weight:700; }
.about-you__contact-link:hover{
  text-decoration:underline;
}

/* Safety page - yellow accent */
.safety-page .card{ border-left:4px solid var(--accent-yellow); }
.safety-page__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:var(--space-lg);
  flex-wrap:wrap;
}
.safety-page__callout{
  flex-shrink:0;
  max-width:260px;
  padding:var(--space-md);
  background:rgba(254,245,80,0.25);
  border:2px solid var(--accent-yellow);
  border-radius:var(--radius);
  color:var(--text);
  text-decoration:none;
  display:flex;
  flex-direction:column;
  gap:var(--space-xs);
  transition:background 0.2s, box-shadow 0.2s;
}
.safety-page__callout:hover{
  text-decoration:none;
  color:var(--text);
  background:rgba(254,245,80,0.4);
  box-shadow:0 4px 14px rgba(254,245,80,0.3);
}
.safety-page__callout-title{ font-weight:800; font-size:1.05rem; }
.safety-page__callout-text{ font-size:1.125rem; color:var(--muted); line-height:1.4; }
.safety-page__callout-cta{ font-weight:700; color:var(--text); margin-top:4px; }

/* About Us - two columns */
.about-us-section{padding:var(--space-xl) 0;}
.about-us__two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--space-xl);
  align-items:start;
}
.about-us__panel{
  padding:var(--space-lg);
}
.about-us__panel .feature__title{
  color:var(--accent-blue);
}
/* Stack the three cards vertically in each panel (desktop and mobile) */
.about-us__panel .grid3{
  grid-template-columns:1fr;
}
@media (max-width: 920px){
  .about-us__two-col{ grid-template-columns:1fr; }
}

.btn{
  display:inline-block;
  padding:10px 14px;
  border-radius:16px; /* increased */
  border:none; /* removed border */
  background:var(--card);
  font-weight:700;
  transition:background 0.2s, color 0.2s;
}
.btn:hover{
  background:#f0f0f0;
  text-decoration:none;
}
.btn--primary{
  background:var(--accent-blue);
  border-color:transparent;
  color:#fff;
}
.btn--primary:hover{text-decoration:none; background:var(--primary-2);}
.section--alt .btn--primary,
.service-block--alt .btn--primary{
  background:#fff;
  color:#0b17a7;
}
.section--alt .btn--primary:hover,
.service-block--alt .btn--primary:hover{
  background:#f0f0f0;
  color:#0b17a7;
}
.btn--learn-more{
  position:absolute;
  bottom:18px;
  right:18px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  font-size:17.5px;
}
.btn--learn-more .btn__arrow{
  width:16px;
  height:16px;
  flex-shrink:0;
  transition:transform 0.2s;
}
.btn--learn-more:hover .btn__arrow{
  transform:translateX(3px);
}

/* Home page: expandable service cards with background images */
[data-home-services] .grid3{
  grid-auto-flow:dense;
}
[data-home-services] .card--service-bg{
  background-color:transparent;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  overflow:hidden;
  min-height:220px;
}
[data-home-services] .card--service-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.55);
  z-index:0;
}
[data-home-services] .card--service-bg .feature__title,
[data-home-services] .card--service-bg .feature__text,
[data-home-services] .card--service-bg .service-detail .feature__text,
[data-home-services] .card--service-bg .service-detail__list li,
[data-home-services] .card--service-bg .service-detail__best-for,
[data-home-services] .card--service-bg .service-detail__best-for strong{
  position:relative;
  z-index:1;
}
[data-home-services] .card--service-bg .feature__title{
  color:#fff;
  text-shadow:0 1px 4px rgba(0,0,0,.5);
}
[data-home-services] .card--service-bg .feature__text{
  color:rgba(255,255,255,0.95);
  text-shadow:0 1px 2px rgba(0,0,0,.4);
}
[data-home-services] .card--service-bg .service-detail .feature__text{
  color:rgba(255,255,255,0.95);
}
[data-home-services] .card--service-bg .service-detail__list li{
  color:rgba(255,255,255,0.9);
}
[data-home-services] .card--service-bg .service-detail__list li::before{
  color:#fff;
}
[data-home-services] .card--service-bg .service-detail__best-for{
  background:rgba(0,0,0,0.35);
  color:rgba(255,255,255,0.95);
}
[data-home-services] .card--service-bg .service-detail__best-for strong{
  color:#fff;
}
[data-home-services] .card--service-bg .btn--learn-more{
  color:var(--accent-blue);
  position:absolute;
  bottom:18px;
  right:18px;
  z-index:1;
}
[data-home-services] .card--service-bg .btn--learn-more:hover{
  color:var(--accent-blue);
  text-decoration:underline;
}
[data-home-services] .card--service-bg .btn--learn-more .btn__arrow{
  color:inherit;
}
[data-home-services] .card--service-bg .service-detail__actions .btn--small{
  position:relative;
  z-index:1;
}
[data-home-services] .card--service-bg-1{ background-image:url("../images/services/UG Med Voltage Terminations.jpeg"); }
[data-home-services] .card--service-bg-2{ background-image:url("../images/headshots/Indoor Electrical.jpg"); }
[data-home-services] .card--service-bg-3{ background-image:url("../images/substation/Sub 1.png"); }
[data-home-services] .card--service-bg-4{ background-image:url("../images/services/Overhead Pole Line Worker.jpeg"); }
[data-home-services] .card--service-bg-5{ background-image:url("../images/services/ChatGPT Image Mar 25, 2026, 12_30_29 PM.png"); }
[data-home-services] .card--service-bg-6{ background-image:url("../images/IMG_5731.JPEG"); }
[data-home-services] .card--service.is-expanded{
  grid-column:1 / -1;
  order:-1;
}
[data-home-services] .service-detail{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.35s ease;
  margin-top:0;
}
[data-home-services] .card--service.is-expanded .service-detail{
  max-height:900px;
}
[data-home-services] .service-detail .feature__text{
  margin-top:var(--space-sm);
}
[data-home-services] .service-detail__list{
  list-style:none;
  padding:0;
  margin:var(--space-sm) 0 0;
}
[data-home-services] .service-detail__list li{
  padding:var(--space-xs) 0;
  padding-left:var(--space-md);
  position:relative;
  color:var(--muted);
}
[data-home-services] .service-detail__list li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--primary);
  font-weight:700;
}
[data-home-services] .service-detail__best-for{
  margin:var(--space-sm) 0;
  padding:var(--space-sm);
  background:var(--card-alt);
  border-radius:var(--radius);
  font-size:17.5px;
  color:var(--muted);
}
[data-home-services] .service-detail__best-for strong{
  display:block;
  margin-bottom:var(--space-xs);
  color:var(--text);
}
[data-home-services] .service-detail__actions{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-sm);
  margin-top:var(--space-sm);
  align-items:center;
}
[data-home-services] .service-detail .btn--primary{
  margin-top:0;
}
[data-home-services] .btn--learn-more{
  color:var(--accent-blue);
}
[data-home-services] .btn--learn-more:hover{
  color:var(--accent-blue);
  text-decoration:underline;
}
[data-home-services] .btn--learn-more[aria-expanded="true"] .btn__arrow{
  transform:rotate(180deg);
}
[data-home-services] .card--service.is-expanded{
  padding-bottom:18px;
}
[data-home-services] .card--service.is-expanded .btn--learn-more{
  position:static;
  margin-top:var(--space-sm);
  display:inline-flex;
}
/* Return to normal grid cell when collapsed */
[data-home-services] .card--service:not(.is-expanded){
  grid-column:auto;
  order:auto;
}

.section{padding:var(--space-lg) 0;}
.section--alt{background:var(--card-alt); margin-left:calc(-50vw + 50%); margin-right:calc(-50vw + 50%); padding-left:calc(50vw - 50%); padding-right:calc(50vw - 50%); padding-top:var(--space-lg); padding-bottom:var(--space-lg);}
.section--alt,
.section--alt .section__title,
.section--alt .section__subtitle,
.section--alt .feature__title,
.section--alt .feature__text,
.section--alt strong{
  color:#fff;
}
.section--alt a:not(.btn):not(.industry-chip){
  color:#fff !important;
}
.section__title{font-size:clamp(20px, 2.5vw, 28px); margin:0 0 var(--space-md); font-weight:700;}
.section__subtitle{font-size:clamp(20px, 2.5vw, 22.5px); color:var(--muted); margin:0 0 var(--space-md);}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px;}
.feature__title{font-weight:800; margin:0 0 6px; color:var(--accent-blue);}
.feature__text{color:var(--muted); margin:0; line-height:1.45;}

/* Service blocks: 50% text, 50% image */
.service-block{
  padding:var(--space-xl) 0;
  background:var(--card);
}
.service-block--alt{
  /*background:var(--card-alt); */
 /* background:#faf8f1; */
 background:#0b17a7;

}
.service-block--alt,
.service-block--alt .service-block__category,
.service-block--alt .service-block__name,
.service-block--alt .service-block__desc,
.service-block--alt .service-block__expandable-text,
.service-block--alt .accordion__capabilities li,
.service-block--alt .accordion__best-for,
.service-block--alt .accordion__best-for strong,
.service-block--alt .service-block__cta,
.service-block--alt .service-block__project-title,
.service-block--alt .service-block__project-blurb,
.service-block--alt strong{
  color:#fff;
}
.service-block--alt a:not(.btn){
  color:#fff !important;
}
.service-block__inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--space-xl);
  align-items:stretch;
}
/* Alternate: even blocks (--alt) have image left, text right */
.service-block--alt .service-block__content{order:2;}
.service-block--alt .service-block__right-col{order:1;}
.service-block--alt .service-block__image-wrap{order:1;}
.service-block__content{
  min-width:0;
  align-self:start;
}
.service-block__category{
  display:block;
  font-size:0.85rem;
  font-weight:700;
  color:var(--accent-blue);
  text-transform:uppercase;
  letter-spacing:0.1em;
  margin-bottom:var(--space-sm);
}
.service-block__name{
  font-size:clamp(28px, 5vw, 48px);
  font-weight:800;
  color:var(--text);
  margin:0 0 var(--space-md);
  letter-spacing:0.25em;
  text-transform:uppercase;
  line-height:1.1;
  word-spacing:0.35em;
}
.service-block__desc{
  font-size:clamp(16px, 1.8vw, 18px);
  color:var(--muted);
  line-height:1.6;
  margin:0 0 var(--space-lg);
  max-width:65ch;
}
.service-block__cta{
  display:inline-block;
  margin-top:var(--space-md);
  font-weight:700;
  font-size:0.9rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--accent-blue);
  text-decoration:none;
  transition:color 0.2s, text-decoration 0.2s;
  cursor:pointer;
  background:none;
  border:none;
  font-family:inherit;
  padding:0;
}
.service-block__cta:hover{
  color:var(--primary-2);
  text-decoration:underline;
}
.service-block__expandable{
  max-height:0;
  overflow:hidden;
  transition:max-height 0.35s ease;
}
.service-block.is-expanded .service-block__expandable{
  max-height:800px;
}
.service-block__expandable-text{
  margin:0 0 var(--space-sm);
  color:var(--muted);
  line-height:1.6;
  font-size:clamp(15px, 1.6vw, 17px);
}
.service-block__expandable .accordion__capabilities,
.service-block__expandable .accordion__best-for{
  margin-top:var(--space-sm);
}
.service-block__expandable .btn{
  margin-top:var(--space-md);
}
/* Right column: main image + completed project (below image when expanded) */
.service-block__right-col{
  display:flex;
  flex-direction:column;
  gap:var(--space-md);
  align-self:start;
  min-width:0;
}
.service-block__right-col .service-block__image-wrap{
  flex-shrink:0;
  order:0;
}
.service-block__right-col .service-block__completed-project{
  order:1;
}
.service-block__completed-project{
  display:none;
  margin-top:0;
  padding-top:var(--space-md);
  border-top:1px solid var(--border);
}
.service-block.is-expanded .service-block__completed-project{
  display:block;
}
.service-block__project-title{
  font-size:clamp(18px, 2vw, 20px);
  font-weight:700;
  color:var(--accent-blue);
  margin:0 0 var(--space-sm);
  letter-spacing:0.05em;
}
.service-block__project-image{
  width:100%;
  max-height:220px;
  object-fit:cover;
  border-radius:var(--radius);
  display:block;
  margin-bottom:var(--space-sm);
}
.service-block__project-blurb{
  font-size:clamp(15px, 1.6vw, 16px);
  color:var(--muted);
  line-height:1.55;
  margin:0;
  max-width:65ch;
}
.service-block__inline-photos{
  margin-top:var(--space-lg);
}
.service-block__inline-photos img{
  width:100%;
  max-width:100%;
  height:auto;
  border-radius:var(--radius);
  display:block;
}
.service-block__image-wrap{
  position:relative;
  min-height:200px;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--border);
}
.service-block__image{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  position:absolute;
  inset:0;
}
/* Text-only service block (e.g. About You sections without image) */
.service-block--text-only .service-block__inner{
  grid-template-columns:1fr;
}
.service-block--text-only .service-block__desc{
  max-width:none;
}
/* Services page: main image always visible, fixed size; never shrink or hide */
body.page-services .service-block__right-col .service-block__image-wrap{
  align-self:stretch;
  width:100%;
  height:360px;
  min-height:360px;
  max-height:360px;
  flex-shrink:0;
  display:block;
  visibility:visible;
  opacity:1;
}
body.page-services .service-block.is-expanded .service-block__right-col .service-block__image-wrap{
  display:block;
  visibility:visible;
  opacity:1;
}
@media (max-width: 768px){
  .service-block__inner{
    grid-template-columns:1fr;
    gap:var(--space-md);
  }
  .service-block__image-wrap{
    min-height:220px;
  }
}

/* About You page: section height follows content, no min viewport height */
body.page-about main .container,
body.page-about main.container{
  min-height:0;
}
body.page-about .service-block{
  min-height:0;
  height:auto;
}
body.page-about .service-block__inner{
  align-items:start;
}
body.page-about .service-block__image-wrap{
  min-height:200px;
  height:auto;
  align-self:start;
}

/* Get In Touch */
.form__field{margin-top:12px;}
.label{display:block; margin-bottom:6px; font-size:16px; color:var(--muted);}
.input, .textarea, select.input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  font-size:17.5px;
  font-family:inherit;
}
select.input{
  background:var(--card);
  cursor:pointer;
}
.textarea{min-height:180px; resize:vertical;}
.status{margin-top:10px; min-height:1.2em;}
/* Hero section with overlay - full-width, full-height, flush to top */
.hero-banner{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:0;
  overflow:hidden;
  margin:0;
  padding:0;
}
/* Home hero: left-align copy and Get in touch */
.hero-banner:has(.hero-banner__content--two-col){
  justify-content:flex-start;
}
.hero-banner__image{
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  width:100%; height:100%;
  object-fit:cover;
  object-position:center 38%;
  z-index:1;
  border-radius:0;
}
/* Pictures inside cards: rounded corners + padding */
.card img:not(.hero-banner__image){
  border-radius:var(--radius);
  padding:var(--space-xs);
}
.card .picture-item img,
.pictures-gallery .picture-item img{ padding:0; }
.hero-banner__overlay{
  position:absolute;
  top:0; left:0; right:0; bottom:0;
  background:rgba(0,0,0,0.5);
  z-index:2;
}
/* Two-column hero: left = copy (up), right = contact tile; content left-aligned with nav "Home" */
.hero-banner__content--two-col{
  display:grid;
  grid-template-columns:2.5fr 0.75fr;
  gap:var(--space-xl);
  align-items:flex-start;
  justify-content:start;
  max-width:min(1440px, 78vw);
  width:100%;
  padding:140px var(--space-xl) var(--space-xl);
  padding-left:max(24px, calc(48.5vw - 576px));
  text-align:left;
}
.hero-banner__copy{
  color:#fff;
  padding-top:0;
}
.hero-banner__headline--two-line{
  line-height:1.2;
}
.hero-banner__headline{
  font-size:clamp(26px, 3.2vw, 30px);
  line-height:1.15;
  font-weight:800;
  margin:65px 0 var(--space-md);
  color:#fff;
  text-transform:uppercase;
  letter-spacing:0.02em;
}
.hero-banner__lead{
  font-size:clamp(16px, 1.6vw, 18px);
  line-height:1.5;
  margin:0;
  color:rgba(255,255,255,0.95);
  max-width:42ch;
}
/* Services page hero: half height + 25% */
.hero-banner--services{min-height:62.5vh;}
/* Non-home hero pages: title at 50% from top (excludes home which uses --two-col) */
.hero-banner:has(.hero-banner__content--center) .hero-banner__content--center{
  position:absolute;
  top:65%;
  left:50%;
  transform:translate(-50%, -50%);
  padding:0 var(--space-xl);
  text-align:center;
  width:100%;
  box-sizing:border-box;
  z-index:3;
}
.hero-banner__content--center{
  text-align:center;
  width:100%;
}
.hero-banner__headline--services{
  font-size:clamp(32px, 5vw, 52px);
  margin:0;
  color:#fff;
  text-transform:uppercase;
  letter-spacing:0.08em;
}
/* Contact tile on hero - pushed down from text level, shifted left so door logo stays visible */
.hero-contact-tile{
  background:var(--accent-blue);
  border-radius:12px;
  padding:14px 28px 20px;
  box-shadow:0 10px 40px rgba(0,0,0,.3);
  opacity:0.95;
  margin-top:80px;
  margin-left:auto;
  margin-right:min(2vw, 40px);
  max-width:400px;
  justify-self:end;
  min-width:380px;
}
.hero-contact-tile__title{
  font-size:20px;
  font-weight:700;
  color:#fff;
  margin:0 0 var(--space-sm);
  text-transform:uppercase;
  letter-spacing:0.03em;
}
.hero-contact-tile__form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 var(--space-md);
  align-items:start;
}
.hero-contact-tile__form .form__field{
  margin-top:var(--space-xs);
}
.hero-contact-tile__form .form__field:first-of-type,
.hero-contact-tile__form .form__field:nth-of-type(2){
  margin-top:0;
}
.hero-contact-tile__form .form__field:nth-of-type(3),
.hero-contact-tile__form .form__field:nth-of-type(4){
  grid-column:1 / -1;
}
.hero-contact-tile__label{
  display:block;
  font-size:14px;
  color:#fff;
  margin-bottom:2px;
}
.hero-contact-tile__input{
  width:100%;
  padding:8px 12px;
  font-size:15px;
  border:none;
  border-radius:8px;
  background:#f0f0f0;
  color:#1a1a1a;
  font-family:inherit;
}
.hero-contact-tile__input::placeholder{
  color:#666;
}
.hero-contact-tile__textarea{
  min-height:64px;
  resize:vertical;
}
.hero-contact-tile__btn{
  width:100%;
  grid-column:1 / -1;
  margin-top:var(--space-sm);
  padding:10px 20px;
  font-size:15px;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:0.04em;
  color:#1a1a1a;
  background:#fff;
  border:none;
  border-radius:8px;
  cursor:pointer;
  font-family:inherit;
  transition:background 0.2s, color 0.2s;
}
.hero-contact-tile__btn:hover{
  background:#f0f0f0;
  color:#1a1a1a;
}
.hero-banner__content{
  position:relative;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  color:#fff;
}
.hero-banner__content:not(.hero-banner__content--two-col){
  padding:var(--space-lg);
}
.hero-banner__content .h1{color:#fff; margin-bottom:var(--space-md);}
.hero-banner__content .lead{color:rgba(255,255,255,0.95); margin-bottom:var(--space-md);}

/* Industries chips */
.industries{
  display:flex;
  flex-wrap:wrap;
  gap:var(--space-sm);
  justify-content:center;
  margin:var(--space-md) 0;
}
.industry-chip{
  padding:var(--space-xs) var(--space-md);
  background:var(--card);
  color:#000;
  border-radius:999px;
  font-size:17.5px;
  font-weight:600;
  transition:all 0.2s;
  display:inline-block;
}
.industry-chip:hover{
  background:var(--primary);
  color:#fff;
  text-decoration:none;
  transform:translateY(-2px);
}
a.industry-chip{
  cursor:pointer;
}
span.industry-chip{
  cursor:default;
}
button.industry-chip{
  cursor:pointer;
  border:none;
  font-family:inherit;
}
button.industry-chip[aria-selected="true"]{
  background:var(--primary);
  color:#fff;
}

/* Industry Description (Sticky Note Style) */
.industry-description{
  margin-top:0;
  margin-bottom:0;
  padding:var(--space-md) var(--space-lg);
  background:#0b17a7;
  border-left:4px solid var(--primary);
  border-radius:var(--radius);
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
  min-height:80px;
  display:flex;
  align-items:center;
  position:relative;
  opacity:0;
  visibility:hidden;
  max-height:0;
  overflow:hidden;
  transform:translateY(-10px);
  transition:opacity 0.3s, transform 0.3s, visibility 0.3s, max-height 0.3s, margin-top 0.3s, margin-bottom 0.3s, padding 0.3s;
}
.industry-description[data-visible="true"]{
  opacity:1;
  visibility:visible;
  max-height:500px;
  margin-top:var(--space-md);
  margin-bottom:0;
  transform:translateY(0);
}
.industry-description::before{
  content:'';
  position:absolute;
  top:10px;
  right:10px;
  width:20px;
  height:20px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%231a4d7a' d='M10 0L12.5 7.5L20 10L12.5 12.5L10 20L7.5 12.5L0 10L7.5 7.5L10 0Z'/%3E%3C/svg%3E") no-repeat center;
  opacity:0.3;
}
.industry-description__text{
  margin:0;
  line-height:1.6;
  color:#fff;
  font-size:15px;
}

/* Pictures Gallery */
.pictures-gallery{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));
  gap:var(--space-md);
  margin-top:var(--space-lg);
}
.picture-item{
  position:relative;
  overflow:hidden;
  border-radius:0;
  background:var(--card);
  aspect-ratio:4/3;
}
.picture-item{
  cursor:pointer;
}
.picture-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform 0.3s;
}
.picture-item:hover img{
  transform:scale(1.05);
}
/* Home sponsor logos: show full image without cropping */
.section--sponsor-logos .picture-item{
  aspect-ratio:auto;
  background:transparent;
}
.section--sponsor-logos .picture-item img{
  width:100%;
  height:auto;
  object-fit:contain;
  transform:none !important;
}
/* Pictures page: gallery area */
.card--gallery-bg{
  background:var(--bg);
}
@media (max-width: 920px){
  .pictures-gallery{
    grid-template-columns:repeat(auto-fill, minmax(150px, 1fr));
    gap:var(--space-sm);
  }
}

/* Team Grid */
.team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:var(--space-lg);
  margin-top:var(--space-lg);
}
.team-member{
  text-align:center;
}
.team-member__photo{
  width:200px;
  height:200px;
  margin:0 auto var(--space-md);
  border-radius:50%;
  overflow:hidden;
  border:4px solid var(--primary);
  background:var(--card);
}
.team-member__photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.team-member__name{
  font-size:20px;
  font-weight:700;
  margin:0 0 var(--space-xs);
  color:var(--primary);
}
.team-member__title{
  font-size:16px;
  color:var(--muted);
  margin:0 0 var(--space-sm);
  font-weight:600;
}
.team-member__bio{
  font-size:15px;
  line-height:1.6;
  color:var(--text);
  margin:0;
}
@media (max-width: 920px){
  .team-grid{
    grid-template-columns:1fr;
    gap:var(--space-md);
  }
  .team-member__photo{
    width:150px;
    height:150px;
  }
}

/* Lightbox */
.lightbox{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index:2000;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  visibility:hidden;
  transition:opacity 0.3s, visibility 0.3s;
}
.lightbox[aria-hidden="false"]{
  opacity:1;
  visibility:visible;
}
.lightbox__overlay{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  backdrop-filter:blur(4px);
}
.lightbox__content{
  position:relative;
  max-width:min(1200px, calc(100vw - 40px));
  max-height:90vh;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1;
}
.lightbox__image{
  max-width:100%;
  max-height:90vh;
  object-fit:contain;
  border-radius:0;
  border-radius:var(--radius);
  box-shadow:0 4px 20px rgba(0,0,0,0.5);
}
.lightbox__close{
  position:absolute;
  top:-50px;
  right:0;
  background:none;
  border:none;
  color:#fff;
  font-size:40px;
  line-height:1;
  cursor:pointer;
  padding:var(--space-xs);
  width:50px;
  height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:opacity 0.2s;
  z-index:2;
}
.lightbox__close:hover{
  opacity:0.7;
}
.lightbox__prev,
.lightbox__next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(255,255,255,0.2);
  border:none;
  color:#fff;
  font-size:48px;
  line-height:1;
  cursor:pointer;
  padding:var(--space-md);
  width:60px;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  transition:background 0.2s;
  z-index:2;
}
.lightbox__prev{
  left:-80px;
}
.lightbox__next{
  right:-80px;
}
.lightbox__prev:hover,
.lightbox__next:hover{
  background:rgba(255,255,255,0.3);
}
@media (max-width: 920px){
  .lightbox__prev,
  .lightbox__next{
    position:fixed;
    top:auto;
    bottom:20px;
    transform:none;
  }
  .lightbox__prev{
    left:20px;
  }
  .lightbox__next{
    right:20px;
  }
  .lightbox__close{
    top:20px;
    right:20px;
  }
}

.accordion__capabilities{
  list-style:none;
  padding:0;
  margin:var(--space-sm) 0;
}
.accordion__capabilities li{
  padding:var(--space-xs) 0;
  padding-left:var(--space-md);
  position:relative;
}
.accordion__capabilities li::before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--primary);
  font-weight:700;
}
.accordion__best-for{
  margin:var(--space-sm) 0;
  padding:var(--space-sm);
  border-radius:8px;
  font-size:17.5px;
}
.accordion__best-for strong{
  display:block;
  margin-bottom:var(--space-xs);
}

/* NCSB / NCSCB certification logo inline with list text */
.ncscb-logo{
  vertical-align:middle;
  height:1.5em;
  width:auto;
  margin-right:var(--space-xs);
  display:inline-block;
}

/* Contact 2-column layout */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--space-lg);
  margin:var(--space-md) 0;
}
.contact-info{
  background:var(--card);
  padding:var(--space-md);
  border-radius:var(--radius);
}
.contact-info__item{
  margin-bottom:var(--space-md);
}
.contact-info__label{
  font-weight:700;
  margin-bottom:var(--space-xs);
  display:block;
}
.contact-info__value{
  color:var(--muted);
}
.map{
  width:100%;
  height:300px;
  border-radius:var(--radius);
  overflow:hidden;
  margin:var(--space-md) 0;
}
.map iframe{
  width:100%;
  height:100%;
  border:none;
}

.footer{
  border-top:1px solid var(--border);
  padding:var(--space-lg) 0;
  color:#fff;
  font-size:16px;
  background:var(--card-alt);
  margin-top:var(--space-xl);
}
.footer__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:var(--space-lg);
  margin-bottom:var(--space-md);
}
.footer__section{
  min-width:0;
}
@media (min-width: 768px){
  .footer__grid{
    grid-template-columns:repeat(4, 1fr);
  }
}
.footer__title{
  font-weight:700;
  margin-bottom:var(--space-sm);
  color:#fff;
}
.footer__links{
  list-style:none;
  padding:0;
  margin:0;
}
.footer__links li{
  margin-bottom:var(--space-xs);
}
.footer__links a{
  color:#fff;
  text-decoration:none;
  transition:color 0.2s;
}
.footer__links a:hover{
  color:#fff;
  text-decoration:none;
}
.footer a{
  color:#fff !important;
}
.footer__bottom{
  border-top:1px solid var(--border);
  padding-top:var(--space-md);
  text-align:center;
  font-size:15px;
}

@media (min-width: 921px){
  body:has(> .header--home) > header.header:not(.header--home){display:none;}
  /* Hero pages: hide reusable header on desktop so overlay header shows over hero */
  body:has(> .header--overlay) > header.header--reusable{display:none;}
}
/* Home hero: stack text + Get in touch from 1024px down (tablet + mobile) */
@media (max-width: 1024px){
  .hero-banner__content--two-col{
    display:grid;
    grid-template-columns:1fr;
    padding-top:96px;
    width:100%;
    max-width:100%;
  }
  .hero-banner__copy{text-align:center;}
  .hero-banner__lead{max-width:none;}
  .hero-contact-tile{margin-right:0; max-width:none; width:100%; min-width:0;}
  .hero-contact-tile__form{grid-template-columns:1fr;}
}
@media (max-width: 920px){
  .header--home{display:none;}
  /* Hero pages: hide overlay header on mobile so reusable header shows */
  .header--overlay{display:none;}
  .grid3{grid-template-columns:1fr;}
  .nav{display:none;}
  .header__row-nav{display:none;}
  .mobile-toggle{
    display:block;
    margin-right:20px;
  }
  .mobile-toggle button{
    margin:0;
  }
  .brand{
    margin-left:20px;
    padding-right:12px;
  }
  .header__top-inner{
    flex-direction:column; align-items:flex-start; gap:10px;
  }
  .header__contact{
    flex-direction:column; align-items:flex-start; gap:8px;
  }
  .hero-banner{min-height:400px;}
  .hero-banner--services{min-height:250px;}
  /* Home hero: stack headline + lead above Get in touch form on mobile */
  .hero-banner__content--two-col{grid-template-columns:1fr; padding-top:96px; width:100%; max-width:100%;}
  .hero-banner__content--center{padding-top:6rem;}
  .hero-banner__copy{text-align:center;}
  .hero-banner__lead{max-width:none;}
  .hero-contact-tile{margin-right:0; max-width:none; width:100%; min-width:0;}
  .hero-contact-tile__form{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
}
