/* ============================================================================
   BASE — identical on every Pittsburgh IT build. The visitor never sees any of it.
   Token NAMES are fixed; only the VALUES change per client. Everything below the
   token block is structural: the accessibility floor, the form skeleton, tap
   targets, the motion contract. Roughly 20 lines get rewritten per client and
   several hundred lines of quality are inherited.
   MOBILE FIRST — every rule here is the small-screen rule. Breakpoints add.
   ========================================================================== */
:root{
  --surface:#FFFFFF;
  --surface-2:#FAF8F8;
  --band:#1D4E89;
  --band-ink:#FFFFFF;
  --band-ink-2:#CFDCEC;
  --accent-on-band:#BFD6F0;
  --ink:#14131A;
  --ink-2:#4A4956;
  --ink-3:#5E5D6B;
  --accent:#1D4E89;
  --accent-2:#15406F;
  --accent-ink:#FFFFFF;
  --line:#E1DFE4;
  --maxw:1220px;
  --gutter:22px;
  --radius:0px;
  --accent-a12:rgba(29,78,137,.12);
  /* THE BOARD's surfaces. All four are DERIVED from --surface by an HSL lightness
     step in build.py, so the services section separates from the page by TONE and
     can never be a white card on a grey page. --board-accent is --accent unless it
     cannot hold 4.5:1 on --board, in which case build.py has already swapped it. */
  --board:#dfe1e4;
  --board-cell:#f4f5f6;
  --board-line:rgba(29,78,137,.30);
  --board-accent:#1D4E89;
  --board-glow:rgba(29,78,137,.13);
  --board-shadow-1:rgba(20,19,26,.08);
  --board-shadow-2:rgba(20,19,26,.26);
  --font-display:'Playfair Display',Georgia,'Times New Roman',serif;
  --font-body:'Work Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--surface);color:var(--ink);
  font-family:var(--font-body);font-size:17px;line-height:1.62;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
  overflow-x:hidden}
img,svg,video{max-width:100%;height:auto;display:block}
h1,h2,h3,h4{font-family:var(--font-display);margin:0;line-height:1.08;
  font-weight:700;letter-spacing:-.02em}
p{margin:0 0 1em}
a{color:inherit}
ul{margin:0;padding:0;list-style:none}

/* --- container ------------------------------------------------------------ */
.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 var(--gutter)}
@media(min-width:760px){:root{--gutter:34px}}
@media(min-width:1180px){:root{--gutter:48px}}

/* --- accessibility floor -------------------------------------------------- */
.skip{position:absolute;left:-9999px;top:0;z-index:200;background:var(--accent);
  color:var(--accent-ink);padding:12px 18px;border-radius:0 0 var(--radius) 0;
  font-weight:700;text-decoration:none}
.skip:focus{left:0}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:2px}
.vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);
  clip-path:inset(50%);white-space:nowrap}
/* honeypot: OFF-SCREEN, never display:none — a hidden field some bots skip,
   and a screen reader is told to leave it alone. */
.hp{position:absolute!important;left:-9999px;top:-9999px;width:1px;height:1px;
  opacity:0;pointer-events:none}

/* --- tap targets ---------------------------------------------------------- */
a,button,input,select,textarea,summary{font-family:inherit}
.btn,button,input[type=submit]{min-height:48px}
nav a,footer a{display:inline-block;min-height:24px}

/* --- button skeleton (templates restyle the skin, not the mechanics) ------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55em;
  padding:14px 26px;border:1px solid transparent;border-radius:var(--radius);
  font-weight:650;font-size:16px;line-height:1.1;text-decoration:none;cursor:pointer;
  transition:transform .18s ease,background .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--line)}

/* --- form skeleton -------------------------------------------------------- */
.form{display:grid;gap:16px}
.field{display:grid;gap:7px}
.field label{font-size:12.5px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;color:var(--ink-2)}
.field input,.field select,.field textarea{
  width:100%;min-height:50px;padding:13px 15px;border:1px solid var(--line);
  border-radius:var(--radius);background:var(--surface);color:var(--ink);
  font-size:16px;/* 16px stops iOS zooming the page on focus */
  font-family:inherit;transition:border-color .18s ease,box-shadow .18s ease}
.field textarea{min-height:140px;resize:vertical;line-height:1.55}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(29,78,137,.24)}
.field ::placeholder{color:var(--ink-3);opacity:1}
.frow{display:grid;gap:16px}
@media(min-width:680px){.frow{grid-template-columns:1fr 1fr}}
.thanks{display:none;border:1px solid var(--line);border-radius:var(--radius);
  padding:28px;background:var(--surface-2)}
.thanks.show{display:block}
.thanks h3{font-size:24px;margin-bottom:10px}
.formerror{color:#8A2036;font-size:15px;font-weight:600;margin-top:10px}

/* --- MOTION CONTRACT ------------------------------------------------------
   Nothing starts hidden unless JavaScript has already run. The `js` class is set
   by an inline <head> script, and ONLY when prefers-reduced-motion is not set.
   No JS, blocked JS, old browser, or reduced motion => the page is simply visible.
   This is the inverse of how most sites do it, and it is why a script failure
   here cannot produce a blank page on a lead-generating site. */
html.js .reveal{opacity:0;transform:translateY(18px);
  transition:opacity .7s cubic-bezier(.22,.61,.36,1),transform .7s cubic-bezier(.22,.61,.36,1)}
html.js .reveal.in{opacity:1;transform:none}
html.js .reveal.d1{transition-delay:.08s}
html.js .reveal.d2{transition-delay:.16s}
html.js .reveal.d3{transition-delay:.24s}
@media(prefers-reduced-motion:reduce){
  html.js .reveal,html.js .reveal.in{opacity:1!important;transform:none!important;transition:none!important}
  *{animation-duration:.001ms!important;animation-iteration-count:1!important;
    transition-duration:.001ms!important}
}

/* --- nav skeleton --------------------------------------------------------- */
#nav{position:fixed;top:0;left:0;right:0;z-index:100;
  transition:background .25s ease,box-shadow .25s ease,border-color .25s ease}
