/*
Theme Name: H2O Damage Pros
Theme URI: https://h2odamagepros.com/
Author: Wright Building Systems
Author URI: https://www.wrightbuildingsystems.com/
Description: Classic (PHP) theme for H2O Damage Pros, the commercial disaster restoration division of Wright Building Systems. Shares the WBS design system: ink and concrete sections, Barlow Condensed display type, a single red accent, square corners. Water, fire and storm restoration taken from emergency response through full reconstruction.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: h2o
*/

/* =========================================================================
   Design tokens. Identical palette to the Wright Building Systems site.
   One accent only: red #FB1D1D.
   ========================================================================= */
:root{
  --ink:#15181C;
  --steel:#1B2026;
  --slate:#5B626C;
  --line:#D9DCE0;
  --concrete:#EEEFF0;
  --white:#FFFFFF;
  --red:#FB1D1D;

  --display:'Barlow Condensed','Arial Narrow',Helvetica,sans-serif;
  --body:'Archivo','Helvetica Neue',Arial,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;

  --gutter:clamp(26px,5vw,64px);
  --maxw:1280px;
}

*{box-sizing:border-box}
/* Browsers give <figure> a default "margin:1em 40px". Every photo frame on the
   site is a <figure>, so without this each one loses 80px of width and sits a
   line lower than its column. */
figure{margin:0}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--white);
  color:var(--ink);
  font-family:var(--body);
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto}
::selection{background:var(--red);color:#fff}
a:focus{outline:none}
a:focus-visible,button:focus-visible{
  outline:2px solid var(--red);outline-offset:3px
}

/* Skip link, visible only on keyboard focus. */
.skip{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--red);color:#fff;padding:12px 20px;
  font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;
}
.skip:focus{left:0}

/* =========================================================================
   Scroll reveal. `.h2o-anim` is set on <html> before first paint, so armed
   elements start invisible with no flash. JS adds `.h2o-in` as they enter.
   No-JS and reduced-motion never get the class, and a load failsafe un-arms
   everything if the script fails, so copy is never trapped invisible.
   ========================================================================= */
/* The selector list matches the Wright theme's exactly, and theme.js observes
   the same list. Arming only [data-reveal] was why this site felt static next
   to Wright: a page animated the handful of elements carrying the attribute
   and everything else, the hero copy included, simply appeared.

   Note h1 is deliberately absent, as it is on Wright. The page headline is
   the one thing that should be readable the instant the page paints.

   .hstrip and .svc-jumpbar contain only spans and anchors, so nothing here
   matches them; theme.js also filters them out. Both are navigation, and a
   nav that fades in underneath you is a nav you miss. */
.h2o-anim [data-reveal],
.h2o-anim section h2,
.h2o-anim section h3,
.h2o-anim section h4,
.h2o-anim section p,
.h2o-anim section ul,
.h2o-anim section ol{
  opacity:0;transform:translateY(26px);
  transition:opacity .65s ease,transform .7s cubic-bezier(.25,1,.5,1);
  will-change:opacity,transform;
}
.h2o-anim [data-reveal].h2o-in,
.h2o-anim section h2.h2o-in,
.h2o-anim section h3.h2o-in,
.h2o-anim section h4.h2o-in,
.h2o-anim section p.h2o-in,
.h2o-anim section ul.h2o-in,
.h2o-anim section ol.h2o-in{opacity:1;transform:none}
/* Anything inside a [data-reveal] container rides that container's single
   fade rather than running its own, so a card reveals as one object instead
   of its heading lagging a beat behind its body. */
.h2o-anim [data-reveal] h2,
.h2o-anim [data-reveal] h3,
.h2o-anim [data-reveal] h4,
.h2o-anim [data-reveal] p,
.h2o-anim [data-reveal] ul,
.h2o-anim [data-reveal] ol{opacity:1;transform:none;transition:none}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  /* The pseudo-elements are named too: * does not match them, and the red
     hover lines (.fhov::after, .bio-card::before, .wbs-mark::before) are
     drawn by them, so they kept animating under reduced motion. */
  *,*::before,*::after{transition:none !important;animation:none !important}
  .h2o-anim [data-reveal]{opacity:1 !important;transform:none !important}
}

/* =========================================================================
   Hero intro. A separate mechanism from the scroll reveal above, and this is
   the piece that was missing: a hero is above the fold on every load, so
   there is never anything to scroll it into view, and the reveal could only
   ever fade the whole block in at once. That single uniform fade is what
   made this hero read as flat next to Wright's.

   Wright runs staggered keyframes on load instead: eyebrow, then headline,
   then lede, then buttons, each a beat behind the last, and a beat after the
   headline has landed the red rule wipes in left to right under the key
   words. Same curve and the same delays here.

   The hero is therefore taken out of the scroll reveal below, rather than
   left to run both. Both would technically work, since an animation outranks
   a normal declaration in the cascade, but it would leave two systems
   claiming the same opacity with only the cascade keeping them apart.
   ========================================================================= */
@keyframes rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes wipe{from{background-size:0 .12em}to{background-size:100% .12em}}
/* Un-arm everything the reveal above arms, scoped to the hero, so the two
   never both own an element. The full selector list rather than just the
   ones a hero happens to contain today: theme.js no longer observes inside
   .hero, so anything left armed in here would never be given .h2o-in and
   would sit at opacity:0 for good. [data-reveal] is included for the same
   reason, and needs the extra class to outrank the bare .h2o-anim rule. */
.h2o-anim .hero [data-reveal],
.h2o-anim .hero h2,
.h2o-anim .hero h3,
.h2o-anim .hero h4,
.h2o-anim .hero p,
.h2o-anim .hero ul,
.h2o-anim .hero ol{opacity:1;transform:none;transition:none}
.hero .eyebrow{animation:rise .7s cubic-bezier(.22,.8,.3,1) .12s both}
.hero h1{animation:rise .8s cubic-bezier(.22,.8,.3,1) .34s both}
.hero .lede{animation:rise .8s cubic-bezier(.22,.8,.3,1) .46s both}
.hero .btns{animation:rise .8s cubic-bezier(.22,.8,.3,1) .58s both}
/* The wipe has to restate the height the static rule paints, or the keyframe
   animates background-size from 0 to its own value and the rule changes
   thickness as it draws. */
.hero h1 .ul-red{animation:wipe .6s ease 1.1s both}

/* =========================================================================
   Layout primitives
   ========================================================================= */
.wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
/* Wright's standard band is clamp(64px,7vw,104px). Ours ran taller, which
   read as padding rather than rhythm. */
