:root{
  color-scheme:light;
  --ground:#F6F8FB; --panel:#FFFFFF; --panel-2:#EFF3F8;
  --ink:#0F1A2E; --body:#293449; --slate:#47536A; --faint:#5A6680;
  --navy:#1F3864; --blue:#2E5496; --rule:#D7DEE9; --rule-strong:#1F3864;
  --pending:#79869E;
  --focus:#2E5496;
  --measure:63ch;
}
/* The site is deliberately light-only. An automatic dark palette made every page
   read as blue with white text on phones set to dark appearance, and washed out the
   table headers. Dark is opt-in only, with data-theme="dark" on <html>. */
:root[data-theme="dark"]{
  color-scheme:dark;
  --ground:#0D1421; --panel:#141D2E; --panel-2:#18233A;
  --ink:#F1F5FB; --body:#C9D4E5; --slate:#A9B5C9; --faint:#93A0B6;
  --navy:#C8D6EE; --blue:#7BA2E0; --rule:#26324A; --rule-strong:#3C4C6B;
  --pending:#5C6A85;
  --focus:#7BA2E0;
}

*{box-sizing:border-box}
body{
  margin:0; background:var(--ground); color:var(--body);
  font-family:Archivo,"Helvetica Neue",Helvetica,Arial,sans-serif;
  font-size:17px; line-height:1.65; -webkit-font-smoothing:antialiased;
}
a{color:var(--blue); text-decoration-thickness:1px; text-underline-offset:3px}
a,button{touch-action:manipulation; -webkit-tap-highlight-color:rgba(46,84,150,.15)}
a:focus-visible,button:focus-visible{outline:2px solid var(--focus); outline-offset:3px}
img,svg{max-width:100%}
h1,h2,h3{color:var(--ink); text-wrap:balance; margin:0; font-weight:700; letter-spacing:-.015em}
.wrap{max-width:1080px; margin:0 auto; padding:0 28px}
.skip{
  position:absolute; width:1px; height:1px; margin:-1px; border:0; padding:0;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap;
}
.skip:focus{
  position:static; width:auto; height:auto; margin:0; clip-path:none; white-space:normal;
  display:inline-block; padding:10px 16px; background:var(--navy); color:#fff;
}

/* ---------- drawing-sheet section band ---------- */
.sheet{border-top:1px solid var(--rule)}
.sheet-inner{display:grid; grid-template-columns:132px 1fr; gap:0 32px; padding-top:56px; padding-bottom:56px}
.tag{
  font-size:11.5px; font-weight:700; letter-spacing:.15em; text-transform:uppercase;
  color:var(--slate); padding-top:7px; font-variant-numeric:tabular-nums;
}
@media (max-width:800px){
  .sheet-inner{grid-template-columns:1fr; gap:14px; padding-top:40px; padding-bottom:40px}
  .tag{padding-top:0}
}

/* ---------- masthead ---------- */
.mast{border-bottom:1px solid var(--rule); background:var(--panel)}
.mast-in{display:flex; align-items:center; justify-content:space-between; gap:24px; padding-top:18px; padding-bottom:18px}
.lockup{display:inline-flex; align-items:center; gap:13px; min-height:44px; text-decoration:none}
.lockup .name{display:block; font-weight:800; font-size:33px; letter-spacing:-.035em; color:var(--navy); line-height:1}
.lockup .desc{display:block; font-weight:700; font-size:14px; letter-spacing:.13em; text-transform:uppercase; color:var(--navy); line-height:1; margin-top:8px}
nav.top{display:flex; gap:22px; align-items:center; flex-wrap:wrap}
nav.top a{color:var(--ink); text-decoration:none; font-size:15px; font-weight:600}
nav.top a:hover{color:var(--blue)}
nav.top a[aria-current="page"]{color:var(--blue); box-shadow:inset 0 -2px 0 var(--blue)}
nav.top a.tel{
  font-weight:700; color:var(--navy); font-variant-numeric:tabular-nums;
  letter-spacing:-.01em; font-size:16px;
}
.menu-btn{display:none}

/* ---------- the menu, folded, on tablets and phones ----------
   The nav collapses behind the Menu button only once the script has marked <html>
   with .js, so the links stay listed and wrapped where there is no script. */