.nav-inner{display:flex;align-items:center;justify-content:space-between;
  gap:16px;min-height:70px}
.navtoggle{display:inline-flex;align-items:center;justify-content:center;
  width:48px;height:48px;margin-right:-10px;background:none;border:0;
  color:inherit;cursor:pointer}
@media(min-width:940px){.navtoggle{display:none}}
.nav-links{display:none}
.nav-links.open{display:flex}
.nav-links{gap:0}
/* Desktop nav reset. Deliberately scoped to #nav so its specificity (1,1,0) beats any
   later `.nav-links{position:absolute…}` a template writes for its mobile drawer —
   equal specificity later in the file wins over a media query, which silently left the
   drawer stacked at the left edge on six of seven templates before this was scoped.
   It sets ONLY the structural properties that must not leak from mobile to desktop;
   gap, colour and type stay the template's business. */
@media(min-width:940px){
  #nav .nav-links,#nav .nav-links.open{display:flex;position:static;inset:auto;
    flex-direction:row;align-items:center;padding:0;margin:0;border:0;background:none;
    width:auto;height:auto;min-height:0;max-height:none;box-shadow:none;transform:none;
    visibility:visible;opacity:1;overflow:visible;
    gap:var(--nav-gap,32px)}
}
html.menu-open,html.menu-open body{overflow:hidden}

/* --- footer skeleton ------------------------------------------------------ */
footer a{text-decoration:none}
.credit{font-size:13.5px}
.credit a{text-decoration:underline;text-underline-offset:3px}

/* --- button rows ----------------------------------------------------------
   On a phone two CTAs sitting side by side at different intrinsic widths look
   accidental, and neither is a comfortable thumb target. They go full width until
   there is room for a row. Scoped as `.btnrow > .btn` (0,2,0) so a template's own
   `.btn{}` rule later in the file cannot silently undo it — the same cascade trap
   that left the desktop nav stacked. */
.btnrow{display:flex;flex-wrap:wrap;gap:12px}
.btnrow > .btn{flex:1 1 100%}
@media(min-width:560px){.btnrow > .btn{flex:0 0 auto}}

/* --- long-string guard ----------------------------------------------------
   A client email address or a compound word set in a heavy display face at
   20px uppercase does not wrap, and pushes a 390px page sideways. Found on the
   Ironworks contact page: dispatch@vantagemechanical.com forced the document to
   462px. Plumbing, so every template inherits the fix. */
/* Headings are deliberately NOT in this guard. break-word on a display heading
   shatters a word mid-syllable the moment its container is narrower than the word —
   it turned "Everything we make," into "Everyth / ing we / make," on Marquee. A
   heading that does not fit is a LAYOUT bug; fix the column, do not hyphenate it. */
h1,h2,h3,h4{overflow-wrap:normal;word-break:normal}
a[href^="mailto:"],a[href^="tel:"]{overflow-wrap:anywhere}
.crow span,.crow b,.cinfo span,address{overflow-wrap:anywhere}

/* --- utility -------------------------------------------------------------- */
.sec{padding:64px 0}
@media(min-width:760px){.sec{padding:96px 0}}
@media(min-width:1180px){.sec{padding:124px 0}}
.eyebrow{font-size:12px;font-weight:750;letter-spacing:.16em;text-transform:uppercase;
  color:var(--accent);margin:0 0 14px}
.lead{font-size:19px;line-height:1.6;color:var(--ink-2)}
@media(min-width:760px){.lead{font-size:21px}}

/* ============================================================ THE BOARD =====
   THE ONE services section for every one-page build, current and future.
   Jon, 2026-08-14: this replaces the board/menu section on every skeleton.
   Ruleset and worked examples: _system/onepage/SERVICES-SECTION.md.

   It renders BOTH shapes the contract carries, through one loop, because
   build.py normalises them into board.groups before this file ever sees them:
     services[]  4-6 headline offerings          -> one untitled group
     menu[]      a grouped price list            -> one titled group each
   A barber with six services and a restaurant with eight menu groups get the
   same instrument, and the skeleton does not know which it got.

   WHY IT LIFTS BY TONE, NOT BY SHADOW. The page background is the brand's
   neutral base. The container is the SAME neutral at a different value, so it
   separates even before the shadow renders — on a low-contrast screen, in
   forced-colours, and in print, where the shadow is simply gone. A white card
   on a grey page is the default this exists to replace: it is the one move that
   makes a spec site look like a template, because it belongs to no brand.
   --board / --board-cell / --board-line are DERIVED FROM --surface in build.py
   by an HSL lightness step, never hand-typed, so they cannot drift off-palette
   when a client's logo repaints the page.

   THE PRICE IS A COLUMN, NOT THE POINT. A row with no price omits the cell and
   the other two tracks take the space; the section still renders, because the
   reason it exists is the list of services, not the figures beside them. One
   hook note prints above the grid when anything is unpriced — that is the only
   moment the page speaks to its own owner, and it is why a prospect writes back.

   TOKENS a skeleton sets (all have working defaults):
     --bd-cols      columns in the grid          default 1, 2 from 820px
     --bd-gap       gutter between cells         default 10px
     --bd-pad       padding inside the container default 20px, 32px from 820px
     --bd-cell-pad  padding inside a cell        default 16px
     --bd-icon      the icon plate               default 46px, 52px from 820px
     --bd-glyph     the glyph inside it          default 24px, 26px from 820px
     --bd-price     the price size               default 21px, 24px from 820px
     --bd-edge      the accent edge on a cell    default a 2px gradient bar
     --bd-radius    corner radius                default calc(var(--radius)*1.4)
     --bd-glow      accent halation around the panel  DEFAULT OFF - opt in only
                    on a skeleton whose idea is light
     --bd-accent    the accent that is SAFE here — build.py falls back to
                    --accent-2, then to --ink, if --accent cannot hold 4.5:1 on
                    the container. Small uppercase text in a brand colour on a
                    tonal surface is the exact place a palette goes unreadable.
   Parts to skin: .board .bgrid .bitem .bicon .bname .bdesc .btag .bprice .bgh
   ========================================================================== */