.sec{padding:clamp(64px,7vw,104px) 0}
.sec-tight{padding:clamp(48px,5vw,84px) 0}
.sec-ink{background:var(--ink);color:#fff}
.sec-steel{background:var(--ink);color:#fff}
.sec-concrete{background:var(--concrete)}

/* Mono eyebrow with the 3px red tick, the WBS section signature. */
/* flex-wrap matters more than it looks. The text in an eyebrow is two anonymous
   flex items either side of the .num separator. Without wrapping they shrink
   instead of wrapping, so on a phone "Commercial Restoration . St. Louis Region"
   rendered as two ragged squeezed columns rather than two clean lines. */
.eyebrow{
  display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;
  font-family:var(--mono);font-weight:500;
  font-size:12px;letter-spacing:.16em;text-transform:uppercase;
  color:var(--red);margin:0 0 16px;
}
/* .hero is a dark surface too but is not a .sec-* section, so it has to be
   named in every dark override. Without it the hero eyebrow and lede inherit
   var(--slate) #5B626C on #15181C, about 1.8:1, which is nowhere near legible. */
.hero .eyebrow{color:#fff;letter-spacing:.18em;margin-bottom:22px}
/* The numeral is the quiet one. Wright sets it #71767E on light and #828A94
   on dark, with the label itself in red. */
.eyebrow .num{color:#71767E}
.sec-ink .eyebrow .num,.sec-steel .eyebrow .num,
.cta-band .eyebrow .num{color:#828A94}
.hero .eyebrow .num{color:#C3C9D0}
/* Keeps the separator with the phrase it introduces, so a wrap does not leave
   a lone middot at the end of the first line. */
.eyebrow .grp{display:inline-flex;align-items:center;gap:8px}
/* The Wright section eyebrow has no rule before it: the grey numeral and the
   12px gap do that job. The tick is kept in the markup across five templates,
   so it is switched off here rather than cut out of each one. Delete this rule
   to bring it back everywhere at once. */
.eyebrow .tick{display:none}

h1,h2,h3,h4{font-family:var(--display);font-weight:700;text-transform:uppercase;line-height:1.02;margin:0}
/* Headings carry fixed character caps, so at most widths the last word fell onto
   a line by itself: "Job", "Rebuild", "Here", "Stall". Balancing evens the lines
   out, and pretty does the same for the last line of a paragraph. Browsers
   without either just wrap as before. */
h1,h2,h3,h4{text-wrap:balance}
p,li,blockquote{text-wrap:pretty}
/* Wright's hero h1 exactly. Ours had been shrunk to fit a four-line
   headline into one viewport; the headline is three lines now and the
   height-stepped rules at the foot of this file still catch short screens. */
h1{font-size:clamp(46px,8.4vw,90px);line-height:1.03;letter-spacing:.005em}
h2{font-size:clamp(42px,4.2vw,52px);letter-spacing:.01em;margin:0 0 .4em}
h3{font-size:clamp(22px,2.1vw,26px)}
h4{font-size:clamp(17px,1.6vw,20px);letter-spacing:.02em}
/* Wright's section lede: slightly smaller, looser, and a darker grey than
   --slate. Ours was 20px at 1.6 in #5B626C, which read lighter and tighter
   than the same paragraph on that site. */
.lede{font-size:clamp(16px,1.6vw,19px);line-height:1.65;color:#3A414B;max-width:62ch}
.sec-ink .lede,.sec-steel .lede,.hero .lede,.cta-band .lede{color:#C3C9D0}
/* Deliberately removed. The Wright site uses no hr at all: the red tick in
   the eyebrow above a heading is the accent, and the heading's own margin
   does the separating. A 64px red bar under all thirteen headings was the
   most templated thing on this site. */

/* =========================================================================
   Buttons
   ========================================================================= */
/* Wright buttons are Barlow Condensed 700 at 17-18px with chunky padding and
   a 2px border. Mono at 12px read as a caption, not a call to action. */
/* Matched to Wright value for value. Two things were off and both came from
   the same omission: Wright trims the text box optically, this did not.
   Barlow Condensed carries deep ascender and descender leading, so without
   text-box-trim the label sits high in the button and the whole thing reads
   taller and top-heavy. The old padding was 13px top / 12px bottom, which was
   a workaround for exactly that rather than a fix, so it goes back to
   symmetric now the trim does the work. Browsers without text-box-trim simply
   ignore it and land where the old padding did. */
.btn{
  display:inline-flex;align-items:center;gap:10px;
  font-family:var(--display);font-weight:700;font-size:18px;
  letter-spacing:.04em;text-transform:uppercase;
  padding:13px 28px 12px;border:2px solid var(--red);border-radius:0;
  line-height:1.65;
  text-decoration:none;cursor:pointer;
  transition:all .16s;
}
.btn-primary{background:var(--red);color:#fff}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
/* The hero is dark but is not a .sec-ink section, so it has to be named here
   too. Without it the ghost button renders ink-on-ink and is invisible. */
/* Every dark surface has to be listed, not just the .sec-* ones. This has
   now caught .hero and .cta-band; add any new dark band here too. */
.sec-ink .btn-ghost,.sec-steel .btn-ghost,.hero .btn-ghost,.cta-band .btn-ghost{color:#fff;border-color:rgba(255,255,255,.38)}
/* Must stay below the dark-surface ghost rule. The specificity is equal, so
   source order decides: placed above it, a hovered ghost button filled red
   but kept its pale resting border. */
/* Every button fills red and lifts on hover: an outline button fills, an
   already-red one stays red and rises. Straight from the Wright rule. */
.btn:hover,.btn:focus-visible{
  background:var(--red);color:#fff;border-color:var(--red);
  transform:translateY(-2px);
}
/* Wright's arrows live on mono links, never on buttons, and the whole link
   label slides 6px on hover. */
.svc .go{display:inline-block;transition:transform .2s cubic-bezier(.25,1,.5,1)}
.svc:hover .go,.svc:focus-visible .go{transform:translateX(6px)}
.btns{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}

/* =========================================================================
   Header
   ========================================================================= */
.site-header{
  position:fixed;inset:0 0 auto 0;z-index:50;
  display:flex;align-items:center;justify-content:space-between;
  padding:16px var(--gutter);
  /* Strong enough to carry the nav over a bright photograph, not just over
     the dark hero it was first tuned against. */
  /* Matches the Wright header exactly. This top-down fade is the one place
     that identity uses a gradient in chrome; everything else is flat. */
  background:linear-gradient(180deg,rgba(15,18,22,.72),transparent);
  transition:background .25s,box-shadow .25s;
}
.site-header.stuck{background:var(--ink);box-shadow:0 1px 0 rgba(255,255,255,.08)}

/* ---- Brand mark ------------------------------------------------------
   The horizontal mark is entirely red, so it reads on ink, steel, concrete
   and white without a plate behind it. Checked on all four. */
.brand{display:inline-block;line-height:0;flex:none}
.brand img{display:block;height:48px;width:auto}
/* Width-driven, not height-driven, which is why this was squashed. The
   global img rule is max-width:100%; pinning height:60px against it meant
   that as soon as the footer column was narrower than the mark's natural
   342px, the width clamped while the height did not, and the logo lost
   about 12 per cent of its width at the layout's own breakpoints. Setting
   the width and letting height follow keeps the ratio at every size.

   325px is 60px tall at the dark mark's 2050x379. The all-red mark it
   replaced was 1999x351, so this number moves if the artwork does. */
.brand-foot img{width:325px;max-width:100%;height:auto;margin-bottom:16px}

/* Short CTA label swaps in on narrow phones. */
.cta-short{display:none}

.nav{
  display:flex;align-items:center;gap:28px;margin-left:auto;
  font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;
}
.nav a.nlink{
  color:#C3C9D0;text-decoration:none;padding:8px 0 11px;
  background:linear-gradient(#fff,#fff) left bottom 8px/0% 1px no-repeat;
  transition:background-size .22s ease,color .2s;
}
.nav a.nlink:hover,.nav a.nlink:focus-visible,.nav a.nlink[aria-current="page"]{
  color:#fff;background-size:100% 1px;
}
.nav a.nlink[aria-current="page"]{background-image:linear-gradient(var(--red),var(--red))}
.header-cta{
  margin-left:clamp(18px,2.6vw,34px);
  background:var(--red);color:#fff;text-decoration:none;
  padding:8.5px 18px 11.5px;border:2px solid var(--red);
  font-family:var(--mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;
  white-space:nowrap;transition:all .16s;
}
/* Wright has one hover for every button on the site, this one included: fill
   red, white type, rise 2px. An outline button fills; one that is already red
   stays red and just rises. This hollowed out to a red outline instead, which
   was the opposite move and the only control on either site that did it. */
.header-cta:hover,.header-cta:focus-visible{
  background:var(--red);color:#fff;border-color:var(--red);
  transform:translateY(-2px);
}

.navtoggle{
  display:none;background:none;border:0;cursor:pointer;
  width:44px;height:44px;padding:9px 7px;flex:none;
}
.navtoggle span{display:block;height:2px;background:#fff;margin:5px 0;transition:transform .2s,opacity .2s}
.navtoggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.navtoggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.navtoggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* =========================================================================
   Hero
   ========================================================================= */
.hero{
  position:relative;background:var(--ink);color:#fff;
  padding:clamp(140px,17vh,190px) 0 clamp(72px,9vw,110px);
  overflow:hidden;
}
.hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
  /* Hard-edged diagonal stripes only. The red radial glow had no basis in
     the Wright identity, which uses red as a solid: a rule, a tick, a fill. */
  background:repeating-linear-gradient(135deg,rgba(255,255,255,.016) 0 2px,transparent 2px 9px);
}
/* ---- Hero -------------------------------------------------------------
   Full-bleed photograph under one flat rgba fill, the way the Wright hero is
   built. No directional fade: this identity uses hard edges and solid red,
   and the only gradient it allows in chrome is the header. */
/* Sized to exactly one viewport, the way the Wright hero is: min-height
   100svh with the copy flex-centred, so the band never runs past the fold
   however tall the headline gets. min-height rather than height means it
   still grows if the copy genuinely needs more room. */
.hero-full{
  position:relative;overflow:hidden;padding:0;
  min-height:100vh;min-height:100svh;
  display:flex;align-items:center;
}
.hero-full .wrap{
  width:100%;
  padding-top:clamp(92px,11vh,128px);
  padding-bottom:clamp(92px,11vh,134px);
}
.hero-bg{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:58% 40%;z-index:0;
}
/* A backdrop with a phone cut is wrapped in <picture>. display:contents keeps
   the wrapper out of the band's layout so the img positions exactly as before. */
.hero-pic{display:contents}
/* Wright sits at .62 over darker construction photography. This frame is a
   bright room with a pale floor, so it needs more to hold white type. */
.hero-veil{position:absolute;inset:0;z-index:1;background:rgba(15,18,22,.7)}
.hero-full .wrap{position:relative;z-index:2}
/* Wright's measure, to the pixel. This had been widened to 1120px on the
   theory that a wider column bought fewer headline lines, which it did: it
   bought two, where Wright's hero sets three and reads as a block rather
   than a banner. The hero is the one place the two sites sit closest to
   each other, so the measure is the one that should not drift.

   The lede is still a line longer than Wright's, and that is copy length
   rather than CSS: 180 characters against Wright's 131 over the same 56ch.
   Cutting it to about 115 would give the hero Wright's exact 3-and-2, but
   that is a copy decision, not a styling one. */
.hero-copy{max-width:900px}
/* The hero lede is a size of its own on Wright: 17 to 21px in #D2D6DB over
   56ch, larger than a section lede rather than the same rule reused. */
.hero .lede{font-size:clamp(17px,2vw,21px);line-height:1.6;color:#D2D6DB}
.hero-full .lede{max-width:56ch}
/* Small type over photography gets a shadow rather than a heavier veil, so
   the image stays readable. Same approach as the Wright hero. */
.hero-full .eyebrow,.hero-full .hero-meta{text-shadow:0 1px 3px rgba(0,0,0,.85)}
.hero-meta{
  margin:22px 0 0;font-family:var(--mono);font-size:11.5px;
  letter-spacing:.14em;text-transform:uppercase;color:#C3C9D0;
}
/* The red rule under a key word, drawn as a solid background so it sits on
   the baseline rather than as a border. Straight from the Wright headline. */
.ul-red{
  background:linear-gradient(var(--red),var(--red)) left calc(100% - .06em)/100% .12em no-repeat;
  padding-bottom:.02em;
}

.hero .wrap{position:relative;z-index:2}
/* The measure is set by .hero-copy now. A 16ch cap here was overriding it
   and forcing the headline onto an extra line whatever the column width. */
.hero h1{max-width:none;margin:0 0 .3em}
.hero .lede{margin:0}
.hero .btns{margin-top:34px}
/* Red emphasis inside a heading, as on Wright's "Staying on both is the job". */
.em-red{color:var(--red)}

/* ---- Closing CTA ------------------------------------------------------
   A photograph under a flat veil with a 3px red rule on top, headline and
   buttons on one row with the headline pushing them right. This is the
   Wright closing section, not a centred block. */
.cta-band{position:relative;overflow:hidden;border-top:3px solid var(--red);color:#fff}
.cta-veil{position:absolute;inset:0;z-index:1;background:rgba(15,18,22,.84)}
.cta-band .wrap{position:relative;z-index:2}
.cta-band .hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
/* Services and About close on the homepage mission photograph (Eli,
   2026-11-10), wide cut on desktop and the tall SUV cut up to 640px, framed
   the same way .mission-band frames it. */
.cta-mission .hero-bg{object-position:30% 60%}
@media (max-width:640px){.cta-mission .hero-bg{object-position:50% 60%}}
.cta-row{display:flex;align-items:center;gap:16px 14px;flex-wrap:wrap}
.cta-row h2{margin:0 auto 0 0}
.cta-band .lede{color:#C3C9D0}
.cta-band .eyebrow{margin-bottom:22px}
/* Side by side the buttons sit beside the headline. Stacked, that same order put
   them between the headline and the paragraph that explains them. */
@media (max-width:860px){
  .cta-band .wrap{display:flex;flex-direction:column;align-items:stretch}
  .cta-row{display:contents}
  .cta-row h2{order:1;margin:0}
  .cta-band .lede{order:2;margin-top:14px !important}
  .cta-row .btns{order:3;margin-top:24px !important}
}

/* Credential strip, pinned inside the hero. Translucent over the photograph
   with a hairline above it, copied from the Wright hero strip. */
.hstrip{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  display:flex;border-top:1px solid rgba(255,255,255,.1);
  background:rgba(15,18,22,.42);backdrop-filter:blur(4px);
}
.hstrip > *{
  flex:1;text-align:center;white-space:nowrap;
  font-family:var(--mono);font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:#C3C9D0;padding:12px 18px;
}

/* ---- Hero scroll cue -------------------------------------------------
   Ported from Wright, values and all: mono 10px at .22em in #C3C9D0 over a
   9px chevron that bobs. Sits above the credential strip rather than at the
   very bottom, since the strip occupies that edge here.
   .22em is wider than the .1 to .16em this site uses everywhere else; that
   is Wright's value for this one element and it is what makes five letters
   read as a label rather than a word. */
.heroscroll{
  position:absolute;left:50%;bottom:62px;transform:translateX(-50%);z-index:3;
  color:#C3C9D0;font-family:var(--mono);font-size:10px;letter-spacing:.22em;
  display:flex;flex-direction:column;align-items:center;gap:9px;
  text-shadow:0 1px 3px rgba(0,0,0,.85);pointer-events:none;
}
.heroscroll i{
  display:block;width:9px;height:9px;
  border-right:1px solid #C3C9D0;border-bottom:1px solid #C3C9D0;
  transform:rotate(45deg);animation:bob 1.7s ease-in-out infinite;
}
@keyframes bob{
  0%,100%{transform:rotate(45deg) translate(0,0);opacity:.5}
  50%{transform:rotate(45deg) translate(3px,3px);opacity:1}
}
@media (max-width:860px){.heroscroll{display:none}}
/* On a short screen the content reaches the strip and the cue sat on the
   buttons (932x430). Nobody needs telling to scroll there anyway. */
@media (max-height:560px){.heroscroll{display:none}}

/* Trust strip under the hero. */
.trust{background:var(--steel);color:#fff;border-top:1px solid rgba(255,255,255,.08)}
/* Columns size to their content rather than four equal quarters. With equal
   columns the longest item wrapped to two lines while the other three sat on
   one, which read as a mistake. */
.trust ul{
  list-style:none;margin:0;padding:22px 0;
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px 34px;
}
.trust li{
  display:flex;align-items:center;gap:11px;
  font-family:var(--mono);font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:#C3C9D0;line-height:1.45;
}
.trust li .dot{width:7px;height:7px;background:var(--red);flex:none}

/* =========================================================================
   Cards and grids
   ========================================================================= */
.grid{display:grid;gap:22px}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}

.card{
  background:var(--white);border:1px solid var(--line);
  padding:30px 28px 32px;position:relative;
  transition:border-color .2s,transform .2s,box-shadow .2s;
}
.card:hover{border-color:var(--red);transform:translateY(-4px);box-shadow:0 18px 40px -22px rgba(21,24,28,.32)}
.card h3{margin-bottom:12px}
.card p{margin:0;color:var(--slate);font-size:16px}
.card .kicker{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;
  text-transform:uppercase;color:#5B626C;display:block;margin-bottom:14px;
}
.sec-ink .card,.sec-steel .card{background:rgba(255,255,255,.035);border-color:rgba(255,255,255,.14)}
.sec-ink .card p,.sec-steel .card p{color:#C3C9D0}
/* #5B626C is a light-surface grey. On a dark card it fell under 3:1. */
.sec-ink .card .kicker,.sec-steel .card .kicker{color:#9BA3AD}

/* Numbered process steps, built as the same card the services grid uses: a
   photograph, a numbered chip and the 3px red rule that wipes across on
   hover. They were four stacked bars with a red left edge, which is a
   pattern the Wright site does not have and which left no room for an
   image. */
.steps{counter-reset:step;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.steps li{
  counter-increment:step;position:relative;overflow:hidden;
  background:var(--steel);border:1px solid #2B313A;
  display:flex;flex-direction:column;
  transition:transform .2s,border-color .2s;
}
.steps li:hover{transform:translateY(-3px);border-color:rgba(255,255,255,.28)}
.steps li::after{
  content:"";position:absolute;top:0;left:0;height:3px;width:100%;z-index:2;
  background:var(--red);transform:scaleX(0);transform-origin:left center;
  transition:transform .4s cubic-bezier(.25,1,.5,1);
}
.steps li:hover::after{transform:scaleX(1)}
/* The numeral is a chip sitting on the photograph, not a margin note. Wright
   does the same on its capability cards. */
.steps li::before{
  content:counter(step,decimal-leading-zero);
  position:absolute;left:0;top:0;z-index:3;padding:8px 10px;line-height:1;
  background:var(--ink);color:#fff;
  font-family:var(--mono);font-size:10px;letter-spacing:.12em;
}
/* The numbered chip on a card photograph. */
.chip{
  position:absolute;left:0;top:0;z-index:3;padding:8px 10px;line-height:1;
  background:var(--ink);color:#fff;
  font-family:var(--mono);font-size:10px;letter-spacing:.12em;
}
/* min-height:0 so the 4:3 box is honoured in a narrow column instead of being
   stretched by the .ph floor. */
/* .ph is declared further down and carries min-height:220px, so this needs the
   extra class to win. Without it a narrow column stretches the box past 4:3. */
.steps .step-ph{aspect-ratio:4/3;min-height:0}
/* A real photograph in a step card. The figure carries its own aspect-ratio
   inline, so this only has to stop the flex parent stretching it. */
.steps .step-media{display:block;flex:none}
/* Pin the crop to the foot of the frame. Used where the subject sits low in a
   portrait source and a centred 4:3 crop would fill the tile with ceiling. */
.step-media-bottom .fhov img{object-position:50% 100%}
/* Punch into a frame the source does not crop tightly enough on its own.
   object-position can only pan within whatever object-fit:cover already
   overflows, so it does nothing when the source ratio matches the 4:3 box,
   and it cannot zoom at all. This scales the image inside the frame instead,
   which .fhov already clips.

   --z is the zoom, --zo the point it zooms about, both set inline per card so
   the crop lives next to the photograph it belongs to. The hover state
   multiplies --z by the same 1.05 every other .fhov uses rather than naming a
   number, so the two never drift apart; without it the generic
   .fhov:hover rule would override the base zoom and the tile would snap back
   to the uncropped frame on hover. */
.step-zoom .fhov img{transform-origin:var(--zo,50% 50%);transform:scale(var(--z,1))}
/* A crop anchor for a frame whose subject is off centre. */
.obj-pos .fhov img{object-position:var(--op,50% 50%)}
.step-zoom .fhov:hover img,
.step-zoom .fhov:focus-visible img{transform:scale(calc(var(--z,1) * 1.05))}
.step-body{padding:22px 22px 26px}
.steps h3{font-size:clamp(21px,2vw,24px);line-height:1.05;letter-spacing:.01em;margin-bottom:9px}
.steps p{margin:0;color:#C3C9D0;font-size:15px;line-height:1.55}
@media (max-width:1100px){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.steps{grid-template-columns:1fr}}

/* Stat tiles for the case study. */
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.stat{background:var(--white);padding:24px 22px}
.stat .n{display:block;font-family:var(--display);font-weight:700;font-size:clamp(28px,3.4vw,40px);line-height:1;color:var(--ink)}
.stat .l{display:block;font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--slate);margin-top:9px}
.sec-ink .stats,.sec-steel .stats{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.14)}
.sec-ink .stat,.sec-steel .stat{background:var(--ink)}
.sec-ink .stat .n,.sec-steel .stat .n{color:#fff}
.sec-ink .stat .l,.sec-steel .stat .l{color:#9BA3AD}

/* Photo frame with the WBS red-line hover. */
.fhov{display:block;position:relative;overflow:hidden;background:var(--steel)}
.fhov img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.fhov:hover img,.fhov:focus-visible img{transform:scale(1.05)}
.fhov::after{
  content:"";position:absolute;left:0;bottom:0;height:3px;width:100%;
  background:var(--red);transform:scaleX(0);transform-origin:left center;
  transition:transform .34s cubic-bezier(.22,.8,.3,1);
}
.fhov:hover::after,.fhov:focus-visible::after{transform:scaleX(1)}

/* Placeholder tile used where a real photo is not yet available. */
.ph{
  display:flex;align-items:center;justify-content:center;text-align:center;
  background:
    repeating-linear-gradient(135deg,rgba(255,255,255,.03) 0 10px,transparent 10px 20px),
    var(--steel);
  color:#71767E;font-family:var(--mono);font-size:10.5px;
  letter-spacing:.12em;text-transform:uppercase;padding:18px;min-height:220px;
}

/* Service grid. Seven cards, so an auto-fit track beats a fixed column count:
   4+3 on desktop, 2+2+2+1 on tablet, stacked on phone, with no orphan row
   that looks accidental. */
/* ---- Services grid ---------------------------------------------------
   Three columns with the flagship spanning the full row: 1 + 6 fills exactly,
   where 7 in an auto-fit grid always left a hole. Two columns at tablet and
   one on a phone, both of which 6 divides into cleanly. */
.grid-svc{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
/* .svc is declared after this block and also sets display, so the feature
   needs the extra class in the selector to win. */
/* The feature keeps its own padding, since .svc no longer carries any, and
   the gap closes to zero so its photograph bleeds to the card edge like the
   six below it. */
.svc.svc-feature{
  grid-column:1/-1;
  display:grid;grid-template-columns:1.2fr .8fr;
  gap:0;align-items:stretch;
}
.svc-feature-main{display:flex;flex-direction:column;gap:10px;padding:clamp(28px,3.2vw,40px)}
.svc-feature h3{font-size:clamp(24px,2.6vw,32px)}
.svc-feature p{font-size:16px}
.svc-feature-body{font-size:15px;color:var(--slate);margin-top:2px}
.svc-feature .n{text-transform:uppercase}
/* Scope list on the feature, with the 3px red tick used elsewhere. */
.svc-scope{
  list-style:none;margin:6px 0 0;padding:0;display:grid;gap:9px;
  font-family:var(--mono);font-size:12px;letter-spacing:.05em;color:var(--slate);
}
.svc-scope li{position:relative;padding-left:18px;line-height:1.4}
.svc-scope li::before{content:"";position:absolute;left:0;top:.5em;width:9px;height:2px;background:var(--red)}

/* Separators are drawn on the cards, not by showing a container background
   through a 2px gap. Seven services in an auto-fit grid leave empty cells at
   most widths (one at four columns, two at three), and the old trick painted
   each of those a solid grey block that read as a broken tile. */
.grid-auto{display:grid;gap:0;grid-template-columns:repeat(auto-fit,minmax(248px,1fr))}
/* A white card on a concrete field, defined by its own fill rather than a
   1px outline. Outlined boxes butted together read as a spreadsheet. The red
   rule wipes across the top on hover, the way the Wright capability cards do. */
/* The card carries a photograph now, so the padding moves off the card and
   onto .svc-body: the image has to reach all four edges of its own card, the
   way the Wright capability cards do. The red rule still wipes across the top,
   over the photograph rather than above it, which is also what that site does
   with its numbered chip. */
.svc{
  background:var(--white);padding:0;
  display:flex;flex-direction:column;
  text-decoration:none;color:inherit;position:relative;overflow:hidden;
  transition:transform .2s,box-shadow .2s;
}
.svc-media{display:block;position:relative}
/* Wright runs its capability-card photography slightly muted, which is what
   stops a grid of seven photographs shouting over the copy. Scoped to the
   cards: the hero and the project gallery are ungraded on that site too. */
.svc-media .fhov{aspect-ratio:4/3}
.svc-media .fhov img,.steps .step-media .fhov img{filter:saturate(.92) contrast(1.03)}
.svc-body{display:flex;flex-direction:column;gap:10px;flex:1;padding:26px 26px 30px}
.svc::before{
  content:"";position:absolute;top:0;left:0;height:3px;width:100%;z-index:2;
  background:var(--red);transform:scaleX(0);transform-origin:left center;
  transition:transform .4s cubic-bezier(.25,1,.5,1);
}
.svc:hover::before,.svc:focus-visible::before{transform:scaleX(1)}
.svc:hover,.svc:focus-visible{transform:translateY(-4px);box-shadow:0 18px 40px -22px rgba(21,24,28,.32)}
.sec-ink .svc,.sec-steel .svc{background:var(--steel)}
.sec-ink .svc:hover,.sec-steel .svc:hover{background:var(--steel)}
.svc .n{font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;color:#5B626C}
.svc h3{font-size:24px;line-height:1.05;letter-spacing:.01em}
.svc p{margin:0;font-size:15px;color:var(--slate);line-height:1.55}
/* Eli, 2026-11-10: "all 2 lines or all 3 lines". Each layout range gets a measure no wider than its narrowest column, so
   every card in that range sets the same number of lines. Measured with all
   seven at 744-800px of rendered text; re-scan if the copy changes. */
.grid-svc .svc:not(.svc-feature) p{max-width:287px}
@media (min-width:1001px) and (max-width:1179px){.grid-svc .svc:not(.svc-feature) p{max-width:233px}}
@media (min-width:647px) and (max-width:779px){.grid-svc .svc:not(.svc-feature) p{max-width:228px}}
@media (max-width:646px){.grid-svc .svc:not(.svc-feature) p{max-width:416px}}
@media (max-width:519px){.grid-svc .svc:not(.svc-feature) p{max-width:285px}}
@media (max-width:374px){.grid-svc .svc:not(.svc-feature) p{max-width:236px}}
.sec-ink .svc p,.sec-steel .svc p{color:#C3C9D0}
.svc .go{
  margin-top:auto;padding-top:12px;
  font-family:var(--mono);font-size:11px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--red);
}

/* Two-column text + media block, used for the differentiator and case study. */
/* Media splits stretch: the photograph fills the height of the column of
   text beside it rather than floating at its own aspect ratio with dead space
   above and below. The !important beats the inline aspect-ratio that
   h2o_figure() writes, which is correct for a standalone figure but wrong
   when the figure has to match a neighbour. */
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(40px,5vw,72px);align-items:center}
.split.split-media{align-items:stretch}
.split.split-media > div{display:flex;flex-direction:column;justify-content:center}
/* The media column is pinned, not flowed. Left to size itself the figure
   fed its own natural height back into the row, so the photograph finished
   well below the text it was supposed to match. Absolute inside a relative
   column means the copy alone decides the row height and the image fills
   whatever that is. The floor stops it collapsing when the text is short. */
.split.split-media > div:last-child{
  display:block;position:relative;min-height:clamp(230px,24vw,340px);
}
.split.split-media .fhov{
  position:absolute;inset:0;width:100%;height:100%;
  aspect-ratio:auto !important;min-height:0;
}
@media (max-width:1000px){
  .split.split-media > div:last-child{min-height:clamp(210px,52vw,300px)}
}
.split.wide-left{grid-template-columns:1.25fr .75fr}
/* Columns that start at the top rather than centring on each other. A tall
   ledger beside shorter prose was pushing the prose into the middle of the
   band with a hole above it. */
.split.split-top{align-items:start}

/* Swingley Ridge gallery. Each tile is a link into the lightbox, so the frame
   is an <a class="fhov"> rather than a <figure class="fhov">. Same rules
   apply either way: .fhov only needs a block box with a height, which the
   aspect-ratio supplies. */
.gal{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;margin-top:28px}
/* Square tiles, not 4:3.
   42 of the 47 Swingley frames are portrait phone photographs (1536x2048).
   Cropping a 3:4 source into a 4:3 landscape tile throws away more than half
   the frame, and on these pictures it throws away the half that carries the
   story: water on the floor and the failed ceiling above it. A square keeps
   the vertical, crops the five landscape frames gently, and keeps the rows
   short enough that thirty tiles still scan.
   min-height:0 so the tiles keep their ratio at phone widths instead of
   being stretched tall by the .ph minimum. */
.gal > *{aspect-ratio:1/1;min-height:0}

/* ---- Dense gallery ---------------------------------------------------
   Seven across in 3:2 tiles, so every frame shows without an expander. At the
   1152px content width that is about 163x109 per tile, and 28 frames set in
   four full rows come to about 440px. 2:3 portrait tiles would be 285px tall and about
   1430px in all; swap the ratio here and in the h2o_figure() call to try it.

   Written as .gal.gal-dense, not .gal-dense. The responsive overrides for
   plain .gal live further down this stylesheet (3 across at 1000px, 2 at
   640px) and would otherwise win on source order at equal specificity. */
.gal.gal-dense{grid-template-columns:repeat(7,minmax(0,1fr))}
.gal.gal-dense > *{aspect-ratio:3/2}
/* 28 in sevens and fours fills every row. In threes it leaves one tile alone
   on the last row, so one tile drops out: the second to last, not the last,
   because the last frame is the cleared floor that ends the story. The
   selector only matches when the count is one over a multiple of three. */
@media (max-width:760px){.gal.gal-dense > :nth-last-child(2):nth-child(3n){display:none}}
@media (max-width:1000px){.gal.gal-dense{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:760px){.gal.gal-dense{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:520px){.gal.gal-dense{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Detailed service block on the Services page. */
/* ---- Service bands ---------------------------------------------------
   Each service is its own section now, so the block no longer draws its own
   rule; the alternating background does that work. Bands are tighter than a
   default .sec because there are seven of them in a row. */
.svcband{padding:clamp(48px,5.5vw,78px) 0}
.svcblock{position:relative}
/* Flip the column order on alternate bands. Source order is unchanged, so
   the copy still comes first for a screen reader. */
.split-flip > *:first-child{order:2}
.split-flip > *:last-child{order:1}
.svcblock-copy{position:relative}
/* A quiet landmark, not another line of copy. Sits behind the tag, out of
   the accessibility tree. */
/* Ghost numerals removed: the section eyebrow already numbers the band and
   the service name is the label. Three levels of numbering was two too many. */
.svc-figure{display:none}
.svcblock-copy > *:not(.svc-figure){position:relative;z-index:1}
.svc-note{
  margin:24px 0 0;padding:16px 18px;font-size:15px;
  border-left:3px solid var(--red);background:var(--white);
}
.sec-concrete .svc-note{background:#fff}
.svcblock .tag{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--red);display:block;margin-bottom:12px;
}

/* Bulleted scope lists. */
/* Ledger list, borrowed from the Wright "why" rows: a hairline between each
   item and a 2px rule on top reads as a specification rather than a bullet
   list, which is the difference between copy and substance. */
.scope-h{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--slate);margin:0 0 2px;font-weight:500;
}
.scope-ledger{list-style:none;margin:0;padding:0}
.scope-ledger li{
  position:relative;padding:13px 0 13px 24px;
  border-bottom:1px solid var(--line);
  font-size:15.5px;line-height:1.5;color:var(--ink);
}
.scope-ledger li:first-child{border-top:2px solid var(--ink)}
.scope-ledger li:last-child{border-bottom:0}
.scope-ledger li::before{content:"";position:absolute;left:0;top:1.25em;width:11px;height:3px;background:var(--red)}
.sec-ink .scope-ledger li,.sec-steel .scope-ledger li{color:#E4E6E9;border-bottom-color:rgba(255,255,255,.14)}
.sec-ink .scope-ledger li:first-child,.sec-steel .scope-ledger li:first-child{border-top-color:#fff}
.scope-ledger + .scope-h{margin-top:26px}
.fhov + .scope-h{margin-top:26px}

.scope{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:11px}
.scope li{position:relative;padding-left:22px;font-size:16px;color:var(--slate)}
.scope li::before{content:"";position:absolute;left:0;top:.62em;width:9px;height:3px;background:var(--red)}
.sec-ink .scope li,.sec-steel .scope li{color:#C3C9D0}

/* Parent-company links. Underlined in brand red, the same device as the
   rule under a hero keyword, so the mention reads as a credential and not as
   stray body copy. */
/* Wright never underlines an inline link in red. It uses a 1px neutral rule
   under the text with no text-decoration, brightening to the text colour on
   hover. Same here. */
.wbs-link{
  color:inherit;text-decoration:none;
  border-bottom:1px solid var(--line);transition:border-color .18s;
}
.hero .wbs-link,.hstrip .wbs-link,.site-footer .wbs-link,.cta-band .wbs-link,
.sec-ink .wbs-link,.sec-steel .wbs-link{border-bottom-color:rgba(255,255,255,.3)}
.wbs-link:hover,.wbs-link:focus-visible{color:var(--red);border-bottom-color:var(--red)}
.sec-ink .wbs-link:hover,.sec-steel .wbs-link:hover,.hero .wbs-link:hover,
.site-footer .wbs-link:hover,.hstrip .wbs-link:hover{color:#fff;border-bottom-color:var(--red)}
/* The first cell is the call link. The number in it is white because it is
   the one thing in the strip worth acting on, and it never breaks. */
.hstrip-call{text-decoration:none;transition:background-color .18s}
.hstrip-call:hover{background-color:rgba(255,255,255,.06)}
.hstrip-call:focus-visible{outline:2px solid #fff;outline-offset:-4px}
.hstrip-num{color:#fff;white-space:nowrap;border-bottom:1px solid rgba(255,255,255,.3);transition:border-color .18s}
.hstrip-call:hover .hstrip-num{border-bottom-color:var(--red)}
/* The last cell, Wright, is a whole-cell link too, with the same hover. Its
   name keeps the strip's grey rather than the number's white. */
.hstrip-u{border-bottom:1px solid rgba(255,255,255,.3);transition:border-color .18s,color .18s}
.hstrip-call:hover .hstrip-u{color:#fff;border-bottom-color:var(--red)}
/* The strip runs about 1070px of unbroken caps. Below that the items wrap
   inside their cells rather than running off the right edge. */
@media (min-width:861px) and (max-width:1100px){
  .hstrip > *{white-space:normal;text-wrap:balance;padding:10px 14px;line-height:1.5}
}

/* ---- Ledger ----------------------------------------------------------
   Key and value on hairline rules, after the Wright "why" rows. Dense and
   scannable, which is what a second column of prose was not. */
.ledger{list-style:none;margin:0;padding:0}
.ledger li{
  display:grid;grid-template-columns:150px 1fr;gap:4px 26px;align-items:baseline;
  padding:16px 0;border-bottom:1px solid var(--line);
}
.ledger li:first-child{border-top:2px solid var(--ink)}
.ledger li:last-child{border-bottom:0}
.ledger h3{
  font-family:var(--display);font-weight:700;font-size:20px;
  text-transform:uppercase;letter-spacing:.02em;margin:0;
  position:relative;padding-left:24px;white-space:nowrap;line-height:1.4;
}
.ledger h3::before{content:"";position:absolute;left:0;top:.6em;width:13px;height:3px;background:var(--red)}
.ledger p{margin:0;font-size:15.5px;line-height:1.6;color:var(--slate)}
.sec-ink .ledger li,.sec-steel .ledger li{border-bottom-color:rgba(255,255,255,.14)}
.sec-ink .ledger li:first-child,.sec-steel .ledger li:first-child{border-top-color:#fff}
.sec-ink .ledger p,.sec-steel .ledger p{color:#C3C9D0}
@media (max-width:620px){
  .ledger li{grid-template-columns:1fr;gap:7px}
  .ledger h3{white-space:normal}
}

/* ---- About 02, "How We Work" -----------------------------------------
   The Wright homepage "Why" layout (Eli, 2026-11-10), values and all:
   eyebrow, headline, copy and CTA in the left column, the ledger in the
   right starting level with the eyebrow. 2x2 ledger below 1180, one column
   below 760. */
.why-cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(34px,4vw,64px);align-items:start}
.why-cols h2{margin:0 0 24px;text-wrap:balance}
.why-cols .eyebrow{margin-bottom:26px}
.why-cols .btns{margin-top:clamp(28px,3.2vw,38px)}
.why-cols .ledger{margin-top:6px}
/* Right column stretches to the left column's height and the photograph
   takes whatever the ledger leaves, so the band ends square on both sides. */
.why-cols > div:last-child{align-self:stretch;display:flex;flex-direction:column}
.why-img{flex:1 1 auto;min-height:180px;margin:30px 0 0;position:relative;box-shadow:0 18px 36px -20px rgba(0,0,0,.6)}
.why-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 62%}
@media (max-width:1180px){
  .why-cols{grid-template-columns:1fr;gap:clamp(30px,4.5vw,46px)}
  .why-img{display:none}
  .why-cols .ledger{margin-top:0;display:grid;grid-template-columns:1fr 1fr;column-gap:clamp(28px,4vw,56px)}
  .why-cols .ledger li{grid-template-columns:1fr;gap:8px;padding:20px 0}
  .why-cols .ledger li:nth-child(2){border-top:2px solid #fff}
  .why-cols .ledger li:nth-last-child(2){border-bottom:0}
  .why-cols .ledger h3{font-size:22px;white-space:normal}
}
@media (max-width:760px){
  .why-cols .ledger{grid-template-columns:1fr}
  .why-cols .ledger li{padding:18px 0}
  .why-cols .ledger li:nth-child(2){border-top:0}
  .why-cols .ledger li:nth-last-child(2){border-bottom:1px solid rgba(255,255,255,.14)}
  .why-cols .ledger p{max-width:52ch}
}

/* ---- Wright logo plate on the About "Backing" photograph ---------------
   Wright's own reverse artwork, unaltered, on an ink plate with the 3px red
   rule. Top right, where the photograph is plain wall and door. */
.backing-media{position:relative}
.wbs-badge{
  position:absolute;top:0;right:0;z-index:7;display:block;
  background:var(--ink);border-bottom:3px solid var(--red);
  padding:14px 18px;line-height:0;transition:background .2s;
}
.wbs-badge img{display:block;height:46px;width:auto}
.wbs-badge:hover,.wbs-badge:focus-visible{background:#20252C}
.wbs-badge:focus-visible{outline:2px solid var(--red);outline-offset:2px}
@media (max-width:480px){
  .wbs-badge{padding:10px 12px}
  .wbs-badge img{height:36px}
}

/* Case-study narrative. Plain body text at 17px looked thin beside the lede
   paragraphs and the stats around it, so it gets its own measure and weight. */
.prose{
  margin:0;font-size:17px;line-height:1.72;color:var(--slate);max-width:60ch;
}
.sec-ink .prose,.sec-steel .prose{color:#C3C9D0}

/* Feature card media. */
/* The photograph fills the row so it finishes level with the copy beside it. */
.svc-feature-media{display:block;position:relative}
.svc-feature-media .fhov{aspect-ratio:auto !important;position:absolute;inset:0;width:100%;height:100%}
@media (max-width:860px){
  /* Stacked, the photo leads, as on the six cards below it and on the
     Services page. The copy's own padding does the spacing. */
  .svc-feature-media{min-height:clamp(240px,46vw,360px);order:-1}
}
/* The water flagship is the shop photo (2026-11-17): the racked air movers
   and dehumidifiers fill the left two thirds, the roof trusses the top and
   general shelving the right. Aimed low and left so every crop keeps the
   equipment wall. */
.svc-feature-media .fhov img,.svcx-feature .fhov img{object-position:30% 62%}

/* A short brand statement set large, using the same red rule as .mission so
   the two read as one device at two sizes. */
.statement{
  border-left:3px solid var(--red);padding:4px 0 4px 22px;
  margin:30px 0 0;font-family:var(--display);font-weight:700;
  text-transform:uppercase;letter-spacing:.015em;
  font-size:clamp(22px,2.5vw,32px);line-height:1.08;
}

/* The mission has its own band now, so it can be set larger than it was in
   a half-width column. */
/* ---- The mission band -----------------------------------------------
   Flat ink for the words, the fleet photograph beside them. The statement is
   split at its own first clause: the promise at display scale, how it is
   kept in the body face underneath. Barlow Condensed is a display face and
   will not carry fifty-seven words, which is what the two previous versions
   of this band asked it to do. */
.mission-band{position:relative;overflow:hidden;background:var(--ink);color:#fff}
/* Built the way the Wright homepage CTA is: the photograph fills the whole
   band under one flat tint, rgba(20,23,27) at .76 down to .9, the same values
   Wright uses, and the words sit directly on it. That replaces a sideways fade
   from ink into a photo on the right. The white SUV reads as a mid grey under
   this tint, so white type holds on it at every width.

   h2o-mission-wide is a 2048px strip cut below the roofline of the original
   (h2ostl/assets/474579781_...jpg), so the old office's "1724" on the fascia
   is out of frame and both number plates are blurred in the file. It replaced
   the 1200px h2o-mission-suv crop once the photo filled the full width, where
   that file was being stretched. The position keeps the SUV in frame on a
   phone, where the band is tall and the crop comes off the sides. */
.mission-band .hero-bg{inset:0;width:100%;height:100%;object-position:30% 60%}
/* Up to 640px the band shows the tall cut, which is framed on the H2O SUV. */
@media (max-width:640px){.mission-band .hero-bg{object-position:50% 60%}}
.mission-veil{position:absolute;inset:0;z-index:1;background:linear-gradient(rgba(20,23,27,.76),rgba(20,23,27,.9))}
.mission-band .wrap{position:relative;z-index:2}
.mission-band .wrap > .mission-solo{max-width:62ch}
/* 28px here was tuned for a band with no headline, where the eyebrow had to
   hold the gap on its own. There is an h2 again, so this goes back to the
   16px every other eyebrow on the site uses. */
.mission-band .eyebrow{margin-bottom:16px}

/* One font, one size, one colour.
   This band has now been through four versions and the first three all failed
   the same way, by trying to make the statement carry itself as a display
   element: all 57 words in Barlow Condensed made a ten-line wall (it is a
   display face and will not set a paragraph), shrinking it to body size made
   it vanish, and splitting it at its first clause set two fonts against each
   other mid-sentence, so the statement read as two things rather than one.

   The mistake underneath all three was treating the statement as the heading.
   It is not: the eyebrow is the heading. Once the eyebrow carries the label,
   the statement is free to be what it actually is, a paragraph, and it only
   needs to be set large enough to hold a photographic band. No h2 above it,
   because an h2 reading "Our Mission" under an eyebrow reading "Our Mission"
   reads as a mistake. */
.mission-solo{
  margin:22px 0 0;border-left:3px solid var(--red);
  padding-left:clamp(22px,2.4vw,34px);
  max-width:54ch;
  font-family:var(--body);font-weight:400;
  font-size:clamp(18px,1.4vw,20px);line-height:1.6;color:#E4E6E9;
}

/* About 01. The three-word line is the heading; the statement is body copy
   beside the red rule, in the body face (see page-about.php). */
.mission-tag{font-size:clamp(34px,3.4vw,46px);margin:0 0 22px}
.mission-tag .w{white-space:nowrap}
.mission-tag .dot{color:var(--red)}
/* Phones: the three words do not fit on one line, and wrapping left a line
   starting with a dot. Stack them instead, without the dots. */
@media (max-width:520px){
  .mission-tag .w{display:block}
  .mission-tag .dot{display:none}
}
.mission{
  border-left:3px solid var(--red);padding:2px 0 2px clamp(20px,2vw,26px);margin:0;
  font-family:var(--body);font-weight:400;font-style:normal;
  font-size:clamp(17px,1.45vw,20px);line-height:1.65;color:#3A414B;max-width:52ch;
}

/* =========================================================================
   Contact form
   ========================================================================= */
.form{display:grid;gap:16px}
.field{display:grid;gap:7px}
.field label{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--slate);
}
.field input,.field select,.field textarea{
  font-family:var(--body);font-size:16px;color:var(--ink);
  padding:13px 14px;border:1px solid var(--line);border-radius:0;background:#fff;
  width:100%;transition:border-color .18s;
}
/* One focus line. The outline used to apply here as well, which drew a second
   red box 3px outside the red border. The inset shadow takes the border to 2px
   so the state is still obvious, without the field shifting as it would if
   the border itself got thicker. */
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--red);box-shadow:inset 0 0 0 1px var(--red);
}
.field textarea{min-height:140px;resize:vertical}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.gotcha{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.formnote{font-size:14px;color:var(--slate);margin:0}
.formmsg{margin:0;padding:13px 15px;border-left:3px solid var(--red);background:var(--concrete);font-size:15px}
.formmsg[hidden]{display:none}

/* Contact detail list. */
.deets{list-style:none;margin:0;padding:0;display:grid;gap:22px}
.deets .k{
  display:block;font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--red);margin-bottom:5px;
}
.deets a{color:inherit;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.28);transition:color .18s,border-color .18s}
.deets a:hover{color:var(--red);border-color:var(--red)}
.sec-concrete .deets a{border-bottom-color:var(--line)}

/* =========================================================================
   Footer
   ========================================================================= */
/* Matched to the Wright footer value for value: #9BA3AD text at 14px on ink
   behind a #353C46 hairline, 56px of padding above and 28px below, links in
   #C3C9D0. Ours had been 15px in #C3C9D0 with no top rule and a clamped
   padding, which read lighter and looser than the same block on that site. */
.site-footer{
  background:var(--ink);color:#9BA3AD;font-size:14px;
  padding:56px 0 28px;border-top:1px solid #353C46;
}
.site-footer p{line-height:1.6}
.site-footer a{color:#C3C9D0;text-decoration:none;transition:color .18s}
.site-footer a:hover{color:#fff}
.foot-link{display:block;margin-bottom:9px}
.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.3fr;gap:36px}
.foot-h{
  font-family:var(--mono);font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:#fff;margin:0 0 14px;line-height:1.65;
}
.foot-list{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.foot-bottom{
  margin-top:42px;padding-top:20px;border-top:1px solid #353C46;
  display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:#9BA3AD;
}
.foot-bottom a{color:#9BA3AD;text-decoration:none}
.foot-bottom a:hover,.foot-bottom a:focus-visible{color:#fff}
.foot-legal{display:flex;flex-wrap:wrap;gap:8px}
.foot-legal .sep{color:var(--red)}

/* =========================================================================
   Responsive. Inline styles in the templates are deliberately kept light so
   these breakpoints rarely need !important to win.
   ========================================================================= */
@media (max-width:1180px){
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media (max-width:1000px){
  .trust ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot-grid{grid-template-columns:1fr 1fr;gap:34px 28px}
  /* Three stats, so keep three columns until a phone rather than orphaning one. */
}

@media (max-width:1000px){
  .split,.split.wide-left{grid-template-columns:1fr;gap:30px}
  .gal{grid-template-columns:repeat(3,minmax(0,1fr))}
  .grid-svc{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* One column from 646, not 520: below about 647 two columns are too narrow
   for the service descriptions to set to an even line count. */
@media (max-width:646px){.grid-svc{grid-template-columns:1fr}}

@media (max-width:860px){
  .nav{
    position:fixed;inset:0 0 auto 0;top:0;
    flex-direction:column;align-items:stretch;gap:0;
    background:var(--ink);padding:84px var(--gutter) 26px;
    transform:translateY(-100%);transition:transform .28s ease;
    font-size:14px;
  }
  .nav.open{transform:none}
  .nav a.nlink{padding:16px 0;border-bottom:1px solid rgba(255,255,255,.1);background-image:none}
  /* The CTA lives beside the toggle, not inside the off-screen nav panel, so it
     is reachable on a phone without opening the menu first. */
  .header-cta{margin-left:auto;margin-right:10px;padding:8px 14px 10px;font-size:11px;position:relative;z-index:2}
  .navtoggle{display:block;position:relative;z-index:2}
  /* The open panel slides down over the bar, and it took the logo with it. */
  .brand{position:relative;z-index:2}
  .grid-3,.grid-2{grid-template-columns:1fr}
  .svc.svc-feature{grid-template-columns:1fr;gap:0}
  /* Tap room for the links, which are 23px tall on a desktop. */
  .foot-list{gap:0}
  .foot-list a,.foot-link{display:inline-block;padding:7px 0}
  .foot-link{display:block;margin-bottom:0}
}

@media (max-width:520px){
  .grid-4,.grid-svc{grid-template-columns:1fr}
  .form-row{grid-template-columns:1fr}
}

@media (max-width:640px){
  body{font-size:16px}
  .trust ul{grid-template-columns:1fr;padding:18px 0}
  .foot-grid{grid-template-columns:1fr}
  /* Scoped to the header. Unscoped, this also reached the footer logo, which is
     set by width, and flattened it to a 34px tall strip 325px wide. */
  .site-header .brand img{height:34px}
  .mission{padding-left:20px}
  .gal{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Narrow phones (375px and down). The header bar is the tightest row on the
   site: logo, CTA and toggle all have to fit. Shorten the CTA label and
   shrink the mark rather than let anything wrap or overflow. */
/* A one-viewport hero has to answer to viewport HEIGHT, not just width. A
   1366x700 laptop is as wide as a desktop but 280px shorter, and a headline
   sized only off vw pushes the strip past the fold. These steps keep the
   whole band inside the screen on short displays. */
@media (max-height:860px) and (min-width:861px){
  .hero-full h1{font-size:clamp(38px,5.4vw,64px)}
  .hero-full .wrap{padding-top:clamp(84px,10vh,104px);padding-bottom:clamp(84px,10vh,112px)}
  .hero-full .lede{font-size:17px}
}
@media (max-height:700px) and (min-width:861px){
  .hero-full h1{font-size:clamp(32px,4.4vw,52px)}
  .hero-full .wrap{padding-top:76px;padding-bottom:84px}
  .hero-full .btns{margin-top:22px}
}

/* Short and wide, a big phone held sideways (932x430): the 700 step above
   started the eyebrow 2px under the header. Same treatment as a landscape
   phone: the hero sizes to its content and clears the header. */
@media (max-height:500px) and (min-width:861px){
  .hero-full{min-height:0}
  .hero-full .wrap{padding-top:104px;padding-bottom:72px}
}

/* Landscape phones are short and under 861 wide, so neither step above reaches
   them and the buttons fell below the fold. */
@media (max-height:500px) and (max-width:860px){
  .hero-full{min-height:0}
  .hero-full h1{font-size:clamp(30px,5.4vw,42px)}
  /* 100, not 84: the header is about 80 tall, which left the eyebrow 4px
     under it. */
  .hero-full .wrap{padding-top:100px;padding-bottom:96px}
  .hero-full .eyebrow{margin-bottom:10px}
  .hero-full .lede{font-size:15px;max-width:none}
  .hero-full .btns{margin-top:16px}
}

/* Hero strip on small screens, after the Wright rules: wrap to two per row,
   let the text break, and show only the two strongest claims so four items
   do not crush into an unreadable band. */
@media (max-width:860px){
  .hstrip{flex-wrap:wrap}
  .hstrip > *{flex:1 0 50%;white-space:normal;padding:10px 12px;font-size:10.5px}
  /* All four stay. 2x2 with hairlines so the rows read as a grid, not a wrap. */
  .hstrip > *:nth-child(odd){border-right:1px solid rgba(255,255,255,.1)}
  .hstrip > *:nth-child(n+3){border-top:1px solid rgba(255,255,255,.1)}
}
/* The 2x2 strip is about 111px tall on a portrait phone and the hero kept
   only 92px clear above it, so on a small phone it sat over the Recent Work
   button. Reserve the strip's height plus a gap. Portrait only: the
   landscape step above has its own, shorter, strip. */
@media (max-width:860px) and (min-height:501px){
  .hero-full .wrap{padding-bottom:140px}
}
/* Drop the headline floor so the longest word fits a narrow phone. Wright's
   homepage sets 34px here over 42px section heads, which reads upside down, so
   this takes the ratio from Wright's inner pages instead: the page title always
   outranks the section heads, 44 over 33 at a 390 phone. */
@media (max-width:540px){
  .hero-full h1{font-size:clamp(34px,10.2vw,48px)}
}
@media (max-width:640px){
  h2{font-size:clamp(30px,8.8vw,42px)}
  .hero.hero-page h1{font-size:clamp(36px,10.4vw,44px)}
}
/* The short-screen steps above shrink the title to fit the fold, so the section
   heads step down with it or they outrank it. These sit after the phone rule so
   they also win on a small phone held sideways. */
@media (max-height:700px) and (min-width:861px){
  h2{font-size:clamp(28px,3.4vw,44px)}
}
@media (max-height:500px) and (max-width:860px){
  h2{font-size:clamp(26px,4vw,34px)}
}

@media (max-width:480px){
  .cta-long{display:none}
  .cta-short{display:inline}
}
@media (max-width:430px){
  .site-header .brand img{height:30px}
  .header-cta{padding:8px 12px 10px;letter-spacing:.1em}
  .site-header{padding-left:16px;padding-right:16px}
  :root{--gutter:18px}
}
@media (max-width:340px){
  .site-header .brand img{height:26px}
  /* "Visit Wright Building Systems" needs 293px against 284 at 320 wide and
     broke onto two lines. A little less side padding and tracking holds it to
     one line without shrinking the type. */
  .btn{padding-left:20px;padding-right:20px;letter-spacing:.03em}
}

/* =========================================================================
   Homepage components added 2026-10-29, merging the stronger ideas out of
   the second design pass with the Wright identity already in use here.
   Everything below is a new class name, so nothing above is overridden.
   ========================================================================= */

/* ---- Red middot ------------------------------------------------------
   Used between words in headings, ledes and triads. It was an inline
   style:color on a dozen spans, which is the kind of thing that drifts. */
.dot{color:var(--red)}

/* ---- The handoff comparison -----------------------------------------
   The whole argument in one glance. The muted card is deliberately quiet:
   it is the thing we are not. Red appears only on the card that is us, as a
   3px rule across the top and on the check marks. */
.compare{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:40px}
.cmp{padding:clamp(28px,3vw,40px);position:relative}
.cmp-bad{background:var(--concrete);color:var(--slate)}
.cmp-good{background:var(--ink);color:#fff}
/* The red rule is drawn, not bordered, so it sits flush into the corners. */
.cmp-good::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--red)}
.cmp-k{
  margin:0 0 10px;font-family:var(--mono);font-size:10.5px;
  letter-spacing:.12em;text-transform:uppercase;
}
.cmp-bad .cmp-k{color:#71767E}
.cmp-good .cmp-k{color:var(--red)}
.cmp h3{font-size:clamp(23px,2.4vw,30px);line-height:1.04;margin:0 0 22px}
.cmp-bad h3{color:#5B626C}
.cmp-good h3{color:#fff}
.cmp-list{list-style:none;margin:0;padding:0}
.cmp-list li{
  display:flex;align-items:flex-start;gap:14px;
  padding:14px 0;font-size:16px;line-height:1.45;
}
.cmp-bad .cmp-list li{border-bottom:1px solid #D9DCE0;color:#5B626C}
.cmp-good .cmp-list li{border-bottom:1px solid rgba(255,255,255,.14);color:#E4E6E9}
.cmp-list li:first-child{padding-top:0}
.cmp-list li:last-child{border-bottom:0;padding-bottom:0}
.cmp-i{
  width:18px;height:18px;flex:none;margin-top:3px;
  fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
}
.cmp-bad .cmp-i{stroke:#9BA3AD}
.cmp-good .cmp-i{stroke:var(--red);stroke-width:2.4}
.cmp-foot{margin:22px 0 0;font-size:14.5px;line-height:1.6;color:#9BA3AD}

/* ---- Four-up stats ---------------------------------------------------
   The fourth figure is the weekend itself, which is the one that makes the
   other three mean something. */
.stats-4{grid-template-columns:repeat(4,minmax(0,1fr))}
/* Fri to Mon is a phrase, not a numeral, so the figure size comes down a
   step: at 40px it wrapped and read as a mistake. */
.stats-4 .stat .n{font-size:clamp(24px,2.7vw,34px)}

/* ---- Project meta row ------------------------------------------------
   Location, year and scope under a project heading. It was a .lede, which
   wrapped mid-term and split "Emergency Response" across two lines. Each
   term is its own item now, nowrap, so the row breaks between terms and
   never inside one. Same size and tracking as a Wright card meta. */
.projmeta{
  list-style:none;margin:14px 0 0;padding:0;
  display:flex;flex-wrap:wrap;gap:9px 0;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--slate);line-height:1.4;
  /* Every term carries a marker, and the row is pulled left and clipped so the
     first marker on each line falls outside it. With the marker only between
     terms, a wrapped line started with an indented square. */
  margin-left:-44px;clip-path:inset(0 0 0 44px);
}
.projmeta li{white-space:nowrap;position:relative;padding-left:22px;margin-left:22px}
.projmeta li::before{
  content:"";position:absolute;left:0;top:calc(50% - 2.5px);
  width:5px;height:5px;background:var(--red);
}
.sec-ink .projmeta,.sec-steel .projmeta{color:#9BA3AD}

/* ---- Case study notes ------------------------------------------------
   The loss, the response, the result. Labelled so the shape of the job can
   be taken without reading three paragraphs of it. */
.casenote + .casenote{margin-top:26px}
.case-k{
  margin:0 0 7px;padding-left:22px;position:relative;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--slate);
}
.case-k::before{content:"";position:absolute;left:0;top:.52em;width:13px;height:3px;background:var(--red)}
.sec-ink .case-k,.sec-steel .case-k{color:#9BA3AD}

/* ---- Responsive for the blocks above --------------------------------- */
@media (max-width:1000px){
  .stats-4{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .compare{grid-template-columns:1fr;gap:18px}
}
@media (max-width:640px){
  .cmp-list li{font-size:15.5px}
}

/* =========================================================================
   Contact band. The page closes on the request form itself rather than on a
   link to one.

   It is STEEL. This took three goes, so the reasoning is worth keeping.
   Ink made it the same colour as the footer and the two ran together into one
   dark slab. Concrete fixed that but put a white form card on a #EEEFF0
   field, and white on concrete is four per cent of contrast: the card stopped
   reading as a card and the whole band went pale and off brand. White panels
   work on the Wright site because they carry a photograph and a numbered
   chip; a bare white box does not.

   Steel is darker than concrete and lighter than the ink footer, so the band
   is on brand, the card can be the translucent fill that every card on a dark
   surface is here, and there is still a visible step down into the footer.
   ========================================================================= */
.contact-band{background:var(--ink);color:#fff;border-top:4px solid var(--red)}

.contact-band .lede{color:#C3C9D0;max-width:46ch}
.contact-band .eyebrow .num{color:#828A94}
.contact-grid{
  display:grid;grid-template-columns:.94fr 1.06fr;
  gap:clamp(36px,4.5vw,66px);align-items:start;
}

/* ---- The number, set large ------------------------------------------
   The one place on the page where it is more than a line of text. Someone
   reading this at 2am with water coming through a ceiling should not have
   to hunt for it. */
.callbox{
  display:block;margin-top:34px;padding:22px 26px 24px;
  background:rgba(255,255,255,.05);border-left:3px solid var(--red);
  text-decoration:none;color:inherit;
  transition:background .18s;
}
.callbox:hover,.callbox:focus-visible{background:rgba(255,255,255,.1)}
.callbox-k{
  display:block;font-family:var(--mono);font-size:10.5px;
  letter-spacing:.12em;text-transform:uppercase;color:#9BA3AD;
}
.callbox-n{
  display:block;margin-top:8px;font-family:var(--display);font-weight:700;
  font-size:clamp(34px,4vw,46px);line-height:1;letter-spacing:.01em;color:#fff;
}
.callbox-go{
  display:block;margin-top:10px;font-family:var(--mono);font-size:11px;
  letter-spacing:.12em;text-transform:uppercase;color:var(--red);
}

/* ---- Office, email, hours, address ----------------------------------- */
.cdeets{
  list-style:none;margin:30px 0 0;padding:0;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 26px;
}
.cdeets .k{
  display:block;margin-bottom:5px;font-family:var(--mono);font-size:10.5px;
  letter-spacing:.1em;text-transform:uppercase;color:var(--red);
}
.cdeets li{font-size:15.5px;line-height:1.5;color:#C3C9D0}
.cdeets a{color:#fff;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.28);transition:color .18s,border-color .18s}
.cdeets a:hover,.cdeets a:focus-visible{color:var(--red);border-bottom-color:var(--red)}

/* ---- The form card ---------------------------------------------------
   A translucent white fill on a hairline, which is what a card on a dark
   surface is in this identity (see .sec-ink .card and .steps li). */
.cform{
  background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.14);
  color:#fff;padding:clamp(26px,3vw,38px);
}
.cform-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:16px;
  padding-bottom:18px;margin-bottom:24px;border-bottom:2px solid rgba(255,255,255,.32);
}
.cform-head h3{margin:0;font-size:clamp(23px,2.3vw,28px);line-height:1;color:#fff}
.cform .cform-time,.cform .field label,.cform .fset legend,.cform .formnote{color:#9BA3AD}
.cform .field input,.cform .field select,.cform .field textarea{
  background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.22);color:#fff;
}
.cform .field input::placeholder,.cform .field textarea::placeholder{color:#71767E}
.cform .field input:focus,.cform .field select:focus,.cform .field textarea:focus{
  border-color:var(--red);background:rgba(255,255,255,.08);
}
/* Chrome paints an autofilled input near-white with black text, which on this
   surface is the one thing that would look broken. */
.cform input:-webkit-autofill,.cform input:-webkit-autofill:focus{
  -webkit-text-fill-color:#fff;-webkit-box-shadow:0 0 0 1000px #262B33 inset;caret-color:#fff;
}
.cform .chips label{background:transparent;border-color:rgba(255,255,255,.22);color:#C3C9D0}
.cform .chips label:hover{border-color:var(--red);color:#fff}
.cform .chips input:checked + label{background:var(--red);border-color:var(--red);color:#fff}
.cform .active-alert{background:rgba(251,29,29,.14);color:#fff}
.cform .formmsg{background:rgba(255,255,255,.07);color:#fff}
.cform-time{
  font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--slate);white-space:nowrap;
}
.cform .field textarea{min-height:92px}
.cform-send{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:4px}
.cform-send .formnote{flex:1 1 220px;margin:0}

/* ---- Fieldsets and chips ---------------------------------------------
   Radio inputs with their labels, not scripted buttons, so the whole thing
   works with JavaScript off and posts real values to Formspree. */
.fset{border:0;margin:0 0 20px;padding:0}
.fset legend{
  padding:0;margin-bottom:10px;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.12em;
  text-transform:uppercase;color:var(--slate);
  /* Balanced, so the long "Is it still active?" question never leaves
     "WALL" alone on its second line, as it did at 1024. */
  text-wrap:balance;
}
/* Off-screen but still focusable: display:none would take the radios out of
   the tab order and make the chips unusable from a keyboard. */
.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chips label{
  display:inline-flex;align-items:center;min-height:42px;padding:0 18px;
  border:1px solid var(--line);background:var(--white);cursor:pointer;
  font-family:var(--mono);font-size:11.5px;letter-spacing:.1em;
  text-transform:uppercase;color:var(--slate);
  transition:border-color .16s,background .16s,color .16s;
}
.chips label:hover{border-color:var(--red);color:var(--ink)}
.chips input:checked + label{background:var(--red);border-color:var(--red);color:#fff}
.chips input:focus-visible + label{outline:2px solid var(--red);outline-offset:2px}
.chips input:disabled + label{opacity:.5;cursor:not-allowed}

/* The warning is a sibling of the radios inside .chips, so a plain general
   sibling selector reveals it. No :has(), no script. */
.active-alert{
  display:none;flex-basis:100%;margin:12px 0 0;
  align-items:center;flex-wrap:wrap;gap:12px 18px;
  padding:16px 18px;background:var(--concrete);border-left:3px solid var(--red);
  font-size:15px;line-height:1.5;color:var(--ink);
}
.active-alert span{flex:1 1 220px}
.active-alert .btn{font-size:15px;padding:10px 20px 9px}
#f-active-yes:checked ~ .active-alert{display:flex}

@media (max-width:1000px){
  .contact-grid{grid-template-columns:1fr;gap:38px}
  .contact-band .lede{max-width:62ch}
}
@media (max-width:520px){
  .cdeets{grid-template-columns:1fr;gap:18px}
  .cform-send .btn{width:100%;justify-content:center}
}

/* =========================================================================
   Photo lightbox. Ported from the Wright theme rather than reinvented: same
   markup contract (an anchor carrying data-lightbox whose href is the full
   image), same keys, same 94% ink veil. Class names are the only difference.
   ========================================================================= */
.h2o-lightbox{
  position:fixed;inset:0;z-index:1000;background:rgba(15,18,22,.94);
  display:flex;align-items:center;justify-content:center;
  opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s;
}
.h2o-lightbox.open{opacity:1;visibility:visible}
.h2o-lightbox img{max-width:92vw;max-height:86vh;object-fit:contain;box-shadow:0 20px 60px rgba(0,0,0,.6)}
.h2o-lb-btn{position:absolute;background:none;border:0;color:#fff;cursor:pointer;opacity:.75;transition:opacity .15s;line-height:1}
.h2o-lb-btn:hover{opacity:1}
.h2o-lb-prev,.h2o-lb-next{top:0;height:100%;width:64px;font-size:42px}
.h2o-lb-prev{left:0}
.h2o-lb-next{right:0}
.h2o-lb-close{top:16px;right:22px;font-size:34px}
.h2o-lb-count{
  position:absolute;bottom:22px;left:0;right:0;text-align:center;color:#C3C9D0;
  font-family:var(--mono);font-size:12px;letter-spacing:.1em;
}
/* The tile is a link now, so it needs the anchor resets the rest of the site
   gets from .svc and friends. */
a.fhov{text-decoration:none;color:inherit;cursor:zoom-in}
@media (max-width:640px){
  .h2o-lb-prev,.h2o-lb-next{width:46px;font-size:34px}
}

/* =========================================================================
   Inner pages, 2026-10-29. Services, About and Contact rebuilt onto the
   homepage's visual system: photographic hero under a flat veil, numbered
   eyebrows, square corners, one red accent per block.
   ========================================================================= */

/* ---- Anchor offset ---------------------------------------------------
   The header is fixed, so every in-page link (#contact, #swingley, and all
   seven /services/#key deep links from the home grid) was landing its target
   underneath it. scroll-padding-top is the one-line fix and it applies to
   the smooth scroll and to a cold load on a #hash alike. Slightly more than
   the 70px header so the section eyebrow clears it rather than touching. */
html{scroll-padding-top:90px}

/* ---- Inner-page hero -------------------------------------------------
   Same construction as the home hero (real <img> backdrop, one flat fill)
   but sized to its content instead of a full viewport. Inner pages are
   read, not landed on, so a 100vh hero would just be a scroll tax. */
/* Wright's inner hero: short, bottom-aligned, a red eyebrow behind a 30px
   tick, and a two-way scrim. Its one-word titles run to 84px; these are full
   phrases for search, so the top size is 68px to hold them to two lines. */
.hero-page{
  min-height:clamp(380px,46vh,520px);display:flex;align-items:flex-end;
  padding:122px 0 clamp(40px,4vw,60px);
}
.hero-page .wrap{width:100%}
.hero-page h1{max-width:26ch;font-size:clamp(44px,5.4vw,68px);line-height:.98;margin-bottom:.25em}
.hero-page .lede{max-width:64ch;font-size:clamp(16px,1.7vw,20px);line-height:1.55}
.hero-page .eyebrow{color:var(--red);letter-spacing:.16em;margin-bottom:16px;text-shadow:0 1px 3px rgba(0,0,0,.85)}
.hero-page .eyebrow .tick,.cta-band .eyebrow .tick{display:block;width:30px;height:3px;background:var(--red)}
.hero-page .hero-veil{background:linear-gradient(90deg,rgba(15,18,22,.72),rgba(15,18,22,0) 64%),linear-gradient(180deg,rgba(15,18,22,.6),rgba(15,18,22,.92))}
/* Photographic variant. Without a backdrop the band keeps the flat ink and
   the diagonal hatch from .hero, which is the lighter option for Contact. */
.hero-page.has-bg::before{opacity:.5}

/* ---- Expanded service cards -----------------------------------------
   There are no per-service pages, so a card cannot be a teaser that links
   somewhere: it has to carry the whole service. Name, lede, body and the
   full scope list, which is roughly four times what the Wright service card
   holds. Two columns rather than three because the scope lists run to six
   items and three columns made a very tall, very narrow card.
   Each one is an anchor target for the home grid's deep links. */
.svcx-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:38px}
.svcx{
  position:relative;display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--line);
  scroll-margin-top:90px;
}
/* The red rule wipes across the top on hover, the same gesture the photo
   tiles use, so a card that cannot be clicked still feels part of the set. */
.svcx::after{
  content:"";position:absolute;top:-1px;left:0;right:0;height:3px;
  background:var(--red);transform:scaleX(0);transform-origin:left center;
  transition:transform .34s cubic-bezier(.22,.8,.3,1);
}
.svcx:hover::after{transform:scaleX(1)}
.svcx-media{display:block;overflow:hidden}
.svcx-media .fhov{aspect-ratio:16/9}
.svcx-body{padding:26px 26px 28px;display:flex;flex-direction:column;flex:1 1 auto}
.svcx-k{
  display:flex;align-items:center;gap:10px;margin:0 0 12px;
  font-family:var(--mono);font-size:11px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--slate);
}
.svcx-k .n{color:var(--red)}
.svcx h3{
  margin:0 0 12px;font-family:var(--display);font-weight:700;
  text-transform:uppercase;letter-spacing:.01em;line-height:1.05;
  font-size:clamp(25px,2.4vw,30px);
}
/* One text colour and one size for the card copy (Eli, 2026-11-10): the lede
   and body were 17px ink and 15.5px slate, which read as two voices. */
.svcx-lede{margin:0 0 12px;font-size:16px;line-height:1.65;color:var(--ink)}
.svcx-body > p:last-of-type{margin:0}
.svcx-body .prose{font-size:16px;line-height:1.65;color:var(--ink);margin:0 0 22px}
/* Stacked, the scope list sits at the foot of the card. Side by side, the
   subgrid below lines the lists up across the row. */
.svcx-scope{margin-top:auto;padding-top:20px;border-top:1px solid var(--line)}
.svcx-scope .k{
  display:block;margin:0 0 11px;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;color:var(--slate);
}
.svcx-scope ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.svcx-scope li{position:relative;padding-left:20px;font-size:14.5px;line-height:1.45;color:var(--ink)}
.svcx-scope li::before{content:"";position:absolute;left:0;top:.58em;width:10px;height:3px;background:var(--red)}

/* The flagship spans the row: photograph on one side, copy and scope split
   across the other, so it reads as the lead service rather than one of seven. */
.svcx-feature{grid-column:1 / -1}
.svcx-feature .svcx-body{display:grid;grid-template-columns:1.15fr 1fr;gap:30px;align-items:start;padding:30px}
.svcx-feature .svcx-media .fhov{aspect-ratio:21/9}
.svcx-feature h3{font-size:clamp(28px,3vw,38px)}
.svcx-feature .svcx-scope{margin-top:0;padding-top:0;border-top:0;border-left:1px solid var(--line);padding-left:30px}
.svcx-feature .svcx-scope ul{gap:11px}
.svcx-feature .svcx-scope li{font-size:15px}

/* Side by side, the scope lists were meant to start on one line across a row,
   but margin-top:auto pushed each to the card foot, so a four-item list
   started 30px below a five-item neighbour: Fire against Vehicle Impact, Mold
   against Odor. Subgrid shares the photo, copy and list rows between the two
   cards, so every divider in a row lines up whatever the copy or list length.
   The body wrapper steps aside (display:contents) and its padding moves onto
   the two blocks it held. Browsers without subgrid keep the flex layout. */
@supports (grid-template-rows:subgrid){
  @media (min-width:861px){
    .svcx:not(.svcx-feature){display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0}
    .svcx:not(.svcx-feature) .svcx-body{display:contents}
    .svcx:not(.svcx-feature) .svcx-body > div:first-child{padding:26px 26px 0}
    .svcx:not(.svcx-feature) .svcx-scope{margin:0 26px;padding-bottom:28px}
  }
}

/* ---- Parent-company band --------------------------------------------
   The Wright backing is the single strongest credential this division has,
   so on About it gets a band of its own rather than a line in a card. */
.parent-split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,4vw,52px);align-items:center}
.parent-split .fhov{aspect-ratio:4/3}
/* Wright lifts a feature photograph off the page; grid tiles stay flat. */
.parent-split .fhov,#swingley .split .fhov{box-shadow:0 18px 36px -20px rgba(21,24,28,.5)}

@media (max-width:1000px){
  /* Stacked, the grid gap and the prose margin add up, so the flagship carries
     its divider 51px off the copy against 27px on the other six. */
  .svcx-feature .svcx-body{grid-template-columns:1fr;gap:22px}
  .svcx-feature .svcx-body .prose{margin-bottom:0}
  .svcx-feature .svcx-scope{border-left:0;padding-left:0;padding-top:20px;border-top:1px solid var(--line)}
  .parent-split{grid-template-columns:1fr;gap:28px}
}
@media (max-width:860px){
  .svcx-grid{grid-template-columns:1fr}
}

/* ---- Service jump bar ------------------------------------------------
   Ported from the Wright services page, values and all. It earns its place
   twice here: there are no per-service pages, so this is the only index of
   the seven anywhere on the site, and the anchors give a crawler seven named
   in-page destinations to work with instead of one long undifferentiated
   page. Scrolls horizontally on a phone rather than wrapping to four rows. */
/* Contained like Wright's (Eli, 2026-11-10): the ink band runs full width,
   the links sit inside .wrap so the bar starts and ends on the same margins
   as the content below it, and labels wrap to two lines instead of crowding. */
.svc-jumpband{background:var(--ink);border-top:1px solid #353C46;border-bottom:1px solid #353C46}
.svc-jumpbar{display:flex;flex-wrap:nowrap}
.svc-jump{
  flex:1 1 0;min-width:0;display:flex;align-items:center;gap:9px;
  padding:16px 13px;border-right:1px solid #353C46;
  font-family:var(--mono);font-size:10.5px;letter-spacing:.05em;line-height:1.3;
  text-transform:uppercase;color:#C3C9D0;text-decoration:none;
  transition:background .15s,color .15s;
}
.svc-jump:last-child{border-right:0}
.svc-jump-n{color:var(--red);flex:none}
.svc-jump:hover,.svc-jump:focus-visible{background:#2B313A;color:#fff}
/* Seven labels stop fitting across long before a phone: between 761 and 1000
   they ran into each other. So the bar scrolls from 1000 down. */
@media (max-width:1000px){
  .svc-jumpbar{overflow-x:auto;-webkit-overflow-scrolling:touch;padding-left:0;padding-right:0}
  .svc-jump{flex:0 0 auto;white-space:nowrap}
}

/* The feature photo is a 21:9 banner on desktop, which at 390px wide is a
   167px sliver with nothing readable in it. h2o_figure() writes the ratio
   inline, so beating it needs !important, as most responsive overrides in
   this stylesheet do. */
@media (max-width:860px){
  .svcx-feature .svcx-media .fhov{aspect-ratio:16/9 !important}
}

/* =========================================================================
   Print. A printed page never scrolls, so the reveal left everything below the
   hero blank, and browsers drop background colours by default, which turns
   white type on an ink band into white on paper. The page goes to the printer
   in full, in colour, and does not split a card across two sheets.
   ========================================================================= */
@media print{
  *{-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .h2o-anim [data-reveal],
  .h2o-anim section h2,
  .h2o-anim section h3,
  .h2o-anim section h4,
  .h2o-anim section p,
  .h2o-anim section ul,
  .h2o-anim section ol{opacity:1 !important;transform:none !important;transition:none !important}
  .site-header{position:absolute}
  /* Paper is narrower than 860, so the collapsed menu is in play, and a fixed
     element repeats on every sheet, which printed it over the page bottom. */
  .nav,.navtoggle,.heroscroll,.skip,.h2o-lightbox,.svc-jumpband,.cform{display:none !important}
  .hero-full{min-height:0}
  .card,.svc,.svcx,.steps li,.stat,.cmp,.casenote,.site-footer{break-inside:avoid}
  h2,h3,.eyebrow{break-after:avoid}
}

/* =========================================================================
   About, rebuilt 2026-11-17 around Steven Plant and Chris Stamm
   ========================================================================= */
/* 01 Leadership: the one photograph of the two of them, full width under the
   usual eyebrow, heading and lede, at its own 3:2 so nothing is cropped. */
.lead-photo{margin-top:clamp(30px,3.6vw,46px)}
.lead-photo .fhov{box-shadow:0 18px 36px -20px rgba(21,24,28,.5)}

/* 02 The Team: two profile cards, an ink header over the full bio. Each card
   spans two rows of the parent grid through subgrid, so both bios start at
   the same height whatever each tagline's length, and the cards end level.
   Without subgrid support the card simply stacks its two parts. */
.team-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:clamp(20px,2.4vw,32px);row-gap:0;margin-top:clamp(28px,3.4vw,42px);
}
.bio-card{
  display:grid;grid-row:span 2;grid-template-rows:subgrid;
  background:var(--white);border:1px solid var(--line);
}
.bio-top{
  background:var(--ink);color:#fff;border-bottom:3px solid var(--red);
  padding:clamp(26px,2.6vw,34px) clamp(24px,2.6vw,34px) clamp(26px,2.6vw,32px);
}
.bio-role{
  margin:0 0 12px;font-family:var(--mono);font-weight:500;font-size:12px;
  letter-spacing:.16em;text-transform:uppercase;color:var(--red);
}
.bio-name{font-size:clamp(34px,3.4vw,46px);line-height:1;margin:0}
.bio-tag{
  margin:18px 0 0;font-family:var(--body);font-size:16.5px;line-height:1.6;
  color:#C3C9D0;max-width:46ch;
}
.bio-full{padding:clamp(26px,2.6vw,34px) clamp(24px,2.6vw,34px) clamp(30px,3vw,38px)}
.bio-full p{margin:0;font-size:16.5px;line-height:1.75;color:#3A414B}
.bio-full p + p{margin-top:16px}
@media (max-width:900px){
  .team-grid{grid-template-columns:1fr;row-gap:24px}
  .bio-card{display:flex;flex-direction:column;grid-row:auto}
}

/* 04 The Backing: two rows. The copy and the Wright tile share the first,
   and the tile stretches to the copy's height so the halves end level; the
   four credentials take the second, full width (Eli, 2026-11-17: the right
   column had run far taller than the left). Ink and the red rule echo the
   bio-card headers. The artwork is Wright's reverse logo, drawn for a dark
   ground; a 760px cut of the 1799px master. */
.backing-split{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
  gap:clamp(40px,5vw,72px);align-items:stretch;
}
.backing-split h2{margin-top:0}
.wbs-mark{
  position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:clamp(16px,1.8vw,22px);min-height:240px;
  background:var(--ink);border-bottom:3px solid var(--red);
  padding:clamp(32px,4vw,56px) clamp(24px,3.4vw,48px);text-decoration:none;transition:background .2s;
}
.wbs-mark-k{
  font-family:var(--mono);font-weight:500;font-size:11px;letter-spacing:.18em;
  text-transform:uppercase;color:#9BA3AD;line-height:1;
}
.wbs-mark img{display:block;width:min(100%,380px);height:auto}
.wbs-mark:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.cred-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;
  margin-top:clamp(40px,4.4vw,60px);
}
.cred-grid .card{padding:26px 24px 28px}
@media (max-width:1100px){.cred-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:1000px){.backing-split{grid-template-columns:1fr;gap:32px}}
@media (max-width:560px){.cred-grid{grid-template-columns:1fr}}

/* Red line drawn across the top on hover, the same wipe .fhov runs along the
   bottom of a photograph (Eli, 2026-11-17). On the bio cards and the Wright
   tile; the 3px rule under each ink header stays as it is. */
.bio-card,.wbs-mark{position:relative}
.bio-card::before,.wbs-mark::before{
  content:"";position:absolute;left:-1px;right:-1px;top:-1px;height:3px;z-index:2;
  background:var(--red);transform:scaleX(0);transform-origin:left center;
  transition:transform .34s cubic-bezier(.22,.8,.3,1);
}
.wbs-mark::before{left:0;right:0;top:0}
.bio-card:hover::before,.wbs-mark:hover::before,.wbs-mark:focus-visible::before{transform:scaleX(1)}


/* ---- About 01, Leadership and Team in one section (2026-11-17) --------
   The lede is short and set wide so it holds to about three lines. */
.lead-lede{max-width:78ch}
.lead-photo{position:relative}
/* The photo is never cropped (Eli, 2026-11-17: "i dont want you to crop the
   image"): it shows its whole 3:2 frame at every width. A viewport-fitted
   height that trimmed the bottom on laptops was tried and removed. */
@media (min-width:1001px){.lead-sec{padding-top:clamp(56px,5vw,72px)}}
/* The cards sit directly under the photo. The photo is mirrored so Steven
   stands left (Eli, 2026-11-17), so source order matches it: Steven, then
   Chris. */

/* Ledger on a dark band: the rule above the list is red, as the accent rules
   on every ink surface are (Eli, 2026-11-17), not white. */
.sec-ink .ledger li:first-child,.sec-steel .ledger li:first-child{border-top-color:var(--red)}
@media (max-width:1180px){.sec-ink .why-cols .ledger li:nth-child(2){border-top-color:var(--red)}}

/* Services CTA: the trailer photo. The band is a wide strip on a desktop, so
   the crop keeps the WBS truck whole first (Eli: "try not to crop the
   truck", 37-62% down the frame) and the trailer's side logo (29-43%);
   the phone cut is already framed on it. */
.cta-trailer .hero-bg{object-position:50% 38%}
@media (max-width:640px){.cta-trailer .hero-bg{object-position:50% 50%}}

/* Contact header: the H2O trailer and the Wright truck. The file is Eli's
   2026-11-18 cut of DSC06704 with generative fill added on the left (trees
   and shrubs, about 12% of the width), which gives the edge fade room to
   work without reaching the trailer. Plate blurred in the file. In the
   full-width fill below 1320 the frame is scaled to the band's width and
   cropped top and bottom; 52% keeps both vehicles centred in it. */
.hero-contact .hero-bg{object-position:55% 52%}
/* Wide screens: the whole photo, uncropped, at the band's full height on the
   right beside the copy, under a light veil. Its left edge fades over an
   eased 13%, which lies entirely in the generated strip, into .hero-blur: a
   blurred, dimmed copy of the frame that carries its colour on leftward and
   dissolves into the ink over half its width. Photo straight into flat ink
   read as a smudged seam (Eli, 2026-11-18: "lets get a better gradient
   here"); this has none. History: a deep fade under the page veil hid the
   trailer ("aggressive"), a hard edge looked cut out.
   Below 1320 the photo reaches far enough left to sit under the headline
   with the trailer in full colour, so it falls back to the full-width fill
   under the standard page veil. */
.hero-blur{display:none}
@media (min-width:1320px){
  .hero-contact .hero-blur{
    display:block;position:absolute;top:-60px;bottom:-60px;right:0;width:78%;z-index:0;
    background-size:cover;background-position:50% 50%;
    filter:blur(36px) brightness(.62) saturate(.85);
    -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.08) 12%,rgba(0,0,0,.25) 24%,rgba(0,0,0,.5) 36%,rgba(0,0,0,.75) 46%,#000 56%);
    mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.08) 12%,rgba(0,0,0,.25) 24%,rgba(0,0,0,.5) 36%,rgba(0,0,0,.75) 46%,#000 56%);
  }
  .hero-contact .hero-bg{
    left:auto;right:0;width:auto;height:100%;aspect-ratio:2314/1365;max-width:66%;
    object-fit:cover;object-position:100% 50%;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.03) 1.5%,rgba(0,0,0,.1) 3%,rgba(0,0,0,.22) 4.5%,rgba(0,0,0,.38) 6%,rgba(0,0,0,.56) 7.5%,rgba(0,0,0,.74) 9%,rgba(0,0,0,.88) 10.5%,rgba(0,0,0,.97) 12%,#000 13%);
    mask-image:linear-gradient(90deg,transparent 0,rgba(0,0,0,.03) 1.5%,rgba(0,0,0,.1) 3%,rgba(0,0,0,.22) 4.5%,rgba(0,0,0,.38) 6%,rgba(0,0,0,.56) 7.5%,rgba(0,0,0,.74) 9%,rgba(0,0,0,.88) 10.5%,rgba(0,0,0,.97) 12%,#000 13%);
  }
  /* Kept narrow enough to end before the trailer starts. */
  .hero-contact .lede{max-width:46ch}
  .hero-contact .hero-veil{background:linear-gradient(180deg,rgba(15,18,22,.28),rgba(15,18,22,.5))}
}

/* Hover lift, the one the homepage service cards and the credential cards
   already have (Eli, 2026-11-17): up 4px with a soft shadow, alongside the
   red line each of these draws across the top. On the Services page cards,
   the About bio cards and the Wright tile. */
.svcx,.bio-card,.wbs-mark{transition:transform .2s,box-shadow .2s}
.svcx:hover,.bio-card:hover,.wbs-mark:hover,.wbs-mark:focus-visible{
  transform:translateY(-4px);box-shadow:0 18px 40px -22px rgba(21,24,28,.32);
}
/* These three also scroll-reveal, and the settled reveal state
   (.h2o-anim [data-reveal].h2o-in{transform:none}) outranks a plain :hover,
   so the lift never showed. Scoped to the revealed state so it wins, with a
   quick transition on the way up; the reveal's own easing carries it down. */
.h2o-anim .svcx.h2o-in:hover,
.h2o-anim .bio-card.h2o-in:hover,
.h2o-anim .wbs-mark.h2o-in:hover,
.h2o-anim .wbs-mark.h2o-in:focus-visible{
  transform:translateY(-4px);transition:transform .2s,box-shadow .2s;
}

/* Home mission band on the trailer photo (2026-11-17): the same aim as the
   CTA, the WBS truck whole first. */
.mission-trailer .hero-bg{object-position:50% 42%}
.mission-trailer .mission-veil{background:linear-gradient(rgba(20,23,27,.82),rgba(20,23,27,.92))}
@media (max-width:640px){.mission-trailer .hero-bg{object-position:50% 50%}}

/* ---- Footer, one type system (Eli, 2026-11-17) -----------------------
   Four roles and no others:
     heading  white mono caps, 11px     .foot-h
     label    grey mono caps, 10.5px    dt
     value    Archivo 15px, #C3C9D0     dd, nav links, blurb
     phone    Barlow Condensed, white   .foot-phone, the one emphasis
   The email is a value in white with an underline, so it reads as a link. */
.site-footer{font-size:15px;color:#C3C9D0}
.foot-h{font-size:11px;letter-spacing:.16em;color:#fff;margin:0 0 18px;line-height:1.4}
.foot-blurb{margin:0;max-width:34ch;line-height:1.65;color:#9BA3AD}
.foot-list{gap:10px}
.foot-list a{color:#C3C9D0;line-height:1.5}
.foot-list a:hover,.foot-list a:focus-visible{color:#fff}
.foot-dl{margin:0;display:grid;gap:16px}
.foot-dl dt{
  font-family:var(--mono);font-weight:500;font-size:10.5px;letter-spacing:.14em;
  text-transform:uppercase;color:#828A94;margin:0 0 5px;line-height:1.3;
}
.foot-dl dd{margin:0;line-height:1.6;color:#C3C9D0}
.foot-dl .nw{white-space:nowrap}
.site-footer .foot-phone{
  display:inline-block;font-family:var(--display);font-weight:700;
  font-size:clamp(26px,2.2vw,30px);letter-spacing:.02em;line-height:1.1;color:#fff;
  white-space:nowrap;border-bottom:2px solid transparent;transition:border-color .18s;
}
.site-footer .foot-mail{color:#fff;border-bottom:1px solid rgba(255,255,255,.3);transition:border-color .18s;overflow-wrap:anywhere}
.site-footer .foot-phone:hover,.site-footer .foot-phone:focus-visible,
.site-footer .foot-mail:hover,.site-footer .foot-mail:focus-visible{color:#fff;border-bottom-color:var(--red)}
.foot-bottom{color:#828A94}
@media (max-width:860px){.foot-dl a{display:inline-block;padding:7px 0}}


/* ---- Phone menu, matched to Wright ------------------------------------
   Eli, 2026-11-18: "make sure the mobile layout for the menu n stuff is the
   same as WBS". Ported rule for rule from the Wright theme's 860px block:
   logo at 200px, the header Contact button dropped once the hamburger shows,
   a bordered 46x42 toggle that turns red when open, and a full-screen ink
   menu that fades in with big numbered Barlow links, red arrows, a staggered
   rise, a full-width red button and a contact line. Wright's link colour is
   #C3C9D0 (inline on its anchors). Differences: three links rather than
   five, so each is capped at Wright's rendered height instead of stretching
   to fill the screen; the side padding follows this header's so the links
   line up under the logo; the current page is red, as Wright's rule intends
   (its anchors never carry the class, so it never shows there). */
.navcta,.navinfo{display:none}
@media (max-width:860px){
  .site-header .header-cta{display:none}
  .site-header .brand{position:relative;z-index:55}
  .site-header .brand img{width:200px;height:auto}
  .navtoggle{display:flex;margin-left:auto;margin-right:0;width:46px;height:42px;flex-direction:column;align-items:center;justify-content:center;gap:5px;background:rgba(15,18,22,.5);border:1px solid #4A525E;cursor:pointer;padding:0;position:relative;z-index:60;transition:border-color .15s}
  .site-header.navopen .navtoggle{border-color:var(--red)}
  .navtoggle span{display:block;width:22px;height:2px;margin:0;background:#fff;transition:.2s}
  .site-header.navopen{background:var(--ink);box-shadow:none}
  .nav{position:fixed;inset:0;z-index:40;background:var(--ink);flex-direction:column;justify-content:flex-start;align-items:stretch;gap:0;margin:0;padding:clamp(84px,13vh,110px) var(--gutter) clamp(26px,5vh,38px);display:flex;opacity:0;visibility:hidden;transform:none;transition:opacity .32s ease,visibility .32s;counter-reset:nav;overflow-y:auto;font-size:inherit;letter-spacing:normal}
  .site-header.navopen .nav{opacity:1;visibility:visible}
  .nav a.nlink{flex:1 1 auto;min-height:60px;max-height:108px;display:flex;align-items:center;gap:clamp(14px,4vw,20px);padding:8px 0;border-top:1px solid #262C34;border-bottom:0;font-family:var(--display);font-size:clamp(34px,9.4vw,46px);font-weight:700;line-height:.98;letter-spacing:.01em;text-transform:uppercase;color:#C3C9D0;background:none;text-align:left;opacity:0;transform:translateY(14px);transition:opacity .4s ease,transform .4s ease,color .18s}
  .nav a.nlink:first-of-type{border-top:0}
  .nav a.nlink::before{counter-increment:nav;content:counter(nav,decimal-leading-zero);font-family:var(--mono);font-size:13px;font-weight:500;color:var(--red);letter-spacing:.1em;min-width:24px}
  .nav a.nlink::after{content:'\2192';margin-left:auto;font-size:.5em;font-weight:700;color:var(--red);opacity:.45;transform:translateX(-5px);transition:transform .3s ease,opacity .3s ease}
  .nav a.nlink:hover,.nav a.nlink:focus-visible{background:none}
  .nav a.nlink:active,.nav a.nlink[aria-current="page"]{color:var(--red);background:none}
  .nav a.nlink:active::after,.nav a.nlink[aria-current="page"]::after{opacity:1;transform:translateX(0)}
  .site-header.navopen .nav a.nlink{opacity:1;transform:none}
  .site-header.navopen .nav a.nlink:nth-child(1){transition-delay:.08s}
  .site-header.navopen .nav a.nlink:nth-child(2){transition-delay:.12s}
  .site-header.navopen .nav a.nlink:nth-child(3){transition-delay:.16s}
  .navcta{display:flex;align-items:center;justify-content:center;gap:12px;margin:clamp(22px,3.4vh,32px) 0 0;padding:20px;text-align:center;background:var(--red);color:#fff;font-family:var(--mono);font-size:14px;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;font-weight:600}
  /* Wright's links here are 18-20px tall, too small to tap. Same look, with
     11px of padding above and below and the gap above trimmed to match. */
  .navinfo{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:0 16px;flex-wrap:wrap;margin-top:clamp(7px,1.3vh,13px);font-family:var(--mono);font-size:12px;letter-spacing:.05em}
  .navinfo a{color:#C3C9D0;text-decoration:none;display:inline-block;padding:11px 0}
  .navinfo .navinfo-soc{display:flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.1em;font-size:11px;color:#9BA3AD}
}
@media (max-width:430px){.nav{padding-left:16px;padding-right:16px}}
/* The email in the Home and Contact details list was 18px tall on a phone,
   half a fingertip. The hit area is grown 11px above and below by a
   pseudo-element, so the underline and the list spacing do not move. */
@media (max-width:860px){
  .cdeets a{position:relative}
  .cdeets a::after{content:"";position:absolute;left:0;right:0;top:-11px;bottom:-11px}
}
