/* =========================
   NT Painting — styles.css
   Theme: #0046B7
   ========================= */

:root{
  --bg:#ffffff;
  --text:#0c1220;
  --muted:#5b667a;
  --line:#e7edf6;

  --brand:#0046B7;
  --brand-2:#0a66ff;
  --brand-soft:#eaf1ff;

  --card:#ffffff;
  --shadow: 0 10px 30px rgba(10, 25, 60, .10);
  --shadow-soft: 0 6px 18px rgba(10, 25, 60, .08);

  --radius: 16px;
  --radius-sm: 12px;
  --max: 1280px;
  --pad: 20px;

  --canvas:#ffffff;
  --canvas-tint:#f7faff;   /* super light blue */
  --band:#ffffff;
  --band-tint:#f6f9ff;     /* subtle section tint */

}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.5;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.muted{ color:var(--muted); }
.dot{ opacity:.55; padding:0 8px; }

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  color:#fff;
  font-size: 12px;
  letter-spacing:.2px;
}

.topbar{
  position: relative; /* default flow */
  z-index: 1;
}

.nav{
  position: sticky;
  top: 0;
  z-index: 300; /* stay above hero */
}
.nav.is-fixed{
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
/* Make sure the injected header container doesn't block sticky/fixed layout */
#site-header{
  overflow: visible !important;
}

/* Topbar text overrides (muted is too dark on blue) */
.topbar .muted{
  color: rgba(255,255,255,.86);
}
.topbar .dot{ opacity:.7; }

/* Top bar */
.topbar{
  background: linear-gradient(90deg, var(--brand), #003a94);
  color:#fff;
  font-size: 13px;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 10px 0;
}
.topbar__left{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.topbar__right{
  display:flex;
  align-items:center;
  gap:0;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.topbar__link{ color:#fff; text-decoration:none; }
.topbar__link:hover{ text-decoration:underline; }

/* Nav */
.nav{
  position: sticky;
  top:0;
  z-index:100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 10px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
/* Logo image (replaces the boxed "NT" mark) */
.brand__logo{
  display:flex;
  align-items:center;
}

.brand__logoImg{
  height: 40px;      /* desktop size */
  width: auto;
  max-width: 180px;  /* prevents huge logos */
  object-fit: contain;
  display:block;
}

@media (max-width: 860px){
  .brand__logoImg{
    height: 34px;    /* mobile size */
    max-width: 150px;
  }
}

/* Footer logo image */
.footer__logo{
  display:flex;
  align-items:center;
}

.footer__logoImg{
  height: 34px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display:block;
}

.brand__mark{
  width:42px;
  height:42px;
  border-radius: 12px;
  display:grid;
  place-items:center;
  background: var(--brand);
  color:#fff;
  font-weight:800;
  letter-spacing:.5px;
  box-shadow: var(--shadow-soft);
}
/* Logo image inside the brand mark */
.brand__mark.brand__mark--img{
  padding: 6px;
}

.brand__mark.brand__mark--img img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Footer version: keep the same treatment */
.brand__mark--footer.brand__mark--img{
  padding: 6px;
}

.brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.brand__name{ font-weight:800; font-size: 16px; letter-spacing:.2px; }
.brand__sub{ font-size: 12px; color: var(--muted); margin-top:2px; }

.nav__toggle{
  display:none;
  width:44px;
  height:44px;
  border-radius: 12px;
  border:1px solid var(--line);
  background:#fff;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.nav__toggleBars{
  width:18px;
  height:2px;
  background: var(--text);
  position:relative;
  display:block;
}
.nav__toggleBars::before,
.nav__toggleBars::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background: var(--text);
}
.nav__toggleBars::before{ top:-6px; }
.nav__toggleBars::after{ top:6px; }

.nav__links{
  display:flex;
  align-items:center;
  gap:10px;
}
.nav__link{
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 14px;
  color: #1a2440;
  text-decoration:none;
  border: 1px solid transparent;
}
.nav__link:hover{
  background: rgba(0,70,183,.06);
  border-color: rgba(0,70,183,.12);
  text-decoration:none;
}
.nav__link.is-active{
  background: rgba(0,70,183,.10);
  border-color: rgba(0,70,183,.18);
}
.nav__link--cta{
  background: var(--brand);
  color:#fff;
  border-color: rgba(0,0,0,0);
}
.nav__link--cta:hover{
  background:#003fa3;
}

/* Dropdown */
.nav__dropdown{ position:relative; }
.nav__link--btn{
  background:transparent;
  cursor:pointer;
}
.chev{
  display:inline-block;
  margin-left:8px;
  width: 0;
  height: 0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:6px solid currentColor;
  opacity:.7;
}
.nav__dropdownMenu{
  position:absolute;
  top: 48px;
  left:0;
  min-width: 220px;
  padding: 8px;
  background:#fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display:none;
}
.nav__dropdownMenu.is-open{ display:block; }
.nav__dropdownItem{
  display:block;
  padding: 10px 10px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 14px;
  color:#16203a;
}
.nav__dropdownItem:hover{
  background: rgba(0,70,183,.06);
  text-decoration:none;
}
.nav { overflow: visible; }
.nav__inner { overflow: visible; }
.nav__dropdownMenu { z-index: 1000; }

.nav__link--btn{
  font-family: inherit;
  font-weight: 650;
  font-size: 14px;
  color: #1a2440;
  line-height: 1;
  border: 1px solid transparent;
  padding: 10px 12px;
  border-radius: 12px;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
}

.nav__link--btn:hover{
  background: rgba(0,70,183,.06);
  border-color: rgba(0,70,183,.12);
}

/* Hero */
.hero{
  position:relative;
  overflow:hidden;
  border-bottom: 1px solid var(--line);
}
.hero__bg{
  position:absolute;      
  inset:0;
  overflow:hidden;
}

.hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(8,12,20,.72) 0%, rgba(8,12,20,.52) 55%, rgba(8,12,20,.15) 100%),
    radial-gradient(1200px 500px at 15% 30%, rgba(0,70,183,.28), rgba(0,0,0,0));
}
.hero__inner{
  position:relative;
  padding: 88px 12px 66px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 26px;
  align-items: end;
}
.hero h1{
  color:#fff;
  margin:0 0 12px;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.6px;
  line-height:1.05;
}
.hero .hero__grid > div > p{
  color: rgba(255,255,255,.88);
  margin:0 0 18px;
  max-width: 58ch;
  font-size: 16px;
}
.hero__badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 14px;
}
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color:#fff;
  font-weight: 650;
  font-size: 13px;
}
.badge__dot{
  width:10px; height:10px;
  border-radius:999px;
  background: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(10,102,255,.22);
}