.board{
  --bd-cols:1;
  --bd-gap:10px;
  --bd-pad:20px;
  --bd-cell-pad:16px;
  --bd-icon:46px;
  --bd-glyph:24px;
  --bd-price:21px;
  --bd-radius:calc(var(--radius) * 1.4);
  --bd-accent:var(--board-accent);
  --bd-glow:transparent;
  --bd-edge:linear-gradient(90deg,var(--accent) 0%,var(--accent-2) 62%,transparent 100%);
  background:var(--board);
  border:1px solid var(--board-line);
  border-radius:var(--bd-radius);
  padding:var(--bd-pad);
  /* THE GLOW IS OPT-IN AND OFF BY DEFAULT. Jon, 2026-08-14: "glow isn't right
     on all sites, we have a template that does glow... everything else is
     accurate." A halation is a LIGHT effect and it belongs to the skeleton
     whose organising idea is light (04 Lightbox). On a ruled ledger or a flat
     midday page it is a borrowed trick, and a device used everywhere is
     decoration. A skeleton opts in with --bd-glow:var(--board-glow).
     The lift itself does NOT depend on it: the colour step and the accent
     hairline carry it, which is why they are derived and not optional. */
  box-shadow:0 0 46px -6px var(--bd-glow),
             0 1px 2px var(--board-shadow-1),
             0 26px 56px -24px var(--board-shadow-2);
}
@media(min-width:820px){.board{--bd-pad:32px;--bd-icon:52px;--bd-glyph:26px;--bd-price:24px}}

/* THE GRID. Two columns from 820px, one below it, and the cell layout is the
   SAME at every width — icon, then the flexible middle, then the price. It does
   not restack on mobile, because a row that reflows into a different shape is a
   second design to maintain and it always reads as the cheaper one. */
.bgrid{display:grid;grid-template-columns:repeat(var(--bd-cols),minmax(0,1fr));
  gap:var(--bd-gap);margin:0;padding:0;list-style:none}
@media(min-width:820px){.board{--bd-cols:2}}

.bitem{position:relative;display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:start;column-gap:14px;
  padding:var(--bd-cell-pad);
  border-radius:calc(var(--bd-radius) * .7);
  background:var(--board-cell);
  overflow:hidden}
/* The edge accent is a PSEUDO-ELEMENT, never a border-top: a border changes the
   box and a gradient cannot live on one side of it. ::before also means a
   skeleton can move the edge (left rail, full underline) by restyling one rule
   without touching the grid. */
.bitem::before{content:"";position:absolute;inset:0 0 auto 0;height:2px;
  background:var(--bd-edge)}

.bicon{display:flex;align-items:center;justify-content:center;
  width:var(--bd-icon);height:var(--bd-icon);flex:none;
  border-radius:calc(var(--bd-radius) * .55);
  background:var(--accent-a12);color:var(--bd-accent)}
/* The glyph is sized HERE and nowhere else. Every icon on the page is one
   library at one stroke weight (icons.py writes the wrapper), so the only thing
   a template may change is the size and the colour of the whole set. */
.bicon > svg{width:var(--bd-glyph);height:var(--bd-glyph);display:block}

/* the flexible middle. min-width:0 or a long unbroken word (a URL in a blurb,
   an email address) blows the track out and pushes the price off the row. */
.bmain{grid-column:2;min-width:0}
.bname{margin:0;font-family:var(--font-body);font-size:16.5px;font-weight:700;
  line-height:1.3;color:var(--ink)}
.bdesc{margin:5px 0 0;font-size:14.5px;line-height:1.5;color:var(--ink-3)}
/* justify-self:start or the chip fills its grid cell — a grid item stretches by
   default, and "45 MIN" drew a 350px rounded rectangle across the row the first
   time this was built. Found on the render, not in the markup. */
.btag{display:inline-block;justify-self:start;margin:8px 0 0;
  padding:3px 9px;border:1px solid var(--board-line);
  border-radius:999px;font-size:11.5px;font-weight:700;letter-spacing:.09em;
  text-transform:uppercase;color:var(--ink-2)}
.bprice{grid-column:3;align-self:center;font-family:var(--font-display);
  font-size:var(--bd-price);font-weight:700;line-height:1.1;
  font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink)}

/* A GROUP HEADING IN THE BRAND COLOUR, and it stays with its list. */
.bgroup + .bgroup{margin-top:26px}
.bgh{margin:0 0 10px;line-height:1.2;font-family:var(--font-body);font-size:12.5px;font-weight:750;
  letter-spacing:.14em;text-transform:uppercase;color:var(--bd-accent)}

/* THE REPLY HOOK. Printed once, above the grid, only when something is unpriced.
   It is not an empty state — the cells with no price are already complete — it
   is the page asking its owner for the one thing only they have. */
.bhook{margin:0 0 16px;padding:13px 15px;border:1px dashed var(--board-line);
  border-radius:calc(var(--bd-radius) * .6);background:transparent}
.bhook-l{display:block;margin:0 0 3px;font-size:11.5px;font-weight:750;
  letter-spacing:.14em;text-transform:uppercase;color:var(--bd-accent)}