@media (max-width:1140px){
  .mast-in{flex-wrap:wrap; gap:12px 18px}
  .js .menu-btn{
    display:inline-flex; align-items:center; gap:9px; flex:none;
    font:inherit; font-size:15px; font-weight:700; color:var(--navy); background:var(--panel);
    border:1px solid var(--rule-strong); border-radius:2px; padding:11px 15px;
    min-height:44px; cursor:pointer;
  }
  .js .menu-btn:hover{border-color:var(--blue); color:var(--blue)}
  .js .menu-btn svg{display:block}
  .js .menu-btn .x,.js .menu-btn .label-close{display:none}
  .js .menu-btn[aria-expanded="true"] .bars{display:none}
  .js .menu-btn[aria-expanded="true"] .x{display:block}
  .js .menu-btn[aria-expanded="true"] .label-menu{display:none}
  .js .menu-btn[aria-expanded="true"] .label-close{display:inline}

  .js nav.top{
    display:none; order:3; flex:1 0 100%; flex-direction:column; align-items:stretch;
    gap:0; margin-top:14px; border-top:1px solid var(--rule);
  }
  .js nav.top.open{display:flex}
  .js nav.top a{
    display:flex; align-items:center; min-height:52px; padding:0 2px;
    font-size:17px; border-bottom:1px solid var(--rule);
  }
  .js nav.top a[aria-current="page"]{box-shadow:inset 3px 0 0 var(--blue); padding-left:14px}
  .js nav.top a.tel{font-size:18px}
}

/* ---------- hero, home ---------- */
.hero{background:var(--panel); border-bottom:1px solid var(--rule)}
.hero-grid{display:grid; grid-template-columns:1fr 300px; gap:56px; align-items:center; padding-top:66px; padding-bottom:60px}
h1{font-size:clamp(31px,4.4vw,47px); line-height:1.1; font-weight:800; letter-spacing:-.03em}
.lede{font-size:19px; max-width:var(--measure); margin-top:20px; color:var(--body)}
.hero-tel{margin-top:28px; display:inline-flex; align-items:baseline; gap:12px; text-decoration:none}
.hero-tel .num{font-size:27px; font-weight:800; color:var(--navy); letter-spacing:-.02em; font-variant-numeric:tabular-nums}
.hero-tel .hrs{font-size:13.5px; font-weight:600; color:var(--slate)}
.hero-tel:hover .num{color:var(--blue)}
@media (max-width:860px){
  .hero-grid{grid-template-columns:1fr; gap:34px; padding-top:40px; padding-bottom:36px}
  .figure{max-width:280px}
}
.figure{width:100%}
.figure figcaption{
  margin-top:14px; font-size:14px; font-weight:700; line-height:1.4;
  color:var(--navy); text-align:center; text-wrap:balance;
}

/* ---------- inner-page hero ---------- */
.phead{background:var(--panel); border-bottom:1px solid var(--rule)}
.phead-in{padding-top:52px; padding-bottom:46px}
.phead h1{font-size:clamp(29px,3.8vw,42px)}
.phead .lede{margin-top:16px}

/* ---------- services ---------- */
.svc{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--rule); border:1px solid var(--rule)}
.svc > a{background:var(--panel); padding:26px 24px 24px; text-decoration:none; display:flex; flex-direction:column; gap:12px; color:var(--body)}
.svc > a:hover{background:var(--panel-2)}
.svc h3{font-size:19px; font-weight:700; letter-spacing:-.02em}
.svc p{margin:0; font-size:15.5px; line-height:1.62; color:var(--body)}
.svc .go{margin-top:auto; padding-top:8px; font-size:14px; font-weight:600; color:var(--blue)}
.svc svg{display:block}
@media (max-width:820px){ .svc{grid-template-columns:1fr} }

/* ---------- prose ---------- */
.prose p, .prose li{max-width:var(--measure)}
.prose p{margin:0 0 18px}
.prose h2{font-size:clamp(23px,2.8vw,30px); font-weight:800; letter-spacing:-.025em; margin:0 0 16px; line-height:1.18}
.prose h3{font-size:18px; font-weight:700; margin:26px 0 8px; color:var(--ink)}
.prose h2 + p{margin-top:0}
.prose ul,.prose ol{margin:0 0 18px; padding-left:22px}
.prose li{margin-bottom:7px}
.prose ol{counter-reset:step; list-style:none; padding-left:0}
.prose ol > li{
  counter-increment:step; position:relative; padding-left:42px; margin-bottom:12px;
}
.prose ol > li::before{
  content:counter(step); position:absolute; left:0; top:1px;
  width:26px; height:26px; border:1px solid var(--rule-strong); border-radius:2px;
  display:grid; place-items:center; font-size:13px; font-weight:700; color:var(--navy);
  font-variant-numeric:tabular-nums;
}
.prose strong{color:var(--ink); font-weight:700}
.prose .after{margin-top:6px; font-weight:600}
.prose > *:last-child{margin-bottom:0}