.miniIcon{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(0,70,183,.10);
  border: 1px solid rgba(0,70,183,.18);
  color: var(--brand);
  font-size: 18px;
  margin-bottom: 10px;
}

.card--soft{
  background: rgba(255,255,255,.92);
}

/* ---------- Perf/SEO image swaps (keep same look) ---------- */

/* HERO: image behaves like background-cover */
.hero__bg{
  position:absolute;
  inset:0;
  overflow:hidden;
}

.hero__bgImg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter: saturate(1.05);
  transform: scale(1.02);
}

/* TILES: image behaves like background-cover */
.tile__media{
  position:relative;
  overflow:hidden;
}

.tile__img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Hero card */
.heroCard{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.heroCard__title{
  font-weight: 850;
  margin:0 0 8px;
  letter-spacing: -.2px;
  color: var(--text);
}
.heroCard__text{
  margin:0 0 14px;
  color: var(--muted);
  font-size: 14px;
}
.heroCard__ctaRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 11px 14px;
  border-radius: 14px;
  font-weight: 750;
  font-size: 14px;
  border: 1px solid transparent;
  cursor:pointer;
  text-decoration:none;
}
.btn:hover{ text-decoration:none; }
.btn--primary{
  background: var(--brand);
  color:#fff;
}
.btn--primary:hover{ background:#003fa3; }
.btn--ghost{
  background:#fff;
  color:#17213b;
  border-color: var(--line);
}
.btn--ghost:hover{
  background: rgba(0,70,183,.06);
  border-color: rgba(0,70,183,.12);
}

/* Sections */
.section{
  padding: 54px 0;
}
.section--tint{
  background: var(--band-tint);
  border-top: 1px solid rgba(231,237,246,.9);
  border-bottom: 1px solid rgba(231,237,246,.9);
}

.hero + .section{ border-top: 0; } 
.section--tint + .section--tint{ border-top: 0; } 

.h2{
  margin:0 0 10px;
  font-size: 25px;
  letter-spacing: -0.3px;
}
.lead{
  margin:0 0 22px;
  color: var(--muted);
  max-width: 72ch;
}

.grid3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}
.card h3{
  margin:0 0 8px;
  font-size: 16px;
  letter-spacing:-.2px;
}
.card p{
  margin:0;
  color: var(--muted);
  font-size: 14px;
}