.bhook-t{display:block;font-size:14px;line-height:1.5;color:var(--ink-2)}


/* ============================================================================
   THE MARGIN — a printed page with a working margin.

   Everything the business says lives in ONE wide right-hand column. A narrow
   rail runs down the left of the whole document carrying the name of the section
   you are in, the way a well-set book puts the chapter in the margin instead of
   interrupting the text with another heading.

   THE RAIL IS ENTIRELY STATIC. No scroll-linked fill, no sticky, no
   IntersectionObserver, no scroll tracking of any kind, anywhere in this file or
   in this template's JavaScript — there is none. That is deliberate and it is the
   point: the effect is STRUCTURAL, so it is identical with JavaScript blocked, on
   an old browser, and under prefers-reduced-motion. A scroll-driven version of
   the same idea would look the same on a good day and be gone on a bad one.

   At 390 the rail collapses to a 3px accent rule down the left edge of every
   section — still the only vertical element on the page, still doing the same
   job, at a twentieth of the width.

   MOBILE FIRST. Every rule here is the phone rule; breakpoints only add.
   ==========================================================================

   ---------------------------------------------------------------------------
   CLIENT SWAP BLOCK — the only lines that change per client live in
   template.json `defaults.brand` and `design`; nothing below hard-codes a
   colour or a face:

     --surface   the page          white       #FFFFFF
     --surface-2 the second surface  near-white #FAF8F8
     --ink / --ink-2 / --ink-3      the type
     --accent / --accent-2          the ONE confident colour  #1D4E89
     --band / --band-ink / --band-ink-2 / --accent-on-band   the accent band
     --line                         every hairline
     --font-display  Playfair Display 700   --font-body  Work Sans
     --radius 0px    --maxw 1220px
   --------------------------------------------------------------------------- */

:root{
  --grade:saturate(1.06) contrast(1.05);
  --nav-gap:30px;
  --rule:1px solid var(--line);
  --rail-w:3px;                /* the phone rail: a rule, not a column */
  --rail-gap:18px;
}
@media(min-width:900px){:root{--rail-w:186px;--rail-gap:44px}}

/* ONE grade, one rule, every photograph on the page. It ADDS saturation: the hero
   frame is a low-key interior and the house standard is that photography keeps its
   colour. There is no second filter in this file and there must never be one. */
.heroshot img,.mos-t img,.mframe img{filter:var(--grade)}

/* ---------------------------------------------------------------- type ----- */
body{background:var(--surface)}
/* PAGE HEIGHT. The contract's phone ceiling is 7,500px and this skeleton measured
   over it on the render, so the phone section rhythm is tightened here and only
   here - the desktop steps in base.css are untouched. */
.sec{padding:54px 0}

h1{font-size:clamp(34px,5.4vw,58px);line-height:1.04;letter-spacing:-.018em;margin:0}
.h-lg{font-size:clamp(27px,4vw,42px);line-height:1.08;letter-spacing:-.016em}
.h-md{font-size:clamp(24px,3.2vw,32px);line-height:1.12}
h3{font-family:var(--font-body);font-size:17px;line-height:1.35;font-weight:700;letter-spacing:-.004em}
.measure{max-width:56ch}
.onband{color:var(--band-ink)}
.mono{font-family:var(--font-display);font-weight:700;letter-spacing:.02em}