/* a paragraph that carries a caution or a limit */
.note{
  border-left:3px solid var(--blue); background:var(--panel); padding:16px 20px;
  margin:0 0 20px; max-width:var(--measure);
}
.note p{margin:0}
.note p + p{margin-top:12px}

/* ---------- credentials ---------- */
.creds{display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--rule); border:1px solid var(--rule); margin:0 0 18px}
.creds > div{background:var(--panel); padding:22px 22px 20px}
.creds h3{
  font-size:11.5px; font-weight:700; letter-spacing:.15em; text-transform:uppercase;
  color:var(--blue); margin:0 0 14px;
}
.creds dl{margin:0}
.creds dt{font-weight:700; color:var(--ink); font-size:15px; margin-top:12px}
.creds dt:first-of-type{margin-top:0}
.creds dd{margin:2px 0 0; font-size:14px; line-height:1.5; color:var(--body)}
@media (max-width:820px){ .creds{grid-template-columns:1fr} }

/* ---------- pending slots ---------- */
.pending{
  border:1px dashed var(--pending); border-radius:2px; padding:22px 24px;
  color:var(--pending); font-size:14px; line-height:1.6;
}
.pending b{display:block; font-size:11px; letter-spacing:.15em; text-transform:uppercase; margin-bottom:6px; color:var(--pending); font-weight:600}
.pending-row{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
@media (max-width:820px){ .pending-row{grid-template-columns:1fr} }

/* ---------- recent work: the photograph grid ---------- */
.gallery-note{margin:0 0 16px; font-size:15.5px; color:var(--slate); max-width:var(--measure)}
.gallery{
  display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--rule); border:1px solid var(--rule);
}
.shot{
  display:block; position:relative; aspect-ratio:4/3; overflow:hidden;
  background:var(--panel-2); cursor:zoom-in; text-decoration:none;
}
.shot img{display:block; width:100%; height:100%; object-fit:cover}
.shot::after{
  content:""; position:absolute; inset:0; background:rgba(31,56,100,0);
  transition:background .2s ease;
}
.shot:hover::after,.shot:focus-visible::after{background:rgba(31,56,100,.16)}
@media (max-width:820px){ .gallery{grid-template-columns:repeat(2,1fr)} }
@media (max-width:560px){ .gallery{grid-template-columns:1fr} }