/* Service tiles */
.serviceTiles{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.tile{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow-soft);
}
.tile__media{
  min-height: 210px;
  background-size: cover;
  background-position:center;
}
.tile__body{
  padding: 18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.tile__kicker{
  font-size: 12px;
  font-weight: 750;
  color: var(--brand);
  letter-spacing:.4px;
  text-transform: uppercase;
}
.tile__title{
  margin: 8px 0 8px;
  font-size: 18px;
  letter-spacing:-.2px;
}
.tile__text{
  margin:0 0 14px;
  color: var(--muted);
  font-size: 14px;
}

/* Split */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.kit{
  display:flex;
  gap:12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:#fff;
}
.kit__icon{
  width:40px; height:40px;
  border-radius: 14px;
  background: rgba(0,70,183,.10);
  border: 1px solid rgba(0,70,183,.18);
  display:grid;
  place-items:center;
  font-weight:900;
  color: var(--brand);
}
.kit__title{ margin:0 0 4px; font-weight:850; }
.kit__text{ margin:0; color:var(--muted); font-size:14px; }

/* FAQ */
.faq{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:#fff;
  overflow:hidden;
  box-shadow: var(--shadow-soft);
}
.faq details{
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}
.faq details:last-child{ border-bottom:0; }
.faq summary{
  cursor:pointer;
  font-weight: 800;
  list-style:none;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq p{ margin: 10px 0 0; color: var(--muted); font-size: 14px; }

/* Contact panel */
.contactPanel{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
}
.contactBox{
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:#fff;
  box-shadow: var(--shadow-soft);
}
.contactBox h3{ margin:0 0 10px; }
.contactLine{
  display:flex;
  gap:10px;
  align-items:center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}
.contactLine:last-child{ border-bottom:0; }
.contactKey{
  width: 84px;
  font-weight:800;
  color:#182445;
}
.contactVal a{ color: var(--brand); font-weight:800; }

/* Footer */
.footer{
  margin-top: 30px;
  border-top: 1px solid var(--line);
  background:#0b1427;
  color:#eaf0ff;
}
.footer__grid{
  padding: 34px 0 22px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.brand__mark--footer{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:none;
}
.footer__brand{
  display:flex;
  gap:12px;
  align-items:center;
}
.footer__title{ font-weight:900; }
.footer__muted{ color: rgba(234,240,255,.75); font-size: 13px; margin-top:2px; }
.footer__contact{
  margin-top: 10px;
  display:flex;
  flex-wrap:wrap;
  gap:0;
}
.footer__contact a{ color:#eaf0ff; font-weight:800; }
.footer__small{
  margin: 12px 0 0;
  color: rgba(234,240,255,.72);
  max-width: 60ch;
  font-size: 13px;
}
.footer__cols{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.footer__colTitle{
  font-weight:900;
  margin-bottom: 10px;
}
.footer__list{
  list-style:none;
  padding:0;
  margin:0;
}
.footer__list li{ margin: 8px 0; }
.footer__list a{
  color: rgba(234,240,255,.86);
  text-decoration:none;
  font-weight:700;
}
.footer__list a:hover{ text-decoration:underline; }
.footer__bottom{
  padding: 14px 0 18px;
  border-top: 1px solid rgba(231,237,246,.12);
  display:flex;
  align-items:center;
  justify-content:space-between;
  color: rgba(234,240,255,.70);
  font-size: 13px;
}

/* ---------- Footer mobile polish ---------- */

/* Give footer content real side padding (wrap already does padding, but this helps if any nested flex wraps weird) */
.footer .wrap{
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Make contact row wrap nicely (and not feel cramped) */
.footer__contact{
  gap: 10px;
  row-gap: 6px;
}
.footer__contact .dot{
  padding: 0 6px;
  opacity: .55;
}

/* Prevent long email from breaking layout badly */
.footer__contact a{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Mobile layout: stack columns cleanly + better spacing */
@media (max-width: 640px){
  .footer__grid{
    padding: 26px 0 18px;
    gap: 18px;
  }

  .footer__brand{
    align-items: flex-start;
  }

  /* Columns become a single column stack */
  .footer__cols{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer__colTitle{
    margin-bottom: 8px;
  }

  .footer__list li{
    margin: 10px 0;
  }

  /* Bottom bar stacks + aligns */
  .footer__bottom{
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0 18px;
  }

  .footer__bottomRight{
    color: rgba(234,240,255,.78);
  }
}

/* Page header */
.pageHead{
  padding: 34px 0 24px;
  background: linear-gradient(180deg, var(--brand-soft), rgba(234,241,255,0));
}
.pageHead h1{
  margin:0 0 10px;
  font-size: 34px;
  letter-spacing:-.4px;
}
.pageHead p{ margin:0; color: var(--muted); max-width: 80ch; }

/* --- Service page image hero (commercial/residential/service-area, etc.) --- */
.pageHero{
  position: relative;
  overflow: hidden;
}

.pageHero__bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
  transform: scale(1.02);
}

.pageHero__overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,12,20,.78) 0%, rgba(8,12,20,.52) 55%, rgba(8,12,20,.22) 100%),
    radial-gradient(900px 420px at 18% 35%, rgba(0,70,183,.26), rgba(0,0,0,0));
}

.pageHero__inner{
  position: relative;

  /* IMPORTANT: make the hero feel “full” and center content */
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* balanced padding (fixes the “too much bottom space” feel) */
  padding: 72px 12px 72px;
}

.pageHero h1{
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.4px;
  line-height: 1.08;
}

.pageHero p{
  margin: 0;
  color: rgba(255,255,255,.88);
  max-width: 78ch;
  font-size: 15px;
}

/* Mobile spacing */
@media (max-width: 980px){
  .pageHero__inner{
    min-height: 240px;
    padding: 56px 12px 56px;
  }

  .pageHero h1,
  .pageHero p{
    text-align: left;
  }
}

.logoStrip__item{
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.notice{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,70,183,.18);
  background: rgba(0,70,183,.06);
  color: #1a2440;
  font-size: 13px;
  font-weight: 550;
}

.projectGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.projectCard{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow-soft);
}
.projectImg{
  height: 180px;
  background-size: cover;
  background-position: center;
}
.projectBody{
  padding: 14px;
}
.projectTitle{
  margin:0 0 6px;
  font-weight: 800;
  font-size: 14px;
}
.projectMeta{
  margin:0;
  color: var(--muted);
  font-size: 13px;
}

/* --- Homepage add-ons (safe, neutral “new company” trust) --- */
.logoStrip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.logoStrip__item{
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.notice{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,70,183,.18);
  background: rgba(0,70,183,.06);
  color: #1a2440;
  font-size: 13px;
  font-weight: 550;
}

.projectGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.projectCard{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow-soft);
}
.projectImg{
  height: 180px;
  background-size: cover;
  background-position: center;
}
.projectBody{
  padding: 14px;
}
.projectTitle{
  margin:0 0 6px;
  font-weight: 800;
  font-size: 14px;
}
.projectMeta{
  margin:0;
  color: var(--muted);
  font-size: 13px;
}

/* Page canvas: keeps the whole homepage flowing as one surface */
.pageCanvas{
  background:
    linear-gradient(180deg, var(--canvas-tint) 0%, #ffffff 240px, #ffffff 100%);
}

/* Flush section (for snapshot bar under hero) */
.section--flush{
  padding-top: 22px;
  padding-bottom: 22px;
}

/* Service Snapshot Bar (replaces random pills) */
.serviceSnap{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  align-items:center;
  justify-content:center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(10,25,60,.06);
}

.serviceSnap__item{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  color: #1a2440;
  font-weight: 650;
  font-size: 13px;
}

.serviceSnap__icon{
  width: 26px;
  height: 26px;
  display:grid;
  place-items:center;
  border-radius: 999px;
  background: rgba(0,70,183,.08);
  border: 1px solid rgba(0,70,183,.12);
  font-size: 14px;
  line-height: 1;
}

.serviceSnap__item--muted{
  border-color: rgba(0,0,0,.08);
  color: var(--muted);
}

/* ---------- Topbar mobile polish ---------- */

/* Ensure topbar always has safe side padding (even on tiny screens) */
.topbar__inner{
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Prevent long email from smashing layout */
.topbar__link{
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Mobile: stack nicely + align clean */
@media (max-width: 640px){
  .topbar{
    font-size: 12.5px;
  }

  .topbar__inner{
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .topbar__left,
  .topbar__right{
    width: 100%;
    justify-content: space-between;
  }

  .topbar__left{
    gap: 8px;
  }

  /* Make the “Interior & Exterior…” line take full width under the pill */
  .topbar__left .muted{
    flex-basis: 100%;
    opacity: .95;
  }

  /* Right side: keep email + phone from touching edges */
  .topbar__right{
    gap: 10px;
  }

  /* Tighten the dot spacing */
  .topbar .dot{
    padding: 0 6px;
  }
}

/* Responsive */
@media (max-width: 980px){
  .hero__inner{ padding: 72px 12px 58px; } 
  .hero__grid{ grid-template-columns: 1fr; }
  .grid3{ grid-template-columns: 1fr; }
  .serviceTiles{ grid-template-columns: 1fr; }
  .tile{ grid-template-columns: 1fr; }
  .tile__media{ min-height: 220px; }
  .split{ grid-template-columns: 1fr; }
  .contactPanel{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }
  .projectGrid{ grid-template-columns: 1fr; }
  .projectImg{ height: 200px; }
}

@media (max-width: 860px){
  .nav__toggle{ display:flex; }
  .nav__links{
    position: absolute;
    left: 0; right:0;
    top: 100%;
    background:#fff;
    border-bottom: 1px solid var(--line);
    display:none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px var(--pad) 14px;
  }
  .nav__links.is-open{ display:flex; }
  .nav__dropdownMenu{
    position: static;
    box-shadow:none;
    border:1px solid var(--line);
    margin-top: 8px;
  }
  .nav__dropdownMenu.is-open{ display:block; }
}

/* ---------- Skip link (a11y) — hidden until keyboard focus ---------- */
.skipLink{
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 2000;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
  font-size: 14px;
  text-decoration: none;

  transform: translateY(-160%);
  transition: transform .18s ease;
  box-shadow: var(--shadow-soft);
}

.skipLink:focus,
.skipLink:focus-visible{
  transform: translateY(0);
  outline: 2px solid rgba(255,255,255,.9);
  outline-offset: 2px;
}

/* ---------- Skip link (a11y) — hidden until keyboard focus ---------- */
.skipLink{
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 2000; /* above topbar/nav */
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 750;
  font-size: 14px;
  text-decoration: none;

  transform: translateY(-160%);
  transition: transform .18s ease;
  box-shadow: var(--shadow-soft);
}

.skipLink:focus,
.skipLink:focus-visible{
  transform: translateY(0);
  outline: 2px solid rgba(255,255,255,.95);
  outline-offset: 2px;
}

/* =========================
   Subtle scroll animations (perf-safe)
   - Uses IntersectionObserver in main.js
   - Respects prefers-reduced-motion
   ========================= */

:root{
  --reveal-y: 10px;
  --reveal-dur: 520ms;
  --reveal-ease: cubic-bezier(.2,.8,.2,1);
}

/* Only animate when JS adds .reveal */
.reveal{
  opacity: 0;
  transform: translateY(var(--reveal-y));
  transition:
    opacity var(--reveal-dur) var(--reveal-ease),
    transform var(--reveal-dur) var(--reveal-ease);
  will-change: opacity, transform;
}

/* When visible */
.reveal.is-in{
  opacity: 1;
  transform: none;
}

/* Optional: small stagger support via inline style (delay) */
.reveal[data-delay]{
  transition-delay: var(--delay, 0ms);
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .reveal,
  .reveal.is-in{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}