/* ------------------------------------------------------------ preview bar -- */
.tplbar{position:fixed;top:0;left:0;right:0;z-index:130;background:var(--ink);
  color:#CFCDD6;font-size:12.5px;line-height:1.45;padding:8px var(--gutter);text-align:center}
.tplbar b{color:#fff}
:root:has(.tplbar){--tpl-h:58px}
@media(min-width:760px){:root:has(.tplbar){--tpl-h:36px}}
#nav{padding-top:var(--tpl-h,0px)}

/* -------------------------------------------------------------------- nav -- */
#nav.scrolled{background:var(--surface);box-shadow:0 1px 0 var(--line)}
.nav-inner{gap:12px;flex-wrap:wrap}
.brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);min-height:44px}
.brand .mono{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;
  font-size:14px;color:#fff;background:var(--accent)}
.brandmark{width:40px;height:40px;object-fit:contain}
.brandtype{font-family:var(--font-display);font-size:21px;font-weight:700;letter-spacing:-.015em;white-space:nowrap}
.navtoggle .bars{display:block;width:22px}
.navtoggle .bars i{display:block;height:2px;margin:5px 0;background:var(--ink)}
.navtoggle .bars i:nth-child(2){width:14px}
.nav-links{flex:1 0 100%;flex-direction:column;align-items:flex-start;gap:2px;width:100%;
  padding:6px 0 16px;margin-top:6px;border-top:var(--rule)}
.nav-links a{color:var(--ink-2);text-decoration:none;font-size:16px;font-weight:600;
  padding:11px 0;min-height:44px;display:flex;align-items:center;width:100%}
.nav-links a:hover{color:var(--accent)}
.drawhours{color:var(--ink-3);font-size:11.5px;letter-spacing:.16em;text-transform:uppercase;margin:8px 0 4px}
.drawtel{color:var(--accent)!important;font-family:var(--font-display);font-size:21px!important;font-weight:700}
.navcta{background:var(--accent);color:#fff!important;padding:0 22px!important;
  justify-content:center!important;font-weight:600;margin-top:8px}
html.menu-open #nav{background:var(--surface)}
#nav:not(.scrolled) .brandtype,#nav:not(.scrolled) .navtoggle{color:#fff}
#nav:not(.scrolled) .navtoggle .bars i{background:#fff}
html.menu-open #nav .brandtype,html.menu-open #nav .navtoggle{color:var(--ink)}
html.menu-open #nav .navtoggle .bars i{background:var(--ink)}
/* THE MASTHEAD SITS ON AN UNKNOWN PHOTOGRAPH. A spec site is sent to a prospect
   whose picture we have never seen, so the menu cannot depend on that picture
   having a dark corner. It gets a shadow on the TYPE rather than a scrim over the
   image: the photograph keeps its own exposure, which is the rule on this page,
   and the words stay legible over a bright one. Found on the render - the links
   landed on a chrome highlight and disappeared. */
#nav:not(.scrolled) .brandtype,#nav:not(.scrolled) .nav-links a,
#nav:not(.scrolled) .navtoggle{text-shadow:0 1px 4px rgba(0,0,0,.55)}
#nav:not(.scrolled) .nav-links a.navcta{text-shadow:none}
@media(min-width:940px){
  .nav-inner{flex-wrap:nowrap}
  .nav-links{flex:0 0 auto;width:auto;padding:0;margin:0;border:0;align-items:center}
  .nav-links a{width:auto;padding:0;font-size:14px;letter-spacing:.01em;color:#fff}
  #nav.scrolled .nav-links a{color:var(--ink-2)}
  /* (0,2,0) DELIBERATELY. `.nav-links a{display:flex}` above is (0,1,1), so a bare
     `.drawtel{display:none}` LOSES to it and the drawer phone number printed in the
     desktop bar, in the accent, over the hero photograph. Found on the render. */
  .nav-links .drawhours,.nav-links .drawtel{display:none}
  .navcta{padding:0 20px!important;min-height:42px;color:#fff!important}
  #nav.scrolled .nav-links a.navcta{color:#fff!important}
}

/* ------------------------------------------------------------------- hero --
   A full-bleed plate with a white card driven into the bottom-right corner and
   bleeding off both edges. overflow:hidden on the section does the bleeding AND
   guarantees the card can never push the document sideways at 390 — the two jobs
   are the same declaration. The photograph is never scrimmed. */
.hero{position:relative;overflow:hidden;background:var(--ink);
  min-height:clamp(500px,88svh,860px);display:flex;align-items:flex-end;justify-content:flex-end}
.heroshot{position:absolute;inset:0}
.heroshot picture{display:block;height:100%}
.heroshot img{width:100%;height:100%;object-fit:cover;object-position:50% 38%}
.hcard{position:relative;z-index:2;background:var(--surface);color:var(--ink);
  width:calc(100% - 20px);margin:0 -14px -20px 0;padding:26px 30px 48px 26px}
.hkick{font-family:var(--font-body);font-size:11.5px;font-weight:700;letter-spacing:.2em;
  text-transform:uppercase;color:var(--accent);margin:0 0 12px}
/* THE DRAWN MOMENT — THE MARGIN MARK. One absolutely positioned rule in the card's
   own left margin, level with the line the emphasised phrase starts on. The mark
   points at the words rather than decorating them, and because it is ONE element
   on the em it cannot become one bar per line when the phrase wraps (D1). */
.hcard h1{position:relative}
.hcard .h1b{position:relative;font-style:normal;color:var(--accent)}
.hcard .h1b::before{content:"";position:absolute;top:.42em;left:-26px;width:16px;height:3px;
  background:var(--accent)}
.hsub{margin:16px 0 22px;font-size:16.5px;line-height:1.55;color:var(--ink-2);max-width:46ch}
.hcard .btn-ghost{border-color:var(--line);color:var(--ink)}
.hcard .btn-ghost:hover{border-color:var(--accent);color:var(--accent)}
@media(min-width:860px){
  .heroshot img{object-position:38% 46%}
  .hcard{width:min(620px,58%);margin:0 -34px -34px 0;padding:44px 56px 66px 48px}
  .hcard .h1b::before{left:-30px;width:20px}
  .hsub{font-size:18px}
}

/* ============================== THE MARGIN =================================
   Every section below the hero is this grid and nothing else. The rail is a
   plain grid track with a background — it is not positioned, not sticky and not
   observed, so there is nothing here that can fail at runtime. */
.mgrid{display:grid;grid-template-columns:var(--rail-w) minmax(0,1fr);
  column-gap:var(--rail-gap);align-items:stretch}
.rail{background:var(--accent);min-height:100%}
.rail span{display:none}
.rail-onband{background:var(--accent-on-band)}
.rail-quiet{background:var(--line)}
.col{min-width:0}
@media(min-width:900px){
  .rail{background:none;border-left:2px solid var(--accent);padding:4px 0 0 18px}
  .rail-onband{background:none;border-left-color:var(--accent-on-band)}
  .rail-quiet{background:none;border-left-color:var(--line)}
  .rail span{display:block;font-family:var(--font-body);font-size:11.5px;font-weight:700;
    letter-spacing:.2em;text-transform:uppercase;color:var(--accent);line-height:1.5}
  .rail-onband span{color:var(--accent-on-band)}
}

/* ------------------------------------------------------------------ open -- */
.opara{margin:20px 0 0;font-size:clamp(18px,2vw,22px);line-height:1.62;color:var(--ink-2);max-width:60ch}
.ostand{display:flex;flex-wrap:wrap;gap:4px 18px;margin:26px 0 0;padding-top:16px;
  border-top:var(--rule);font-size:14.5px;color:var(--ink-3)}
.ostand b{color:var(--ink);font-weight:700}

/* ------------------------------------------------------------------- wall --
   The ONE section that breaks the margin. It is allowed to because it is the only
   section carrying no words of its own. */
.wallbleed{width:100%;margin-top:30px}
.wallbleed .mos{--mos-gap:8px;--mos-gap-sm:6px;--mos-text-bg:var(--surface-2);
  /* the shared row height maxes at 190px, which letterboxes a wall bled to a 1440+
     viewport (a 948x190 tile is five to one). Bleeding it is this template's decision. */
  grid-auto-rows:clamp(120px,20vw,320px);
  grid-template-rows:repeat(var(--mos-rows,3),clamp(120px,20vw,320px))}
.ourplates{margin:16px 0 0;font-size:14.5px;line-height:1.55;color:var(--ink-3);max-width:62ch}
.srows{display:grid;gap:0;margin-top:34px;border-top:var(--rule)}
.srow{padding:18px 0;border-bottom:var(--rule)}
.srow h3{margin:0 0 4px}
.srow p{margin:0;font-size:15px;line-height:1.55;color:var(--ink-2)}
.crew{display:grid;gap:18px;margin-top:30px;grid-template-columns:repeat(2,minmax(0,1fr))}
.mate h3{margin:11px 0 2px}
.mate p{margin:0;font-size:14px;color:var(--ink-3)}
.mframe{display:block;overflow:hidden;background:var(--surface-2)}
.mframe img{display:block;width:100%;height:auto}
@media(min-width:760px){
  .srows{grid-template-columns:repeat(3,minmax(0,1fr));column-gap:32px;border-bottom:var(--rule)}
  .srow{border-bottom:0}
  .crew{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* --------------------------------------------------------------- happens --
   Numbered by a CSS counter, so three rows and four rows both set correctly and
   the number is never authored into the content. */
.prows{counter-reset:p;display:grid;gap:0;border-top:var(--rule)}
.prow{counter-increment:p;display:grid;grid-template-columns:auto minmax(0,1fr);
  column-gap:18px;padding:22px 0;border-bottom:var(--rule)}
.prow::before{content:counter(p,decimal-leading-zero);font-family:var(--font-display);
  font-weight:700;font-size:clamp(26px,3.4vw,40px);line-height:1;color:var(--accent);
  font-variant-numeric:tabular-nums}
.prow h3{grid-column:2;margin:0 0 5px;font-size:18px}
.prow p{grid-column:2;margin:0;font-size:15.5px;line-height:1.6;color:var(--ink-2);max-width:60ch}

/* ------------------------------------------------------------------- word --
   Full-bleed accent, and the rail SURVIVES it in a lighter tone rather than
   disappearing. That is the proof that the margin is the document's structure and
   not a decoration on the white sections. */
.word{background:var(--band);color:var(--band-ink)}
.say{margin:0 0 34px;padding:0}
.say blockquote{margin:0;font-family:var(--font-display);font-weight:500;
  font-size:clamp(23px,3.2vw,38px);line-height:1.26;letter-spacing:-.012em;
  color:var(--band-ink);max-width:22ch}
.say blockquote::before{content:"\201C"}
.say blockquote::after{content:"\201D"}
.say figcaption{margin-top:16px;font-size:11.5px;font-weight:700;letter-spacing:.18em;
  text-transform:uppercase;color:var(--accent-on-band)}
/* THE GOOGLE RATING — the shared component, skinned. Never a stat in a card. */
.rating{margin-top:6px;display:block;padding-top:30px;border-top:1px solid rgba(255,255,255,.24)}
.rating-fig{position:relative}
.rstars{position:relative;display:inline-block;font-size:clamp(22px,3vw,32px);
  letter-spacing:.14em;line-height:1;white-space:nowrap}
.rstars i{font-style:normal;display:block}
.rs-off{color:rgba(255,255,255,.3)}
.rs-on{position:absolute;inset:0;overflow:hidden;width:var(--fill,100%);color:#fff}
.rnum{display:block;font-family:var(--font-display);font-weight:700;letter-spacing:-.04em;
  font-size:clamp(96px,17vw,210px);line-height:.84;color:var(--band-ink);margin-top:8px}
.rsay{margin:14px 0 0;font-family:var(--font-display);font-weight:500;
  font-size:clamp(19px,2.2vw,27px);line-height:1.28;color:var(--band-ink-2);max-width:24ch}
.rsay .rcount{color:var(--band-ink);font-weight:700}
.gmpill{display:inline-flex;align-items:center;gap:9px;margin:18px 0 0;padding:9px 15px 9px 13px;
  text-decoration:none;background:rgba(0,0,0,.3);border:1px solid rgba(255,255,255,.34)}
.gmpill:hover{background:rgba(0,0,0,.46)}
.gmpill img{display:block;height:17px;width:auto}
.gmpill .gmgo{font:600 13px/1 var(--font-body);color:#fff;white-space:nowrap}
.rquotes{display:grid;gap:12px;margin-top:26px;max-width:620px}
.rq{margin:0;padding:20px 22px;background:rgba(0,0,0,.2)}
.rq blockquote{margin:0;font-family:var(--font-display);font-size:18px;line-height:1.44;color:var(--band-ink)}
.rq figcaption{margin-top:9px;font-size:11.5px;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-on-band)}
.rq-empty{background:none;border:1px dashed rgba(255,255,255,.4)}
.rq-empty blockquote{color:var(--band-ink-2);font-size:16px}
@media(min-width:900px){
  .rating-fig{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:clamp(32px,4vw,64px);align-items:center}
  .rstars{grid-column:1;grid-row:1}
  .rnum{grid-column:1;grid-row:2;margin-top:0}
  .rsay{grid-column:2;grid-row:1 / span 2;align-self:center;margin:0;max-width:16ch}
  .gmpill{grid-column:2;grid-row:3;justify-self:start}
}

/* ------------------------------------------------------------------- list --
   The tightest-set thing on the page. The opening paragraph is generous; this is
   a schedule, and it is set like one: hairline rows, no gaps, no card. */
.list .board{--bd-gap:0;--bd-pad:0;--bd-cell-pad:15px 0;--bd-price:24px;--bd-icon:38px;--bd-glyph:20px;
  background:transparent;border:0;border-top:var(--rule);box-shadow:none;margin-top:26px}
.list .bitem{background:transparent;border-bottom:var(--rule);border-radius:0}
.list .bitem::before{display:none}
.list .bicon{background:transparent;color:var(--accent);border-radius:0;width:var(--bd-icon)}
.list .bname{font-size:16.5px}
.list .bdesc{font-size:14px}
.list .bprice{font-family:var(--font-display);font-weight:700;color:var(--ink)}
.list .btag{border-radius:0;border-color:var(--line);color:var(--ink-3);margin-top:6px}
.list .bhook{margin:26px 0 0;border-radius:0;border-style:dashed;padding:16px 18px}
.lfoot{margin:20px 0 0;font-size:14.5px;color:var(--ink-3);max-width:62ch}
@media(min-width:820px){.list .board{--bd-gap:0 40px;--bd-cell-pad:17px 0}}

/* ------------------------------------------------------------------- asks -- */
.askcall{margin:10px 0 26px;font-size:15px;color:var(--ink-2)}
.askcall a{color:var(--accent);font-weight:700;text-decoration:none;border-bottom:1px solid currentColor}
.asklist{border-top:var(--rule)}
.ask{border-bottom:var(--rule)}
.ask summary{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;
  padding:18px 0;cursor:pointer;list-style:none;font-weight:700;font-size:16.5px;color:var(--ink);min-height:44px}
.ask summary::-webkit-details-marker{display:none}
.ask summary i{flex:none;width:14px;height:14px;margin-top:6px;position:relative}
.ask summary i::before,.ask summary i::after{content:"";position:absolute;background:var(--accent)}
.ask summary i::before{inset:6px 0 auto 0;height:2px}
.ask summary i::after{inset:0 6px 0 auto;width:2px;transition:opacity .2s ease}
.ask[open] summary i::after{opacity:0}
.ask p{margin:0 0 18px;font-size:15.5px;line-height:1.6;color:var(--ink-2);max-width:66ch}

/* ------------------------------------------------------------------ close -- */
.cgrid{display:grid;gap:32px;margin-top:34px}
.week{display:grid;border-top:var(--rule)}
.wrow{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:var(--rule);font-size:15.5px}
.wd{color:var(--ink-2)}
.wt{color:var(--ink);font-weight:700;font-variant-numeric:tabular-nums}
.card{border:var(--rule);padding:20px}
.cardlab{margin:0 0 8px;font-size:11px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--accent)}
.cardline{margin:0 0 12px;font-family:var(--font-display);font-size:23px;font-weight:700;color:var(--ink)}
.cardask{margin:0;padding-top:12px;border-top:var(--rule);font-size:14px;line-height:1.55;color:var(--ink-3)}
.crow{display:grid;gap:5px;margin-top:24px}
.cbig{font-family:var(--font-display);font-size:22px;font-weight:700;color:var(--ink);text-decoration:none}
.cbig:hover{color:var(--accent)}
.crow address{font-style:normal;font-size:15.5px;color:var(--ink-2);margin-top:8px}
.area{margin-top:24px;padding-top:20px;border-top:var(--rule)}
.area h3{margin:0 0 6px}
.area p{margin:0 0 10px;font-size:15.5px;color:var(--ink-2)}
.towns{display:flex;flex-wrap:wrap;gap:7px}
.towns span{border:var(--rule);padding:5px 11px;font-size:12.5px;color:var(--ink-2)}
.formpanel{background:var(--surface-2);border:var(--rule);padding:24px}
.formpanel .field input,.formpanel .field select,.formpanel .field textarea{background:var(--surface);border-radius:0}
.formpanel .btn-primary{width:100%}
.fineprint{margin:0;font-size:13px;line-height:1.55;color:var(--ink-3)}
.thanks{border-radius:0;background:var(--surface-2)}
@media(min-width:1080px){
  .cgrid{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:48px}
  .formpanel{padding:30px}
}

/* ----------------------------------------------------------------- footer -- */
footer{background:var(--surface-2);color:var(--ink-2);padding:52px 0 34px;border-top:var(--rule)}
.fgrid{display:grid;gap:30px}
.fbrand .mono.big{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;
  font-size:17px;color:#fff;background:var(--accent)}
.fname{margin:14px 0 6px;font-family:var(--font-display);font-size:22px;font-weight:700;color:var(--ink)}
.fabout{margin:0;font-size:14.5px;line-height:1.6;max-width:44ch}
.fh{font-family:var(--font-body);font-size:11px;font-weight:700;letter-spacing:.18em;
  text-transform:uppercase;color:var(--ink-3);margin:0 0 12px}
.fcol a,.fcol .fplain{display:block;font-size:15.5px;color:var(--ink-2);margin-bottom:5px}
.fcol a:hover{color:var(--accent)}
.fcol address{font-style:normal;font-size:15.5px;margin-top:6px}
.fnav{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:36px;padding-top:22px;border-top:var(--rule)}
.fnav a{font-size:14.5px;color:var(--ink-2)}
.fnav a:hover{color:var(--accent)}
.fbase{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:22px;font-size:13px;color:var(--ink-3)}
.fbase a{color:var(--ink-2)}
@media(min-width:760px){.fgrid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) minmax(0,1fr);gap:40px}}


/* ==================================================== THE MOSAIC COMPONENT ===
   One component, ten hardcoded layouts (see mosaic.py). The layout decides every
   tile's column span and row span; nothing is computed from the photographs, and
   nothing is randomised at runtime. Each layout is pre-validated so its tiles fill
   the 12-column grid exactly — no gaps, no orphan hanging below the rest.

   The tile is the shape. The picture fills it (cover), so any source aspect crops
   cleanly and the wall is a rectangle whatever the client sends.

   Row height is a clamp, so a twelve-tile layout is a wall and not a scroll. */

.mos{display:grid;grid-template-columns:repeat(12,1fr);
  grid-auto-rows:clamp(96px,13.5vw,190px);
  grid-template-rows:repeat(var(--mos-rows,3),clamp(96px,13.5vw,190px));
  gap:var(--mos-gap,10px)}

.mos-t{position:relative;overflow:hidden;border-radius:var(--radius,3px);
  background:var(--surface-2,#171512);margin:0;min-width:0}
.mos-t img{display:block;width:100%;height:100%;object-fit:cover}

/* a caption sits on the tile, so it never changes the tile's height */
.mos-cap figcaption{position:absolute;left:0;right:0;bottom:0;padding:26px 14px 11px;
  display:flex;flex-direction:column;gap:1px;pointer-events:none;
  background:linear-gradient(180deg,rgba(9,8,7,0),rgba(9,8,7,.82))}
.mos-cap figcaption b{font-size:13.5px;font-weight:600;color:#F0EAE0;line-height:1.25}
.mos-cap figcaption span{font-size:11px;letter-spacing:.11em;text-transform:uppercase;
  color:rgba(240,234,224,.72)}

/* a text tile is just another tile — same grid maths, no special case */
.mos-text{display:flex;flex-direction:column;justify-content:center;
  padding:clamp(14px,1.6vw,26px);
  background:var(--mos-text-bg,var(--surface-2,#171512))}
.mos-text b{display:block;margin-bottom:7px;font-family:var(--font-display,inherit);
  font-size:clamp(15px,1.5vw,21px);font-weight:600;line-height:1.2;
  color:var(--ink,#F0EAE0)}
.mos-text p{margin:0;font-size:clamp(12.5px,1.05vw,15px);line-height:1.5;
  color:var(--ink-2,#B8AE9E)}

/* THE PHONE. A twelve-column mosaic is unreadable at 390px, but stacking every tile
   full width is not the answer either: it turned an eight-tile wall into 2,071px of
   scroll and pushed whole pages past the height ceiling. It also stops being a mosaic.

   So the phone gets a TWO-column mosaic. Same tiles, same order, square cells - the wall
   is still a wall and the height roughly quarters.

   THE ODD-COUNT ORPHAN, which is the thing Jon actually objected to: with two columns an
   odd number of tiles leaves the last one alone on its row. `:last-child:nth-child(odd)`
   is true only when the tile is BOTH last and at an odd position - i.e. exactly when the
   count is odd - and widening it to both columns closes the block. Even counts are
   already flush, and the rule cannot fire on them. */
@media(max-width:699px){
  .mos{grid-template-columns:repeat(2,1fr);grid-template-rows:none;
    grid-auto-rows:auto;gap:var(--mos-gap-sm,8px)}
  .mos-t{grid-column:auto/span 1 !important;grid-row:auto !important;
    aspect-ratio:var(--mos-sm-ar,1/1)}
  .mos-t:last-child:nth-child(odd){grid-column:auto/span 2 !important;
    aspect-ratio:var(--mos-sm-ar-wide,16/9)}
  .mos-text{aspect-ratio:auto !important;min-height:132px}
  .mos-cap figcaption{padding:20px 10px 9px}
  .mos-cap figcaption b{font-size:12.5px}
}

/* Very narrow phones: two columns of a 12-photo wall get tight, but one column is still
   worse than a small tile, so the columns hold and only the gap tightens. */
@media(max-width:359px){ .mos{gap:6px} }


/* ============================================ THE PITTSBURGH IT BLURB (bottom) ===
   Jon, 2026-08-14. First the three how-it-works boxes were flagged - "this isn't an
   actual part of their site" - then: "wait, just remove it... maybe just put a blurb
   all the way at the bottom saying what those 3 boxes say, and put it in our branding."

   So the three boxes are GONE from every skeleton, and what they said is now one
   branded block below the footer. It is the only place on the page that is Pittsburgh
   IT speaking rather than the shop, and it looks like it: our gold rule, our name, our
   contact. A prospect can tell in one glance which words are theirs and which are ours.

   Shared, and loaded after every template sheet, so it cannot drift per skeleton. */

.pghblurb{
  /* PITTSBURGH IT GOLD, hardcoded on purpose. Using var(--accent-2) inherited the
     CLIENT's colour, so the block that is supposed to read as US came out in THEIR
     brand - Roberto's printed it orange. Nothing in here may take a client token. */
  border-top:3px solid #e3c05a;
  background:#0E0D0C;color:#B8AE9E;
  padding:26px 0 30px;font-size:14px;line-height:1.62}
.pghblurb .pgb{max-width:min(1160px,92vw);margin:0 auto}
.pghblurb .pgb-mark{
  margin:0 0 7px;font-size:11px;font-weight:700;letter-spacing:.16em;
  text-transform:uppercase;color:#e3c05a}
.pghblurb .pgb-body{margin:0;max-width:64ch;color:#CFC6B8}
.pghblurb .pgb-body b{color:#F0EAE0;font-weight:600}
.pghblurb .pgb-line{
  margin:13px 0 0;font-size:13px;color:#8E8677;
  display:flex;gap:9px;flex-wrap:wrap;align-items:baseline}
.pghblurb .pgb-line a{color:#e3c05a;text-decoration:none;border-bottom:1px solid rgba(227,192,90,.4)}
.pghblurb .pgb-line a:hover{border-bottom-color:#e3c05a}
.pghblurb .pgb-sep{opacity:.45}
@media(max-width:699px){
  .pghblurb{padding:22px 0 26px;font-size:13.5px}
  .pghblurb .pgb-line{gap:6px}
}