/* ---------- the photograph viewer ---------- */
.lightbox{
  position:fixed; inset:0; z-index:30; background:rgba(9,15,26,.94);
  display:flex; align-items:center; justify-content:center; padding:26px;
  animation:lb-in .16s ease-out;
}
.lightbox[hidden]{display:none}
@keyframes lb-in{from{opacity:0}to{opacity:1}}
.lb-figure{
  margin:0; display:inline-flex; flex-direction:column; align-items:center;
  gap:16px; max-width:100%;
}
.lb-figure img{
  display:block; max-width:min(92vw,1600px); max-height:78vh; height:auto;
  background:var(--panel-2); box-shadow:0 20px 64px rgba(0,0,0,.45);
}
.lb-meta{
  display:flex; align-items:baseline; gap:14px; flex-wrap:wrap;
  justify-content:center; text-align:center;
}
.lb-cap{color:#E4EBF5; font-size:15px; font-weight:600; line-height:1.45}
.lb-count{
  color:#8494B0; font-size:12px; font-weight:700; letter-spacing:.14em;
  font-variant-numeric:tabular-nums;
}

/* the mark shown while the full photograph comes in; the loaded photograph
   sits over it, so a missed load state cannot leave anything on screen */
.lb-wait{
  position:fixed; top:50%; left:50%; width:34px; height:34px; margin:-17px 0 0 -17px;
  border:2px solid rgba(228,235,245,.26); border-top-color:#E4EBF5; border-radius:50%;
  animation:lb-spin .8s linear infinite; pointer-events:none;
}
.lightbox.loaded .lb-wait{display:none}
@keyframes lb-spin{to{transform:rotate(360deg)}}

/* the close mark, held to the top right corner of the screen */
.lb-x{
  position:fixed; top:16px; right:16px; z-index:2;
  width:48px; height:48px; display:grid; place-items:center;
  background:rgba(15,26,46,.62); border:1px solid rgba(215,222,233,.34); border-radius:2px;
  color:#fff; cursor:pointer; transition:background .15s ease, border-color .15s ease;
}
.lb-nav{
  position:fixed; top:50%; transform:translateY(-50%); z-index:2;
  width:46px; height:76px; display:grid; place-items:center;
  background:rgba(15,26,46,.55); border:1px solid rgba(215,222,233,.28); border-radius:2px;
  color:#fff; cursor:pointer; transition:background .15s ease, border-color .15s ease;
}
.lb-prev{left:14px}
.lb-next{right:14px}
.lb-x:hover,.lb-nav:hover{background:var(--blue); border-color:var(--blue)}
.lb-x svg,.lb-nav svg{display:block}
@media (max-width:560px){
  .lightbox{padding:16px}
  .lb-x{top:10px; right:10px; width:44px; height:44px}
  .lb-nav{width:38px; height:64px}
  .lb-prev{left:8px}
  .lb-next{right:8px}
  .lb-figure img{max-height:70vh}
}

/* ---------- form links ---------- */
.formaction{
  border:1px solid var(--rule); background:var(--panel); border-radius:2px;
  padding:22px 24px; margin:0 0 14px; max-width:var(--measure);
  display:flex; flex-direction:column; align-items:flex-start; gap:12px;
}
.btn.ext{display:inline-flex; align-items:center; gap:10px; line-height:1.25}
.btn.ext svg{flex:none}
.exthint{margin:0; font-size:14px; line-height:1.5; color:var(--slate)}
.offline{
  font-size:14.5px; color:var(--slate); max-width:var(--measure); margin:0 0 8px;
}

/* ---------- contact ---------- */
.foot{background:var(--panel); border-top:1px solid var(--rule-strong)}
.foot-grid{display:grid; grid-template-columns:1fr 1fr; gap:40px; padding-top:52px; padding-bottom:20px}
.foot address{font-style:normal; font-size:16px; line-height:1.8}
.foot .num{font-weight:700; color:var(--navy); font-variant-numeric:tabular-nums}
.actions{display:flex; gap:12px; flex-wrap:wrap; align-items:flex-start}
.btn{display:inline-block; padding:13px 22px; font-size:15px; font-weight:600; text-decoration:none; border-radius:2px; border:1px solid var(--navy)}
.btn-solid{background:var(--navy); color:var(--panel)}
.btn-solid:hover{background:var(--blue); border-color:var(--blue)}
.btn-line{color:var(--navy); background:transparent}
.btn-line:hover{background:var(--panel-2)}
.legal{
  border-top:1px solid var(--rule); margin-top:34px; padding-top:18px; padding-bottom:40px;
  font-size:13.5px; color:var(--slate); display:flex; justify-content:space-between; gap:18px; flex-wrap:wrap;
}
.legal a{color:var(--slate)}
@media (max-width:760px){ .foot-grid{grid-template-columns:1fr; gap:28px} }

/* ---------- cookie bar ---------- */
.cookie{
  position:fixed; left:0; right:0; bottom:0; z-index:20; background:var(--panel);
  border-top:1px solid var(--rule-strong); box-shadow:0 -8px 24px rgba(15,26,46,.12);
}
.cookie-in{display:flex; gap:16px; align-items:center; justify-content:space-between; padding-top:14px; padding-bottom:14px; flex-wrap:wrap}
.cookie p{margin:0; font-size:14px; max-width:64ch; color:var(--body)}
.cookie .grp{display:flex; gap:10px}
.cookie button{
  font:inherit; font-size:14px; font-weight:600; padding:9px 18px; border-radius:2px;
  cursor:pointer; border:1px solid var(--navy); background:transparent; color:var(--navy);
}
.cookie button.accept{background:var(--navy); color:var(--panel)}
.cookie button:hover{border-color:var(--blue); color:var(--blue)}
.cookie button.accept:hover{background:var(--blue); color:var(--panel)}
@media (prefers-reduced-motion:reduce){ *{animation:none!important; transition:none!important} }

/* ---------- phones ---------- */
@media (max-width:560px){
  body{font-size:16.5px}
  .wrap{padding-left:20px; padding-right:20px}

  /* masthead: smaller lockup, and nav links given a real tap area */
  .mast-in{padding-top:12px; padding-bottom:12px; gap:10px 14px}
  .lockup{gap:10px}
  .lockup svg{width:40px; height:40px}
  .lockup .name{font-size:26px}
  .lockup .desc{font-size:12px; letter-spacing:.05em}
  .js .menu-btn{padding:11px 12px; font-size:14px}
  nav.top{gap:0 18px; width:100%}
  nav.top a{padding:11px 0; font-size:15.5px}
  nav.top a.tel{font-size:17px}
  .js nav.top a{font-size:16.5px}
  .js nav.top a.tel{font-size:17.5px}

  .hero-grid{padding-top:30px; padding-bottom:30px; gap:28px}
  .figure{max-width:210px; margin-inline:auto}
  .hero-tel{flex-direction:column; gap:4px; margin-top:22px}
  .phead-in{padding-top:34px; padding-bottom:30px}
  .sheet-inner{padding-top:34px; padding-bottom:34px}
  .lede{font-size:17.5px}

  .svc > a{padding:22px 20px}
  .visits > div{padding:20px}
  .price{padding:18px 20px}
  .formaction{padding:18px 20px}
  .btn.ext{align-self:stretch; justify-content:center; text-align:center}
  .price .fig{font-size:25px}
  .note{padding:14px 16px}
  .pending{padding:18px 20px}

  /* the consent bar was taking a fifth of the screen */
  .cookie-in{gap:12px; padding-top:12px; padding-bottom:12px}
  .cookie p{font-size:13.5px; line-height:1.5}
  .cookie .grp{width:100%; gap:8px}
  .cookie button{flex:1; padding:11px 12px; font-size:14px}

  .foot-grid{padding-top:36px; padding-bottom:16px}
  .legal{padding-bottom:28px}
}

/* the smallest phones: the words get the room, so the Menu button carries its icon alone */
@media (max-width:400px){
  .mast-in{gap:10px}
  .lockup .desc{font-size:11.5px; letter-spacing:.04em}
  .js .menu-btn{padding:11px 12px}
  .js .menu-btn .label-menu,.js .menu-btn .label-close{display:none}
}

/* 320px screens: the words give back a point so the header stays on one row */
@media (max-width:340px){
  .lockup .desc{font-size:10.5px}
}

/* ---------- the two visits ---------- */
.visits{display:grid; grid-template-columns:1fr 1fr; gap:1px; background:var(--rule); border:1px solid var(--rule); margin:0 0 20px}
.visits > div{background:var(--panel); padding:22px 24px}
.visits h3{margin:0 0 4px; font-size:18px}
.visits .when{font-size:12px; font-weight:700; letter-spacing:.13em; text-transform:uppercase; color:var(--blue); margin-bottom:10px}
.visits p{margin:0; font-size:15.5px; line-height:1.6}
@media (max-width:760px){ .visits{grid-template-columns:1fr} }

/* ---------- service-level comparison ---------- */
.cmpwrap{overflow-x:auto; margin:0 0 18px; border:1px solid var(--rule); background:var(--panel)}
table.cmp{border-collapse:collapse; width:100%; min-width:620px; font-size:15px}
table.cmp th, table.cmp td{
  padding:12px 16px; text-align:left; border-bottom:1px solid var(--rule);
  vertical-align:top;
}
table.cmp thead th{
  background:var(--navy); color:#fff; font-weight:700; font-size:13.5px;
  letter-spacing:.04em; border-bottom:none;
}
table.cmp thead th:first-child{width:40%}
table.cmp tbody th{font-weight:600; color:var(--ink); width:40%}
table.cmp td{color:var(--body); font-variant-numeric:tabular-nums; text-align:center}
table.cmp tbody tr:last-child th, table.cmp tbody tr:last-child td{border-bottom:none}
table.cmp tbody tr:nth-child(even) th, table.cmp tbody tr:nth-child(even) td{background:var(--panel-2)}
table.cmp .no{color:var(--faint)}
table.cmp thead th:not(:first-child){text-align:center}

/* ---------- price callout ---------- */
.price{
  border:1px solid var(--rule-strong); background:var(--panel); border-radius:2px;
  padding:20px 24px; margin:0 0 20px; max-width:var(--measure);
}
.price .fig{font-size:29px; font-weight:800; color:var(--navy); letter-spacing:-.02em; font-variant-numeric:tabular-nums; line-height:1.1}
.price .fig small{font-size:16px; font-weight:600; color:var(--slate); letter-spacing:0}
.price p{margin:10px 0 0; font-size:15.5px}

/* Two-column rating table on the Inspection Program page */
table.cmp.rate{min-width:0}
table.cmp.rate tbody th, table.cmp.rate thead th:first-child{width:28%}
table.cmp.rate td, table.cmp.rate thead th:not(:first-child){text-align:left}
