/* ===========================================================================
   DVA Fabrications — design system
   Direction A "Editorial": Fraunces display serif + Manrope, warm neutrals,
   brand teal used as a restrained accent rather than a wash.

   Loaded AFTER Bootstrap. Everything here layers on top; the grid, dropdowns,
   accordions and modals are still Bootstrap's.
   =========================================================================== */

/* ---------------------------------------------------------------- fonts */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:400;font-display:swap;
  src:url(/assets/fonts/fraunces-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:600;font-display:swap;
  src:url(/assets/fonts/fraunces-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;
  src:url(/assets/fonts/manrope-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;
  src:url(/assets/fonts/manrope-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;
  src:url(/assets/fonts/manrope-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;
  src:url(/assets/fonts/manrope-latin-700-normal.woff2) format('woff2')}

/* --------------------------------------------------------------- tokens */
:root{
  --dva:#0F5C78;            /* accent — links, active states */
  --dva-deep:#046484;       /* hero scrim */
  --dva-dark:#0B4459;
  --dva-light:#E7F0F4;
  --ink:#1A1F21;
  --ink-soft:#3E4548;
  --muted:#6E736F;
  --muted-2:#8A8880;
  --paper:#FAF8F5;          /* page background */
  --paper-2:#F4F0EA;        /* alternating band */
  --paper-3:#F2EDE6;
  --line:#E7E0D6;
  --line-2:#EDE7DE;
  /* Gold, for the services icons. Two tones on purpose: one cannot carry both
     grounds — the light tone disappears on paper and the deep one goes muddy
     on the teal bands. */
  --gold:#A97B25;
  --gold-lift:#E0B45C;
  --gold-tint:#F4E9D2;
  --serif:'Fraunces',Georgia,'Times New Roman',serif;
  --sans:'Manrope',system-ui,-apple-system,'Segoe UI',sans-serif;

  --bs-body-font-family:var(--sans);
  --bs-body-color:var(--ink);
  --bs-body-bg:var(--paper);
  --bs-link-color:var(--dva);
  --bs-link-hover-color:var(--dva-dark);
  --bs-border-color:var(--line);
}

/* ----------------------------------------------------------- foundation */
html{scroll-behavior:smooth}
body{font-family:var(--sans);background:var(--paper);color:var(--ink);
  font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility}
h1,h2,h3,.serif{font-family:var(--serif);font-weight:600;letter-spacing:-.015em;line-height:1.1}
h4,h5,h6{font-family:var(--sans);font-weight:700;letter-spacing:-.01em}
h1{font-size:clamp(2.3rem,4.2vw,3.5rem)}
h2{font-size:clamp(1.7rem,2.6vw,2.3rem)}
h3{font-size:clamp(1.3rem,1.8vw,1.6rem)}
a{text-decoration:none}
p{margin-bottom:1rem}
.lead{font-size:1.08rem;color:var(--muted);font-weight:400}
img{max-width:100%}
::selection{background:var(--dva);color:#fff}
:focus-visible{outline:2px solid var(--dva);outline-offset:3px}

.eyebrow{display:block;font-size:11px;letter-spacing:.2em;text-transform:uppercase;
  font-weight:600;color:var(--dva)}
.sec{padding:96px 0}
.sec.bg-light,.sec-alt{background:var(--paper-2)!important}
.text-dva{color:var(--dva)!important}
.bg-dva{background:var(--dva)!important}
.bg-dva-light{background:var(--dva-light)!important}
.stat{font-family:var(--serif);font-size:1.55rem;font-weight:600;color:var(--ink);line-height:1}

/* ---------------------------------------------------------------- buttons */
.btn{border-radius:2px;font-weight:600;letter-spacing:.01em;padding:.72rem 1.5rem;
  transition:background .2s ease,color .2s ease,border-color .2s ease}
.btn-lg{padding:.9rem 1.75rem;font-size:.95rem}
.btn-sm{padding:.5rem 1rem;font-size:.82rem}
.btn-dva{background:var(--ink);color:var(--paper);border:1px solid var(--ink)}
.btn-dva:hover,.btn-dva:focus{background:var(--dva);border-color:var(--dva);color:#fff}
.btn-outline-dva{background:transparent;border:1px solid #C9C0B3;color:var(--ink)}
.btn-outline-dva:hover,.btn-outline-dva:focus{border-color:var(--ink);background:transparent;color:var(--ink)}

/* ---------------------------------------------------------------- header */
/* Two bands: a green utility strip carrying the address, phone and email, and
   a white bar carrying the logo and the menu. Tokens rather than literals, so
   the strip follows the palette — it is eucalyptus now and was teal before.
   The strip is Soft Sage with deep eucalyptus text — 6.14:1, past the 4.5:1
   body-text floor at 14px. It is the quietest of the options we looked at,
   which puts the first strong colour of the page on the hero panel rather
   than on a utility bar carrying an address.

   Sage against the white bar below is a gentle step, so the hairline is back.
   It is a tint of the green rather than a grey line, so it reads as the edge
   of the band and not as a rule sitting on top of it.

   To try another: change --paper-2 below, and the text colour with it —
     var(--dva)       Fresh Eucalyptus  + color:#fff                   5.18:1
     var(--dva-dark)  deep eucalyptus   + color:#DCE7DF                5.67:1
     var(--gold-lift) Natural Sand      + color:var(--ink)             6.86:1 */
.siteheader{position:sticky;top:0;z-index:1030;background:#fff;
  box-shadow:0 1px 0 var(--line)}
.topbar{background:var(--paper-2);color:var(--dva-dark);font-size:14px;
  border-bottom:1px solid rgba(62,94,79,.14)}
.topbar a{color:var(--dva-dark)}
.topbar a:hover{color:var(--ink)}
.navbar{background:#fff;border-bottom:0;padding-top:1rem;padding-bottom:1rem}
.logo{height:44px}
.navbar .nav-link{font-weight:500;color:var(--ink-soft);font-size:15.5px;
  padding:.45rem .8rem!important;position:relative}
.navbar .nav-link:hover,.navbar .nav-link.active{color:var(--dva)}
.navbar .nav-link.active::after{content:'';position:absolute;left:.8rem;right:.8rem;
  bottom:.05rem;height:1.5px;background:var(--dva)}
.dropdown-menu{border:1px solid var(--line);border-radius:2px;padding:.4rem;
  box-shadow:0 12px 40px rgba(26,31,33,.10)}
.dropdown-item{border-radius:2px;font-size:15px;padding:.55rem .8rem;color:var(--ink-soft)}
.dropdown-item:hover{background:var(--paper-2);color:var(--dva)}
.quote-pill{background:var(--dva);color:#fff;border-radius:2px;padding:.65rem 1.25rem;
  font-weight:600;font-size:14.5px;border:0;position:relative;letter-spacing:.02em}
.quote-pill:hover{background:var(--dva-dark);color:#fff}
.quote-pill .badge{position:absolute;top:-7px;right:-7px;background:var(--ink);
  font-size:.66rem;font-weight:700}

/* Home: header floats over the hero slider */
/* Over the hero the header has no background of its own. It still needs one
   guarantee: the top bar carries the phone number and the email address in
   small text, and a bright photograph behind it makes them unreadable. A short
   gradient — dark at the very top, gone by the bottom of the nav — keeps the
   floating look and keeps the contrast. Real project photography is brighter
   and busier than the placeholders this was designed against, which is when
   the problem showed up. */
/* With the wash off the photograph, this band is the only thing behind the
   navigation — and these photographs are brightest exactly where the menu
   sits. A soft fade measured 1.8–2.7:1 for the links, which is unreadable, so
   it is now near-solid down to the bottom of the nav row and fades out only in
   the last quarter. Links land at 6.1–7.9:1, the top bar around 9:1. */
body.overlay-nav .siteheader{position:absolute;top:0;left:0;right:0;box-shadow:none;
  background:linear-gradient(180deg,rgba(3,40,53,.92) 0%,rgba(3,40,53,.92) 76%,
                             rgba(3,40,53,0) 100%)}
body.overlay-nav .topbar{background:transparent;color:rgba(255,255,255,.74);
  border-bottom:1px solid rgba(255,255,255,.16)}
body.overlay-nav .topbar a{color:rgba(255,255,255,.74)}
body.overlay-nav .topbar a:hover{color:#fff}
body.overlay-nav .navbar{background:transparent}
body.overlay-nav .navbar .nav-link{color:rgba(255,255,255,.88)}
body.overlay-nav .navbar .nav-link:hover,body.overlay-nav .navbar .nav-link.active{color:#fff}
body.overlay-nav .navbar .nav-link.active::after{background:#fff}
body.overlay-nav .navbar-brand img{filter:brightness(0) invert(1)}
body.overlay-nav .navbar-toggler-icon{filter:invert(1)}
body.overlay-nav .quote-pill{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.30);
  backdrop-filter:blur(6px)}
body.overlay-nav .quote-pill:hover{background:#fff;color:var(--ink)}
body.overlay-nav.scrolled .siteheader{position:fixed;background:rgba(250,248,245,.97);
  backdrop-filter:saturate(180%) blur(12px);box-shadow:0 1px 0 var(--line),0 8px 30px rgba(26,31,33,.06);
  animation:navDrop .34s cubic-bezier(.22,.9,.3,1) both}
body.overlay-nav.scrolled .topbar{display:none}
body.overlay-nav.scrolled .navbar .nav-link{color:var(--ink-soft)}
body.overlay-nav.scrolled .navbar .nav-link:hover,
body.overlay-nav.scrolled .navbar .nav-link.active{color:var(--dva)}
body.overlay-nav.scrolled .navbar .nav-link.active::after{background:var(--dva)}
body.overlay-nav.scrolled .navbar-brand img{filter:none}
body.overlay-nav.scrolled .navbar-toggler-icon{filter:none}
body.overlay-nav.scrolled .quote-pill{background:var(--dva);border-color:var(--dva);color:#fff}
@keyframes navDrop{from{transform:translateY(-100%)}to{transform:none}}

/* ------------------------------------------------------------- mega-menu */
/* Bootstrap positions .dropdown-menu against its own <li>, which would push a
   five-column panel off screen. Anchoring it to the navbar instead lets it
   span the container while the trigger stays where it is. */
.megawrap{position:static}
.navbar .dropdown-menu.mega{width:min(1140px,calc(100vw - 2rem));padding:0;
  border-radius:3px;border:1px solid var(--line);background:var(--paper);
  box-shadow:0 24px 60px rgba(26,31,33,.14);left:50%;transform:translateX(-50%);
  margin-top:.5rem}
.mega-in{display:grid;grid-template-columns:repeat(5,1fr);gap:0;padding:1.6rem 1.4rem 1.2rem}
.mega-col{padding:0 1rem;border-left:1px solid var(--line-2)}
.mega-col:first-child{border-left:0}
.mega-head{display:block;font:600 11px/1.3 var(--sans);letter-spacing:.16em;
  text-transform:uppercase;color:var(--dva);padding-bottom:.7rem;
  border-bottom:1px solid var(--line);margin-bottom:.7rem}
.mega-head:hover{color:var(--ink)}
.mega-col ul{list-style:none;margin:0;padding:0}
.mega-col li a{display:flex;justify-content:space-between;align-items:baseline;gap:.6rem;
  padding:.4rem 0;font-size:13.5px;color:var(--ink-soft);line-height:1.35}
.mega-col li a:hover{color:var(--dva)}
.mega-col li a span{font-size:11px;color:var(--muted-2);font-variant-numeric:tabular-nums}
.mega-foot{display:flex;justify-content:space-between;align-items:center;gap:1rem;
  padding:.9rem 2.4rem;border-top:1px solid var(--line);background:var(--paper-2);
  border-radius:0 0 3px 3px}
.mega-foot a{font:600 12.5px var(--sans);color:var(--dva);display:inline-flex;
  align-items:center;gap:.45rem}
.mega-foot a:hover{color:var(--ink)}
/* Under the mega-menu breakpoint Bootstrap's collapse takes over: the panel
   becomes a plain stacked list inside the burger menu. This tracks the
   navbar-expand-XL in partials/nav.php — the two must not drift apart, or the
   mega panel renders as a floating dropdown inside the burger. */
@media (max-width:1199.98px){
  .navbar .dropdown-menu.mega{width:100%;left:0;transform:none;box-shadow:none;
    border:0;background:transparent;margin-top:0}
  .mega-in{grid-template-columns:1fr;padding:.2rem 0 .6rem}
  .mega-col{border-left:0;padding:.5rem 0 0}
  .mega-foot{padding:.7rem 0;background:transparent;border-top:1px solid var(--line-2);
    flex-wrap:wrap}
}

/* ---------------------------------------------------------- hero slider */
/* Split hero. The copy sits on a solid panel and the photograph takes the rest
   of the width, so nothing is ever laid over the image — no wash, and the
   header no longer floats across it either. That is what finally reconciles
   "leave the photograph alone" with text you can actually read: measured
   white-on-panel is 7.2:1, against 1.0-2.0:1 when the copy sat on the photo. */
.heroslider{position:relative;height:min(74vh,720px);min-height:520px;overflow:hidden;
  background:var(--paper)}
.hslide{position:absolute;inset:0;opacity:0;pointer-events:none;
  transition:opacity 1.1s cubic-bezier(.4,0,.2,1)}
.hslide.on{opacity:1;pointer-events:auto}
.hslide-bg{position:absolute;inset:0 0 0 42%;background-size:cover;background-position:center;
  transform:scale(1.06);transition:transform 9s linear}
.hslide.on .hslide-bg{transform:scale(1.14)}
/* NO overlay on the photograph. The client asked for the brand colour over the
   navigation only, and then for the fade behind the copy to go as well, so the
   scrim element is now inert — kept in the markup because the slider script and
   the z-index order reference it, but painting nothing.

   Legibility therefore rests entirely on the text's own shadow below. That is a
   halo around the glyphs, not a layer over the image: the photograph itself is
   untouched at every pixel. It is weaker than a scrim, and on the brightest
   parts of these photographs the copy is doing well to hold its own — see the
   measurements in the delivery note. If it needs to be stronger without
   touching the image, the copy has to move off the photograph.
   Verified: the hero requests no extra paint and the image renders as shot. */
.hslide-scrim{position:absolute;inset:0;background:none}

.hslide-in{position:relative;height:100%;display:grid;grid-template-columns:42% 58%;
  max-width:none;width:100%;margin:0;z-index:5;
  /* The header floats over the hero (position:absolute, ~126px tall), so
     centring in the full height put the copy partly behind it on short
     screens — 6px of clearance on a 1280x720 laptop. The top padding reserves
     the header's height and the bottom keeps clear of the slide ticks, so the
     copy centres in the space a visitor can actually see. */
  padding:0}
/* The panel bleeds to the left edge of the window, but its text still lines up
   with the site container, so the hero's left margin matches every section
   below it. */
.hslide-copy{max-width:none;color:#fff;background:var(--dva-dark);
  display:flex;flex-direction:column;justify-content:center;
  padding:3rem 3.5rem 3rem max(1.5rem,calc((100vw - 1320px)/2 + 12px));
  opacity:0;transform:translateY(16px);
  transition:opacity .9s ease .18s,transform .9s cubic-bezier(.2,.8,.2,1) .18s}
.hslide.on .hslide-copy{opacity:1;transform:none}
.hslide-copy .eyebrow{color:#DCE7DF;margin-bottom:1.4rem}
.hslide-copy h1{font-size:clamp(2.4rem,4.5vw,4rem);margin:0;color:#fff;
  font-size:clamp(2rem,3.1vw,3rem)}
.hslide-copy .lead{color:rgba(255,255,255,.85);font-size:1.12rem;max-width:33rem;
  margin:1.4rem 0 2rem;color:rgba(255,255,255,.88);max-width:30rem}
.hslide-copy .btn-dva{background:var(--gold-lift);color:var(--ink);border-color:var(--gold-lift)}
.hslide-copy .btn-dva:hover{background:#E4D4B8;border-color:#E4D4B8;color:var(--ink)}
.hslide-copy .btn-outline-dva{border-color:rgba(255,255,255,.45);color:#fff}
.hslide-copy .btn-outline-dva:hover{border-color:#fff;background:rgba(255,255,255,.1);color:#fff}
.hcredit{position:absolute;left:42%;right:0;bottom:24px;z-index:6;padding:0 1.6rem;
  display:flex;justify-content:flex-end;gap:.6rem;align-items:baseline;
  color:rgba(255,255,255,.76);font-size:12px}
.hcredit b{font-weight:600;color:rgba(255,255,255,.92)}
.hticks{position:absolute;left:42%;right:auto;bottom:24px;z-index:8;display:flex;gap:10px;
  padding:0 1.6rem;max-width:none;margin:0}
.htick{background:0;border:0;padding:0;cursor:pointer;width:56px}
.htick i{display:block;height:2px;background:rgba(255,255,255,.32);position:relative;overflow:hidden}
.htick i::after{content:'';position:absolute;inset:0;background:#fff;transform:scaleX(0);transform-origin:left}
.htick.on i::after{animation:htickfill var(--htick-dur,7s) linear forwards}
@keyframes htickfill{to{transform:scaleX(1)}}
.htick:hover i{background:rgba(255,255,255,.55)}
.harrows{position:absolute;right:32px;top:50%;transform:translateY(-50%);z-index:8;
  display:flex;flex-direction:column;gap:10px}
.harrow{width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.32);
  background:rgba(255,255,255,.07);color:#fff;cursor:pointer;display:flex;
  align-items:center;justify-content:center;backdrop-filter:blur(6px);transition:.2s}
.harrow:hover{background:#fff;color:var(--ink);border-color:#fff}
@media(prefers-reduced-motion:reduce){
  .hslide,.hslide-bg,.hslide-copy{transition:none}
  .hslide.on .hslide-bg{transform:scale(1.06)}
  .htick.on i::after{animation:none;transform:scaleX(1)}
}
@media(max-width:991.98px){
  /* Stacked: photograph on top, panel beneath it. The header is a normal
     light bar now, so the hero needs no top padding at all. */
  .heroslider{height:auto;min-height:0;padding:0}
  .hslide-bg{position:relative;inset:auto;height:56vw;max-height:320px;width:100%}
  .hslide-in{grid-template-columns:1fr;height:auto}
  .hslide-copy{padding:2.5rem 1.5rem}
  .hcredit,.harrows{display:none}
  .hticks{position:static;left:auto;margin-top:2rem;padding:0}
  .hslide{position:relative;display:none}
  .hslide.on{display:block}
  .hcredit,.harrows{display:none}
  .hticks{position:static;margin-top:2.5rem;padding:0 12px}
}

/* -------------------------------------------------------- page sub-header */
.pagehead{position:relative;background-size:cover;background-position:center right;
  padding:4.6rem 0 4.4rem;color:#fff;overflow:hidden;background-color:#03485F}
.pagehead::before{content:'';position:absolute;inset:0;
  background:linear-gradient(100deg,rgba(4,100,132,.93) 0%,rgba(4,100,132,.80) 44%,
                                     rgba(4,100,132,.42) 100%)}
.pagehead::after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;
  background:linear-gradient(90deg,rgba(255,255,255,.5),rgba(255,255,255,.04))}
.pagehead .seam{position:absolute;top:0;left:0;right:0;height:3px;z-index:3;
  background:linear-gradient(90deg,var(--dva) 0%,var(--dva) 22%,
                                    rgba(4,100,132,.3) 60%,rgba(255,255,255,.06) 100%)}
.pagehead > .container{position:relative;z-index:2}
.pagehead .pcrumb{font-size:.76rem;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(255,255,255,.7);font-weight:600;margin-bottom:1.1rem;
  display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}
.pagehead .pcrumb a{color:rgba(255,255,255,.7)}
.pagehead .pcrumb a:hover{color:#fff}
.pagehead .pcrumb .sep{opacity:.45;font-weight:400}
.pagehead .pcrumb .cur{color:#fff}
.pagehead h1{margin:0;color:#fff;font-size:clamp(2.1rem,3.6vw,3.1rem)}
.pagehead .rule{width:56px;height:2px;background:#CFE9F4;margin:1.2rem 0 0}
.pagehead .psub{color:rgba(255,255,255,.86);max-width:38rem;margin:1.2rem 0 0;font-size:1.03rem}
.pagehead .container > *{animation:phIn .55s cubic-bezier(.22,.9,.3,1) both}
.pagehead .pcrumb{animation-delay:.02s}.pagehead h1{animation-delay:.08s}
.pagehead .rule{animation-delay:.14s}.pagehead .psub{animation-delay:.18s}
@keyframes phIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

/* ------------------------------------------- new to the range (dark band) */
.sec-dark{background:var(--dva-deep);color:#fff;padding:76px 0 72px;
  position:relative;overflow:hidden}
.sec-dark::before{content:'';position:absolute;inset:0;
  background:radial-gradient(120% 90% at 12% 0%,rgba(255,255,255,.08),transparent 60%)}
.sec-dark > .container{position:relative;z-index:2}
.sec-dark .eyebrow{color:#CFE9F4}
.sec-dark h2{color:#fff;font-size:1.85rem}
.nrhead{display:flex;justify-content:space-between;align-items:flex-end;
  flex-wrap:wrap;gap:1.2rem;margin-bottom:1.9rem}
.nrhead h2{margin:0}
.btn-ghost{border:1px solid rgba(255,255,255,.42);color:#fff;border-radius:2px;
  padding:.6rem 1.1rem;font:600 .84rem var(--sans);text-decoration:none;
  display:inline-flex;align-items:center;gap:.5rem;transition:.22s;white-space:nowrap}
.btn-ghost:hover{background:#fff;color:var(--ink);border-color:#fff}

.mosaic{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.mtile{display:flex;flex-direction:column;text-decoration:none}
/* White panels so the existing product shots sit cleanly whether or not they
   have a transparent background. */
.mtile .shot{background:#fff;border-radius:3px;overflow:hidden;position:relative;
  aspect-ratio:4/3;transition:box-shadow .3s,transform .3s}
.mtile:hover .shot{transform:translateY(-3px);box-shadow:0 16px 34px rgba(0,0,0,.20)}
.mtile .shot img{width:100%;height:100%;object-fit:contain;padding:8%;
  box-sizing:border-box;display:block;
  transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.mtile:hover .shot img{transform:scale(1.04)}
.mtile .meta{padding:.85rem .1rem 0}
.mtile .cat{font:600 9.5px/1 var(--sans);letter-spacing:.15em;
  text-transform:uppercase;color:#CFE9F4}
.mtile .nm{font-family:var(--serif);font-weight:600;font-size:1rem;color:#fff;
  line-height:1.3;margin:.4rem 0 .28rem}
.mtile .sku{font-size:10.5px;letter-spacing:.1em;color:rgba(255,255,255,.5);
  text-transform:uppercase}

/* Corner sash. A rotated strip clipped by the panel's overflow, so it reads as
   a ribbon folded over the top-left corner rather than a floating label. */
.sash{position:absolute;top:0;left:0;width:104px;height:104px;overflow:hidden;z-index:3;
  pointer-events:none}
.sash b{position:absolute;top:19px;left:-30px;width:130px;transform:rotate(-45deg);
  background:var(--ink);color:#fff;text-align:center;
  font:700 9.5px/22px var(--sans);letter-spacing:.18em;text-transform:uppercase;
  box-shadow:0 2px 6px rgba(0,0,0,.18)}

@media (max-width:991.98px){
  .mosaic{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:575.98px){
  .mosaic{grid-template-columns:repeat(2,1fr);gap:1rem}
  .sec-dark{padding:56px 0 52px}
  .sec-dark h2{font-size:1.55rem}
  .mtile .nm{font-size:.92rem}
  .sash{width:84px;height:84px}
  .sash b{top:15px;left:-26px;width:108px;font-size:9px;line-height:19px}
  /* A g-5 row's negative margin is wider than the container's padding, which
     put a horizontal scrollbar on phones. Shrink the gutter instead. */
  .row.g-5{--bs-gutter-x:1.5rem}
}

/* -------------------------------------------------- subcategory shortcuts */
.subcats{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1.6rem;
  padding-bottom:1.4rem;border-bottom:1px solid var(--line)}
.subcats a{display:inline-flex;align-items:baseline;gap:.45rem;
  padding:.5rem .85rem;border:1px solid var(--line);border-radius:2px;
  background:#fff;font-size:.88rem;color:var(--ink-soft);
  transition:border-color .2s,color .2s,background .2s}
.subcats a:hover{border-color:var(--dva);color:var(--dva)}
.subcats a span{font-size:11px;color:var(--muted-2);font-variant-numeric:tabular-nums}
.subcats a:hover span{color:var(--dva)}

/* ------------------------------------------------- category facet (tree) */
.catall{display:flex;justify-content:space-between;align-items:baseline;gap:.6rem;
  padding:.45rem 0 .6rem;margin-bottom:.35rem;border-bottom:1px solid var(--line);
  font-size:.9rem;font-weight:600;color:var(--ink-soft)}
.catall:hover,.catall.on{color:var(--dva)}
.catgroup{border-bottom:1px solid var(--line-2);padding:.15rem 0}
.catgroup:last-child{border-bottom:0}
.catgroup-head{position:relative;padding-right:1.6rem}
.catlink{display:flex;justify-content:space-between;align-items:baseline;gap:.6rem;
  padding:.42rem 0;color:var(--ink-soft);font-size:.92rem;line-height:1.35}
.catgroup-head .catlink{font-weight:600;color:var(--ink)}
.catlink span{font-size:11px;color:var(--muted-2);font-variant-numeric:tabular-nums}
.catlink:hover{color:var(--dva)}
.catlink:hover span{color:var(--dva)}
/* The active category is marked with a rule rather than a tick, because these
   are navigation links now, not checkboxes that toggle. */
.catlink.on{color:var(--dva);font-weight:600;position:relative}
.catlink.on::before{content:'';position:absolute;left:-.8rem;top:.55rem;bottom:.55rem;
  width:2px;background:var(--dva)}
.catgroup-toggle{position:absolute;right:0;top:.35rem;width:1.5rem;height:1.5rem;
  border:0;background:0;color:var(--muted-2);display:flex;align-items:center;
  justify-content:center;cursor:pointer;font-size:.72rem;
  transition:transform .22s,color .2s}
.catgroup-toggle:hover{color:var(--dva)}
.catgroup.open .catgroup-toggle{transform:rotate(180deg)}
/* Collapsed by default and revealed by max-height so there is no layout jump
   and the correct initial state needs no JavaScript. */
.catgroup-kids{max-height:0;overflow:hidden;transition:max-height .28s ease;
  padding-left:.9rem;margin-left:.15rem;border-left:1px solid var(--line-2)}
.catgroup.open .catgroup-kids{max-height:26rem}
.catgroup-kids .catlink{font-size:.87rem;padding:.32rem 0}
.catkids{font-size:.82rem;color:var(--muted);line-height:1.45;margin-top:.15rem}

/* ---------------------------------------------------------------- about */
.aboutbanner{margin:0;border-radius:3px;overflow:hidden;border:1px solid var(--line-2);
  background:#fff}
.aboutbanner img{width:100%;height:auto;display:block;max-height:440px;object-fit:cover}

.tickliste{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.tickliste li{padding:1.05rem 0 1.05rem 2rem;border-bottom:1px solid var(--line);
  position:relative}
.tickliste li::before{content:'';position:absolute;left:0;top:1.45rem;width:9px;height:9px;
  border-radius:50%;background:var(--dva)}
.tickliste b{display:block;color:var(--ink);font-weight:600;font-size:.98rem}
.tickliste span{display:block;color:var(--muted);font-size:.9rem;margin-top:.2rem;
  line-height:1.55}

.svccard{display:flex;flex-direction:column;height:100%;text-decoration:none;background:#fff;
  border:1px solid var(--line-2);border-radius:3px;padding:1.5rem 1.5rem 1.35rem;
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,border-color .3s}
.svccard:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(26,31,33,.09);
  border-color:#D9D0C2}
.svccard h3{font-size:1.12rem;color:var(--ink);margin:0 0 .6rem}
.svccard p{color:var(--ink-soft);font-size:.93rem;line-height:1.65;margin:0 0 1.1rem;flex:1}
.svccard .more{font:600 .84rem var(--sans);color:var(--dva);display:inline-flex;
  align-items:center;gap:.45rem;transition:gap .2s}
.svccard:hover .more{gap:.75rem}

.valuebox{height:100%;background:#fff;border:1px solid var(--line-2);border-radius:3px;
  padding:2rem 1.75rem}
.valuebox .vicon{display:inline-flex;align-items:center;justify-content:center;width:52px;
  height:52px;border-radius:50%;background:var(--dva-light);color:var(--dva);
  font-size:1.35rem;margin-bottom:1.15rem}
.valuebox h3{font-size:1.15rem;margin:0 0 .55rem;color:var(--ink)}
.valuebox p{color:var(--ink-soft);font-size:.94rem;line-height:1.65;margin:0}

/* Sized by HEIGHT, not width: the two certification marks have different
   proportions, so matching their widths would leave one looking much bigger
   than the other. Both are trimmed to their artwork, so equal height reads as
   equal weight. The width/height attributes on the tags reserve the box so the
   section does not jump when they lazy-load in. */
.creditmark{height:auto;max-height:150px;width:auto;max-width:100%}

.ctaband{display:flex;justify-content:space-between;align-items:center;gap:2.5rem;
  flex-wrap:wrap}
.ctaband h2{color:#fff;margin:0 0 .6rem;font-size:1.8rem}
.ctaband p{color:rgba(255,255,255,.74);margin:0;max-width:34rem}
.ctaband-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.ctaband .btn-light{background:var(--paper);color:var(--ink);border:1px solid var(--paper)}
.ctaband .btn-light:hover{background:#fff;color:var(--dva)}
@media (max-width:575.98px){
  .ctaband h2{font-size:1.45rem}
  .valuebox{padding:1.6rem 1.35rem}
}

/* -------------------------------------------------------- service pages */
.svchero{margin:0;border-radius:3px;overflow:hidden;border:1px solid var(--line-2);
  background:#fff}
/* The ratio comes from the photograph, clamped between 16:9 and square by the
   template, so a service page can ship a landscape or a square shot without
   either being cropped. 3/2 is the fallback if the file cannot be measured. */
.svchero img{width:100%;height:auto;display:block;object-fit:cover;
  aspect-ratio:var(--svchero-ratio,1.5)}

/* Links declared alongside a service section (see 'links' in
   config/services.php). Set as a plain list rather than buttons: these are
   references — a related page, an external standard — not the primary action
   on the section, which is always the quote CTA. */
.seclinks{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.35rem 1.5rem}
.seclinks a{color:var(--dva);font-weight:600;text-decoration:none;
  border-bottom:1px solid rgba(0,0,0,.15);padding-bottom:1px}
.seclinks a:hover{border-bottom-color:currentColor}
.seclinks .bi{font-size:.8em;opacity:.7}

/* The credentials strip. Four across under the hero rather than stacked beside
   it, so the intro and the photo get equal width above. */
.tickstrip{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:0;
  margin:3.5rem 0 0;padding:1.9rem 0 0;border-top:1px solid var(--line)}
.tickstrip li{padding:0 1.6rem;border-left:1px solid var(--line-2)}
.tickstrip li:first-child{border-left:0;padding-left:0}
.tickstrip b{display:block;color:var(--ink);font-weight:600;font-size:.97rem;
  padding-left:1rem;position:relative}
.tickstrip b::before{content:'';position:absolute;left:0;top:.5rem;width:8px;height:8px;
  border-radius:50%;background:var(--dva)}
.tickstrip span{display:block;color:var(--muted);font-size:.87rem;line-height:1.6;
  margin-top:.3rem;padding-left:1rem}
@media (max-width:991.98px){
  .tickstrip{grid-template-columns:repeat(2,1fr);row-gap:1.5rem}
  .tickstrip li:nth-child(odd){border-left:0;padding-left:0}
}
@media (max-width:575.98px){
  .tickstrip{grid-template-columns:1fr;row-gap:1.2rem;margin-top:2.5rem}
  .tickstrip li{border-left:0;padding-left:0}
}

.steplist{list-style:none;margin:0;padding:0;counter-reset:step}
.steplist li{display:flex;gap:1.25rem;padding:1.25rem 0;border-bottom:1px solid var(--line)}
.steplist li:last-child{border-bottom:0}
.stepnum{font-family:var(--serif);font-weight:600;font-size:1.35rem;color:var(--dva);
  opacity:.55;flex:0 0 2.6rem;line-height:1.2}
.steplist b{display:block;color:var(--ink);font-size:1.02rem;font-weight:600}
.steplist span{display:block;color:var(--ink-soft);line-height:1.7;margin-top:.25rem;
  max-width:52rem}

.inclcard{height:100%;background:#fff;border:1px solid var(--line-2);border-radius:3px;
  padding:1.5rem 1.4rem}
.inclcard h3{font-size:1.05rem;margin:0 0 .55rem;color:var(--ink)}
.inclcard p{color:var(--ink-soft);font-size:.93rem;line-height:1.68;margin:0}

.svcprod{display:block;text-decoration:none}
.svcprod .shot{aspect-ratio:1;background:#fff;border:1px solid var(--line-2);border-radius:3px;
  overflow:hidden;transition:border-color .2s,transform .3s}
.svcprod .shot img{width:100%;height:100%;object-fit:contain;padding:9%;
  box-sizing:border-box;display:block}
.svcprod:hover .shot{border-color:var(--dva);transform:translateY(-3px)}
.svcprod .nm{font-size:.85rem;color:var(--ink-soft);margin-top:.6rem;line-height:1.35}
.svcprod:hover .nm{color:var(--dva)}

/* FAQs use <details>, so every answer is in the DOM and readable with no
   JavaScript — which is what matters for both crawlers and Ctrl-F. */
.faqlist details{border-bottom:1px solid var(--line)}
.faqlist details:first-child{border-top:1px solid var(--line)}
.faqlist summary{display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;
  padding:1.15rem 0;cursor:pointer;list-style:none}
.faqlist summary::-webkit-details-marker{display:none}
.faqlist summary h3{font-family:var(--sans);font-size:1rem;font-weight:600;color:var(--ink);
  margin:0;line-height:1.45;letter-spacing:0}
.faqlist summary:hover h3{color:var(--dva)}
.faqlist summary i{color:var(--muted-2);font-size:.85rem;flex:0 0 auto;margin-top:.2rem;
  transition:transform .25s}
.faqlist details[open] summary i{transform:rotate(45deg);color:var(--dva)}
.faqa{padding:0 0 1.3rem;max-width:48rem}
.faqa p{color:var(--ink-soft);line-height:1.75;margin:0}
/* Unverified copy, flagged loudly so it cannot go live unnoticed. Delete the
   [CONFIRM ...] marker in config/services.php and this disappears. */
.todo{margin-top:.7rem!important;background:#FFF6E0;border-left:3px solid #E8A33D;
  padding:.6rem .85rem;border-radius:0 3px 3px 0;font-size:.86rem!important;
  color:#6B4E17!important;line-height:1.6!important}
.todo b{color:#8A5F12;font-weight:700;margin-right:.35rem}

/* ------------------------------------------------------------ cards/grid */
.card-prod{display:block;background:transparent;border:0;height:100%;
  transition:transform .35s cubic-bezier(.2,.8,.2,1)}
/* The tile height is fixed by the aspect ratio so every row lines up, and the
   photo is contained inside it rather than cropped to fill — DVA's catalogue
   runs from bar stools to 3m island benches, and cover was clipping the wide
   and the tall ones. The padding keeps the product off the border. */
.card-prod .imgwrap{aspect-ratio:4/3;background:#fff;overflow:hidden;border-radius:3px;
  border:1px solid var(--line-2)}
.card-prod .imgwrap img{width:100%;height:100%;object-fit:contain;display:block;
  padding:6%;box-sizing:border-box;
  transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.card-prod:hover .imgwrap img{transform:scale(1.045)}
.card-prod .sku{font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--muted-2)}
.card-prod .fw-semibold{color:var(--ink);font-weight:600!important}
.card-prod:hover .fw-semibold{color:var(--dva)}
.card-prod .btn{border:0;padding:0;color:var(--muted-2);font-size:12.5px;
  text-align:left;background:0;letter-spacing:.01em}
.card-prod:hover .btn{color:var(--dva)}

.catcard{display:block}
.catcard .catimg{aspect-ratio:16/10;border-radius:3px;overflow:hidden;background:#fff;
  border:1px solid var(--line-2)}
.catcard .catimg img{width:100%;height:100%;object-fit:cover;
  transition:transform .55s cubic-bezier(.2,.8,.2,1)}
.catcard:hover .catimg img{transform:scale(1.05)}
.catcard:hover .fw-semibold{color:var(--dva)!important}

/* Sector tiles reuse .catcard wholesale — same 16:10 shape, same hover. The
   only addition is what a tile does when the sector has no photograph yet:
   a typographic plate rather than an empty white box. It disappears on its
   own the moment a file lands at the path named in config/sectors.php.
   Colours come from tokens, so the client palette applies without help. */
.sctile .catimg{background:var(--paper-2)}
.sctile-blank{display:flex;align-items:center;justify-content:center;height:100%;
  padding:1rem;text-align:center;font:600 1.05rem/1.3 var(--serif,inherit);
  color:var(--dva);letter-spacing:.01em;
  background:linear-gradient(135deg,var(--paper-2) 0%,var(--paper-3,var(--paper-2)) 100%)}

.img-missing{display:block;width:100%;height:100%;
  background:repeating-linear-gradient(45deg,#F1EDE7,#F1EDE7 10px,#E9E3DA 10px,#E9E3DA 20px)}

/* ---------------------------------------------------------------- facets */
.facet{border-bottom:1px solid var(--line);padding:1.25rem 0}
.facet:first-of-type{padding-top:0}
.facet h6{font-size:.72rem;text-transform:uppercase;letter-spacing:.14em;color:var(--muted);
  font-weight:600;margin-bottom:.85rem;font-family:var(--sans)}
.facet .form-check-label{font-size:.9rem;color:var(--ink-soft)}
.form-check-input:checked{background-color:var(--dva);border-color:var(--dva)}
.showmore{display:inline-block;margin-top:.15rem;font-size:.82rem}

/* --------------------------------------------------------- product page */
.skuline{font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;color:var(--muted);font-weight:600}
.skuline span{color:var(--dva)}
.pdesc p{color:var(--ink-soft);line-height:1.72;margin-bottom:.9rem}
.pdesc p:last-child{margin-bottom:0}
.pgallery{border:1px solid var(--line);border-radius:3px;overflow:hidden;background:#fff}
/* No fixed ratio here: the main shot keeps its own proportions and the box
   grows or shrinks to suit, so nothing is ever cropped. The image still spans
   the full width of the card. min-height stops a panorama leaving a stubby
   box; max-height stops a tall portrait pushing the buy box off screen — in
   both of those cases the image centres and the surround stays white. */
.pgmain{background:#fff;position:relative;cursor:zoom-in;overflow:hidden;
  min-height:300px;display:flex;align-items:center;justify-content:center}
.pgmain img{width:100%;height:auto;max-height:620px;object-fit:contain;display:block}
.pgmain .zoomhint{position:absolute;right:.8rem;bottom:.8rem;width:38px;height:38px;
  border-radius:50%;background:rgba(26,31,33,.55);color:#fff;display:flex;
  align-items:center;justify-content:center;opacity:0;transform:translateY(6px);
  transition:.22s;pointer-events:none;backdrop-filter:blur(4px)}
.pgmain:hover .zoomhint{opacity:1;transform:none}
.pgthumbs{display:flex;gap:.5rem;padding:.6rem;background:var(--paper);
  border-top:1px solid var(--line-2);flex-wrap:wrap}
.pgthumbs > div{width:74px;height:74px;border-radius:2px;overflow:hidden;background:#fff;
  border:1px solid var(--line-2);cursor:pointer;transition:border-color .18s;flex:0 0 auto}
.pgthumbs > div.on,.pgthumbs > div:hover{border-color:var(--dva)}
.pgthumbs img{width:100%;height:100%;object-fit:contain;display:block;
  padding:4px;box-sizing:border-box}

.pacc .accordion-item{border:1px solid var(--line);border-radius:3px!important;
  margin-bottom:.6rem;overflow:hidden;background:transparent}
.pacc .accordion-button{font-family:var(--sans);font-weight:600;font-size:.97rem;
  background:var(--paper-2);padding:.9rem 1.1rem;box-shadow:none;color:var(--ink)}
.pacc .accordion-button:not(.collapsed){background:var(--dva-light);color:var(--dva-dark)}
.pacc .accordion-button:focus{box-shadow:none}
.pacc .accordion-body{padding:1.1rem 1.15rem;color:var(--ink-soft);background:#fff}
.pacc .accordion-body ul{padding-left:1.15rem;margin:0}
.pacc .accordion-body li{margin-bottom:.35rem}

.cfblock{border:1px solid var(--line);border-radius:3px;padding:1.2rem 1.3rem;background:#fff}
.cfbody h3{font-family:var(--sans)!important;font-size:.72rem!important;text-transform:uppercase;
  letter-spacing:.14em;color:var(--muted);font-weight:600;margin:0 0 .65rem}
.cfbody ul{padding-left:1.15rem;margin:0}
.cfbody li{margin-bottom:.3rem;color:var(--ink-soft)}
.cfbody a{color:var(--dva);font-weight:600;border-bottom:1px solid rgba(15,92,120,.3)}
.cfbody a:hover{border-bottom-color:var(--dva)}
.trustmarks img{height:60px;width:auto;opacity:.94}

.buybox{border:1px solid var(--line);border-radius:3px;padding:1.4rem;background:#fff}
.buybox .poa{background:var(--dva-light);border-radius:2px;padding:.9rem 1rem;color:var(--dva-dark)}
.optrow{display:grid;grid-template-columns:1fr;gap:.35rem;margin-bottom:.9rem}
@media(min-width:576px){.optrow{grid-template-columns:168px 1fr;align-items:center;gap:.9rem}
  .optrow label{text-align:right;margin:0}}
.optrow label{font-weight:600;font-size:.88rem;color:var(--ink-soft)}
.optrow .oc{font-weight:400;color:var(--muted-2);font-size:.8rem}

/* ------------------------------------------------------------- lightbox */
.lbox{position:fixed;inset:0;z-index:2000;background:rgba(3,40,53,.95);backdrop-filter:blur(6px);
  display:none;align-items:center;justify-content:center;padding:4.5rem 4.5rem 3.5rem;
  animation:lbIn .22s ease both}
.lbox.on{display:flex}
@keyframes lbIn{from{opacity:0}to{opacity:1}}
.lbfig{margin:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;
  align-items:center;gap:1rem}
.lbfig img{max-width:100%;max-height:78vh;object-fit:contain;background:#fff;border-radius:3px;
  box-shadow:0 24px 70px rgba(0,0,0,.45);animation:lbPop .28s cubic-bezier(.22,.9,.3,1) both}
@keyframes lbPop{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
.lbfig figcaption{color:#CFE9F4;font-size:.92rem;display:flex;align-items:center;gap:.9rem}
.lbcount{color:rgba(207,233,244,.6);font-size:.8rem;letter-spacing:.06em}
.lbclose,.lbnav{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;
  border-radius:50%;width:46px;height:46px;display:flex;align-items:center;
  justify-content:center;cursor:pointer;transition:.18s}
.lbclose:hover,.lbnav:hover{background:#fff;color:var(--ink)}
.lbclose{top:1.4rem;right:1.6rem}
.lbnav{top:50%;transform:translateY(-50%)}
.lbprev{left:1.4rem}.lbnext{right:1.6rem}
/* On a phone the side buttons would sit on top of the photograph, so they move
   under it and the padding comes off the sides. */
@media (max-width:640px){
  .lbox{padding:4rem .75rem 5.5rem}
  .lbnav{top:auto;bottom:1rem;transform:none}
  .lbprev{left:calc(50% - 3.4rem)}.lbnext{right:calc(50% - 3.4rem)}
}

/* --------------------------------------------------------- newsletter */
/* Sits on the shared .sec-dark band. The supporting line needs the same soft
   white the CTA bands use — the old flat-ink version carried a hand-picked
   grey that goes muddy on the teal. */
.newsletter .nlsub{color:rgba(255,255,255,.74)}
/* Bootstrap's .btn-light is its own off-white with pure black text. On the
   teal bands that reads as a slightly different white to everything else, so
   pull it onto the site's own paper and ink. Applies to the CTA bands too,
   which use the same button. */
.sec-dark .btn-light{background:var(--paper);color:var(--ink);border-color:var(--paper)}
.sec-dark .btn-light:hover,.sec-dark .btn-light:focus{background:#fff;color:var(--ink);
  border-color:#fff}
.newsletter .form-control{border-radius:2px}
.newsletter .form-control::placeholder{color:var(--muted)}

/* -------------------------------------------------------- services row */
/* Editorial grid: no cards, the rules are the same hairline the rest of the
   site uses, and the gold icon is the only colour in it. The grid draws its
   own top and left borders and each cell draws right and bottom, so the
   interior rules are single-weight and the outer box closes. */
.svcrow{display:grid;grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);border-left:1px solid var(--line)}
.svcrow > a{border-right:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:2rem 1.9rem 1.85rem;text-decoration:none;display:block;
  transition:background .25s}
.svcrow > a:hover{background:var(--paper-2)}
.svcrow .top{display:flex;align-items:center;gap:.85rem;margin-bottom:.75rem}
.svcrow .top svg{flex:0 0 auto;width:27px;height:27px;color:var(--gold);
  fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;
  stroke-linejoin:round;display:block}
.svcrow h3{font-size:1.06rem;margin:0;color:var(--ink)}
.svcrow p{color:var(--ink-soft);font-size:.91rem;line-height:1.6;margin:0}
@media (max-width:900px){ .svcrow{grid-template-columns:repeat(2,1fr)} }
@media (max-width:575px){
  .svcrow{grid-template-columns:1fr}
  .svcrow > a{padding:1.5rem 1.25rem}
}
@media (prefers-reduced-motion:reduce){ .svcrow > a{transition:none} }

/* ---------------------------------------------------------- home intro */
/* Split heading: the H2 holds a narrow column on the left and the prose runs
   beside it. Below lg the two stack and the heading simply sits above the
   copy, which is the same reading order. */
/* ------------------------------------------------------ mission statement */
/* Sits between the hero and "Who we are". Deliberately on paper rather than
   the sage band — the section directly below it is already sage, and two sage
   bands running together lose the edge between them.
   Centred and narrow: it is one sentence and it should read as one, not as a
   paragraph that happens to be short. */
.hmission{padding:64px 0 60px;text-align:center}
.hmission-eyebrow{margin-bottom:1.1rem}
.hmission-text{font-family:var(--serif);font-size:clamp(1.35rem,2.2vw,1.9rem);
  line-height:1.4;color:var(--ink);max-width:44rem;margin:0 auto;letter-spacing:-.005em}
/* The four proof points, kept but demoted: they support the statement now
   rather than being the message themselves. */
.hmission-facts{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;
  gap:.9rem 3.2rem;margin:2.6rem 0 0;padding:2rem 0 0;border-top:1px solid var(--line-2)}
.hmission-facts li{display:flex;align-items:baseline;gap:.55rem}
.hmission-facts b{font-family:var(--serif);font-weight:600;font-size:1.05rem;color:var(--ink)}
.hmission-facts span{font-size:.86rem;color:var(--muted)}
@media(max-width:575.98px){
  .hmission{padding:46px 0 42px}
  .hmission-facts{gap:.7rem 1.6rem;margin-top:2rem;padding-top:1.5rem}
  .hmission-facts li{flex-direction:column;align-items:center;gap:.1rem;width:calc(50% - .8rem)}
  .hmission-facts span{text-align:center}
}

.homeintro .hi-head{font-size:clamp(1.8rem,2.7vw,2.5rem);margin:0}
/* The photograph under the heading. Shown at its own shape — the width and
   height attributes come from the file, so the space is reserved before it
   loads and the column does not jump. */
.homeintro .hi-fig{margin:2rem 0 0}
.homeintro .hi-fig img{width:100%;height:auto;display:block;border-radius:3px}
/* With 'imageRatio' set in config the figure crops to that shape instead of
   the file's own — a wide ratio keeps this block short beside the copy. */
.homeintro .hi-fig[style*="--hi-ratio"] img{aspect-ratio:var(--hi-ratio);height:100%;
  object-fit:cover;object-position:center}
.homeintro .hi-fig figcaption{margin-top:.75rem;font-size:.86rem;line-height:1.55;
  color:var(--muted);max-width:26rem}
.homeintro p{max-width:44rem}
@media (min-width:992px){
  /* A hairline between the heading and the copy, drawn on the text column so
     it starts and ends with the prose rather than running the section height. */
  .homeintro .col-lg-7{border-left:1px solid var(--line);padding-left:3rem}
}

/* The credential strip. Its own full-width band in the site's blue, using the
   same .sec-dark treatment as "New to the range" and the CTA bands rather than
   a gradient invented for this one row. .credsband only trims the padding —
   this is a strip, not a full section. */
.credsband{padding:46px 0 44px}
.creds{list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.creds li{display:flex;align-items:center;gap:1.1rem}
.creds .cmark{flex:0 0 auto;display:flex;align-items:center;justify-content:center}
/* Certification marks carry their own wordmark and are taller than they are
   wide. Boxed into a small circle they turn into an illegible smudge, so a
   logo is shown at its own shape on the page background and only the icon
   fallback keeps the circle. */
.creds .cmark-icon{width:58px;height:58px;border-radius:50%;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.30)}
.creds .cmark-icon .bi{font-size:1.35rem;color:#fff}
.creds .ctext{display:flex;flex-direction:column;gap:.2rem}
.creds .ctext b{font-size:.98rem;color:#fff;line-height:1.3}
.creds .ctext span{font-size:.9rem;color:rgba(255,255,255,.78);line-height:1.55}
/* Both certification marks are dark artwork on a transparent background, so on
   the blue they need their own white card to stay legible — they cannot simply
   be reversed out. */
.creds .cmark-logo{background:#fff;border-radius:3px;padding:.55rem .7rem;
  height:auto;max-width:none}
.creds .cmark-logo img{height:62px;width:auto;max-width:92px}
@media (max-width:991px){
  .creds{grid-template-columns:1fr;gap:1.5rem}
  .credsband{padding:38px 0 36px}
}

/* ------------------------------------------------------------- projects */
/* Category switcher on /projects and /projects/{slug}. Real links, not tabs
   driven by JavaScript, so each category is its own crawlable URL. */
.pjtabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.5rem}
.pjtab{display:inline-flex;align-items:center;gap:.5rem;text-decoration:none;
  font:600 .88rem var(--sans);color:var(--ink-soft);background:#fff;
  border:1px solid var(--line-2);border-radius:999px;padding:.5rem 1.05rem;transition:.2s}
.pjtab span{font-weight:500;font-size:.76rem;color:var(--muted-2);
  background:var(--dva-light);border-radius:999px;padding:.05rem .45rem}
.pjtab:hover{border-color:var(--dva);color:var(--dva)}
.pjtab.on{background:var(--dva);border-color:var(--dva);color:#fff}
.pjtab.on span{background:rgba(255,255,255,.22);color:#fff}

.pjcard{display:flex;flex-direction:column;height:100%;text-decoration:none;background:#fff;
  border:1px solid var(--line-2);border-radius:3px;overflow:hidden;
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s,border-color .3s}
.pjcard:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(26,31,33,.09);
  border-color:#D9D0C2}
.pjcard .shot{position:relative;aspect-ratio:4/3;background:var(--dva-light);overflow:hidden}
.pjcard .shot img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.pjcard:hover .shot img{transform:scale(1.04)}
.pjcard .noshot{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  color:var(--muted-2);font-size:1.6rem}
.pjtag{position:absolute;left:.8rem;top:.8rem;background:rgba(255,255,255,.94);
  color:var(--ink);font:600 .72rem var(--sans);letter-spacing:.06em;text-transform:uppercase;
  padding:.28rem .6rem;border-radius:2px}
.pjcard .body{padding:1.35rem 1.4rem 1.25rem;display:flex;flex-direction:column;flex:1}
.pjcard h3{font-size:1.08rem;color:var(--ink);margin:0 0 .55rem;line-height:1.35}
.pjcard p{color:var(--ink-soft);font-size:.92rem;line-height:1.65;margin:0 0 1rem;flex:1}
.pjcard .more{font:600 .84rem var(--sans);color:var(--dva);display:inline-flex;
  align-items:center;gap:.45rem;transition:gap .2s}
.pjcard:hover .more{gap:.75rem}

/* The fact strip beside a project's intro. A definition list because that is
   what it is — label and value — which also gives a screen reader the pairing. */
.pjfacts{margin:0;background:#fff;border:1px solid var(--line-2);border-radius:3px;
  padding:.35rem 1.4rem}
.pjfacts>div{display:flex;gap:1rem;padding:.85rem 0;border-bottom:1px solid var(--line)}
.pjfacts>div:last-child{border-bottom:0}
.pjfacts>div.wide{display:block}
.pjfacts dt{flex:0 0 7.5rem;font:600 .78rem var(--sans);letter-spacing:.08em;
  text-transform:uppercase;color:var(--muted-2);margin:0}
.pjfacts dd{margin:0;color:var(--ink);font-size:.95rem;line-height:1.6}
.pjfacts>div.wide dd{margin-top:.6rem}
.pjfacts dd ul{margin:0;padding-left:1.05rem;color:var(--ink-soft)}
.pjfacts dd li{margin:.2rem 0;font-size:.93rem}
.pjfacts dd a{color:var(--dva);text-decoration:none;font-weight:600}
.pjfacts dd a:hover{text-decoration:underline}

/* The project gallery.
   Named .pjgallery, not .mosaic. It WAS .mosaic, and that name already belonged
   to the "New to the range" grid on the home page 400 lines further up — these
   rules loaded later and quietly turned that four-column grid into a wrapping
   flex row, leaving the tiles ragged and mismatched. Nothing about the project
   gallery was wrong; the name was.

   Justified rows rather than a fixed grid of cropped cells. Every figure is
   given flex-basis AND flex-grow proportional to its own aspect ratio, which
   means that within a row the widths come out proportional to the ratios — so
   the heights match exactly, the row fills the container edge to edge, and not
   one photograph is cropped. Which photos share a row is decided in PHP (see
   below); left to flex-wrap, the leftover photo became a row of its own and
   stretched to full width.

   The first attempt was a fixed 4-column grid with span classes. It looked
   right with placeholder squares and wrong with the real photography: DVA's
   project shots are wide, and squaring them off cut the ends off the furniture
   that is the point of the picture. --r is set inline by the template from the
   file's real dimensions. */
/* Rows are chosen in PHP (ProjectController::galleryRows) so each row's
   aspect ratios add up to about the same total. Within a row, basis 0 and
   grow = ratio make the widths exactly proportional to the shapes: equal
   heights, edge to edge, no cropping, and no lone photo stretched across a
   row of its own — which is what flex-wrap used to produce. */
.pjgallery{display:flex;flex-direction:column;gap:.75rem}
.pjrow{display:flex;gap:.75rem}
.pjgallery figure{margin:0;position:relative;overflow:hidden;border-radius:3px;
  background:var(--dva-light);min-width:0;
  flex:var(--r,1.5) 1 0}
.pjgallery figure a{display:block;position:relative}
.pjgallery img{width:100%;height:auto;display:block;transition:transform .55s
  cubic-bezier(.2,.8,.2,1)}
.pjgallery figure:hover img{transform:scale(1.045)}
.pjgallery .zoom{position:absolute;right:.6rem;bottom:.6rem;width:34px;height:34px;border-radius:50%;
  background:rgba(3,40,53,.78);color:#fff;display:flex;align-items:center;justify-content:center;
  font-size:.82rem;opacity:0;transform:translateY(5px);transition:.22s}
.pjgallery figure:hover .zoom,.pjgallery a:focus-visible .zoom{opacity:1;transform:none}
.pjgallery a:focus-visible{outline:3px solid var(--dva);outline-offset:-3px}
/* The caption is for the crawler and for anyone reading with images off; on
   screen it only appears over the photo on hover, so the wall stays a wall. */
.pjgallery figcaption{position:absolute;left:0;right:0;bottom:0;padding:1.6rem .85rem .7rem;
  color:#fff;font-size:.82rem;line-height:1.45;
  background:linear-gradient(to top,rgba(3,40,53,.88),rgba(3,40,53,0));
  opacity:0;transition:opacity .22s;pointer-events:none}
.pjgallery figure:hover figcaption,.pjgallery figure:focus-within figcaption{opacity:1}
/* Below this a row of two is already too small to read, so the photographs
   stack at their own height and the captions come out from under the hover. */
@media (max-width:575px){
  .pjrow{flex-direction:column}
  .pjgallery figure{flex:none;width:100%}
  .pjgallery figcaption{position:static;opacity:1;color:var(--ink-soft);background:none;
    padding:.55rem .1rem 0;pointer-events:auto}
  .pjgallery .zoom{opacity:1;transform:none}
}
@media (prefers-reduced-motion:reduce){
  .pjgallery img,.pjcard .shot img{transition:none}
  .pjgallery figure:hover img,.pjcard:hover .shot img{transform:none}
}

/* ------------------------------------------------------------ quote page */
.qline{border:1px solid var(--line);border-radius:3px;padding:1.1rem;background:#fff}
.qline .thumb{width:88px;height:88px;border-radius:2px;overflow:hidden;background:#fff;
  border:1px solid var(--line-2);flex:0 0 auto}
.qline .thumb img{width:100%;height:100%;object-fit:contain;padding:6%}
.qty{width:70px}

/* ------------------------------------------------------------- finishes */
.swatch{aspect-ratio:1;border-radius:2px;overflow:hidden;border:1px solid var(--line);background:#fff}
.swatch img{width:100%;height:100%;object-fit:cover}

/* --------------------------------------------------------------- forms */
.form-control,.form-select{border-radius:2px;border-color:#DCD5C9;padding:.65rem .85rem;
  background-color:#fff;font-size:.95rem}
/* Keep room for Bootstrap's chevron — the shorthand above would otherwise let
   the option text run underneath it. */
.form-select{padding-right:2.4rem}
.form-select-sm{padding:.45rem 2.2rem .45rem .7rem;font-size:.88rem}
.form-control:focus,.form-select:focus{border-color:var(--dva);
  box-shadow:0 0 0 .18rem rgba(15,92,120,.12)}
.form-label{font-weight:600;color:var(--ink-soft)}

/* --------------------------------------------------------------- misc */
.alert-dva{background:var(--dva-light);border:0;color:var(--dva-dark);border-radius:3px}
/* Fifteen pages of products will not fit across a phone, so let the strip
   wrap rather than push the whole page sideways. */
.pagination{flex-wrap:wrap;justify-content:center;row-gap:.4rem}
.pagination .page-link{color:var(--dva);border-color:var(--line);border-radius:2px!important;margin:0 3px}
.pagination .active .page-link{background:var(--ink);border-color:var(--ink);color:var(--paper)}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--dva);color:#fff;
  padding:.6rem 1rem;z-index:3000}
.skip-link:focus{left:0}
.anno{background:#FFF8E6;border-left:3px solid #E8A33D;padding:.8rem 1rem;
  border-radius:0 3px 3px 0;font-size:.86rem;color:#6B5320;margin-bottom:1.6rem}

/* ----------------------------------------------------------------- blog */
/* Cards reuse the site's card language rather than inventing a new one: white
   panel, hairline border, the same lift on hover as .svccard. */
.postcard{display:flex;flex-direction:column;height:100%;text-decoration:none;background:#fff;
  border:1px solid var(--line);border-radius:3px;overflow:hidden;transition:.18s}
.postcard:hover{transform:translateY(-3px);box-shadow:0 16px 38px rgba(26,31,33,.09);
  border-color:var(--line-2)}
.postcard-img{aspect-ratio:16/10;overflow:hidden;background:var(--paper-2)}
.postcard-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
.postcard:hover .postcard-img img{transform:scale(1.05)}
.postcard-body{padding:1.4rem 1.5rem 1.5rem;display:flex;flex-direction:column;flex:1}
.postcard-meta{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem;font-size:.78rem;
  color:var(--muted-2);margin-bottom:.7rem}
.postcard-cat{font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--dva);
  font-size:.7rem}
.postcard h3{font-size:1.12rem;color:var(--ink);margin:0 0 .6rem;line-height:1.35}
.postcard p{color:var(--ink-soft);font-size:.93rem;line-height:1.65;margin:0 0 1.1rem;flex:1}
.postcard .more{font:600 .84rem var(--sans);color:var(--dva);display:inline-flex;
  align-items:center;gap:.45rem;transition:gap .18s}
.postcard:hover .more{gap:.75rem}

/* The article. Body in a 7-column track, sidebar in 4 with a column of air
   between. At 17px the body line runs about 80 characters — the top of the
   comfortable range, which is right for a guide people scan as much as read.
   The old single 34rem column left most of a desktop screen empty. */
.post .postmeta{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.2rem;
  font-size:.84rem;color:var(--muted);margin-bottom:1.4rem}
.post .postmeta-cat{font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  font-size:.72rem;color:var(--dva);text-decoration:none}
.post .postmeta-cat:hover{color:var(--ink)}
.postfig{margin:0 0 2.2rem;border-radius:3px;overflow:hidden;
  aspect-ratio:var(--postfig-ratio,1.6);background:var(--paper-2)}
.postfig img{width:100%;height:100%;object-fit:cover;display:block}
.postbody{font-size:1.0625rem;max-width:44rem}
/* Capped so a wide desktop does not stretch the line past ~80 characters;
   the photograph above keeps the full column, which reads as a deliberate
   step rather than a misalignment. */
.postbody .postlead{font-size:1.2rem;color:var(--ink-soft);line-height:1.65}
.postbody p{line-height:1.8;margin:0 0 1.2rem}
.postbody h2{font-size:clamp(1.4rem,2.1vw,1.75rem);margin:2.8rem 0 .9rem;
  scroll-margin-top:150px}
.postlist{list-style:none;padding:0;margin:0 0 1.4rem}
.postlist li{padding:0 0 .8rem 1.1rem;position:relative;line-height:1.75}
.postlist li::before{content:'';position:absolute;left:0;top:.7rem;width:5px;height:5px;
  border-radius:50%;background:var(--dva)}
.postlist b{color:var(--ink)}
.postbody .faqlist{margin-top:1rem}

/* Sidebar. Sticks below the header on desktop, so the contents and the quote
   card stay in reach the whole way down; stacks after the article on a phone. */
.postaside{display:flex;flex-direction:column;gap:1.4rem}
/* Pinned only when the screen can show all of it. Contents plus the quote
   card run 630-690px depending on how the headings wrap; with the 150px
   offset below the header that needs an 880px-tall window. Measured: at
   1366x800 a pinned sidebar overhung the screen by 41px. Shorter than 880 it
   scrolls with the page, because a pinned block taller than the screen hides
   its own bottom. */
@media(min-width:992px) and (min-height:880px){
  .postaside{position:sticky;top:150px}
}
.postaside-h{font:700 .72rem/1 var(--sans);letter-spacing:.14em;text-transform:uppercase;
  color:var(--dva);margin-bottom:.9rem}
.posttoc{padding:1.4rem 1.5rem;border:1px solid var(--line);border-radius:3px;background:#fff}
.posttoc ol{list-style:none;counter-reset:toc;margin:0;padding:0}
.posttoc li{counter-increment:toc;border-top:1px solid var(--line-2)}
.posttoc li:first-child{border-top:0}
.posttoc a{display:flex;gap:.7rem;padding:.6rem 0;font-size:.92rem;line-height:1.45;
  color:var(--ink-soft);text-decoration:none}
.posttoc a::before{content:counter(toc,decimal-leading-zero);font:600 .75rem/1.9 var(--sans);
  color:var(--muted-2);flex:none}
.posttoc a:hover{color:var(--dva)}
/* The quote card borrows the hero panel's deep green, so the one strong colour
   block beside an article is the one that asks for the enquiry. */
.postcta{padding:1.6rem 1.5rem;border-radius:3px;background:var(--dva-dark);color:#fff}
.postcta .postaside-h{color:#DCE7DF}
.postcta p{font-size:.95rem;line-height:1.65;color:rgba(255,255,255,.88);margin:0 0 1.2rem}
.postcta .btn-dva{background:var(--gold-lift);border-color:var(--gold-lift);color:var(--ink)}
.postcta .btn-dva:hover{background:#E4D4B8;border-color:#E4D4B8;color:var(--ink)}
.postcta-phone{display:flex;align-items:center;justify-content:center;gap:.5rem;
  margin-top:.9rem;font-weight:600;font-size:.95rem;color:#fff;text-decoration:none}
.postcta-phone:hover{color:#DCE7DF}
.postrel{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--line-2);max-width:44rem}
.postrel a{display:block;height:100%;padding:1rem 1.1rem;border:1px solid var(--line);
  border-radius:3px;background:#fff;text-decoration:none;transition:.18s}
.postrel a:hover{border-color:var(--dva);transform:translateY(-2px)}
.postrel b{display:flex;align-items:center;justify-content:space-between;gap:.5rem;
  color:var(--ink);font-size:.97rem;font-weight:600}
.postrel b i{color:var(--dva);transition:transform .18s}
.postrel a:hover b i{transform:translateX(3px)}
.postrel span{display:block;color:var(--muted);font-size:.86rem;line-height:1.5;margin-top:.3rem}

.blogempty{max-width:34rem}
.blogempty h2{margin:0 0 .8rem}
.blogempty p{margin-bottom:1.6rem}
@media(max-width:991.98px){
  .postaside{margin-top:1rem}
}
@media(max-width:575.98px){
  .postbody h2{margin-top:2rem}
  .postbody{font-size:1rem}
}

/* --------------------------------------------------------------- footer */
footer{background:#121617;color:var(--muted-2);font-size:.92rem}
footer a{color:var(--muted-2)}
footer a:hover{color:var(--paper)}
footer h6{color:var(--paper);font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;
  margin-bottom:1rem;font-family:var(--sans);font-weight:600}
footer p{line-height:1.75}
footer hr{border-color:#2A3134!important}
/* Social icons. Square hit area rather than a bare glyph — 40px is the minimum
   comfortable touch target, and the icons sit at the bottom of a page where
   they are most often tapped on a phone. */
footer .social{list-style:none;display:flex;gap:.6rem;margin:0;padding:0}
footer .social a{display:grid;place-items:center;width:40px;height:40px;border-radius:3px;
  background:rgba(255,255,255,.07);color:var(--muted-2);font-size:1.05rem;
  transition:background .15s,color .15s}
footer .social a:hover{background:var(--dva);color:#fff}
