/*
Theme Name: Tri County Custom Builders — Classic
Theme URI: https://www.tricountycustombuilders.com/
Author: Dive In Digital Marketing
Author URI: https://diveindigitalmarketing.com/
Description: The conventional direction for Tri County Custom Builders — photo hero with trust badges, ten service cards, estimate form, projects gallery, reviews and service areas. Built as a demonstration; imagery is placeholder.
Version: 0.1.eba2e8775e
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: Proprietary — Dive In Digital Marketing
Text Domain: tricountyclassic
Tags: custom-home-builder, business, custom-colors
*/

/* Web fonts.
 *
 * These were 190 KB of base64 inside this stylesheet - 78 percent of a 243 KB
 * render-blocking CSS file. Base64 inflates binary by a third, cannot be
 * cached or preloaded separately, and holds up first paint until the whole
 * stylesheet has arrived. They are real files now; build.sh copies them with
 * the rest of the assets.
 */
@font-face{font-family:'Lato';font-style:normal;font-weight:400;font-display:swap;src:url('assets/fonts/lato-400.woff2') format('woff2')}
@font-face{font-family:'Lato';font-style:normal;font-weight:700;font-display:swap;src:url('assets/fonts/lato-700.woff2') format('woff2')}
@font-face{font-family:'Lato';font-style:normal;font-weight:900;font-display:swap;src:url('assets/fonts/lato-900.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url('assets/fonts/montserrat-600.woff2') format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:800;font-display:swap;src:url('assets/fonts/montserrat-800.woff2') format('woff2')}


/* ===========================================================================
   TRI COUNTY — CLASSIC
   The register Clayton responded to: a conventional builder site, dark header,
   alternating bands, photo service cards, trust signals, carousels and a form
   high on the page. Kingdom Builders' structure, John's Handyman's
   service-grid-and-trust-signal directness, Tri County's brand.
   =========================================================================== */
:root{
  /* Their own tokens, from the live site's CSS variables. */
  --orange:#dc5f2c;
  --orange-dark:#a8431c;
  /* The brand orange measures 3.67:1 on white, so it fails AA for any
     text under 18.66px and for white text sitting on it. This is the
     same hue darkened 6% in lightness, which measures 4.54:1 both ways
     and is not distinguishable from the brand color at label sizes.
     Used ONLY for small text on light and for the primary button fill;
     fills, rules, icons and display headings keep --orange exactly. */
  --orange-ink:#c75121;
  /* And the mirror of it: on the dark panels the brand orange measures
     4.33:1 on #222, which also fails. One percent lighter clears both
     darks the site uses (5.12 on #15161a, 4.50 on #222). */
  --orange-on-dark:#dd6432;
  --ink:#222222;
  --ink-soft:#4a4a4a;
  /* Was #69727d, which measures 4.25:1 against the sand panels captions
     sit on - just under AA. Two steps darker clears it everywhere
     (4.62 on sand, 5.31 on white) and reads the same. */
  --grey:#646c77;
  --line:#e3e0dc;
  --sand:#f6f4f1;
  --white:#ffffff;
  --dark:#15161a;
  --dark-2:#1e2026;

  --wrap:76rem;
  --ease:cubic-bezier(0.25,1,0.5,1);
  --fast:180ms;
  --norm:300ms;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--white);color:var(--ink);
  font-family:Lato,"Helvetica Neue",Arial,sans-serif;
  font-size:1.0625rem;line-height:1.65;-webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:Montserrat,Lato,"Helvetica Neue",Arial,sans-serif;
  font-weight:800;line-height:1.12;margin:0;letter-spacing:-0.01em;
}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
a{color:inherit;text-decoration:none}
img,svg,video{display:block;max-width:100%}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
:focus-visible{outline:3px solid var(--orange);outline-offset:3px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 1.5rem}
.skip{position:absolute;left:-9999px;top:0;z-index:300;background:var(--orange);color:#fff;padding:.75rem 1.25rem}
.skip:focus{left:1rem;top:1rem}

/* Buttons ---------------------------------------------------------------- */
.b{
  display:inline-flex;align-items:center;justify-content:center;gap:.6rem;
  padding:1rem 1.75rem;border-radius:3px;font-weight:700;
  font-size:.9375rem;letter-spacing:.06em;text-transform:uppercase;
  transition:background-color var(--norm) var(--ease),color var(--norm) var(--ease),
             transform var(--norm) var(--ease),border-color var(--norm) var(--ease);
  border:2px solid transparent;white-space:nowrap;
}
.b:hover{transform:translateY(-2px)}
.b-pri{background:var(--orange-ink);color:#fff}
.b-pri:hover{background:var(--orange-dark)}
.b-ghost{border-color:currentColor}
.b-ghost:hover{background:var(--orange);border-color:var(--orange);color:#fff}
.b-dark{background:var(--ink);color:#fff}
.b-dark:hover{background:var(--orange)}
.b svg{width:18px;height:18px;flex:0 0 auto}
/* Pulse on the call-to-action buttons.
   The ring used to animate transform:scale, which expands by a proportion of
   the element - so on a 300px-wide button it threw the ring about 78px out
   sideways and only 12px top and bottom. That is why it read as too wide.
   A box-shadow spread grows by a fixed number of pixels instead, evenly on
   every side, whatever the button's width. 10px out, then gone. */
@keyframes kb-ring{
  0%   {box-shadow:0 0 0 0 var(--pulse-ring)}
  70%  {box-shadow:0 0 0 10px rgba(220,95,44,0)}
  100% {box-shadow:0 0 0 0 rgba(220,95,44,0)}
}

.b-pulse{--pulse-ring:rgba(220,95,44,.55);animation:kb-ring 2.4s ease-out infinite}
/* On the orange buttons the ring has to be lighter than what it sits on. */
.b-pri.b-pulse{--pulse-ring:rgba(255,255,255,.65)}
/* Stop once the visitor is plainly engaging with it. */
.b-pulse:hover,.b-pulse:focus-visible{animation:none}

.fab{--pulse-ring:rgba(255,255,255,.6);animation:kb-ring 2.4s ease-out infinite}
.fab:hover{animation:none}

@media (prefers-reduced-motion:reduce){
  .b-pulse,.fab{animation:none}
  .b:hover{transform:none}
}

/* Header ----------------------------------------------------------------- */
.topbar{background:var(--dark-2);color:rgba(255,255,255,.72);font-size:.875rem}
.topbar .wrap{display:flex;flex-wrap:wrap;gap:1.25rem;justify-content:space-between;align-items:center;padding-top:.6rem;padding-bottom:.6rem}
/* The phone number in the top bar is the fastest route to a call on a
   phone, and it was a 23px tap target. WCAG 2.5.8 asks for 24px; 44 is
   the platform guideline and costs nothing here. */
.topbar a{display:inline-flex;align-items:center;min-height:44px}
.topbar a:hover{color:#fff}
.topbar .tb-r{display:flex;gap:1.5rem;align-items:center}
/* On a phone the top bar was 129px of an 844px screen - fifteen percent of
   the first view - for a tagline the hero kicker repeats word for word
   ('Family owned - since 2006') a few hundred pixels below. The phone
   number stays, at a 44px tap target, because that is what the bar is
   for on the device people call from. */
@media (max-width:860px){
  .topbar .tb-r span{display:none}
  .topbar .wrap>span:first-child{display:none}
  .topbar .wrap{justify-content:flex-end;padding-top:0;padding-bottom:0}
}
.hdr{position:sticky;top:0;z-index:120;background:var(--dark);color:#fff;box-shadow:0 2px 16px rgba(0,0,0,.25)}
body.admin-bar .hdr{top:32px}
@media screen and (max-width:782px){body.admin-bar .hdr{top:46px}}
.hdr .wrap{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding-top:.75rem;padding-bottom:.75rem}
/* The light logo variant carries its own white wordmark, so the white box the
   old raster needed is gone. */
.hdr-logo img{height:4rem;width:auto}
/* The nav takes two shapes: a bare run of <a> from the theme's fallback,
   and wp_nav_menu's <ul><li><a> once a menu exists - which is what the
   live site always renders, because activation creates one. Both are
   laid out here, and .nav-list carries the flex so the <li> never falls
   back to display:list-item with a bullet on it. */
.nav{display:flex;align-items:center;gap:1.75rem}
.nav .nav-list{display:flex;align-items:center;gap:1.75rem;list-style:none;margin:0;padding:0}
.nav .nav-list li{list-style:none;display:block;margin:0}
.nav .nav-list a{display:block}
.nav a{font-family:Montserrat,sans-serif;font-weight:600;font-size:.875rem;letter-spacing:.04em;text-transform:uppercase;transition:color var(--fast) var(--ease)}
.nav a{position:relative}
.nav a:hover{color:#fff}
.nav a::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;
  border-radius:2px;background:var(--orange);transform:scaleX(0);transform-origin:left;
  transition:transform var(--fast) var(--ease)}
.nav a:hover::after{transform:scaleX(1)}
.nav a[aria-current=page]{color:#fff}
.nav a[aria-current=page]::after{transform:scaleX(1)}

/* Services dropdown ------------------------------------------------------ */
/* No JavaScript and no toggle state: :hover opens it for a pointer,
   :focus-within opens it for a keyboard tabbing through the children, and
   below 1080px the nav is the stacked panel, where the children simply sit
   indented under their parent. Nothing to get out of sync.

   The <li> carries .8rem of padding below the link, cancelled by an equal
   negative margin so the row's height is unchanged. That padding is the
   bridge: the panel hangs .8rem clear of the words, and the pointer crossing
   that gap is still inside the <li>, so the menu does not close underneath
   it. A dropdown with a dead gap above it is the single most common way this
   component is shipped broken. */
.nav-has-sub{position:relative;padding-bottom:.8rem;margin-bottom:-.8rem}
/* .nav .nav-list a{display:block} above is (0,2,1); anything here that has to
   beat it needs to say so. The caret spent a render as a 2px vertical line to
   the left of the word because this rule was (0,1,1) and lost - an inline box
   takes neither width, height nor transform. */
/* flex, NOT inline-flex: an inline-level box sits in a line box, so the <li>
   took the strut's descent too and stood 28px tall against its siblings'
   23.1px - which pushed the word 1.6px below the shared baseline. Block-level
   flex still lays the caret out via order:2 and makes the <li> exactly as
   tall as the link. tools/nav-check.js asserts the row shares one baseline. */
.nav .nav-list .nav-has-sub>a{display:flex;align-items:center;width:fit-content}
.nav .nav-list .nav-has-sub>a::before{content:"";order:2;margin-left:.45rem;width:.38rem;height:.38rem;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:translateY(-.1rem) rotate(45deg);opacity:.75;
  transition:transform var(--fast) var(--ease),opacity var(--fast) var(--ease)}
.nav .nav-list .nav-has-sub:hover>a::before,
.nav .nav-list .nav-has-sub:focus-within>a::before{opacity:1;transform:translateY(.05rem) rotate(225deg)}
.nav-sub{
  position:absolute;left:50%;top:100%;z-index:130;
  min-width:15.5rem;margin:0;padding:.45rem;list-style:none;
  background:var(--dark-2);border:1px solid rgba(255,255,255,.12);
  border-radius:8px;box-shadow:var(--e3);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translate(-50%,-.4rem);
  transition:opacity var(--fast) var(--ease),transform var(--fast) var(--ease),
             visibility 0s linear var(--fast);
}
.nav-has-sub:hover>.nav-sub,
.nav-has-sub:focus-within>.nav-sub{
  opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0);
  transition:opacity var(--fast) var(--ease),transform var(--fast) var(--ease),
             visibility 0s;
}
.nav-sub li{width:100%}

/* The Services panel is a mega menu: six headed columns, every service under
   its hub. Before 2026-11-06 the dropdown held only the six hub links, so
   Pools, Metal Fencing, the Fabrication Shop and twenty others were reachable
   only by landing on a hub first - which is what Sky was looking for and not
   finding. Three columns by two rows: six across is 90rem wide and runs off
   a 1280px screen.

   Styled by SHAPE, not by the classes one renderer happens to add, because
   two renderers produce this panel - wp_nav_menu() on the live site and the
   theme's fallback when no menu is assigned - and a rule that only matches
   one of them is a rule that is quietly broken on the site people see. The
   shared shape is: .nav-mega > .nav-col, whose own <a> is the column heading
   and whose <ul> holds the services. */
/* Anchored to the header's content column, not to the Services link.
   Centred on the link, a 58rem panel runs off the left of the viewport at
   1280px wide (measured: x = -14). The panel is positioned against
   .hdr .wrap instead, so it tracks the same column the logo and the nav sit
   in and cannot leave it at any width. .nav-has-sub goes static on desktop
   for the same reason; Services is the only item with a submenu, so nothing
   else is affected. */
.hdr .wrap{position:relative}
/* The dead zone between the bottom of the nav row and the bottom of the
   header column, which is where the panel is anchored. Measured, not
   guessed: 23.6px at 1440px wide. Slightly over-covering is safe - the
   strip is only live while Services is hovered. */
:root{--nav-bridge:1.5rem}
@media (min-width:1081px){
  /* Anchoring the panel to .hdr .wrap has a cost that went unnoticed until
     Sky reported it on 2026-11-11: with the <li> static, the .nav-sub's
     top:100% resolves against the header column, not the <li>. So the
     hover-bridge padding below stopped reaching the panel - measured 23.6px
     of dead gap, which un-hovers both on the way down and closes the panel
     mid-travel ("it drops down and then disappears, you cant click
     anything"). The same orphaned padding inflated this <li> to 40.8px
     against its siblings' 23.1px, lifting the word Services 4.8px off the
     shared baseline.

     So: drop the padding here, since it bridges nothing once static, and
     rebuild the bridge as a strip that belongs to the <li> and is positioned
     against the wrap - occupying exactly the dead zone below the nav row.
     It exists only while the item is hovered or focused, so it can never
     sit over another nav link. tools/nav-check.js measures the remaining
     gap and walks the pointer through it; keep that passing. */
  .nav-has-sub{position:static;padding-bottom:0;margin-bottom:0}
  .nav-has-sub:hover::after,
  .nav-has-sub:focus-within::after{
    content:"";position:absolute;left:0;right:0;bottom:0;
    height:var(--nav-bridge);
  }
}
.nav-mega{
  left:50%;min-width:0;width:min(58rem,100%);
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.1rem 1.25rem;padding:1.1rem 1.25rem 1rem;
}
.nav-mega .nav-col{width:auto;break-inside:avoid;padding-bottom:.55rem}
.nav-mega .nav-col ul{margin:0;padding:0;list-style:none}
/* The column heading is the hub page, so it is a link rather than dead text. */
.nav .nav-list .nav-mega .nav-col>a{
  display:block;min-height:0;padding:.3rem .55rem .35rem;margin-bottom:.2rem;
  font-size:.6875rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;
  color:var(--orange-on-dark);white-space:normal;
  border-bottom:1px solid rgba(255,255,255,.14);border-radius:4px 4px 0 0;
}
.nav .nav-list .nav-mega .nav-col>a:hover,
.nav .nav-list .nav-mega .nav-col>a:focus-visible{background:rgba(255,255,255,.07);color:#fff}
.nav .nav-list .nav-mega .nav-col ul a{
  font-size:.8125rem;padding:.3rem .55rem;min-height:34px;
  text-transform:none;letter-spacing:0;font-weight:400;
  color:rgba(255,255,255,.82);border:0;white-space:nowrap}
/* "All Services" has no column under it; it spans the row beneath them. */
.nav-mega .nav-col-all{grid-column:1/-1;padding:0;margin-top:.35rem;
  border-top:1px solid rgba(255,255,255,.14)}
.nav .nav-list .nav-mega .nav-col-all>a{
  justify-content:center;text-align:center;margin-top:.35rem;margin-bottom:0;
  border-bottom:0;border-radius:5px;
  font-size:.75rem;font-weight:600;letter-spacing:.04em;
  color:rgba(255,255,255,.88)}
.nav .nav-list .nav-sub a{display:flex;align-items:center;min-height:40px;
  white-space:nowrap;padding:.4rem .8rem;border-radius:5px;font-size:.8125rem;
  color:rgba(255,255,255,.82)}
/* The parent nav's sliding underline would draw a bar across every row and
   collide with the one below it. Rows get a filled background instead. */
.nav-sub a::after{display:none}
.nav-sub a:hover,.nav-sub a:focus-visible{background:rgba(255,255,255,.09);color:#fff}
.nav-sub a[aria-current=page]{background:rgba(220,95,44,.16);color:var(--orange-on-dark)}
@media (prefers-reduced-motion: reduce){
  .nav-sub{transition:none}
  .nav .nav-list .nav-has-sub>a::before{transition:none}
}
.hdr-cta{display:flex;align-items:center;gap:1rem}
.burger{display:none;width:2.75rem;height:2.75rem;align-items:center;justify-content:center}
.burger svg{width:1.6rem;height:1.6rem}
@media (max-width:1080px){
  /* The panel has to scroll. Seven links fitted a short phone; seven plus the
     Services children do not, and a fixed panel with auto height just runs off
     the bottom of the screen with no way to reach the last item. */
  /* Measured, not guessed. The panel sits at top:0 behind a header whose
     bottom edge is at 122px (44px topbar + 78px header), and 6.5rem of
     padding put the first link at 104 - under the logo, since it opened.
     And 2rem at the foot left Contact behind the 66px action bar with only
     12px of scroll available, so the last item in the menu could not be
     reached at all. 8.5rem clears the header, 6rem clears the bar. */
  .nav{position:fixed;inset:0 0 auto 0;flex-direction:column;align-items:flex-start;gap:1.1rem;
       background:var(--dark);padding:8.5rem 1.5rem 6rem;transform:translateY(-100%);
       transition:transform var(--norm) var(--ease);z-index:-1;
       max-height:100vh;max-height:100dvh;overflow-y:auto;
       -webkit-overflow-scrolling:touch;overscroll-behavior:contain}
  .nav.open{transform:translateY(0)}
  .nav .nav-list a{font-size:1.125rem;display:flex;align-items:center;min-height:44px}
  /* Every row is already a 44px target, so the gap is spacing rather than
     reach - and fourteen rows of 1.1rem is 230px of scrolling for nothing. */
  .nav .nav-list{flex-direction:column;align-items:flex-start;gap:.6rem;width:100%}
  .nav .nav-list li{width:100%}
  /* The sliding underline is drawn left:0 right:0, which on a full-width
     block link is a rule across the whole panel rather than a mark under a
     word. Short bar instead. */
  .nav .nav-list a::after{right:auto;width:2.25rem;bottom:2px}
  /* Stacked and always open: no hover to hang a dropdown off, and a toggle
     here would be a second control for a list of seven short links. */
  .nav-has-sub{position:static;padding-bottom:0;margin-bottom:0}
  .nav .nav-list .nav-has-sub>a{display:flex}
  .nav .nav-list .nav-has-sub>a::before{display:none}
  .nav-sub{position:static;transform:none;opacity:1;visibility:visible;
    pointer-events:auto;transition:none;min-width:0;box-shadow:none;
    background:none;border:0;border-left:2px solid rgba(255,255,255,.16);
    border-radius:0;margin:.5rem 0 .25rem;padding:0 0 0 1rem;
    display:flex;flex-direction:column;gap:.15rem}
  .nav .nav-list .nav-sub a{font-size:1rem;min-height:40px;padding:.3rem .5rem;
    white-space:normal;color:rgba(255,255,255,.78)}
  /* One column on a phone. Twenty-nine rows is a long scroll, but it is a
     scroll rather than a dead end, and the headings break it up. */
  .nav-mega{display:flex;flex-direction:column;width:auto;padding:0 0 0 1rem}
  .nav-mega .nav-col{padding-bottom:.35rem}
  .nav .nav-list .nav-mega .nav-col>a{
    font-size:.6875rem;padding:.55rem .5rem .3rem;margin-bottom:0;min-height:0}
  .nav .nav-list .nav-mega .nav-col ul a{
    font-size:1rem;min-height:40px;padding:.3rem .5rem;white-space:normal}
  .nav-mega .nav-col-all{border-top:1px solid rgba(255,255,255,.14);margin-top:.5rem}
  .nav .nav-list .nav-mega .nav-col-all>a{
    justify-content:flex-start;text-align:left;font-size:1rem;min-height:40px;
    text-transform:none;letter-spacing:0;color:rgba(255,255,255,.88)}
  .burger{display:flex}
  .hdr-cta .b{display:none}
  .hdr-logo img{height:3.4rem}
}

/* Hero ------------------------------------------------------------------- */
.hero{position:relative;min-height:84vh;display:flex;align-items:center;overflow:hidden;background:var(--dark)}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(10,11,13,.88) 0%,rgba(10,11,13,.62) 45%,rgba(10,11,13,.28) 100%)}
.hero .wrap{position:relative;z-index:2;color:#fff;padding-top:4rem;padding-bottom:4rem}
.kick{display:inline-flex;align-items:center;gap:.6rem;font-family:Montserrat,sans-serif;font-weight:600;font-size:.8125rem;letter-spacing:.16em;text-transform:uppercase;color:var(--orange-on-dark);margin-bottom:1.1rem}
.hero h1{font-size:clamp(2.25rem,5.4vw,4.25rem);max-width:17ch;text-transform:uppercase}
.hero h1 em{font-style:normal;color:var(--orange)}
.hero p.lead{margin-top:1.35rem;max-width:50ch;font-size:1.1875rem;color:rgba(255,255,255,.86)}
.hero-cta{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2.25rem}
.badges{display:flex;flex-wrap:wrap;gap:.6rem;margin-top:2.5rem}
.badge{display:inline-flex;align-items:center;gap:.5rem;border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:.5rem 1rem;font-size:.8125rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:rgba(255,255,255,.92)}
.badge i{display:inline-flex;font-style:normal;color:var(--orange);line-height:0}
.badge i svg{width:14px;height:14px}

/* Trust bar -------------------------------------------------------------- */
.trust{background:var(--orange);color:#fff}
.trust .wrap{display:grid;gap:1rem;padding-top:1.5rem;padding-bottom:1.5rem;grid-template-columns:repeat(2,1fr);text-align:center}
@media (min-width:820px){.trust .wrap{grid-template-columns:repeat(4,1fr)}}
.trust b{display:block;font-family:Montserrat,sans-serif;font-size:1.75rem;line-height:1.1;font-weight:800}
.trust span{font-size:.8125rem;letter-spacing:.1em;text-transform:uppercase;opacity:.9}

/* Sections --------------------------------------------------------------- */
.sec{padding:5.5rem 0}
@media (max-width:767px){.sec{padding:3.5rem 0}}
.sec-sand{background:var(--sand)}
.sec-dark{background:var(--dark);color:#fff}
/* Section titles.
   Thirty-five of these carry the structure of the site and not one of them
   looked designed: a heading, a short orange rule and a lead paragraph sitting
   loose on the background, which is exactly how Sky described it - an
   afterthought. They are a plate now.

   Two changes do the work. The rule moves above the heading (order:-1, so no
   markup moves), where a 64px bar is a marker rather than an underline with
   nothing under it. And the block gets a panel, whose tint comes from
   whichever band it is sitting in: warm grey on the white sections, white on
   the sand ones, a lit pane on the dark ones. One pattern, every surface.

   Deliberately NOT glass. A section header is the content layer, and the rule
   this site follows (see glass.css) keeps backdrop-filter for the few things
   that float above content. Tint, hairline, one resting shadow. The left rail
   is .note's signature and is left to it, so the two boxes stay easy to tell
   apart. */
:root{
  --plate:#f4f1ed;
  --plate-line:#e6e1da;
  --plate-shadow:var(--e1);
  --kick:var(--orange-ink);
}
.sec-sand,.band-soft,.band-warm{--plate:#ffffff;--plate-line:#e8e4de}
.band-warm{--plate-line:rgba(220,95,44,.22)}
.sec-dark,.band-ink,.fsec{
  --plate:rgba(255,255,255,.055);
  --plate-line:rgba(255,255,255,.13);
  --plate-shadow:var(--e1-dark);
  --kick:var(--orange-on-dark);
}
/* Over a photograph the plate dims instead of lifting. The translucent white
   one took the backdrop up to rgb(34,40,46), where the eyebrow measured
   4.21:1 at 13px - --orange-on-dark is tuned against the flat darks, not
   against a lightened one. Dimming puts it back to 5.2:1 and is what a panel
   over an image should do anyway. */
.fsec{--plate:rgba(10,11,13,.42);--plate-line:rgba(255,255,255,.16)}
/* Direct, unclassed children only. .st p caught <p class="kick"> inside the
   homepage estimate plate and repainted the eyebrow body-copy grey at 17px -
   one measured failure, 1.66:1, found by tools/contrast.js and not by
   reading the stylesheet. */
.sec-dark .st>p:not([class]){color:rgba(255,255,255,.7)}
/* The plate spans the grid; the words keep their old measure. 54rem of plate
   above a 76rem row of cards reads as a header that did not know what it was
   sitting on - the one thing this change exists to stop. The 54rem moves onto
   the heading and the lead, so the typography is unchanged and only the panel
   grew. */
.st{display:flex;flex-direction:column;align-items:flex-start;
    margin-bottom:3rem;
    padding:1.65rem 1.9rem 1.8rem;border-radius:8px;
    background:var(--plate);border:1px solid var(--plate-line);
    box-shadow:var(--plate-shadow)}
.st.center{text-align:center;align-items:center}
.st h2{max-width:54rem;font-size:clamp(1.85rem,3.4vw,2.75rem);text-transform:uppercase}
.st h2 em{font-style:normal;color:var(--orange)}
/* No max-width on the lead. 54rem of Lato at 17px is about 71 characters a
   line, which is inside the comfortable range already - capping it at 62ch
   broke a one-line lead into a line and a four-word orphan, which looked
   worse. Checked by rendering it, not by counting in my head. */
.st>p:not([class]){margin-top:1rem;max-width:54rem;color:var(--ink-soft);font-size:1.0625rem}
.rule{width:64px;height:4px;background:var(--orange);margin-top:1.25rem;border-radius:2px}
/* Inside a section title the rule leads. The bare form above is kept for
   anything hand-written later, where a rule under a heading still reads. */
.st .rule{order:-1;flex:none;margin:0 0 1.15rem}
/* An eyebrow inside a plate sits between the rule and the heading, so it needs
   less air beneath it than it does standing on its own above one. Its color
   follows the plate rather than the section, since the plate is what it is
   printed on. */
.st .kick{margin-bottom:.7rem;color:var(--kick)}
@media (max-width:767px){
  .st{padding:1.3rem 1.25rem 1.45rem}
}


/* Service cards — photo-led, the way both references lead their services. */
.svc{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr))}
.svc a{
  position:relative;display:block;overflow:hidden;border-radius:4px;background:var(--ink);
  min-height:19rem;color:#fff;box-shadow:0 4px 22px rgba(0,0,0,.1);
  transition:transform var(--norm) var(--ease),box-shadow var(--norm) var(--ease);
}
.svc a:hover{transform:translateY(-6px);box-shadow:0 14px 36px rgba(0,0,0,.22)}
.svc img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 600ms var(--ease)}
.svc a:hover img{transform:scale(1.07)}
.svc .ov{position:absolute;inset:0;background:linear-gradient(to top,rgba(8,9,11,.95) 0%,rgba(8,9,11,.86) 30%,rgba(8,9,11,.52) 60%,rgba(8,9,11,.22) 82%,rgba(8,9,11,.1) 100%)}
.svc .tx{position:absolute;left:0;right:0;bottom:0;padding:1.5rem;z-index:2}
.svc .n{display:block;font-family:Montserrat,sans-serif;font-size:.875rem;font-weight:800;letter-spacing:.16em;color:var(--orange)}
.svc h3{margin-top:.4rem;font-size:1.3rem;text-transform:uppercase}
.svc p{margin-top:.5rem;font-size:.9375rem;color:rgba(255,255,255,.76);line-height:1.5}
/* The label is white and the arrow carries the orange. Their orange on the
   card's #222 measures 4.33:1 and cannot reach 4.5 at 13px - it peaks at
   4.33 on any dark. An arrow is a non-text indicator and needs only 3:1,
   so the accent stays and the text becomes readable. Same fix as the
   active nav item. */
.svc .go{display:inline-flex;align-items:center;gap:.45rem;margin-top:.9rem;font-weight:700;font-size:.8125rem;letter-spacing:.08em;text-transform:uppercase;color:#fff}
.svc .go svg{color:var(--orange)}

/* Two-up: copy beside a photo. */
.duo{display:grid;gap:3rem;align-items:center}
@media (min-width:960px){.duo{grid-template-columns:1fr 1fr;gap:4.5rem}}
.duo img{width:100%;height:28rem;object-fit:cover;border-radius:4px}
.ticks{margin-top:1.75rem;display:grid;gap:.85rem}
.ticks li{display:flex;gap:.75rem;align-items:flex-start}
.ticks i{font-style:normal;color:var(--orange);font-weight:900;line-height:1.5}

/* Steps ------------------------------------------------------------------ */
.steps{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));counter-reset:s}
.step{background:var(--white);border:1px solid var(--line);border-radius:4px;padding:2rem 1.5rem;position:relative}
.sec-dark .step{background:var(--dark-2);border-color:rgba(255,255,255,.12)}
.step b{display:block;font-family:Montserrat,sans-serif;font-size:2.25rem;color:var(--orange);line-height:1}
.step h3{margin-top:.6rem;font-size:1.0625rem;text-transform:uppercase}
.step p{margin-top:.5rem;font-size:.9375rem;color:var(--ink-soft)}
.sec-dark .step p{color:rgba(255,255,255,.68)}

/* Gallery ---------------------------------------------------------------- */
.gal{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
.gal figure{margin:0;position:relative;overflow:hidden;border-radius:4px}
.gal img{width:100%;height:16rem;object-fit:cover;transition:transform 600ms var(--ease)}
.gal figure:hover img{transform:scale(1.06)}
.gal figcaption{position:absolute;left:0;right:0;bottom:0;padding:1.5rem 1rem .9rem;color:#fff;font-size:.8125rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:linear-gradient(to top,rgba(8,9,11,.92) 0%,rgba(8,9,11,.86) 55%,rgba(8,9,11,.6) 82%,transparent 100%)}

/* Reviews ---------------------------------------------------------------- */
.revs{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(18rem,1fr))}
.rev{background:var(--dark-2);border:1px solid rgba(255,255,255,.1);border-radius:4px;padding:2rem}
.stars{display:flex;gap:.2rem;line-height:0}
.stars svg{width:17px;height:17px;flex:none;fill:var(--orange)}
.rev p{margin-top:1rem;color:rgba(255,255,255,.84)}
.rev cite{display:block;margin-top:1.25rem;font-style:normal;font-weight:700;font-size:.9375rem;color:#fff}
.rev small{color:rgba(255,255,255,.55)}

/* Areas ------------------------------------------------------------------ */
.areas{display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(17rem,1fr))}
.area{background:var(--white);border:1px solid var(--line);border-left:4px solid var(--orange);border-radius:4px;padding:2rem}
.area h3{font-size:1.2rem;text-transform:uppercase}
.area p{margin-top:.6rem;color:var(--ink-soft);font-size:.9375rem}
.chips{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1.5rem}
/* The chip carries its own opaque pill. With only a border it inherited
   whatever was behind it, and on the location pages that is a photograph:
   #4a4a4a text measured between 1.02:1 and 2.51:1 depending on which part
   of the picture a chip happened to land on. */
.chip{background:var(--white);border:1px solid var(--line);border-radius:999px;padding:.45rem .95rem;font-size:.8125rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--ink)}
.sec-dark .chip{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.3);color:#fff}

/* Estimate form ---------------------------------------------------------- */
.fsec{background:var(--dark);color:#fff;position:relative;overflow:hidden}
.fsec>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.18}
/* ::after, not ::before: the section also carries .cut, whose ::before is
   defined later at the same specificity and replaced this rule outright -
   the scrim silently did not exist. */
.fsec::after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(to bottom,rgba(10,11,13,.93) 0%,rgba(10,11,13,.86) 30%,rgba(10,11,13,.6) 70%,rgba(10,11,13,.45) 100%)}
.fsec .wrap{position:relative;z-index:2;padding-top:5rem;padding-bottom:5rem}
.fgrid{display:grid;gap:3rem}
@media (min-width:980px){.fgrid{grid-template-columns:.85fr 1.15fr;gap:4rem}}
.frm{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.16);border-radius:4px;padding:2.25rem;display:grid;gap:1.1rem;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
@media (min-width:640px){.frm{grid-template-columns:1fr 1fr;padding:2.75rem}}
.f-row{display:flex;flex-direction:column;gap:.45rem}
.f-wide{grid-column:1/-1}
.frm label{font-family:Montserrat,sans-serif;font-size:.75rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.66)}
.frm .rq{color:var(--orange)}
.frm input,.frm select,.frm textarea{
  width:100%;font:inherit;font-size:1rem;color:#fff;background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.2);border-radius:3px;padding:.9rem 1rem;
  transition:border-color var(--fast) var(--ease),background-color var(--fast) var(--ease);
}
.frm input::placeholder,.frm textarea::placeholder{color:rgba(255,255,255,.35)}
.frm input:focus,.frm select:focus,.frm textarea:focus{outline:none;border-color:var(--orange);background:rgba(255,255,255,.1)}
.frm select{appearance:none;cursor:pointer;
  background-image:linear-gradient(45deg,transparent 50%,rgba(255,255,255,.5) 50%),linear-gradient(135deg,rgba(255,255,255,.5) 50%,transparent 50%);
  background-position:calc(100% - 20px) 54%,calc(100% - 14px) 54%;background-size:6px 6px,6px 6px;background-repeat:no-repeat}
.frm select option{background:#1e2026;color:#fff}
.frm textarea{resize:vertical;min-height:7rem}
.f-go{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:1rem;align-items:center}
.f-note{font-size:.8125rem;color:rgba(255,255,255,.45)}
.f-sent{grid-column:1/-1;display:none;border-left:4px solid var(--orange);background:rgba(220,95,44,.12);padding:1rem 1.15rem}
.frm.sent .f-sent{display:block}

/* CTA band + footer ------------------------------------------------------ */
.band{background:var(--orange);color:#fff;text-align:center;padding:4.5rem 0}
.band h2{font-size:clamp(1.7rem,3.4vw,2.5rem);text-transform:uppercase;max-width:22ch;margin:0 auto}
.band .row{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-top:2rem}
.band .b-ghost{background:#fff;border-color:#fff;color:var(--dark)}
.band .b-ghost:hover{background:transparent;border-color:#fff;color:#fff}
.ft{background:var(--dark);color:rgba(255,255,255,.72);padding:4.5rem 0 0}
.ft-grid{display:grid;gap:2.5rem}
/* Social. 44px targets because a footer icon on a phone is a thumb target,
   and the glyphs are 18px so the box is mostly padding - which is correct. */
.ft-social{display:flex;gap:.5rem;margin-top:1.25rem}
.ft-social a{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;
  color:var(--sand,#e9e6e1);background:rgba(255,255,255,.07);
  transition:background .18s ease,color .18s ease,transform .18s ease}
.ft-social a:hover,.ft-social a:focus-visible{background:var(--orange,#d46432);color:#fff;
  transform:translateY(-2px)}
@media (min-width:900px){.ft-grid{grid-template-columns:1.5fr 1fr 1fr 1.1fr}}
/* logo-light.png is the white version of the mark, made for a dark
   background - and it was sitting on a white chip, so the wordmark was
   white on white and all you could see was the orange rooftop and the
   tagline. The footer is dark; the logo belongs straight on it. */
.ft img.lg{height:5rem;width:auto;margin-bottom:1.25rem}
.ft h3{font-family:Montserrat,sans-serif;font-size:.8125rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#fff;margin-bottom:1rem}
.ft li{margin-bottom:.6rem}
/* Footer links are a list of links rather than links inside a sentence, so
   WCAG 2.5.8's inline exception does not cover them. They were 21px tall. */
.ft li a,.family a{display:inline-flex;align-items:center;min-height:24px}
.ft a:hover{color:var(--orange)}
.ft .hours{font-size:.9375rem}
/* The floating call button is fixed to the bottom right, which is exactly
   where the last item in this bar sits - it was covering the agency
   credit. The extra bottom padding gives the button empty space to
   float over instead of text. */
.ft-bar{margin-top:3rem;border-top:1px solid rgba(255,255,255,.12);
  padding:1.25rem 0 5.5rem;font-size:.8125rem}
.ft-bar .wrap{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between}

/* Floating call ---------------------------------------------------------- */
.fab{position:fixed;right:1.5rem;bottom:1.5rem;z-index:130;display:inline-flex;align-items:center;gap:.6rem;
  background:var(--orange);color:#fff;border-radius:999px;padding:.95rem 1.4rem;font-weight:700;
  font-size:.875rem;letter-spacing:.06em;text-transform:uppercase;box-shadow:0 10px 30px rgba(0,0,0,.4);
  position:fixed;isolation:isolate;
  transition:background-color var(--norm) var(--ease),transform var(--norm) var(--ease)}
.fab::before{content:"";position:absolute;inset:0;border-radius:inherit;z-index:-1;
  background:rgba(220,95,44,.5);animation:kb-pulse 2.4s var(--ease) infinite}
.fab:hover{background:var(--orange-dark);transform:translateY(-3px);animation-play-state:paused}
.fab svg{width:20px;height:20px;flex:0 0 auto}
@media (max-width:767px){.fab{right:1rem;bottom:1rem}.fab span{display:none}}
@media (prefers-reduced-motion:reduce){.fab::before{animation:none;opacity:0}}
.hdr svg,.fab svg,.b svg,.ft svg{max-width:2.5rem;max-height:2.5rem}

/* Interior page hero ----------------------------------------------------- */
.phero{position:relative;min-height:42vh;display:flex;align-items:flex-end;background:var(--dark);overflow:hidden}
.phero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.phero::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(10,11,13,.92),rgba(10,11,13,.35))}
.phero .wrap{position:relative;z-index:2;color:#fff;padding-top:5rem;padding-bottom:3rem}
.phero h1{font-size:clamp(1.9rem,4.2vw,3.25rem);text-transform:uppercase;max-width:20ch}
.phero p{margin-top:1rem;max-width:48ch;color:rgba(255,255,255,.82)}
.prose{max-width:62ch;display:grid;gap:1.1rem;color:var(--ink-soft)}
.prose strong{color:var(--ink)}

/* Reveal ----------------------------------------------------------------- */
.up{opacity:0;transform:translateY(22px);transition:opacity 650ms var(--ease),transform 650ms var(--ease)}
.up.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.up{opacity:1;transform:none}}

/* ===========================================================================
   Taken from John's Handyman: the device that does the most work on that site.
   A fixed action bar on phones — call, text, email, contact — so the next
   step is always one thumb-reach away. It replaces the floating pill there.
   =========================================================================== */
.actionbar{
  position:fixed;left:0;right:0;bottom:0;z-index:140;display:none;
  background:var(--dark-2);border-top:1px solid rgba(255,255,255,.14);
  box-shadow:0 -6px 24px rgba(0,0,0,.35);
}
.actionbar ul{display:grid;grid-template-columns:repeat(4,1fr)}
.actionbar a{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.3rem;
  padding:.7rem .25rem calc(.7rem + env(safe-area-inset-bottom,0px));
  color:rgba(255,255,255,.86);font-size:.6875rem;font-weight:700;
  letter-spacing:.08em;text-transform:uppercase;
  transition:background-color var(--fast) var(--ease),color var(--fast) var(--ease);
}
.actionbar a:hover,.actionbar a:focus-visible{background:var(--orange);color:#fff}
.actionbar a+a{border-left:1px solid rgba(255,255,255,.1)}
.actionbar svg{width:20px;height:20px}
@media (max-width:860px){
  .actionbar{display:block}
  .fab{display:none}
  body{padding-bottom:4.5rem}
}

/* Angled dividers, John's again — they stop a stack of bands reading flat. */
.cut{position:relative}
.cut::before{
  content:"";position:absolute;left:0;right:0;top:-1px;height:3.5rem;
  background:inherit;clip-path:polygon(0 0,100% 100%,100% 0);
  transform:translateY(-100%);pointer-events:none;
}
@media (max-width:767px){.cut::before{height:2rem}}

/* Trust triplet — the strip John's runs directly under the hero. */
.triplet{background:var(--white);border-bottom:1px solid var(--line)}
.triplet .wrap{display:grid;gap:1.75rem;padding-top:2.75rem;padding-bottom:2.75rem}
@media (min-width:820px){.triplet .wrap{grid-template-columns:repeat(3,1fr);gap:2.5rem}}
.tri{display:flex;gap:1rem;align-items:flex-start}
.tri .ic{flex:0 0 auto;width:3rem;height:3rem;border-radius:50%;background:var(--orange);color:#fff;display:flex;align-items:center;justify-content:center}
.tri .ic svg{width:22px;height:22px}
.tri h3{font-size:1.0625rem;text-transform:uppercase}
.tri p{margin-top:.3rem;font-size:.9375rem;color:var(--ink-soft)}

/* Sister brands — Kingdom Builders runs "The DT Family"; Tri County has two. */
.family{display:grid;gap:.9rem}
.family a{display:flex;gap:.65rem;align-items:center;font-size:.9375rem}
.family i{font-style:normal;color:var(--orange);font-weight:900}

/* Awards strip --------------------------------------------------------------
   Content layer, so standard material: a tint and a rim, no backdrop-filter.
   The seals are the proof Tri County has already earned and never showed. */
.awards{background:var(--sand);border-bottom:1px solid var(--line)}
.awards-in{padding-top:1.4rem;padding-bottom:1.4rem}
.awards-lede{font-family:Montserrat,sans-serif;font-weight:700;font-size:.8125rem;
  letter-spacing:.16em;text-transform:uppercase;color:var(--grey);text-align:center;margin-bottom:1rem}
.awards-lede em{font-style:normal;color:var(--orange)}
.awards-list{list-style:none;margin:0;padding:0;display:grid;gap:.9rem;
  grid-template-columns:repeat(auto-fit,minmax(14rem,1fr))}
.award{display:flex;align-items:center;gap:.85rem;background:var(--white);
  border:1px solid var(--line);border-radius:12px;padding:.8rem .95rem;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 1px 2px rgba(21,22,26,.05),
             0 8px 22px -10px rgba(21,22,26,.14)}
.award-badge{width:66px;height:66px;object-fit:contain;flex:none;margin:-6px 0}
.award-mark{flex:none;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;
  font-family:Montserrat,sans-serif;font-weight:800;font-size:1.05rem;color:var(--orange);
  background:radial-gradient(circle at 50% 30%, rgba(220,95,44,.16), rgba(220,95,44,.07));
  border:1px solid rgba(220,95,44,.3)}
.award-txt{display:block;font-size:.8125rem;color:var(--ink-soft);line-height:1.4}
.award-txt b{display:block;font-family:Montserrat,sans-serif;font-size:.9375rem;
  color:var(--ink);font-weight:700;letter-spacing:-.01em}
@media (max-width:640px){
  .awards-list{grid-template-columns:1fr 1fr;gap:.6rem}
  .award{flex-direction:column;text-align:center;gap:.5rem;padding:.9rem .6rem}
  .award-mark{width:44px;height:44px}
  .award-badge{width:54px;height:54px;margin:0}
}
.ft-bar a{color:rgba(255,255,255,.72);text-decoration:none;border-bottom:1px solid rgba(255,255,255,.22)}
.ft-bar a:hover{color:#fff;border-bottom-color:var(--orange)}

/* Honeypot. Off-screen rather than display:none, because some bots skip
   hidden fields; a real visitor never reaches it (tabindex -1, aria-hidden). */
.f-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

/* The failure counterpart to .f-sent. Without it a stale nonce or a missing
   field bounced the visitor back to an empty form in silence. */
.f-error{grid-column:1/-1;display:none;border-left:4px solid #c0392b;
  background:rgba(192,57,43,.14);padding:1rem 1.15rem}
.frm.failed .f-error{display:block}
.f-error a{color:#fff;border-bottom:1px solid rgba(255,255,255,.4)}

/* --- corner radius, reconciled -------------------------------------------
   Two registers had grown up: 3-4px on the pages written first (service
   cards, form, steps, reviews, areas) and 10-14px on the thirty service pages
   (FAQ, silo, slots, proof, CTA). On the homepage you saw them stacked -
   awards strip 12px, triplet 0, service cards 4 - which is the clearest
   "built by two different hands" tell on the site. One register now. */
.svc a,.step,.rev,.area,.frm,.tri>div,.gal figure,.work figure,.revs .rev{
  border-radius:10px}
.b,.b-pri,.b-ghost,.b-dark{border-radius:8px}

/* Headings set their own line breaks rather than leaving a single word on the
   last line. One declaration, every heading on the site. */
h1,h2,h3,.keynote,.lede-lead p{text-wrap:balance}

/* The service grid produced an orphan row: ten cards at minmax(16rem) is
   4+4+2 at the 1168px wrap, so "What We Build" ended on a half-empty row.
   Five columns fills 5+5 exactly. */
@media (min-width:1100px){
  .svc{grid-template-columns:repeat(5,1fr)}
  .svc h3{font-size:1.05rem}
  .svc p{font-size:.82rem}
}
/* Six gallery items as 3+3 rather than 4+2. */
@media (min-width:960px){
  .gal{grid-template-columns:repeat(3,1fr)}
}

/* The estimate form is the one glass panel on desktop, and it sat over a
   photograph dimmed to .18 under a .86 scrim - nothing for backdrop-filter to
   blur, so it read as a plain dark rectangle. Give the blur something to work
   with on the half the panel sits over. */
.fsec>img{opacity:.42}
.fsec::after{background:linear-gradient(to bottom,rgba(10,11,13,.88) 0%,rgba(10,11,13,.72) 30%,
  rgba(10,11,13,.58) 70%,rgba(10,11,13,.5) 100%)}

/* The mobile action bar was a 52% tint and page copy read straight through it
   behind the labels. The nav tint is the luminosity floor that exists for
   exactly this. */
/* .glass-dark also sets a background and glass.css is concatenated after
   this file, so a bare .actionbar rule loses on source order at equal
   specificity. Naming both classes wins it, and the nav tint is the
   luminosity floor that stops page copy reading through the bar. */
.actionbar.glass-dark{background:var(--g-tint-nav)}

/* A split's picture sat vertically centred beside a taller text column, so a
   4:3 photo floated in white above and below. Top-aligned reads as a layout
   rather than an accident. */
.split-media{align-self:start}

/* The card number sat orange on whatever the photograph gave it - over bright
   sky it disappeared. */
.svc .n{text-shadow:0 1px 10px rgba(10,11,13,.85),0 0 2px rgba(10,11,13,.6)}

/* The sitewide CTA band used an <h2> on all 38 pages - a heading repeated
   site-wide carries no information and competes with the real sections. It
   keeps the same size; it is simply no longer a heading. */
.band-head{font-family:Montserrat,sans-serif;font-weight:800;text-transform:uppercase;
  font-size:clamp(1.6rem,3vw,2.4rem);line-height:1.1;text-wrap:balance}
.band-head em{font-style:normal;color:#fff}

/* --- service directory ----------------------------------------------------
   Every service page, grouped by division. /services used to link the same
   ten pages the home page did, which left Home Services four clicks from the
   front door and its children five. */
.dir{display:grid;gap:2.5rem 2rem;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));
  margin-top:1.5rem}
/* One heading in four wraps to two lines - "Pecan Plantation & DeCordova" on
   the Granbury page - and that pushed its rule and its paragraph a line below
   the other three, so a row of four columns read as misaligned. Subgrid puts
   every column on the same two tracks as the row it sits in: the heading
   track takes the tallest heading, so the rules line up and the paragraphs
   start together whatever the headings do. Its own row-gap, because the
   parent's 2.5rem is the space between rows of columns, not between a
   heading and its own text. */
.dir-col{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:0}
.dir-col h3{font-family:Montserrat,sans-serif;font-size:.8125rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;margin-bottom:.9rem;
  padding-bottom:.65rem;border-bottom:2px solid var(--orange);align-self:end}
.dir-col h3 a{color:var(--ink)}
.dir-col ul{list-style:none;margin:0;padding:0;display:grid;gap:.1rem}
.dir-col li a{display:block;padding:.4rem 0;font-size:.9375rem;color:var(--ink-soft);
  border-bottom:1px solid var(--line)}
.dir-col li a:hover{color:var(--orange-ink)}

/* --- the people ------------------------------------------------------------
   Sky's point, and it is the right one: Google's trust guidance is about
   identifiable human beings, so a named person with a photograph, a role and
   a credential anybody can check is worth more on an About page than another
   paragraph. The bio box under each portrait is where that checkable detail
   goes - a licence number, a certification, years at the trade - which is why
   it is part of the card rather than an optional extra. */
/* align-items:start, not the grid default of stretch. Sky, 2026-11-11, with
   the empty halves of four cards circled: "Can you make these boxes shorter
   with the read more higher." Stretch made every card in a row as tall as the
   tallest, and since .tm-body is top-aligned the surplus fell out as dead
   white space under the shortest - worst on the cards whose bio is still one
   short brief. Each card is now its own height. The row goes ragged, which is
   the honest shape of cards holding different amounts of copy. */
.team{display:grid;gap:1.75rem;margin-top:1.5rem;align-items:start;
  grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}
/* Four across, not three, and that reverses an earlier decision made when the
   roster was five people and the argument was "a face is the whole reason this
   section exists, so make it big". The roster is eleven now, and the supplied
   headshots are 240x300 web downsamples. At three columns the card is 369px
   wide and the photograph is upscaled 1.54x to fill it: big and soft. At four
   it is 269px and the upscale is 1.12x: smaller and actually sharp. A crisp
   small face reads as professional, a mushy large one reads as cheap, and
   nobody is examining pores on an About page.
   Revisit if full-resolution originals ever arrive - at 800x1000 the argument
   flips back and three columns wins. */
@media (min-width:900px){.team{grid-template-columns:repeat(4,1fr)}}
.tm{display:flex;flex-direction:column;background:var(--white);
  border:1px solid var(--line);border-radius:6px;overflow:hidden}
/* 4:5, matching the portraits as shot. The square crop this replaces was
   taking the top off every head on the page - object-fit:cover scales a
   4:5 source to fill the width and then discards 20% vertically, which on
   a headshot is the forehead. Caught by rendering it at 2x and looking,
   not by any gate: a cropped face is valid CSS and passes everything. */
.tm .tm-photo,.tm .slot{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:0;
  border-left:0;border-right:0;border-top:0}
/* The portrait that has not arrived. A monogram reads as deliberate where a
   labelled grey box reads as unfinished, and it is the same box the real
   photograph drops into. */
.tm-mono{width:100%;aspect-ratio:4/5;display:grid;place-items:center;
  background:linear-gradient(145deg,#2a2f36,#14171b)}
.tm-mono span{font-family:Montserrat,sans-serif;font-weight:700;font-size:2.4rem;
  letter-spacing:.06em;color:rgba(255,255,255,.9)}
.tm-body{display:flex;flex-direction:column;gap:.5rem;padding:1.25rem 1.25rem 1.4rem}
.tm h3{font-size:1.0625rem;text-transform:uppercase;letter-spacing:.02em}
.tm-role{font-family:Montserrat,sans-serif;font-size:.78rem;font-weight:700;
  letter-spacing:.12em;text-transform:uppercase;color:var(--orange-ink)}
.tm-bio p{font-size:.9375rem;color:var(--ink-soft);line-height:1.6}
/* Clayton's Builder of the Year and his HCBA role are the only credentials on
   the page and Sky wants them showing, not pushed down by the card's own
   slack. With the card no longer stretching they sit right under the control. */
.tm-cred{font-size:.8125rem;color:var(--grey);border-top:1px solid var(--line);
  padding-top:.5rem;margin-top:.35rem}
/* The label and its value were running together - "Award2025 Hood County
   Builder of the Year". The markup is <b>Award</b>2025..., with nothing
   between them, so it needs the gap in CSS rather than a space in the
   template, which would be whitespace a future edit could eat. */
.tm-cred b{margin-right:.4em}
/* A full bio does not fit a 269px card. The first paragraph carries the
   professional claim, which is the part that does the work; the rest opens on
   demand. All of it is in the HTML either way - hiding a bio from a crawler
   would defeat the point of having one. */
/* Was margin-top:.5rem on top of .tm-body's .5rem gap and the summary's own
   .3rem padding - about 1.3rem of air above a single line of 12px type. The
   gap already separates it from the bio; this only has to not touch. */
.tm-more{margin-top:.1rem}
.tm-more summary{cursor:pointer;list-style:none;font-family:Montserrat,sans-serif;
  font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--orange-ink);padding:.15rem 0;min-height:24px;display:flex;
  align-items:center}
.tm-more summary::-webkit-details-marker{display:none}
.tm-more summary::after{content:"+";font-weight:700;margin-left:.35em}
.tm-more[open] summary::after{content:"\2013"}
.tm-more summary:hover{text-decoration:underline}
.tm-more p+p{margin-top:.6rem}
.tm-more p{font-size:.9375rem;color:var(--ink-soft);line-height:1.6}

/* A fact we do not have yet, shaped like the image slots so it is obvious at a
   glance that it is waiting for the client rather than finished copy. */
.needs{display:block;border:1px dashed var(--line);border-radius:4px;
  background:var(--sand);padding:.7rem .8rem;color:var(--grey);font-size:.78rem;
  line-height:1.5}
.needs b{display:block;font-family:Montserrat,sans-serif;font-size:.68rem;
  font-weight:700;letter-spacing:.16em;text-transform:uppercase;
  color:var(--orange-ink);margin-bottom:.3rem}
.sec-sand .needs{background:var(--white)}

/* --- the family of brands --------------------------------------------------
   Five logos drawn by five different hands over the years, in five aspect
   ratios, three of them carrying a phone number inside the artwork. They only
   read as one family if the cards impose the order the logos do not: a fixed
   mark area, contain rather than cover so nothing is cropped, and the name
   set in our own type underneath. The logo is then a mark, not a banner. */
.brands{display:grid;gap:1rem;margin-top:1.5rem;
  grid-template-columns:repeat(auto-fit,minmax(11rem,1fr))}
@media (min-width:1000px){.brands{grid-template-columns:repeat(4,1fr)}}
.brand{display:flex;flex-direction:column;align-items:center;text-align:center;
  gap:.15rem;padding:1.1rem 1rem 1.25rem;background:var(--white);
  border:1px solid var(--line);border-radius:6px;
  transition:box-shadow var(--fast) var(--ease),transform var(--fast) var(--ease)}
.brand:hover{box-shadow:var(--e2);transform:translateY(-3px)}
.brand-mark{display:flex;align-items:center;justify-content:center;
  width:100%;height:7.5rem;margin-bottom:.6rem}
.brand-mark img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.brand b{font-family:Montserrat,sans-serif;font-size:.8125rem;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase;color:var(--ink);line-height:1.3}
.brand-line{font-size:.8125rem;color:var(--ink-soft);line-height:1.45}
.brand:hover b{color:var(--orange-ink)}

/* The brand mark on a hub. Small and horizontal: it is an identification, not
   a second hero, and the page already has a headline doing that job. */
.hubmark{display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap}
/* Three of the five logos are drawn on white. On the sand band that reads as
   a stray white rectangle, so the chip is made deliberate rather than hidden. */
.hubmark img{width:auto;height:5rem;max-width:11rem;object-fit:contain;flex:none;
  background:#fff;border:1px solid var(--line);border-radius:6px;padding:.45rem .6rem}
.hubmark p{display:flex;flex-direction:column;gap:.15rem}
.hubmark b{font-family:Montserrat,sans-serif;font-size:.8125rem;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
.hubmark span{font-size:.9375rem;color:var(--ink-soft)}
@media (max-width:560px){.hubmark{gap:.9rem}.hubmark img{height:4rem}}

/* Agency credit. Quiet - it is a credit, not a second call to action. */
.ft-credit{color:rgba(255,255,255,.55)}
.ft-credit a{color:rgba(255,255,255,.78);border-bottom:1px solid rgba(255,255,255,.26)}
.ft-credit a:hover{color:#fff;border-bottom-color:var(--orange)}

/* Homepage financing band. One column on purpose: the block earns attention
   from the number in the heading, and a stock photo of a handshake beside it
   would cost more credibility than it buys. */
.fin{background:var(--white);border:1px solid var(--line);border-radius:10px;
  padding:2.5rem 2rem;box-shadow:var(--e1)}
@media(min-width:900px){.fin{padding:3rem 3.25rem}}
.fin-copy{max-width:52rem}
.fin-copy h2{margin-bottom:.85rem}
.fin-copy > p{color:var(--ink-soft);font-size:1.0625rem}
.fin-copy .ticks{margin-top:1.5rem}
.fin-cta{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:1.9rem}
.fin-note{margin-top:1.4rem;font-size:.8125rem;color:var(--grey);max-width:46rem}

/* The Texas outline badge. Drawn as a path rather than an image so there is
   no licensing question over a state map, and so it inherits the brand color
   instead of shipping a flat PNG that cannot be restyled. It replaced the
   unapproved association mark that came off on 2026-11-04. */
.award-tx{flex:none;width:54px;height:54px;display:grid;place-items:center;
  border-radius:12px;background:radial-gradient(circle at 50% 30%,
  rgba(220,95,44,.16), rgba(220,95,44,.07));border:1px solid rgba(220,95,44,.3)}
.award-tx .tx{width:34px;height:34px;display:block}
.award-tx .tx path{fill:rgba(220,95,44,.14);stroke:var(--orange-ink);
  stroke-width:4;stroke-linejoin:round;vector-effect:non-scaling-stroke}

/* The write-a-review ask, under the review cards. Deliberately quiet: it is
   for the minority who already built with them, and it must not compete with
   the estimate CTA that the other 99% of visitors are there for. */
.rev-ask{display:flex;flex-wrap:wrap;align-items:center;gap:.9rem 1.1rem;
  margin-top:2.25rem}
.rev-ask > span{font-size:.9375rem;color:var(--ink-soft)}
.rev-ask .b svg{width:16px;height:16px}

/* A brand card whose logo has not arrived. Set in the display face at the
   same size the logo occupies, so the row stays even and the real PNG drops
   into the identical slot later with no layout change. */
.brand-type{display:grid;place-content:center;text-align:center;
  padding:.4rem .5rem}
/* Montserrat 800, the display face this theme actually loads. This said
   Syne - DIDM's own brand font, not Tri County's, and not loaded by this
   theme at all - so a brand card without a logo fell back to the system
   sans and matched nothing else on the page. Same leak as .creds b in
   sections.css, found 2026-11-14; this was the second instance. */
.brand-type > b{font-family:Montserrat,sans-serif;font-weight:800;
  font-size:1.18rem;line-height:1.1;letter-spacing:.015em;
  color:var(--orange-ink);text-transform:uppercase}

/* The emergency band, directly under the hero. Dark so it reads as a
   different register from the marketing above it - this is the one strip on
   the page aimed at somebody with water coming through a ceiling. */
.emg{background:var(--ink);color:#fff}
.emg-in{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
  gap:1rem 1.75rem;padding-top:1.1rem;padding-bottom:1.1rem}
.emg-txt{margin:0;line-height:1.45}
.emg-txt b{display:block;font-family:Montserrat,sans-serif;font-weight:800;
  font-size:1.0625rem;letter-spacing:.01em;color:#fff}
.emg-txt span{display:block;font-size:.9375rem;color:rgba(255,255,255,.78);margin-top:.15rem}
.emg-cta{flex:none;white-space:nowrap}
@media (max-width:600px){.emg-in{flex-direction:column;align-items:flex-start}
  .emg-cta{width:100%;justify-content:center}}

/* The call band on the emergency page. Centred and loud - it is the only
   thing on that page that matters in the first ten seconds. */
.emg-call{background:var(--ink);color:#fff;border-radius:12px;padding:2.25rem 1.5rem;
  text-align:center;box-shadow:var(--e1)}
.emg-call-h{margin:0;font-family:Montserrat,sans-serif;font-weight:800;
  font-size:1.5rem;letter-spacing:.01em;color:#fff}
.emg-call-sub{margin:.6rem auto 1.5rem;max-width:34rem;font-size:1rem;
  color:rgba(255,255,255,.8)}
.emg-call .b{font-size:1.0625rem}

/* A 9:16 embed - a Facebook reel - on a page built for 16:9 and for stills.
   The supplied code is a fixed 267x476 box, which on a 1440 desktop reads as a
   postage stamp adrift in the middle of the column, and on a 360 phone is
   narrower than the text beside it. So: centred, allowed to grow to a sensible
   maximum, and the aspect ratio held by the wrapper rather than by the
   iframe's own attributes, which are overridden. */
.vid-portrait{margin:1.75rem auto 0;width:min(100%,340px);aspect-ratio:9/16;
  border-radius:8px;overflow:hidden;background:#101316;
  box-shadow:0 6px 24px rgba(0,0,0,.16)}
.vid-portrait iframe{width:100%;height:100%;display:block;border:0}
@media (min-width:900px){.vid-portrait{width:min(100%,380px)}}
.vid-alt{text-align:center;margin:.7rem 0 0;font-size:.875rem}

/* Footer office blocks. Two offices, each with its own address and line -
   added 2026-11-16 when the company's second line went live. A definition
   list would be the pedantic markup, but each block is a name, an address
   and a telephone link, which is a small address card, so it stays a div
   with the number as the only interactive child. */
.ft-office{margin-bottom:1.25rem;line-height:1.5}
.ft-office:last-of-type{margin-bottom:0}
.ft-office strong{display:block;color:#fff;font-family:Montserrat,sans-serif;
  font-size:.8125rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.ft-office span{display:block;font-size:.875rem;margin:.2rem 0 .3rem}
.ft-office a{color:#fff;font-weight:700;font-size:1.0625rem}
.ft-office a:hover,.ft-office a:focus-visible{color:var(--orange,#d46432)}

/* The estimate form's consent checkbox. Laid out as checkbox-then-label on
   one row rather than inheriting .f-row's stacked label, because a consent
   tick that reads as a field label is a consent tick people miss. The hit
   area is the whole label, and the text stays at body size rather than
   shrinking into fine print - fine print is exactly what a disclosure must
   not be. */
.f-row.f-consent{display:flex;flex-direction:row;align-items:flex-start;gap:.65rem;margin-top:.25rem}
.f-row.f-consent input[type=checkbox]{flex:0 0 auto;width:1.15rem;height:1.15rem;
  margin:.15rem 0 0;accent-color:var(--orange,#d46432);cursor:pointer}
/* .frm label is uppercase Montserrat at .75rem, which is right for a field
   name and wrong for a disclosure: a consent people have to read must not be
   set in all caps small type. This overrides the family, case, tracking and
   weight, and takes the remaining width so the text sits beside the box
   rather than wrapping under it. */
.f-row.f-consent label{flex:1 1 auto;font-family:inherit;font-size:.8125rem;
  line-height:1.55;cursor:pointer;color:rgba(255,255,255,.82);
  font-weight:400;letter-spacing:0;text-transform:none}
.f-row.f-consent input[type=checkbox]:focus-visible{outline:2px solid var(--orange,#d46432);
  outline-offset:2px}

/* --------------------------------------------------------------------------
   INLINE LINKS IN BODY COPY

   base.css opens with a{color:inherit;text-decoration:none}. That reset is
   right for the nav, the cards, the buttons and the footer, and wrong for
   prose - it made every inline link on the site invisible. Sky, 2026-11-29:
   "none of the internal links are underlined or blue. You cant even tell they
   are links." Which wasted the internal linking on the service and city pages
   entirely, because a link nobody can see is a link nobody clicks.

   Underline AND color, never color alone: WCAG 1.4.1 (Use of Color) fails if
   color is the only thing distinguishing a link from the text around it.

   Measured contrast, 2026-11-29:
     --orange-dark     #a8431c  on white #ffffff   6.03:1
     --orange-dark     #a8431c  on sand  #f6f4f1   5.49:1
     --orange-on-dark  #dd6432  on dark  #15161a   5.24:1

   --orange-ink #c75121 was the first choice and was dropped after measuring:
   4.54:1 on white passes AA, but 4.14:1 on the sand sections does not, and
   half the body copy on this site sits on sand.

   Scoped to p/li/td inside .prose so it cannot reach a button or a card that
   happens to live in the same container.
   -------------------------------------------------------------------------- */
.prose p a:not(.b),.prose li a:not(.b),.prose td a:not(.b){
  color:var(--orange-dark);
  text-decoration:underline;
  text-underline-offset:.16em;
  text-decoration-thickness:.075em;
}
.prose p a:not(.b):hover,.prose li a:not(.b):hover,
.prose p a:not(.b):focus-visible,.prose li a:not(.b):focus-visible{
  color:var(--orange-ink);
  text-decoration-thickness:.14em;
}
/* On the ink bands and dark sections the same link needs the lighter orange. */
.band-ink .prose p a:not(.b),.band-ink .prose li a:not(.b),
.sec-dark .prose p a:not(.b),.sec-dark .prose li a:not(.b){
  color:var(--orange-on-dark);
}

/* ===========================================================================
   Section library — the blocks pages are built from
   ---------------------------------------------------------------------------
   A service page that is one column of paragraphs is a page nobody finishes.
   These blocks alternate the eye between reading and looking: text beside an
   image, a tinted band to mark a change of subject, a figure that holds still
   while the words move over it.

   Every block carries its own reason. Nothing here exists to fill space, and a
   page uses the three or four it needs rather than all of them.
   =========================================================================== */

/* --- measure -------------------------------------------------------------- */
/* 60-70 characters is where reading speed peaks. Prose is capped there even in
   a wide container, because a full-width line on a 1440px screen is the single
   most common reason long copy goes unread. */
.prose{max-width:38rem}
.prose p{margin-bottom:1.1rem}
.prose p:last-child{margin-bottom:0}
.prose h3{margin:1.9rem 0 .7rem;font-size:1.3rem;text-transform:none;letter-spacing:-.01em}
.prose h3:first-child{margin-top:0}
.prose ul{margin:1rem 0 1.2rem;padding:0;list-style:none}
.prose ul li{position:relative;padding-left:1.5rem;margin-bottom:.55rem;line-height:1.6}
.prose ul li::before{content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;
  border-radius:50%;background:var(--orange)}

/* --- split: text one side, picture the other ------------------------------ */
.split{display:grid;gap:2.2rem;align-items:center}
@media (min-width:900px){
  .split{grid-template-columns:1fr 1fr;gap:4rem}
  /* A split whose photograph has not arrived: the copy takes the full width
     rather than leaving half an empty grid row. */
  .split.solo{grid-template-columns:1fr}
  .split.wide-img{grid-template-columns:1fr 1.25fr}
  /* Alternating sides is what stops a page of these reading as a list. */
  .split.flip > .split-media{order:2}
  .split.flip > .split-copy{order:1}
}
.split-media{position:relative}
/* The slot below reserves a 4/3 box; the real photograph must reserve the same
   one or the page shifts as it loads and the placeholder lies about the layout
   it is standing in for. Portrait originals are cropped to it by object-fit. */
.split-media img{width:100%;aspect-ratio:4/3;height:auto;max-height:30rem;object-fit:cover;
  border-radius:12px;box-shadow:var(--e2)}
/* A heading needs air under it or it reads as part of the paragraph. */
.split-copy h2,.split-copy h3{margin-bottom:.85rem;line-height:1.15}
.split-copy .eyebrow{font-family:Montserrat,sans-serif;font-weight:700;font-size:.75rem;
  letter-spacing:.17em;text-transform:uppercase;color:var(--orange-ink);margin-bottom:.6rem}

/* A caption earns its place when it says something the picture cannot —
   where, what, how long. Never "a beautiful kitchen". */
.split-media figcaption{margin-top:.7rem;font-size:.8125rem;color:var(--grey);line-height:1.5}

/* --- band: a tinted stripe that marks a change of subject ----------------- */
.band-soft{background:var(--sand);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.band-ink{background:var(--dark);color:#fff}
.band-ink p{color:rgba(255,255,255,.8)}
.band-ink h2,.band-ink h3{color:#fff}
.band-warm{background:linear-gradient(180deg,rgba(220,95,44,.08),rgba(220,95,44,.03));
  border-top:1px solid rgba(220,95,44,.18);border-bottom:1px solid rgba(220,95,44,.18)}

/* --- parallax: the picture holds still while the words move over it ------- */
/* background-attachment:fixed is janky on iOS and ignored on Android, so the
   movement is done with a transform on an inner layer, driven in classic.js and
   skipped entirely for anyone who asked for less motion. */
.para{position:relative;overflow:hidden;isolation:isolate}
.para-bg{position:absolute;inset:-12% 0;z-index:-2;will-change:transform}
.para-bg img{width:100%;height:100%;object-fit:cover}
/* The scrim is directional, and that is the whole point of it.
   It used to be a flat 78%-to-62% black across the full width, which made
   the text legible by dimming the photograph everywhere - including the
   half of the band with no text on it. On the dusk outdoor kitchen that
   meant the subject was showing at roughly a quarter strength to serve
   copy that occupies the left half.
   A directional gradient was tried first and abandoned, and the reason is
   worth keeping: THE BACKGROUND MOVES. It is a parallax, so a bright
   region - lit travertine, dusk sky - slides under the copy as you
   scroll. A gradient tuned until it measured 11:1 at one scroll offset
   measured 2.47:1 at another, and the failures landed at 1920, 1080,
   1000 and 768 while 1600, 1079, 900 and 820 passed, which is not a
   breakpoint pattern at all - it is the image arriving at a different
   place under the words.
   So the scrim is now light and even, and legibility is carried by
   .para-panel, which travels with the text and is therefore independent
   of what is behind it. The photograph gets to be bright.
   Standard material, not glass: glass.css follows Apple in keeping
   Liquid Glass to the floating navigation and controls and giving the
   content layer tint and shadow instead. A parallax band is content.

   The band has a MINIMUM HEIGHT and the panel a tight maximum width, and
   both exist for the same reason. Sky, 2026-11-07: "That black box covers
   up the whole beautiful image." It did. The band's height was driven
   entirely by its copy, so two paragraphs produced a 38rem panel over a
   537px band - the box was most of what you saw. Cutting the copy alone
   would have made the band shorter still and shown even less photograph,
   so the height is set here instead of being a side effect of how much
   someone wrote, and the panel is capped at a width that cannot grow
   across the frame. */
.para{min-height:30rem}
@media (min-width:768px){ .para{min-height:34rem} }
@media (min-width:1200px){ .para{min-height:38rem} }
.para .wrap{display:flex;align-items:center}
.para::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(14,15,17,.34),rgba(14,15,17,.26))}
.para-panel{
  max-width:25rem;padding:1.7rem 1.9rem 1.8rem;border-radius:14px;
  background:rgba(13,14,17,.86);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 18px 46px -14px rgba(0,0,0,.6);
}
.para-panel .prose p:last-child{margin-bottom:0}
@media (max-width:767px){
  .para-panel{max-width:none;padding:1.4rem 1.3rem 1.45rem;border-radius:12px}
}
.para .wrap{padding-top:5.5rem;padding-bottom:5.5rem;position:relative}
.para, .para h2, .para h3, .para p{color:#fff}
.para p{color:rgba(255,255,255,.86)}
@media (prefers-reduced-motion:reduce){ .para-bg{transform:none !important} }

/* --- work strip: three or four examples, not a gallery dump --------------- */
.work{display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(13rem,1fr));margin-top:1.6rem}
/* Five division vehicles, and the row only reads as proof when all five are
   on it. auto-fit happens to give five at the current wrap width; this says
   so rather than trusting the arithmetic to stay true if the wrap changes. */
@media (min-width:1000px){.work-5{grid-template-columns:repeat(5,1fr)}}
/* Cap the tile, not the column. The grid is repeat(auto-fit,minmax(13rem,1fr)),
   which is right for a full strip of four - but with ONE real photograph that
   single 1fr column takes the whole 1163px container and blows a phone-sized
   photo up threefold. Capping the figure leaves the four-up layout untouched
   (its columns are ~279px, well under the cap) and makes a half-filled strip
   read as deliberate instead of broken. This matters now because the strips
   fill one photograph at a time, so every page passes through "exactly one". */
.work figure{margin:0 auto;max-width:22rem;width:100%;
  border-radius:10px;overflow:hidden;box-shadow:var(--e1);
  transition:box-shadow var(--norm) var(--ease),transform var(--norm) var(--ease)}
.work figure:hover{box-shadow:var(--e2);transform:translateY(-3px)}
.work img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.work figcaption{padding:.65rem .8rem;font-size:.78rem;color:var(--ink-soft);background:var(--white)}

/* --- image slot ----------------------------------------------------------- */
/* Deliberately loud. A placeholder that looks like a design decision is how a
   grey box ships to a client. Each one names the file it is waiting for and
   what the photo should show, so finding it is a lookup rather than a guess. */
.slot{position:relative;display:grid;place-items:center;text-align:center;
  aspect-ratio:4/3;border-radius:12px;padding:1.2rem;
  background:repeating-linear-gradient(45deg,#f3eee9 0 14px,#ece5de 14px 28px);
  border:2px dashed var(--orange);color:var(--ink-soft)}
.split-media .slot{aspect-ratio:4/3;max-height:30rem}
/* The slot label is dark on the sand fill; the dashed orange border is
   what marks it, and orange at 11.5px measures 3.5:1 on that fill. */
.slot b{display:block;font-family:Montserrat,sans-serif;font-size:.72rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink);margin-bottom:.4rem}
.slot code{font-family:inherit;font-size:.8125rem;font-weight:600;color:var(--ink);
  display:block;margin-bottom:.35rem;word-break:break-all}
.slot span{font-size:.78rem;line-height:1.45;max-width:22rem;display:block}

/* --- proof: the credibility element every page must carry ----------------- */
.proof{display:flex;gap:1.1rem;align-items:flex-start;padding:1.2rem 1.4rem;border-radius:12px;
  background:var(--white);box-shadow:var(--e1);border-left:3px solid var(--orange)}
.proof .stars{margin-bottom:.45rem}
.proof blockquote{margin:0;font-size:1rem;line-height:1.6;color:var(--ink)}
.proof cite{display:block;margin-top:.6rem;font-style:normal;font-size:.8125rem;color:var(--grey)}
.proof cite b{color:var(--ink);font-weight:700;font-style:normal}
.band-ink .proof{background:var(--dark-2);box-shadow:var(--e1-dark)}
.band-ink .proof blockquote{color:#fff}

/* --- FAQ ------------------------------------------------------------------ */
.faq{margin-top:1.4rem;display:grid;gap:.7rem}
.faq details{background:var(--white);border:1px solid var(--line);border-radius:10px;
  box-shadow:var(--e1);overflow:hidden}
.faq summary{cursor:pointer;list-style:none;padding:1rem 1.2rem;font-family:Montserrat,sans-serif;
  font-weight:700;font-size:.9375rem;color:var(--ink);display:flex;justify-content:space-between;gap:1rem}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--orange-ink);font-size:1.2rem;line-height:1;flex:none}
.faq details[open] summary::after{content:"\2212"}
.faq .faq-a{padding:0 1.2rem 1.1rem;font-size:.9375rem;line-height:1.65;color:var(--ink-soft)}

/* --- inline CTA ----------------------------------------------------------- */
/* The second phone number on a long page. Not a banner — a sentence with a
   number in it, where someone has just finished reading a reason to call. */
.inline-cta{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.4rem;
  padding:1.3rem 1.5rem;border-radius:12px;margin:2rem 0;
  background:linear-gradient(180deg,rgba(220,95,44,.10),rgba(220,95,44,.04));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6), var(--e1)}
.inline-cta p{margin:0;font-size:1rem;flex:1 1 18rem;line-height:1.5}
.inline-cta b{font-family:Montserrat,sans-serif}

/* --- silo links ----------------------------------------------------------- */
/* A service page that links nowhere is a dead end — it passes no authority to
   its hub and makes a reader go back to the nav for the next thing. */
.silo{list-style:none;margin:1.4rem 0 0;padding:0;display:grid;gap:.8rem;
  grid-template-columns:repeat(auto-fit,minmax(16rem,1fr))}
.silo li{background:var(--white);border:1px solid var(--line);border-radius:10px;
  box-shadow:var(--e1);transition:box-shadow var(--norm) var(--ease),transform var(--norm) var(--ease)}
.silo li:hover{box-shadow:var(--e2);transform:translateY(-3px)}
.silo a{display:block;padding:1rem 1.1rem .3rem;font-family:Montserrat,sans-serif;
  font-weight:700;font-size:1rem;color:var(--ink)}
.silo a::after{content:" \2192";color:var(--orange-ink)}
.silo li:hover a{color:var(--orange-ink)}
.silo span{display:block;padding:0 1.1rem 1rem;font-size:.85rem;color:var(--ink-soft);line-height:1.5}
.silo-up{margin-top:1.2rem;font-size:.9375rem;color:var(--grey)}
.silo-up a{color:var(--orange-ink);font-weight:600}

/* --- hero slot ------------------------------------------------------------
   A page hero whose photograph has not arrived. The image layer stays empty
   so the headline reads against the dark panel as designed; this badge names
   the file the page is waiting for. It never ships to a live page without the
   placeholder report in build.sh calling it out first. */
.phero-slot{position:absolute;top:1rem;right:1rem;z-index:3;max-width:17rem;
  padding:.7rem .85rem;border:1px dashed var(--orange);border-radius:.5rem;
  background:rgba(10,11,13,.72);text-align:left}
.phero-slot b{display:block;font-family:Montserrat,sans-serif;font-size:.62rem;
  letter-spacing:.16em;text-transform:uppercase;color:var(--orange-ink)}
.phero-slot code{display:block;margin:.3rem 0;font-family:inherit;
  font-size:.72rem;font-weight:600;color:#fff;word-break:break-all}
.phero-slot span{display:block;font-size:.7rem;line-height:1.45;
  color:rgba(255,255,255,.78)}

/* --- page lede ------------------------------------------------------------
   The opening of a service page: the lead claim large on the left, the rest
   of the argument and the credentials that back it alongside. Replaces a
   single 38rem column of prose sitting alone on white. */
.lede{display:grid;grid-template-columns:1.05fr .95fr;gap:3.5rem;align-items:start}
.lede-lead p{font-size:clamp(1.15rem,1.7vw,1.4rem);line-height:1.55;color:var(--ink)}
.lede-lead p strong{font-weight:700}
.lede-lead p+p{margin-top:1.1rem}
.lede-rest .prose{max-width:none}
.sec-lede{padding-bottom:4rem}

.creds{list-style:none;margin:2.25rem 0 0;padding:1.5rem 0 0;display:grid;
  grid-template-columns:repeat(2,1fr);gap:1.4rem 1.75rem;
  border-top:1px solid var(--line)}
.creds li{display:flex;gap:.75rem;align-items:baseline}
/* Montserrat 800, the display face this theme actually loads. This said
   Syne, which is DIDM's own brand font and is not in this theme at all -
   so the credential numbers fell back to the system sans and did not
   match anything else on the page. */
.creds b{font-family:Montserrat,sans-serif;font-weight:800;font-size:1.6rem;
  line-height:1;color:var(--orange-ink);font-variant-numeric:tabular-nums}
.creds span{font-size:.84rem;line-height:1.35;color:var(--ink-soft)}

@media (max-width:860px){
  .lede{grid-template-columns:1fr;gap:2.25rem}
  .creds{grid-template-columns:1fr 1fr}
}

/* Date line at the head of a legal page. */
.note-date{font-size:.82rem;letter-spacing:.04em;text-transform:uppercase;
  color:var(--ink-soft);margin-bottom:2rem}

/* --- mobile corrections ---------------------------------------------------
   The hero slot badge is absolutely positioned top-right at 17rem wide. On a
   390px screen that lands on top of the eyebrow above the H1, which is what a
   visitor sees first on the nine pages still waiting for a hero photograph. */
@media (max-width:640px){
  .phero-slot{position:static;margin:1.25rem 1.5rem 0;max-width:none}
}

/* A work strip of four stacked 250px boxes is a long scroll past nothing.
   Two up reads as a grid and halves the run. */
@media (max-width:640px){
  .work{grid-template-columns:repeat(2,1fr);gap:.75rem}
  .work figcaption{font-size:.72rem;padding:.5rem .6rem}
}

/* An open FAQ answer ran the full 1168px - about 160 characters a line, while
   every other prose block on the site is capped at 38rem. */
.faq-a,.faq [class*="ans"],.faq details>div,.faq details>p{max-width:48rem}

/* --- showroom note --------------------------------------------------------
   Sits on the pages where a client is choosing finishes. Quiet on purpose:
   it is a small showroom and the page should not oversell it. */
.showroom{display:flex;gap:1.1rem;align-items:flex-start;margin-top:2.5rem;
  padding:1.5rem 1.6rem;border-radius:10px;background:var(--sand);
  border-left:4px solid var(--orange);box-shadow:var(--e1)}
.showroom p{margin:0}
.showroom p+p{margin-top:.7rem}
.showroom-eyebrow{font-family:Montserrat,sans-serif;font-weight:700;
  font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;
  color:var(--orange-ink);margin-bottom:.5rem}
.showroom-ask{font-size:.9375rem;color:var(--ink-soft)}

/* ===========================================================================
   Elevation — one shadow scale for every box and button
   ---------------------------------------------------------------------------
   Before this there were five unrelated shadow values across the stylesheet.
   Three rules make the difference between depth and smudge:

   1. Two layers, never one. A tight contact shadow says the object is near the
      surface; a wide ambient one says there is light in the room. A single
      blurred shadow reads as a sticker.
   2. Tinted, not black. Pure black over a warm sand background goes muddy, so
      the shadow is their own ink (#15161a) at low alpha.
   3. Dark sections need their own values. A black shadow on a near-black panel
      is invisible, so there the shadow deepens AND a light top rim draws the
      edge instead.
   =========================================================================== */

:root{
  /* resting: cards, steps, reviews, gallery figures */
  --e1:
    0 1px 2px rgba(21,22,26,.06),
    0 6px 16px -6px rgba(21,22,26,.14);
  /* raised: hover, and anything that should sit above its neighbours */
  --e2:
    0 2px 4px rgba(21,22,26,.08),
    0 14px 34px -10px rgba(21,22,26,.22);
  /* floating: fixed elements with the page running beneath them */
  --e3:
    0 4px 10px rgba(21,22,26,.12),
    0 24px 56px -14px rgba(21,22,26,.34);

  /* On dark panels the shadow cannot be seen, so the edge is drawn with light
     from above and the shadow only deepens the gap beneath. */
  --e1-dark:
    inset 0 1px 0 rgba(255,255,255,.07),
    0 2px 10px rgba(0,0,0,.4);
  --e2-dark:
    inset 0 1px 0 rgba(255,255,255,.12),
    0 16px 40px -12px rgba(0,0,0,.65);

  /* Buttons sit lower than cards — they are part of the surface, not floating
     above it — and compress when pressed. */
  --e-btn:
    0 1px 2px rgba(21,22,26,.10),
    0 4px 12px -4px rgba(21,22,26,.26);
  --e-btn-press:
    0 1px 1px rgba(21,22,26,.14),
    0 2px 5px -3px rgba(21,22,26,.3);
}

/* --- boxes --------------------------------------------------------------- */

.step,
.rev,
.area,
.gal figure,
.tri,
.award{
  box-shadow:var(--e1);
  transition:box-shadow var(--norm) var(--ease), transform var(--norm) var(--ease);
}
.step:hover,
.area:hover,
.gal figure:hover,
.award:hover{ box-shadow:var(--e2) }

/* Dark sections: the same elements, drawn with light instead of shadow. */
.sec-dark .step,
.sec-dark .area,
.sec-dark .tri,
.sec-dark .rev{ box-shadow:var(--e1-dark) }
.sec-dark .step:hover,
.sec-dark .area:hover{ box-shadow:var(--e2-dark) }

/* The service cards already carried their own pair; put them on the scale so
   there is one place to change it. */
.svc a{ box-shadow:var(--e2) }
.svc a:hover{ box-shadow:var(--e3) }

/* Gallery figures crop their image, so the shadow needs the same radius or it
   leaks out of the corners. */
.gal figure{ border-radius:4px }

/* --- buttons ------------------------------------------------------------- */
/* Every button, including the ones that are links. Transform is already in the
   .b transition, so only the shadow is added here. */

.b{
  box-shadow:var(--e-btn);
  transition:background-color var(--norm) var(--ease),color var(--norm) var(--ease),
             transform var(--norm) var(--ease),border-color var(--norm) var(--ease),
             box-shadow var(--norm) var(--ease);
}
.b:hover{ box-shadow:var(--e2) }
.b:active{ box-shadow:var(--e-btn-press); transform:translateY(1px) }

/* Ghost and outline buttons are meant to recede, so they get the contact layer
   only — a full shadow would make them compete with the primary action. */
.b.ghost,
.b.outline{ box-shadow:0 1px 2px rgba(21,22,26,.08) }
.b.ghost:hover,
.b.outline:hover{ box-shadow:var(--e-btn) }

/* Form controls: inset, because an input is a hole in the surface rather than
   an object on top of it. */
.frm input,
.frm select,
.frm textarea{
  box-shadow:inset 0 1px 2px rgba(21,22,26,.10);
  transition:box-shadow var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.frm input:focus,
.frm select:focus,
.frm textarea:focus{
  box-shadow:inset 0 1px 2px rgba(21,22,26,.06), 0 0 0 3px rgba(220,95,44,.26);
}

/* --- floating ------------------------------------------------------------ */
.fab{ box-shadow:var(--e3) }
.actionbar{ box-shadow:0 -4px 10px rgba(21,22,26,.12), 0 -20px 48px -14px rgba(0,0,0,.5) }

@media (prefers-reduced-motion: reduce){
  .step,.rev,.area,.gal figure,.tri,.award,.b{transition:none}
  .b:active{transform:none}
}

/* ===========================================================================
   Liquid Glass - functional layer only
   ---------------------------------------------------------------------------
   Apple's Human Interface Guidelines, "Materials" (read 2026-10-30), is
   stricter than most second-hand writing about Liquid Glass:

     "Don't use Liquid Glass in the content layer. ... including it in the
      content layer can result in unnecessary complexity and a confusing
      visual hierarchy. Instead, use standard materials for elements in the
      content layer."

     "Use Liquid Glass effects sparingly. ... overusing this material in
      multiple custom controls can provide a subpar user experience by
      distracting from that content. Limit these effects to the most important
      functional elements."

   Glass is therefore only for things that FLOAT ABOVE content - navigation and
   controls. On this site that is three surfaces: the sticky header, the mobile
   action bar, and the estimate form. Review cards, trust badges and callouts
   are content and use standard materials - tint and shadow, no backdrop-filter.

   Apple's two variants, both used:
     regular - blurs AND adjusts background luminosity to protect legibility,
               for components carrying significant text. The header uses this;
               its .85 tint floor IS the luminosity adjustment.
     clear   - highly translucent, for components over photos or video. Apple:
               "If the underlying content is bright, consider adding a dark
               dimming layer of 35% opacity."

   No new colors: every tint derives from their own #dc5f2c and #15161a.
   =========================================================================== */

:root{
  /* Surfaces: what the glass is made of. */
  --g-tint-light: rgba(255,255,255,.62);
  --g-tint-dark:  rgba(21,22,26,.52);
  /* The header crosses sections we do not control, so its tint needs a floor
     rather than a nice value: at .85 white text clears 11.5:1 even over a white
     section, and it still reads as glass over photography. Panels that sit on
     known-dark imagery keep the lighter tint above. */
  --g-tint-nav:   rgba(21,22,26,.85);
  --g-tint-warm:  rgba(220,95,44,.14);   /* their orange, barely there */
  --g-blur: 22px;
  --g-sat: 1.7;

  /* The rim. A glass edge is bright at the top and dim at the bottom,
     because light comes from above. One value for each. */
  --g-rim-top: rgba(255,255,255,.72);
  --g-rim-bot: rgba(255,255,255,.10);
  --g-rim-top-dark: rgba(255,255,255,.26);
  --g-rim-bot-dark: rgba(255,255,255,.05);

  /* Depth. Two shadows: a tight contact shadow and a wide ambient one.
     A single shadow reads as a sticker; two read as an object above a surface. */
  --g-shadow:
    0 1px 2px rgba(21,22,26,.07),
    0 10px 30px -8px rgba(21,22,26,.16);
  --g-shadow-lift:
    0 2px 6px rgba(21,22,26,.09),
    0 22px 50px -12px rgba(21,22,26,.26);
}

/* --- the material ------------------------------------------------------- */

.glass{
  position:relative;
  background:var(--g-tint-light);
  -webkit-backdrop-filter:blur(var(--g-blur)) saturate(var(--g-sat));
  backdrop-filter:blur(var(--g-blur)) saturate(var(--g-sat));
  border:1px solid transparent;
  border-radius:14px;
  box-shadow:
    inset 0 1px 0 var(--g-rim-top),
    inset 0 -1px 0 var(--g-rim-bot),
    var(--g-shadow);
  transition:box-shadow var(--norm) var(--ease), transform var(--norm) var(--ease);
}

/* The dark variant of the regular material. It used to carry a tint and a
   shadow and no backdrop-filter at all, which meant anything wearing only
   this class was not glass: page copy read straight through it, sharp, at a
   52% tint. Apple's regular material blurs what is behind it as well as
   adjusting luminosity, and that blur is what makes text on top legible. */
.glass-dark{
  background:var(--g-tint-dark);
  -webkit-backdrop-filter:blur(var(--g-blur)) saturate(var(--g-sat));
  backdrop-filter:blur(var(--g-blur)) saturate(var(--g-sat));
  box-shadow:
    inset 0 1px 0 var(--g-rim-top-dark),
    inset 0 -1px 0 var(--g-rim-bot-dark),
    var(--g-shadow);
  color:#fff;
}

/* Apple's clear variant, for a panel over photography. The dimming layer is
   their 35% figure and is what stops bright imagery eating the text. */
.glass-clear{
  background:rgba(21,22,26,.35);
  -webkit-backdrop-filter:blur(16px) saturate(1.5);
  backdrop-filter:blur(16px) saturate(1.5);
}

.glass-warm{ background:linear-gradient(180deg,var(--g-tint-warm),rgba(220,95,44,.06)); }

/* The specular sweep. Apple's highlight responds to geometry; a static page
   has no gyroscope, so it responds to the pointer instead — and to nothing at
   all when the pointer never comes. Kept as a pseudo-element so it composites
   on its own layer and never repaints the blur underneath. */
.glass::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  /* --mx/--my are set by the pointer handler in classic.js and default to the
     top-centre light source when it never runs. */
  background:
    radial-gradient(60% 50% at var(--mx,50%) var(--my,-20%), rgba(255,255,255,.5), transparent 70%),
    radial-gradient(120% 80% at 50% -20%, rgba(255,255,255,.45), transparent 60%);
  opacity:.9;
  transition:opacity var(--norm) var(--ease);
}
.glass-dark::after{
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(255,255,255,.16), transparent 60%);
}

.glass-hover:hover{
  transform:translateY(-3px);
  box-shadow:
    inset 0 1px 0 var(--g-rim-top),
    inset 0 -1px 0 var(--g-rim-bot),
    var(--g-shadow-lift);
}
.glass-hover:hover::after{ opacity:1 }

/* --- lensing (Chromium only, enhancement) -------------------------------- */
/* feDisplacementMap reads red for horizontal shift and green for vertical, so
   the map in footer.php is a radial gradient that pushes edges inward — which
   is what makes a panel look like it has thickness rather than being a hole. */
@supports (backdrop-filter: url(#tc-lens)){
  .glass-lens{
    -webkit-backdrop-filter:url(#tc-lens) blur(var(--g-blur)) saturate(var(--g-sat));
    backdrop-filter:url(#tc-lens) blur(var(--g-blur)) saturate(var(--g-sat));
  }
}

/* --- highlighted text ---------------------------------------------------- */
/* "Highlight important text in boxes" — three weights, so everything is not
   shouting at once. */

.keynote{
  position:relative;
  padding:1.15rem 1.35rem 1.15rem 1.6rem;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(220,95,44,.10), rgba(220,95,44,.04));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6), var(--g-shadow);
  font-size:1.0625rem;
  line-height:1.6;
}
.keynote::before{
  content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;
  background:linear-gradient(180deg,var(--orange),var(--orange-dark));
}
.keynote b,.keynote strong{color:var(--orange-dark)}

.statement{                       /* the one line per page that must land */
  font-family:Montserrat,sans-serif;
  font-weight:800;
  font-size:clamp(1.25rem,2.4vw,1.75rem);
  line-height:1.3;
  letter-spacing:-.01em;
}

mark.hl{                          /* inline, inside a sentence */
  background:linear-gradient(180deg,transparent 58%, rgba(220,95,44,.26) 58%);
  color:inherit;padding:0 .12em;border-radius:2px;
}

/* --- reveals ------------------------------------------------------------- */
/* The slide-in Sky approved earlier: travel plus a blur that resolves, which is
   what separates it from a plain fade. Stagger is set per item in classic.js.

   Every rule here is scoped to html.js, set by an inline script in <head>.
   classic.js is enqueued in the footer, so without this an element starts at
   opacity 0 and only JS brings it back - and if the script does not run, a
   third of every page is simply invisible. No JS now means no hiding. */

.js .rise{
  opacity:0;
  transform:translate3d(0,26px,0);
  filter:blur(7px);
  transition:
    opacity 760ms var(--ease),
    transform 760ms var(--ease),
    filter 760ms var(--ease);
  will-change:opacity,transform,filter;
}
.js .rise.in{opacity:1;transform:none;filter:none;will-change:auto}
/* The safety net. If classic.js never runs, the head script adds this
   after 2.2 seconds and everything that was waiting to be revealed simply
   appears. Content must never be permanently invisible because one script
   did not load. */
.reveal-all .rise,.reveal-all .up{opacity:1;transform:none;filter:none;
  transition:opacity 420ms var(--ease);will-change:auto}
.js .rise-l{transform:translate3d(-26px,0,0)}
.js .rise-r{transform:translate3d(26px,0,0)}

/* --- honest fallbacks ---------------------------------------------------- */

/* Someone who has asked for less transparency gets a solid panel. The design
   still works; it just stops being glass. */
@media (prefers-reduced-transparency: reduce){
  .glass{background:var(--white);-webkit-backdrop-filter:none;backdrop-filter:none}
  .glass-dark{background:var(--dark-2);-webkit-backdrop-filter:none;backdrop-filter:none}
  .glass::after{display:none}
}

/* The horizontal reveals travel 26px sideways before they land. On a desktop
   the page gutter absorbs that; at 390px it pushes the document 2px wider than
   the viewport and the whole page scrolls sideways until the element reveals.
   Below the breakpoint they travel vertically instead, which looks the same
   on a narrow screen and cannot overflow. */
@media (max-width:1080px){
  .js .rise-l,.js .rise-r{transform:translate3d(0,26px,0)}
}

@media (prefers-reduced-motion: reduce){
  .js .rise{opacity:1;transform:none;filter:none;transition:none}
  .glass,.glass-hover:hover{transition:none;transform:none}
}

/* Backdrop-filter is the most expensive thing on the page. Below the fold on a
   phone it buys very little and costs scroll smoothness, so the blur is halved
   rather than the effect dropped. */
@media (max-width:640px){
  :root{--g-blur:14px}
}

/* No backdrop-filter at all (older Firefox): the tints go opaque so text keeps
   its contrast instead of sitting on whatever is behind it. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .glass{background:rgba(255,255,255,.96)}
  .glass-dark{background:rgba(21,22,26,.94)}
}

/* --- the header ---------------------------------------------------------- */
/* Solid at rest, glass once the page has moved under it. The transition is on
   background and shadow only — never on backdrop-filter, which would re-run the
   blur every frame. */
.hdr{transition:background var(--norm) var(--ease), box-shadow var(--norm) var(--ease)}
.hdr.stuck{
  background:var(--g-tint-nav);
  -webkit-backdrop-filter:blur(var(--g-blur)) saturate(var(--g-sat));
  backdrop-filter:blur(var(--g-blur)) saturate(var(--g-sat));
  box-shadow:
    inset 0 -1px 0 var(--g-rim-top-dark),
    0 8px 30px -8px rgba(0,0,0,.45);
}
/* Deliberately NO lens on the header. The SVG filter re-rasterises whenever its
   backdrop changes, which for a sticky bar is every scroll frame - measured at
   over 600ms to settle in headless Chromium. It is the most expensive place to
   put it and the least visible, since an 88px bar shows almost no refraction.
   The lens stays on the estimate form, which is static and sits over a photo
   where the effect actually reads. */
@media (prefers-reduced-transparency: reduce){
  .hdr.stuck{background:var(--dark);-webkit-backdrop-filter:none;backdrop-filter:none}
}

/* --- the Services dropdown ------------------------------------------------ */
/* The fourth glass surface, and it qualifies on the same test as the other
   three: it floats above content and it is navigation, not content. Same tint
   and blur as the stuck header, so the two read as one material when the
   panel is open over a scrolled page. base.css carries the solid --dark-2
   fallback, which is what a browser without backdrop-filter keeps. */
/* Only while it is open. A backdrop-filter promotes its element to its own
   compositing layer whether or not anything can see it, and this panel is
   hidden on every one of forty pages until somebody points at Services -
   which would be a layer per page bought for a few hundred milliseconds of
   menu. Hanging it off the same :hover/:focus-within that reveals the panel
   costs one rasterisation at the moment it opens and nothing before that. */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))){
  .nav-has-sub:hover>.nav-sub,
  .nav-has-sub:focus-within>.nav-sub{
    background:var(--g-tint-nav);
    -webkit-backdrop-filter:blur(14px) saturate(var(--g-sat));
    backdrop-filter:blur(14px) saturate(var(--g-sat));
    border-color:var(--g-rim-top-dark);
    box-shadow:
      inset 0 1px 0 var(--g-rim-top-dark),
      0 18px 44px -12px rgba(0,0,0,.6);
  }
  /* ...except the mega panel, which stays opaque. Its column headings are
     the brand orange at 11px, and 4.5:1 against a tint that changes with
     whatever photograph is behind it is not a contrast ratio, it is a
     coin toss - measured 3.37:1 over a pale hero and 4.47:1 over a dark
     one, both failing AA. An opaque panel makes the backdrop a constant
     and the headings pass everywhere. The brand orange is the client's
     and is not ours to lighten. */
  .nav-has-sub:hover>.nav-mega,
  .nav-has-sub:focus-within>.nav-mega{
    background:var(--dark-2);
    -webkit-backdrop-filter:none;backdrop-filter:none;
  }
}
@media (prefers-reduced-transparency: reduce){
  .nav-has-sub:hover>.nav-sub,
  .nav-has-sub:focus-within>.nav-sub{
    background:var(--dark-2);-webkit-backdrop-filter:none;backdrop-filter:none}
}
/* The stacked mobile nav is not a floating panel - it is the nav itself, with
   the children indented under their parent. No material there. */
@media (max-width:1080px){
  .nav-sub,
  .nav-has-sub:hover>.nav-sub,
  .nav-has-sub:focus-within>.nav-sub{
    background:none;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none}
}

/* --- callouts: standard material, deliberately NOT glass ----------------- */
/* "Important text in boxes" lands on every .note that already exists. These sit
   in the content layer, so per Apple they get a standard material - tint, rim
   and shadow, no backdrop-filter. They read as raised paper rather than glass,
   which is also what keeps the three real glass surfaces feeling like
   something. */
.note{
  border-left:0;
  position:relative;
  padding:1.15rem 1.35rem 1.15rem 1.65rem;
  border-radius:12px;
  background:linear-gradient(180deg, rgba(220,95,44,.10), rgba(220,95,44,.035));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65), var(--g-shadow);
}
.note::before{
  content:"";position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:3px;
  background:linear-gradient(180deg,var(--orange),var(--orange-dark));
}
.sec-dark .note{
  background:linear-gradient(180deg, rgba(220,95,44,.18), rgba(220,95,44,.07));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), var(--g-shadow);
}
.warn{ border:0; position:relative;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6), var(--g-shadow); }
