/* Self-hosted OFL fonts (Fontsource 5.3.0). Saira is one variable file: width 50-125%, weight 100-900. */
@font-face { font-family: "Saira"; src: url("fonts/saira-display.woff2") format("woff2"); font-weight: 700 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
/* Metric-matched fallbacks (measured with fontTools on 2 Nov 2026) so the swap does not shift layout */
@font-face { font-family: "Saira Narrow Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Arial"); font-weight: 800; size-adjust: 73.6%; ascent-override: 154%; descent-override: 59.6%; line-gap-override: 0%; }
@font-face { font-family: "Saira Mid Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Arial"); font-weight: 800; size-adjust: 92.5%; ascent-override: 122.7%; descent-override: 47.5%; line-gap-override: 0%; }
@font-face { font-family: "Saira Wide Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("LiberationSans-Bold"), local("Roboto Bold"), local("Roboto-Bold"), local("Arial"); font-weight: 800; size-adjust: 112.3%; ascent-override: 101%; descent-override: 39.1%; line-gap-override: 0%; }
@font-face { font-family: "Barlow Fallback"; src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("LiberationSans"), local("Roboto"), local("Roboto-Regular"); size-adjust: 93.4%; ascent-override: 107%; descent-override: 21.4%; line-gap-override: 0%; }
@font-face { font-family: "Plex Mono Fallback"; src: local("Courier New"), local("CourierNewPSMT"); size-adjust: 100%; ascent-override: 102.5%; descent-override: 27.5%; line-gap-override: 0%; }

/* Motion kit styles; pair with motion.js. Hidden states apply only once the script runs (.motion-ready). */

/* reveal: data-reveal (rise) or data-reveal="clip" (unmask upward); stagger with style="--d:120ms" */
[data-reveal] {
  transition: opacity .7s var(--ease-out, cubic-bezier(.16, 1, .3, 1)), transform .7s var(--ease-out, cubic-bezier(.16, 1, .3, 1)),
    clip-path 1.1s var(--ease-out, cubic-bezier(.16, 1, .3, 1));
  transition-delay: var(--d, 0ms);
}
.motion-ready [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(24px); }
.motion-ready [data-reveal="clip"]:not(.is-in) { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); }

/* loop film: the poster <img> is the real image (LCP, alt text); the video fades in over it once playing */
[data-film] { position: relative; overflow: hidden; }
[data-film] > img,
[data-film] > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-film] > video { opacity: 0; transition: opacity .6s; }
[data-film].is-playing > video { opacity: 1; }

/* scroll film: tall section, sticky stage; reduced motion gets a normal-height section with the poster */
@media (prefers-reduced-motion: no-preference) { [data-scrub] { height: var(--len, 300vh); } }
[data-scrub-stage] { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
[data-scrub-stage] > img,
[data-scrub-stage] > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
[data-scrub-stage] > canvas { opacity: 0; transition: opacity .4s; }
[data-scrub].is-live [data-scrub-stage] > canvas { opacity: 1; }
[data-scrub-rail] { transform-origin: left; transform: scaleX(var(--p, 1)); }
.motion-ready [data-step] { opacity: .55; transition: opacity .3s; }
.motion-ready [data-step].is-on { opacity: 1; }

@media (prefers-reduced-motion: reduce) { [data-motion-toggle] { display: none; } }

/* Structure. dark-steel.css sets the tokens and signature pieces; site.css holds the finished-site layer. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg-white); color: var(--text); font: 400 var(--fs-body)/1.55 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
html { scrollbar-color: var(--steel) var(--bg-deep); }

.wrap { width: 100%; max-width: 1312px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--accent); color: var(--text); font-weight: 600; }
.skip:focus { top: 12px; }

/* type */
.h1, .h2, .hero-title, .h3 { font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; letter-spacing: var(--display-track); line-height: var(--display-lh); text-wrap: balance; }
.hero-title { font-size: var(--fs-hero); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3s); margin: 32px 0 8px; }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 60ch; }
.lead-sm { font-size: var(--fs-body); max-width: 62ch; margin-top: 16px; }
.sec-intro { max-width: 52ch; color: var(--muted); }
h3 { font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 700; text-transform: uppercase; font-size: var(--fs-h3s); line-height: 1.1; letter-spacing: var(--display-track); text-wrap: balance; }

/* section colours */
.sec { padding: var(--sec-pad) 0; position: relative; }
.sec-dark, .steps, .cta-band, .page-hero, .quote-page { background: var(--bg-dark); color: var(--on-dark); --muted: var(--muted-on-dark); --line: var(--line-dark); }
.sec-light, .services, .work { background: var(--bg-light); --muted: var(--muted-on-light); --line: var(--line-light); }
.sec-white, .small-jobs, .about { background: var(--bg-white); --muted: var(--muted-on-light); --line: var(--line-light); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 4vw, 56px); }
.sec-head-split { grid-template-columns: 1fr; align-items: end; }
@media (min-width: 900px) { .sec-head-split { grid-template-columns: 1.1fr 1fr; gap: 48px; } }
.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split-rev > :first-child { order: 2; } }
.split > div > .h2 { margin: 12px 0 20px; }

/* labels */
.sec-label, .sheet-label { display: flex; align-items: center; gap: 12px; font: 600 var(--fs-label)/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--label-color, currentColor); }
.sec-rule { width: 32px; height: 3px; background: var(--accent); flex: none; }
.sec-label > span:last-child, .sheet-text { text-wrap: balance; }

/* buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 26px; border: 2px solid transparent; font-family: var(--f-display); font-stretch: var(--btn-stretch); font-weight: 800; font-size: var(--fs-btn); letter-spacing: .02em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 6px) 100%, 0 100%); }
.btn .arrow { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--text); }
.btn-primary:hover { background: var(--on-dark); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-outline:hover { background: var(--on-dark); color: var(--text); border-color: var(--on-dark); }
.btn-outline-dark { color: var(--text); }
.btn-outline-dark:hover { background: var(--text); color: var(--on-dark); border-color: var(--text); }
.btn-sm { --h: 44px; padding: 0 18px; font-size: calc(var(--fs-btn) * .9); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; min-height: 44px; }
.text-link .arrow { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover .arrow { transform: translateX(4px); }
.link-row { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: 44px; }

/* tags */
.rep-tag { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 4px 8px; background: rgb(11 17 26 / .78); color: #F2F4F6; font: 500 11px/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }

/* photos */
.ph { position: relative; overflow: hidden; background: var(--bg-dark-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-16x9 { aspect-ratio: 16 / 9; }
.ph-4x5 { aspect-ratio: 4 / 5; }

/* utility */
.utility { background: var(--bg-deep); color: var(--muted-on-dark); font-size: 13px; }
.utility-in { display: flex; justify-content: space-between; gap: 24px; min-height: 36px; align-items: center; }
.utility p { display: flex; gap: 20px; flex-wrap: wrap; }
.utility a { text-decoration: none; color: var(--on-dark); }
.utility a:hover { color: var(--accent); }
@media (max-width: 899px) { .utility-left span + span { display: none; } }
@media (max-width: 519px) { .utility { display: none; } }

/* header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--header-bg); color: var(--on-dark); border-bottom: 1px solid var(--line-dark); transition: background-color .3s; }
.header-in { display: flex; align-items: center; gap: 24px; height: 84px; transition: height .3s cubic-bezier(.2, .7, .2, 1); }
.site-header.is-scrolled .header-in { height: 64px; }
.brand { flex: none; display: block; }
.brand-plate { display: block; background: #F2F4F6; padding: 6px 18px 6px 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); transition: padding .3s; }
.brand-plate img { width: auto; height: 56px; }
@media (min-width: 1100px) { .brand-plate img { height: 68px; } }
.brand-plate img { transition: height .3s cubic-bezier(.2, .7, .2, 1); }
.is-scrolled .brand-plate img { height: 44px; }
.main-nav ul { display: flex; gap: 4px; }
.main-nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; font-weight: 500; font-size: 15px; text-decoration: none; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 48px; height: 48px; background: transparent; border: 2px solid var(--line-dark); cursor: pointer; position: relative; }
.menu-lines, .menu-lines::before, .menu-lines::after { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; content: ""; transition: transform .25s, opacity .2s; }
.menu-lines { top: 22px; } .menu-lines::before { top: -7px; left: 0; right: 0; } .menu-lines::after { top: 7px; left: 0; right: 0; }
.nav-open .menu-lines { background: transparent; }
.nav-open .menu-lines::before { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1099px) {
  .menu-btn { display: block; }
  .main-nav { position: fixed; inset: 0; top: 0; z-index: -1; background: var(--bg-dark); padding: 132px clamp(16px, 3vw, 32px) 40px; display: flex; flex-direction: column; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; }
  .nav-open .main-nav { visibility: visible; opacity: 1; transition: opacity .3s; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 7vw, 44px); padding: 10px 0; border-bottom: 1px solid var(--line-dark); }
  .main-nav a::after { display: none; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 599px) { .hide-sm { display: none; } .header-actions [data-quote-slot] { display: none; } }

/* ticker */
.ticker { background: var(--bg-white); color: var(--text); border-bottom: 1px solid var(--line-light); overflow: hidden; }
.ticker-track { display: flex; width: max-content; }
.ticker-list { display: flex; gap: 56px; padding: 22px 28px; flex: none; }
.ticker-list li { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; font-size: 20px; white-space: nowrap; }
.bolt-ico { width: 18px; height: 18px; fill: var(--accent); flex: none; }

/* lists */
.tick-list { display: grid; gap: 12px; margin-top: 24px; }
.tick-list li { display: flex; gap: 12px; align-items: flex-start; }
.tick { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 2px; }
.sec-white .tick, .sec-light .tick, .small-jobs .tick { color: var(--steel); }
.num-list { counter-reset: n; display: grid; gap: 16px; margin-top: 24px; }
.num-list li { counter-increment: n; display: grid; grid-template-columns: 48px 1fr; gap: 12px; align-items: baseline; }
.num-list li::before { content: counter(n, decimal-leading-zero); font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 800; font-size: 22px; color: var(--accent); }

/* steps */
.steps-list { display: grid; gap: 24px; position: relative; }
@media (min-width: 900px) { .steps-list { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.step { position: relative; padding-top: 24px; border-top: 2px solid var(--line); }
.step-no { display: block; font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 800; font-size: clamp(48px, 5vw, 72px); line-height: 1; color: var(--accent); margin-bottom: 16px; }
.step h3 { font-size: var(--fs-h3s); margin-bottom: 10px; }
.step p { color: var(--muted); }
.steps-cta { margin-top: 48px; }

/* small jobs */
.small-jobs, .fab-group { overflow: hidden; }
.small-in { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .small-in { grid-template-columns: 1.1fr 1fr; } }
.small-copy .h2 { margin: 12px 0 20px; }
@media (min-width: 640px) { .small-jobs .tick-list { grid-template-columns: 1fr 1fr; } }
.small-media { position: relative; }

/* contract */
.contract { background: var(--band); color: var(--on-dark); --muted: var(--muted-on-band); overflow: hidden; }
.contract-in { position: relative; z-index: 1; }
.contract-copy { max-width: 620px; }
.contract-copy .h2 { margin: 12px 0 20px; }
.contract-tbc { margin-top: 20px; }
.contract .tbc { color: var(--on-dark); }
.contract-media { position: relative; }
@media (min-width: 900px) { .contract-media { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; } .contract-media .ph { height: 100%; aspect-ratio: auto; clip-path: polygon(calc(var(--cut, 34%)) 0, 100% 0, 100% 100%, 0 100%); } }
@media (max-width: 899px) { .contract { padding-top: 0; } .contract-media { margin-bottom: 48px; } }

/* work */
.work-note { color: var(--muted); max-width: 52ch; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter { min-height: 44px; padding: 0 18px; border: 2px solid var(--line-light); background: transparent; font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.filter:hover { border-color: var(--text); }
.filter[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg-white); }
.work-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .work-grid { grid-template-columns: repeat(3, 1fr); } .work-item:first-child { grid-column: span 2; grid-row: span 2; } }
.work-item { position: relative; overflow: hidden; background: var(--bg-dark); color: var(--on-dark); }
.work-item .ph { height: 100%; aspect-ratio: 4 / 3; }
@media (min-width: 1024px) { .work-item:first-child .ph { aspect-ratio: auto; } }
.work-item .ph img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.work-item .rep-tag { top: 10px; bottom: auto; }
.work-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 18px 16px; background: linear-gradient(transparent, rgb(11 17 26 / .9)); }
.work-cap h3 { font-size: 20px; }
.work-cap p { font-size: 13px; color: #C9D2DB; text-transform: uppercase; letter-spacing: .12em; margin-top: 4px; }
.work-more { margin-top: 28px; }
@media (hover: hover) and (pointer: fine) {
  .work-item:hover .ph img { transform: scale(1.06); }
  .work-cap { transform: translateY(12px); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
  .work-item:hover .work-cap { transform: none; }
}

/* about */
.about-in { display: grid; gap: clamp(40px, 6vw, 96px); align-items: start; }
@media (min-width: 900px) { .about-in { grid-template-columns: 1.1fr 1fr; } }
.about-copy .h2 { margin: 12px 0 20px; }
.about-copy p + p { margin-top: 16px; }
.about-copy .lead { margin-bottom: 8px; }
.reasons { display: grid; gap: 28px 32px; counter-reset: reason; }
@media (min-width: 560px) { .reasons { grid-template-columns: 1fr 1fr; } }
.reason { padding-top: 18px; border-top: 2px solid var(--text); counter-increment: reason; }
.reason::before { content: counter(reason, decimal-leading-zero); display: block; margin-bottom: 14px; font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 800; font-size: 15px; color: var(--steel); }
.reason h3 { margin-bottom: 8px; }
.reason p { color: var(--muted-on-light); }

/* CTA band */
.cta-band { overflow: hidden; text-align: left; }
.cta-bg { position: absolute; inset: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.cta-bg .rep-tag { left: auto; right: 10px; }
.cta-in { position: relative; z-index: 1; }
.cta-title { font-size: var(--fs-h2-xl); max-width: 14ch; margin-bottom: 20px; }

/* page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 112px) 0; }
.page-hero-in { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .page-hero-in { grid-template-columns: 1.15fr .85fr; } }
.page-hero-copy .h1 { margin: 16px 0 24px; }
.page-hero-404 { min-height: 70vh; display: grid; align-items: center; }

/* spec cards */
.spec-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .spec-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .spec-grid { grid-template-columns: repeat(3, 1fr); } .spec-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.spec { position: relative; padding: 28px 24px 32px; background: var(--bg-white); border: 1px solid var(--line-light); }
.spec-no { display: block; font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 800; font-size: 40px; line-height: 1; color: var(--steel); margin-bottom: 20px; }
.spec h3 { margin-bottom: 8px; }
.spec p { color: var(--muted-on-light); }

.note-card { padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line-dark); background: var(--bg-dark-2); }
.note-card h3 { margin-bottom: 8px; }
.note-small { margin-top: 20px; font-size: var(--fs-small); color: var(--muted); }
.note-card .tbc { color: var(--on-dark); }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-dark); vertical-align: top; }
.spec-table thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-on-dark); }
.spec-table td { text-align: right; padding-left: 16px; }
.spec-table tbody th { font-weight: 500; }

.tbc-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .tbc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tbc-grid { grid-template-columns: repeat(4, 1fr); } }
.tbc-grid li { display: grid; gap: 12px; padding: 20px; border: 1px dashed var(--muted-on-light); background: var(--bg-white); font-weight: 600; }
.tbc-grid .tbc { justify-self: start; }

/* faq */
.faq-wrap { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: .8fr 1.2fr; } }
.faq-wrap .h2 { margin-top: 12px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { width: 20px; height: 20px; position: relative; flex: none; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--accent); transition: transform .25s; }
.faq-plus::after { transform: rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-item p { padding: 0 0 20px; color: var(--muted); max-width: 62ch; }

/* prose */
.prose { max-width: 760px; }
.prose .h1 { margin: 16px 0 20px; }
.prose p { margin-top: 8px; }

/* footer */
.site-footer { background: var(--bg-deep); color: var(--muted-on-dark); padding: 72px 0 32px; font-size: 15px; }
.footer-in { display: grid; gap: 40px; }
@media (min-width: 900px) { .footer-in { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand p { margin-top: 20px; max-width: 36ch; }
.brand-plate-lg { display: inline-block; }
.brand-plate-lg img { height: 124px; width: auto; }
.footer-h { font: 600 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; }
.footer-col li { margin-bottom: 4px; }
.footer-col a { text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.footer-col a:hover { color: var(--accent); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.footer-links { display: flex; gap: 24px; align-items: center; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 899px) { .site-footer { padding-bottom: 104px; } }

/* mobile bar */
/* floats clear of the screen edges as two buttons; with the script it slides in after the hero (common.js) */
.mobile-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; transition: transform .4s cubic-bezier(.2, .7, .2, 1), visibility 0s; }
.js .mobile-bar:not(.mb-show) { transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom))); visibility: hidden; transition: transform .4s cubic-bezier(.2, .7, .2, 1), visibility 0s .4s; }
.mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 54px; font-family: var(--f-display); font-stretch: var(--btn-stretch); font-weight: 800; text-transform: uppercase; text-decoration: none; font-size: 17px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 6px) 100%, 0 100%); } /* the .btn corner; the shadow is the bar drop-shadow, since clip-path cuts box-shadow */
.mobile-bar { filter: drop-shadow(0 8px 18px rgb(0 0 0 / .45)); }
.mb-call { color: var(--on-dark); background: var(--bg-deep); outline: 1px solid rgb(242 244 246 / .28); outline-offset: -1px; }
.mb-quote { background: var(--accent); color: var(--text); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* hatch stripes at the logo's bolt angle (about 60 degrees) */
.hatch { position: absolute; pointer-events: none; background: repeating-linear-gradient(120deg, var(--hatch-a) 0 14px, transparent 14px 34px); }

/* quote page + form */
.quote-page { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 var(--sec-pad); }
.quote-in { position: relative; display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .quote-in { grid-template-columns: .8fr 1.2fr; gap: 72px; } .quote-side { position: sticky; top: 112px; } }
.quote-side .h1 { margin: 16px 0 20px; }
.contact-list { margin-top: 32px; display: grid; gap: 4px; border-top: 1px solid var(--line-dark); }
.contact-list li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.contact-list a { text-decoration: none; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; }
.cl-k { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-on-dark); }
.contact-list .tbc { color: var(--on-dark); }
.quote-card { background: var(--bg-white); color: var(--text); padding: clamp(20px, 4vw, 48px); --muted: var(--muted-on-light); position: relative; }
.quote-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.step-legend { font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 800; text-transform: uppercase; font-size: var(--fs-h3s); padding: 0; margin-bottom: 20px; }
.quote-form:not(.is-stepped) .form-step + .form-step { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line-light); }
.field { margin-bottom: 20px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: 8px; }
.req, .opt { font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-left: 6px; }
.field input:not([type=radio]):not([type=checkbox]):not([type=file]), .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 2px solid #B9C3CD; background: #fff; border-radius: 0; transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230B111A' stroke-width='2.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--steel); }
[aria-invalid="true"] { border-color: #B3261E !important; }
.err { color: #B3261E; font-weight: 600; font-size: 14px; margin-top: 6px; }
.hint { font-size: 14px; color: var(--muted); margin-top: 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: flex; align-items: center; min-height: 48px; padding: 8px 16px; border: 2px solid #B9C3CD; font-weight: 600; cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice small { font-weight: 400; margin-left: 4px; }
.choice input:checked + span { border-color: var(--text); background: var(--text); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; }
.check input { width: 24px; height: 24px; flex: none; margin: 0; accent-color: var(--steel); }
.drop { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 18px; border: 2px dashed #B9C3CD; transition: border-color .2s, background-color .2s; }
.drop.is-over { border-color: var(--steel); background: var(--bg-light); }
.drop-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; background: var(--text); color: #fff; font-weight: 600; cursor: pointer; }
.drop-btn .arrow { width: 18px; height: 18px; transform: rotate(-90deg); }

.drop-hint { color: var(--muted); font-size: 14px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.thumb { position: relative; width: 96px; height: 96px; background: var(--bg-light); }
.thumb img { width: 96px; height: 96px; object-fit: cover; }
.thumb-ph { display: grid; place-items: center; width: 96px; height: 96px; font: 600 13px var(--f-mono); color: var(--muted); border: 1px solid var(--line-light); }
.thumb-x { position: absolute; top: -8px; right: -8px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--text); color: #fff; border: 2px solid #fff; border-radius: 50%; cursor: pointer; }
.thumb-x svg { width: 18px; height: 18px; }
.thumb-x:hover { background: #B3261E; }
.form-error-summary { border: 2px solid #B3261E; padding: 16px 18px; margin-bottom: 24px; background: #FDF1F0; }
.form-error-summary p { font-weight: 700; color: #8A1C15; }
.form-error-summary ul { margin-top: 8px; display: grid; gap: 4px; }
.form-error-summary a { color: #8A1C15; font-weight: 600; }
.form-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.summary h2 { margin: 16px 0 12px; }
.sum-ico { width: 48px; height: 48px; }
.sum-list { margin-top: 24px; border-top: 1px solid var(--line-light); }
.sum-list div { display: grid; grid-template-columns: minmax(96px, 30%) 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-light); }
.sum-list dt { font-weight: 600; }
.sum-list dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }

/* split-text masks: hidden only after the script marks the page ready */
.js [data-split] { visibility: hidden; animation: split-failsafe 0s 2.5s forwards; }
.split-ready [data-split] { visibility: visible; animation: none; }
@keyframes split-failsafe { to { visibility: visible; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-split] { visibility: visible; animation: none; }
}

/* Dark Steel: the look the client picked (Pearl's dark industrial rhythm in BBM's logo colours). */
:root {
  --bg-dark: #0B111A; --bg-dark-2: #121B26; --bg-deep: #070B11; --bg-light: #F2F4F6; --bg-white: #FFFFFF;
  --header-bg: #0B111A; --band: #1C4564; --steel: #1C4564; --accent: #2CA4DC;
  --text: #0B111A; --on-dark: #F2F4F6; --muted-on-dark: #8A8A8C; --muted-on-light: #4E5A66; --muted-on-band: #C9D6E0;
  --line-dark: rgb(242 244 246 / .14); --line-light: #D3DAE1; --hatch-a: rgb(28 69 100 / .55);
  --f-display: "Saira", "Saira Narrow Fallback", "Arial Narrow", sans-serif; --display-stretch: 75%; --btn-stretch: 75%;
  --display-track: 0; --display-lh: .9;
  --f-body: "Barlow", "Barlow Fallback", Arial, sans-serif; --f-mono: "IBM Plex Mono", "Plex Mono Fallback", "Courier New", monospace;
  --fs-hero: clamp(3.25rem, 1.3rem + 7.4vw, 8.75rem); --fs-h1: clamp(2.75rem, 1.5rem + 4.6vw, 5.75rem);
  --fs-h2: clamp(2.25rem, 1.45rem + 3vw, 4.125rem); --fs-h2-xl: clamp(2.75rem, 1.5rem + 4.6vw, 5.75rem);
  --fs-h3: 1.625rem; --fs-h3s: 1.3125rem; --fs-lead: 1.1875rem; --fs-body: 1.0625rem; --fs-small: .875rem; --fs-label: .8125rem; --fs-btn: 1.1875rem;
  --sec-pad: clamp(72px, 9vw, 128px); --ease-steel: cubic-bezier(.65, 0, .2, 1);
}
.sec-dark .sec-label, .steps .sec-label, .cta-band .sec-label, .page-hero .sec-label, .quote-page .sec-label, .hero .sec-label, .contract .sec-label { --label-color: var(--accent); }
.sec-light .sec-label, .services .sec-label, .work .sec-label, .sec-white .sec-label, .small-jobs .sec-label, .about .sec-label { --label-color: var(--steel); }
.contract .sec-label { --label-color: #9FD5EE; }

/* hero */
.hero { position: relative; overflow: hidden; background: var(--bg-dark); color: var(--on-dark); min-height: min(calc(100svh - 120px), 920px); display: flex; align-items: center; isolation: isolate; }
.hero-frame { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-film { position: absolute; inset: 0; }
.hero-film img, .hero-film > video { object-position: 72% 50%; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 17 26 / .5) 0%, rgb(11 17 26 / .74) 50%, rgb(11 17 26 / .94) 100%); }
.hatch-hero { z-index: -1; right: -10%; top: -10%; width: 46%; height: 120%; --hatch-a: rgb(28 69 100 / .35); }
.hero-tag { top: auto; bottom: 12px; left: auto; right: 12px; }
.hero-in { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.hero-copy { max-width: 760px; }
.hero-title { margin: 0 0 24px; display: flex; flex-direction: column; }
.line-mask { display: block; overflow: hidden; padding-bottom: .04em; }
.l1, .l2 { display: block; }
.l2 { position: relative; }
.l2-o { color: transparent; -webkit-text-stroke: 2px var(--on-dark); }
.l2-f { position: absolute; inset: 0; color: var(--accent); clip-path: inset(0 100% 0 0); }
.hero-intro { color: #D5DCE3; }
.facts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 40px; max-width: 720px; perspective: 600px; }
.fact { padding: 12px 14px 12px 16px; border-left: 1px solid rgb(242 244 246 / .22); }
.fact strong { display: block; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; }
.fact span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #AEB8C2; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, 1fr); max-width: 600px; } }
.hero-pause { position: absolute; left: clamp(16px, 3vw, 32px); bottom: 12px; z-index: 2; background: none; border: 0; color: #AEB8C2; font-size: 13px; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; min-height: 44px; }
@media (min-width: 900px) {
  .hero-frame { left: 42%; right: -30vh; transform: skewX(-30deg); transform-origin: 0 100%; border-left: 3px solid var(--accent); }
  .hero-film { left: -60vh; right: 0; transform: skewX(30deg); transform-origin: 0 100%; }
  .hero-shade { background: linear-gradient(90deg, rgb(11 17 26 / .96) 0%, rgb(11 17 26 / .78) 40%, rgb(11 17 26 / .06) 64%, rgb(11 17 26 / 0) 100%); }
  .hatch-hero { left: 30%; right: auto; width: 40%; }
}
/* start states before the deferred script runs; failsafes reveal everything if it never does */
.js:not(.split-ready) .hero-title .l1, .js:not(.split-ready) .hero-title .l2 { transform: translateY(110%); animation: hero-failsafe 0s 2s forwards; }
.js:not(.split-ready) .fact { opacity: 0; animation: hero-failsafe 0s 2s forwards; }
.hero .hatch-hero { z-index: -3; } /* stripes sit under the film so the weld reads clearly */
@keyframes hero-failsafe { to { transform: none; opacity: 1; } }

/* numbered service cards */
.cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; padding: 28px 26px 22px; background: var(--bg-white); border: 1px solid var(--line-light); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; min-height: 250px; }
/* top-right corner cut at the logo's bolt angle (34 x 59 px = 60 degrees) */
.card-lg { clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 59px, 100% 100%, 0 100%); }
.card-lg { background: var(--bg-dark-2); color: var(--on-dark); border-color: transparent; min-height: 380px; padding: 32px 30px 26px; --muted: var(--muted-on-dark); }
.card-no { position: absolute; top: 22px; right: 24px; font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #8A8A8C; transition: transform .35s cubic-bezier(.2, .7, .2, 1), color .35s; }
.card-lg .card-no { font-size: 64px; }
.card h3 { font-size: var(--fs-h3s); padding-right: 64px; margin-top: 40px; }
.card-lg h3 { font-size: var(--fs-h3); padding-right: 80px; margin-top: 64px; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-rule { display: block; width: 100%; height: 2px; margin: 14px 0 16px; background: var(--accent); transform: scaleX(.12); transform-origin: left; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.card p { color: var(--muted, var(--muted-on-light)); }
.card-bullets { display: grid; gap: 8px; margin-top: 18px; }
.card-bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.card-bullets .tick { width: 18px; height: 18px; }
.card-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-foot .arrow { width: 22px; height: 22px; flex: none; color: var(--accent); transition: transform .3s; }
.card:not(.card-lg) .card-foot .arrow { color: var(--steel); }
.card-go { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 18px; }
.card:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.card-link:focus-visible { outline: none; }
@media (hover: hover) {
  .card-lg:hover { box-shadow: none; }
  .card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgb(11 17 26 / .18); }
  .card:hover .card-rule { transform: scaleX(1); }
  .card:hover .card-no { transform: translateX(-10px); color: var(--accent); -webkit-text-stroke-color: var(--accent); }
  .card:hover .card-foot .arrow { transform: translateX(4px); }
}

/* how it works: dark with stripes */
.steps { overflow: hidden; }
.steps::before { content: ""; position: absolute; inset: 0 0 0 auto; width: 38%; background: repeating-linear-gradient(120deg, rgb(28 69 100 / .25) 0 14px, transparent 14px 34px); pointer-events: none; }
.steps .step { border-top-color: rgb(242 244 246 / .2); }

/* page hero photos: cut at the bolt angle like Pearl's hero photo, with no box behind */
.frame-skew { clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.small-media .ph, .fab-media .ph, .page-hero-media .ph { position: relative; z-index: 1; }

/* contract band */
.contract { --cut: 30%; }
.contract .contract-media .ph { border-left: 0; }

/* page hero */
.page-hero .hatch-hero { left: auto; right: -6%; width: 40%; }
.page-hero-media { position: relative; }
@media (max-width: 899px) { .page-hero-media { max-width: 520px; } }

.quote-page .quote-card { border-top: 4px solid var(--accent); }
.card-lg .card-no { right: 52px; }

/* Finished-site layer over Dark Steel: logo, header behaviour, service sections, Our Work, form states. */

/* logo */
.brand { display: flex; align-items: center; min-height: 44px; }
.brand-logo { width: auto; height: 52px; transition: height .4s var(--ease-steel); }
.is-scrolled .brand-logo { height: 42px; }
.footer-logo { width: auto; height: 72px; }

/* header: tucks away on the way down, returns on the way up */
.site-header { transition: transform .45s var(--ease-steel), background-color .3s; }
.site-header.is-hidden { transform: translateY(-100%); }
.nav-open .site-header.is-hidden { transform: none; }
.header-in { height: 80px; }
.site-header.is-scrolled .header-in { height: 64px; }
@media (max-width: 379px) { .hide-xs { display: none; } }
@media (max-width: 599px) { .header-actions .btn-primary { --h: 44px; padding: 0 14px; } .brand-logo { height: 44px; } }

/* icons in links */
.ph-ico { width: 16px; height: 16px; flex: none; }
.utility a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; font-weight: 600; }
.mb-call { gap: 10px; }
.mb-call .ph-ico { width: 18px; height: 18px; color: var(--accent); }

/* hero: the kicker sits inside the H1 so the heading names the service and area */
.hero-kicker { font-family: var(--f-body); font-stretch: 100%; text-transform: uppercase; font-size: var(--fs-label); line-height: 1; letter-spacing: .16em; font-weight: 600; color: var(--accent); margin-bottom: 22px; }
.hero-film picture { position: absolute; inset: 0; }
[data-film] picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-in { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 96px); }

/* photos */
.ph-wide { aspect-ratio: 16 / 9; }
.ph-tall { aspect-ratio: 4 / 5; }
.ph-job { aspect-ratio: 4 / 3; }
.ph picture, .ph img { display: block; width: 100%; height: 100%; }
.ph img { object-fit: cover; }

/* service cards: the 11th card fills what is left of the last row */
@media (min-width: 700px) and (max-width: 1023px) { .cards > .card:last-child:nth-child(odd) { grid-column: span 2; } }
@media (min-width: 1024px) { .cards > .card:last-child:nth-child(3n+2) { grid-column: span 2; } }

/* one section per service */
.svc { overflow: hidden; }
.svc-copy .h2 { margin: 12px 0 20px; }
.svc-media { position: relative; }
.svc-media .ph { position: relative; z-index: 1; }
@media (max-width: 899px) { .svc-media { max-width: 520px; } }
.split-top { align-items: start; }

/* jump links on the mining page */
.jump { padding: 0; border-bottom: 1px solid var(--line-light); }
.jump-list { display: flex; flex-wrap: wrap; gap: 4px 28px; padding: 18px 0; }
.jump-list a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; }
.jump-list a:hover { border-bottom-color: var(--accent); }
.jump-list .arrow { width: 16px; height: 16px; transform: rotate(90deg); color: var(--steel); }

.note-cta { margin-top: 28px; }
.spec-grid-dark .spec { background: var(--bg-dark-2); border-color: var(--line-dark); }
.spec-grid-dark .spec p { color: var(--muted-on-dark); }
.spec-grid-dark .spec { position: relative; }
.spec-grid-dark .spec a { text-decoration: none; }
.spec-grid-dark .spec a::after { content: ""; position: absolute; inset: 0; }
.spec-grid-dark .spec:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.spec-grid-dark .spec a:focus-visible { outline: none; }
.spec-grid-dark .spec a:hover { color: var(--accent); }

/* Our Work */
.page-hero-slim .h1 { margin: 16px 0 20px; }
.page-hero-slim .lead { max-width: 56ch; }
.job-list { display: grid; gap: clamp(40px, 5vw, 72px); }
.job { background: var(--bg-white); border: 1px solid var(--line-light); padding: clamp(18px, 3vw, 32px); }
.job-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 20px; }
.job-title { font-size: var(--fs-h3); }
.job-meta { color: var(--muted); font-size: 15px; }
.job-meta a { color: var(--text); font-weight: 600; }
.job-shots { display: grid; gap: 12px; }
@media (min-width: 700px) { .job-shots { grid-template-columns: repeat(3, 1fr); } }
.stage { position: absolute; left: 0; top: 0; z-index: 2; padding: 6px 12px; background: var(--bg-dark); color: var(--on-dark); font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 16px; letter-spacing: .04em; }
.stage-after { background: var(--accent); color: var(--text); }
.job-sum { margin-top: 18px; max-width: 70ch; }
.jobs-empty { display: grid; gap: 32px; align-items: center; }
.h3-lg { font-size: var(--fs-h3); margin-bottom: 12px; }
.jobs-empty .lead-sm { margin-top: 0; }
.shot-empty { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; border: 2px dashed #9AA6B2; background: var(--bg-white); }
.shot-empty .bolt-ico { width: 34px; height: 34px; fill: #C3CCD5; }
.job-shots-empty .job-shot:last-child .shot-empty { border-color: var(--accent); }

/* gallery tiles are example images: no zoom, no filters */
.work-grid .ph { aspect-ratio: 16 / 9; }
@media (min-width: 1024px) { .work-grid .work-item:first-child .ph { aspect-ratio: auto; height: 100%; } }
.work-note a { color: var(--text); font-weight: 600; }

/* quote form */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.quote-contract { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--accent); background: rgb(242 244 246 / .06); color: #D5DCE3; max-width: 52ch; }
.form-note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.form-note a { color: var(--text); }
.form-fail { margin-top: 18px; border: 2px solid #B3261E; padding: 14px 16px; background: #FDF1F0; color: #8A1C15; font-weight: 600; }
.form-fail a { color: #8A1C15; }
[data-submit][aria-busy="true"] { opacity: .7; cursor: progress; }
.summary .lead-sm a { color: var(--text); font-weight: 600; }

.contact-list a { min-height: 44px; }

.label-row { display: flex; align-items: baseline; flex-wrap: wrap; margin-bottom: 8px; }
.label-row label { font-weight: 600; }

/* prose pages */
.prose-date { margin-top: 32px; font-size: var(--fs-small); color: var(--muted-on-light); }

/* footer: four columns on desktop */
@media (min-width: 900px) { .footer-in { grid-template-columns: 1.3fr 1fr .8fr .9fr; } }
.footer-links { flex-wrap: wrap; }

/* image wipe along the logo's bolt angle; the hidden state only exists once the motion script runs */
.js.motion-steel [data-ph].is-pending img { transform: scale(1.12); }

@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header.is-hidden { transform: none; }
}

/* ---------- round 2 (9 Nov): closing band, wide service rows; round 3: Pearl layout ---------- */

/* closing band: solid accent with stripes, no photo */
.cta-solid { background: var(--bg-dark-2); color: var(--on-dark); border-top: 4px solid var(--accent); }
.cta-solid .hatch-band { inset: 0 0 0 auto; width: 46%; }
.cta-solid { padding: clamp(48px, 6vw, 72px) 0; }
.cta-solid .cta-in { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-solid .cta-in { grid-template-columns: minmax(0, 1fr) auto; gap: 48px; } }
.cta-solid .cta-title { max-width: none; margin: 0 0 10px; font-size: var(--fs-h2); }
.cta-solid .lead { color: #D5DCE3; }
.cta-solid .btn-row { margin-top: 0; }
.cta-logo { display: inline-block; margin-bottom: 18px; }
.cta-logo img { height: 64px; }
.btn-dark { background: var(--text); color: var(--on-dark); }
.btn-dark:hover { background: var(--bg-white); color: var(--text); }

/* wide service rows: photo across most of the row, copy beside it, ruled job list */
.svc-in { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 1024px) { .svc-in { grid-template-columns: 1.25fr 1fr; } .svc-flip .svc-media { order: 2; } }
.svc-wide .svc-media .ph { border-bottom: 4px solid var(--accent); }
.svc-wide .svc-copy .h2 { margin: 12px 0 16px; }
.svc-wide .svc-copy .lead-sm { margin-top: 0; font-size: var(--fs-lead); }
.rule-list { display: grid; margin-top: 22px; border-top: 2px solid var(--text); }
@media (min-width: 560px) { .rule-list { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.rule-list li { padding: 12px 0; border-bottom: 1px solid var(--line-light); font-weight: 500; }

/* gallery: caption sits under the photo */
.work-grid.work-plain .work-item { background: transparent; color: var(--text); overflow: visible; min-width: 0; }
.work-plain .ph { height: auto; aspect-ratio: 4 / 3; }
.work-plain .work-cap { position: static; padding: 12px 0 0; background: none; transform: none; }
.work-plain .work-cap h3, .ex-cap { font-size: 18px; }
.ex-cap { margin: 0; }
.ex-group + .ex-group { margin-top: clamp(32px, 4vw, 48px); }
.ex-h { margin-bottom: 16px; }
.ex-zoom { display: block; }
.ex-zoom:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (min-width: 1024px) { .work-grid.work-plain .work-item:first-child { grid-column: auto; grid-row: auto; } .work-grid.work-plain .work-item:first-child .ph { aspect-ratio: 4 / 3; height: auto; } }

/* spotlight: Pearl's pair of cards, one dark with the photo below, one ruled with the photo on top */
.spot { background: var(--bg-white); --muted: var(--muted-on-light); }
.spot-intro { color: var(--muted-on-light); }
.spot-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .spot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.spot-card { display: flex; flex-direction: column; min-width: 0; border: 2px solid var(--text); background: var(--bg-white); }
.spot-dark { background: var(--bg-dark-2); border-color: var(--bg-dark-2); color: var(--on-dark); }
.spot-card .ph { aspect-ratio: 16 / 9; }
.spot-dark .ph { margin-top: auto; }
.spot-body { padding: clamp(24px, 3.6vw, 48px); }
.spot-title { font-weight: 800; font-size: clamp(2.25rem, 1.4rem + 2.2vw, 3.5rem); line-height: .95; }
.spot-text { margin-top: 16px; font-size: var(--fs-lead); line-height: 1.5; color: var(--muted-on-light); max-width: 54ch; }
.spot-dark .spot-text { color: #C5CED7; }
.spot-ticks { margin-top: 22px; font-weight: 600; }
@media (min-width: 560px) { .spot-ticks { grid-template-columns: 1fr 1fr; } }
.spot-card:not(.spot-dark) .tick { color: var(--steel); }
.spot .btn-row { align-items: center; gap: 12px 28px; }

/* industries: six short columns under a heavy rule */
.industries { background: var(--bg-white); }
.ind-list { display: grid; gap: 32px 24px; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .ind-list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .ind-list { grid-template-columns: repeat(6, 1fr); } }
.ind { min-width: 0; padding-top: 16px; border-top: 4px solid var(--text); }
.ind h3 { font-size: var(--fs-h3s); margin-bottom: 8px; }
.ind p { font-size: 15px; color: var(--muted-on-light); }

/* homepage about: copy beside a plain photo, four reason cards underneath */
.about-home { background: var(--bg-dark); color: var(--on-dark); isolation: isolate; overflow: hidden; --muted: var(--muted-on-dark); --line: var(--line-dark); }
.about-home .sec-label { --label-color: var(--accent); }
.about-home .lead, .about-home p { color: #D5DCE3; }
.about-home .text-link { color: var(--on-dark); }
.about-home .reason-cards .reason { background: rgb(11 17 26 / .78); }
.about-home .reason h3 { color: var(--on-dark); }
.has-bg, .steps, .cta-band { isolation: isolate; overflow: hidden; }
.sec-bg.sec-bg-light::after { background: linear-gradient(90deg, rgb(242 244 246 / .97) 0%, rgb(242 244 246 / .9) 100%); }
.about-home .about-in { align-items: center; }
@media (min-width: 900px) { .about-home .about-in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.reason-cards { margin-top: clamp(40px, 5vw, 64px); gap: 16px; }
@media (min-width: 1024px) { .reason-cards { grid-template-columns: repeat(4, 1fr); } }
.reason-cards .reason { padding: 28px 26px; border-top: 0; background: var(--bg-white); }
.reason-cards .reason::before { content: none; }
.reason-cards .reason h3 { font-size: var(--fs-h3s); }

/* small jobs: a plain portrait photo, no frame */
@media (min-width: 900px) { .small-media { justify-self: end; width: 100%; max-width: 460px; } }

/* FAQ: a way to ask what the list doesn't cover, under the heading */
.faq-ask { margin-top: 20px; max-width: 34ch; color: var(--muted); }
.faq-ask a { color: inherit; font-weight: 600; }
.sec-white .faq-ask a, .sec-light .faq-ask a { color: var(--text); }

/* page heroes: stripes sit behind the photo, as on the homepage */
.page-hero { isolation: isolate; }

/* how it works: the weld line (full and static without the script, with reduced motion or on phones) */
.steps-track { position: relative; }
.weld-line { display: none; }
@media (min-width: 900px) {
  .weld-line { display: block; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 1; pointer-events: none; }
  .weld-fill { position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--p, 1)); transform-origin: left; }
  .weld-tip { position: absolute; top: 50%; left: calc(var(--p, 1) * 100%); width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 0 6px 2px rgb(44 164 220 / .9), 0 0 18px 6px rgb(44 164 220 / .35); opacity: var(--tip, 0); transition: opacity .3s; }
  .weld-on .step-no { color: rgb(242 244 246 / .22); transition: color .4s; }
  .weld-on .step.is-lit .step-no { color: var(--accent); }
}

/* our work: service filter and photo lightbox (shown once real jobs exist) */
.job-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.job-filter button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-light); background: var(--bg-white); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.job-filter button:hover { border-color: var(--text); }
.job-filter button[aria-pressed="true"] { background: var(--bg-dark); color: var(--on-dark); border-color: var(--bg-dark); }
.job-zoom { display: block; cursor: zoom-in; }
.lightbox { max-width: min(1200px, 94vw); max-height: 92vh; padding: 0; border: 0; background: var(--bg-dark); color: var(--on-dark); }
.lightbox::backdrop { background: rgb(0 0 0 / .85); }
.lightbox img { display: block; max-width: 100%; max-height: calc(92vh - 64px); margin: auto; }
.lightbox-cap { padding: 12px 16px; font-size: 15px; }
.lightbox-x { position: absolute; top: 0; right: 0; width: 48px; height: 48px; border: 0; background: var(--bg-dark); color: var(--on-dark); font-size: 32px; line-height: 1; cursor: pointer; }

/* round 5: tighter rhythm, photo cards, photos run off the page edge on the bolt cut */
:root { --sec-pad: clamp(56px, 6.5vw, 96px); }
.sec-head { margin-bottom: clamp(28px, 3.5vw, 44px); }

/* service cards: the job photo fills a band across the top and fades into the dark text area */
.card { --ph-h: 168px; overflow: hidden; isolation: isolate; background: var(--bg-dark-2); color: var(--on-dark); border-color: transparent; --muted: #D5DCE3; padding-top: calc(var(--ph-h) - 8px); min-height: 0; }
.card-lg { --ph-h: 220px; padding-top: calc(var(--ph-h) - 8px); }
.card-bg { position: absolute; inset: 0 0 auto 0; height: var(--ph-h); z-index: -1; }
.card-bg picture, .card-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.card-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(18 27 38 / .35) 0%, rgb(18 27 38 / 0) 28%, rgb(18 27 38 / 0) 62%, var(--bg-dark-2) 100%); }
.card p { color: #D5DCE3; }
.card-no { -webkit-text-stroke-color: rgb(242 244 246 / .8); text-shadow: 0 1px 12px rgb(0 0 0 / .35); }
.card:not(.card-lg) .card-foot .arrow { color: var(--accent); }
.card h3, .card-lg h3 { margin-top: 0; }
@media (hover: hover) {
  .card:hover { box-shadow: 0 18px 40px rgb(11 17 26 / .28); }
  .card:hover .card-bg img { transform: scale(1.06); }
}

/* bleed: the photo fills its half of the section to the screen edge, cut at the bolt angle */
.bleed { position: relative; overflow: hidden; }
@media (min-width: 900px) {
  .bleed-media { position: absolute; top: 0; bottom: 0; width: 48%; right: 0; }
  .bleed-left .bleed-media { right: auto; left: 0; }
  .bleed-media .ph { height: 100%; aspect-ratio: auto; clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
  .bleed-left .bleed-media .ph { clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%); }
  .bleed-copy { width: 50%; max-width: 620px; position: relative; z-index: 1; }
  .bleed-left .bleed-copy { margin-left: auto; }
  .about-home { padding-top: 0; }
  .about-home .bleed { padding: var(--sec-pad) 0 clamp(24px, 3vw, 40px); }
  .about-home .bleed-copy { padding: clamp(24px, 4vw, 56px) 0; }
  .small-jobs .tick-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .small-jobs { padding-top: 0; }
  .bleed-media { margin-bottom: 36px; }
  .bleed-media .ph { aspect-ratio: 16 / 10; clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
  .about-home { padding-top: 0; }
}
.about-home .reason-cards { margin-top: clamp(32px, 4vw, 48px); }
.reason-cards .reason { border-top: 4px solid var(--accent); }

/* spotlight: no frames; photos meet their card on the bolt cut */
.spot-card, .spot-dark { border: 0; }
.spot-card:not(.spot-dark) { background: var(--bg-light); }
.spot-card:not(.spot-dark) .ph { clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.spot-dark .ph { clip-path: polygon(0 14%, 100% 0, 100% 100%, 0 100%); }

/* industries: dark band over a plant photo */
.industries { background: var(--bg-dark); color: var(--on-dark); overflow: hidden; isolation: isolate; --label-color: var(--accent); }
.sec-bg { position: absolute; inset: 0; z-index: -1; }
.sec-bg picture, .sec-bg img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sec-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(11 17 26 / .95) 0%, rgb(11 17 26 / .84) 60%, rgb(11 17 26 / .72) 100%); }
.industries .ind { border-top-color: var(--accent); }
.industries .ind p { color: #D5DCE3; }
@media (max-width: 699px) { .card, .card-lg { --ph-h: 176px; padding: calc(var(--ph-h) - 8px) 22px 20px; } }
.card-bg img[src*="trailer-chassis-repair"] { object-position: 18% 55%; } /* coupling sits at the photo left edge */

/* header: Instagram and Facebook icons */
.social-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--on-dark); }
.social-links a:hover, .social-links a:focus-visible { color: var(--accent); }
.social-links svg { width: 20px; height: 20px; }
@media (max-width: 559px) { .social-links a { width: 36px; height: 44px; } .social-links svg { width: 18px; height: 18px; } .social-links { gap: 0; } }
@media (max-width: 419px) { .header-actions .btn-primary { display: none; } }

.card .card-foot .btn .arrow { width: 20px; height: 20px; color: currentColor; }

/* final polish, 10 Nov 2026 */
/* hero: the accent fill is drawn from data-text, so Google and screen readers read "the welder." once */
.l2-f::before { content: attr(data-text); }
/* fact strip: four plain labels, no captions */
.fact { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 21px; line-height: 1.05; }
@media (min-width: 640px) { .facts { max-width: 560px; } .fact { padding: 12px 10px 12px 14px; font-size: 19px; } }
/* the phone bar never sits over the end of the page, a focused field or the submit button */
@media (max-width: 899px) {
  html { scroll-padding-bottom: 84px; }
  body:has(:is(input:not([type="radio"], [type="checkbox"], [type="file"]), textarea, select):focus) .mobile-bar { display: none; }
}
/* quote form: contract details, file rule, upload list */
.contract-fields { margin-top: 4px; padding: 20px; border-left: 3px solid var(--accent); background: var(--bg-light); }
.contract-fields[hidden] { display: none; }
.contract-fields .field:last-child { margin-bottom: 0; }
.contract-h { font-weight: 700; margin-bottom: 4px; }
.thumb-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 2px 4px; background: rgb(11 17 26 / .78); color: #F2F4F6; font: 500 11px/1.3 var(--f-body); text-align: center; }
.thumb-ph { flex-direction: column; gap: 2px; }
.next-steps { margin: 12px 0 20px; padding-left: 1.25em; display: grid; gap: 8px; list-style: decimal; }
.form-fail a { font-weight: 700; }
/* Our Work lightbox: previous, next and a labelled close */
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto auto; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px; }
.lightbox-count { padding-left: 10px; font-size: 14px; color: #C9D2DB; }
.lightbox-x { position: static; width: auto; min-width: 48px; height: 48px; padding: 0 14px; font: 600 16px var(--f-body); display: inline-flex; align-items: center; gap: 8px; }
.lightbox-x span[aria-hidden] { font-size: 28px; line-height: 1; }
.lightbox-nav { display: flex; gap: 8px; padding: 0 6px 6px; justify-content: center; }
.lightbox-nav button { min-width: 48px; min-height: 48px; padding: 0 16px; border: 1px solid var(--line-dark); background: var(--bg-dark-2); color: var(--on-dark); font: 600 16px var(--f-body); cursor: pointer; }
.lightbox-nav button:hover, .lightbox-x:hover { background: var(--steel); }
.lightbox :focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
/* reviews (rendered once the Google review link exists) */
.review-list { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 900px) { .review-list { grid-template-columns: repeat(2, 1fr); } }
.review { padding: 28px; background: var(--bg-white); border-left: 4px solid var(--accent); }
.review-stars { color: #B7791F; letter-spacing: .1em; }
.review blockquote p { font-size: var(--fs-lead); line-height: 1.5; margin-top: 8px; }
.review-who { margin-top: 12px; font-weight: 600; }
/* file picker: the native input shows without the script; with it, the Add photos button takes over */
.no-js .js-only, .js .nojs-only { display: none; }
.js #f-photos { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.drop-btn { border: 0; font: inherit; font-weight: 600; }
.drop-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.nojs-only { font-weight: 600; }
/* table contact links: 44 px tap height without moving the rows */
.spec-table td a { display: inline-block; padding-block: 13px; margin-block: -13px; }
/* between 900 and 1279 px the film's slanted edge comes in close, so the fact strip folds to two columns */
@media (min-width: 900px) and (max-width: 1279px) { .facts { grid-template-columns: repeat(2, 1fr); max-width: 380px; } }
/* judge run 3 fixes, 10 Nov 2026 */
/* owner, 10 Nov 2026: back to the earlier layout (eyebrow spacing and the spotlight card unchanged); the homepage About
   photo keeps its earlier height after the "example images" paragraph left the copy beside it */
@media (min-width: 900px) { .about-home .bleed { display: flex; flex-direction: column; justify-content: center; min-height: 610px; } }
/* contract details: hidden before first paint when the script runs, so the form never jumps (the html class is set by
   the inline flag for ?type=contract links and by form.js when the job type changes) */
.js:not(.is-contract) .contract-fields { display: none; }
/* inner page heroes (owner, 10 Nov 2026): the whole wide photo in the homepage's slanted frame, fitted to the first screen */
.page-hero-photo { display: flex; align-items: center; min-height: min(calc(100svh - 120px), 680px); padding: clamp(40px, 5vw, 88px) 0; }
/* phones: the photo sits behind the copy, so the shade is darker where the text runs (AA measured on rendered pixels) */
@media (max-width: 899px) { .page-hero-photo .hero-shade { background: linear-gradient(180deg, rgb(11 17 26 / .8) 0%, rgb(11 17 26 / .86) 55%, rgb(11 17 26 / .94) 100%); } }
.page-hero-photo > .wrap { width: 100%; }
.page-hero-photo .hero-film img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.page-hero-photo .page-hero-copy { max-width: 640px; }
.page-hero-photo .hatch-hero { z-index: -3; }
@media (min-width: 900px) {
  /* the frame starts at 55% and leans right going up, so copy capped at 51vw - 80px stays clear of the edge and the photo */
  .page-hero-photo .hero-frame { left: 55%; }
  .page-hero-photo .page-hero-copy { max-width: min(640px, calc(51vw - 80px)); }
  .page-hero-photo .hatch-hero { left: 36%; right: auto; width: 40%; }
  .page-hero-photo .page-hero-in { grid-template-columns: 1fr; }
}
/* short desktop screens (1024 x 768 laptops and tablets): less padding so the longest hero still fits */
@media (min-width: 900px) and (max-height: 800px) { .page-hero-photo { padding: 32px 0; } }
/* home intro (site.js): the arc point that welds each desktop nav link in; invisible unless the script animates it */
.main-nav li { position: relative; }
.weld-arc { position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; opacity: 0; visibility: hidden; pointer-events: none; box-shadow: 0 0 4px 2px #FFE2A8, 0 0 12px 5px rgb(255 150 50 / .8), 0 0 26px 10px rgb(44 164 220 / .35); animation: weld-flicker .08s steps(2) infinite; }
.weld-arc::before, .weld-arc::after { content: ""; position: absolute; left: 2px; top: 2px; width: 2px; height: 2px; border-radius: 50%; background: #FFC873; animation: weld-spark .3s ease-out infinite; }
.weld-arc::after { --sx: -9px; --sy: 10px; animation-delay: .15s; }
@keyframes weld-flicker { 50% { filter: brightness(1.5); } }
@keyframes weld-spark { from { transform: none; opacity: 1; } to { transform: translate(var(--sx, -12px), var(--sy, -11px)); opacity: 0; } }
/* links wait unwelded until the script starts; the failsafe shows them if it never does (same 2 s as the hero title) */
@media (min-width: 1100px) and (prefers-reduced-motion: no-preference) {
  .js:not(.split-ready) .page-index .main-nav a { clip-path: inset(0 100% 0 0); animation: nav-failsafe 0s 2s forwards; }
}
@keyframes nav-failsafe { to { clip-path: inset(0 0 0 0); } }
:is(h1, h2) > .weld-arc { top: 0; } /* titles: the script places the arc on each line */

/* stand-in photos pulled at the owner's request (content.PHOTOS_OFF): the cards, bands and service sections run on copy alone until his own photos arrive */
.card.card-nophoto { padding-top: 30px; }
.card-lg.card-nophoto { padding-top: 34px; }
.card-nophoto h3 { margin-top: 36px; }
.card-lg.card-nophoto h3 { margin-top: 48px; }
@media (max-width: 699px) { .card.card-nophoto, .card-lg.card-nophoto { padding: 26px 22px 20px; } }
.svc-in.svc-solo { grid-template-columns: minmax(0, 760px); }
.svc-solo .svc-copy { border-left: 4px solid var(--accent); padding-left: clamp(20px, 3vw, 36px); }
.bleed-solo .bleed-copy { width: auto; max-width: 760px; margin-left: 0; }
.about-home .bleed.bleed-solo { min-height: 0; }
@media (max-width: 899px) {
  .small-jobs.bleed-solo, .about-home:has(.bleed-solo) { padding-top: var(--sec-pad); }
  .contract-solo { padding-top: var(--sec-pad); }
}
.spot-dark.spot-solo { justify-content: center; }
@media (min-width: 900px) {
  /* a band whose photo is gone: heading and lead on the left, the list on the right */
  .contract-solo .contract-copy, .small-jobs.bleed-solo .small-copy { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  .contract-solo .contract-copy > *, .small-jobs.bleed-solo .small-copy > * { grid-column: 1; }
  .contract-solo .contract-copy > .tick-list, .small-jobs.bleed-solo .small-copy > .tick-list { grid-column: 2; grid-row: 1 / span 4; align-self: center; grid-template-columns: 1fr; }
}
/* owner, 16 Nov 2026: "make the header fonts match everything else": nav and utility strip in the display face used by headings and buttons */
@media (min-width: 900px) { .main-nav a { font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 700; text-transform: uppercase; font-size: 17px; letter-spacing: .03em; } }
.utility { font-family: var(--f-display); font-stretch: var(--display-stretch); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; }

/* Premium pass, 15 Nov 2026: loads last. Dark Steel's colours, fonts and flow stay; stripes, giant numerals, photo bands and weld-in effects go.
   Backdrops are made in code (soft colour, grain, vignette). Nothing here shows work that BBM did not photograph. */

/* hide every old stripe block */
.hatch, .steps::before, .weld-line { display: none !important; }
.js [data-split], .js:not(.split-ready) .hero-title .l1, .js:not(.split-ready) .hero-title .l2 { visibility: visible !important; transform: none !important; animation: none !important; }
.js:not(.split-ready) .page-index .main-nav a { clip-path: none !important; animation: none !important; }

/* line icons */
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* atmosphere */
.atmos { --warm: rgb(150 70 35 / .26); --cool: rgb(44 164 220 / .14); --cx: 76%; --cy: 28%; position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none;
  background: radial-gradient(60% 70% at var(--cx) var(--cy), var(--cool), transparent 70%), radial-gradient(55% 65% at 8% 105%, var(--warm), transparent 70%), linear-gradient(180deg, #0F1823 0%, #0B111A 55%, #080C12 100%); }
.atmos::before { content: ""; position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay; background-size: 160px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }
.atmos::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 35%, transparent 50%, rgb(4 7 11 / .6) 100%); }
.atmos-home { --warm: rgb(170 75 30 / .3); --cx: 80%; --cy: 35%; }
.atmos-mobile-welding { --warm: rgb(190 85 40 / .34); --cx: 84%; --cy: 30%; }
.atmos-custom-fabrication { --warm: rgb(44 164 220 / .1); --cool: rgb(100 130 160 / .22); --cx: 18%; --cy: 30%; }
.atmos-mining-industrial { --warm: rgb(165 95 45 / .36); --cool: rgb(44 164 220 / .1); --cx: 88%; --cy: 72%; }
.atmos-breakdowns { --warm: rgb(215 145 50 / .24); --cool: rgb(30 80 125 / .32); --cx: 68%; --cy: 18%; }
.atmos-our-work, .atmos-quote, .atmos-thanks, .atmos-404 { --warm: rgb(120 80 50 / .22); --cx: 70%; --cy: 40%; }
.atmos-about { --cx: 14%; --cy: 55%; --warm: rgb(90 90 110 / .2); }
.atmos-spot { --cx: 12%; --cy: 20%; --warm: rgb(140 70 35 / .2); }
.atmos-steps { --cx: 90%; --cy: 80%; --warm: rgb(110 60 35 / .2); }
.atmos-contract { --cool: rgb(28 69 100 / .75); --cx: 88%; --cy: 40%; --warm: rgb(120 60 30 / .16); }
.atmos-industries { --cx: 50%; --cy: 100%; --warm: rgb(90 70 60 / .2); }
.atmos-cta { --cx: 92%; --cy: 50%; --warm: rgb(160 75 35 / .28); }
.hero, .page-hero, .cta-band, .spot, .steps, .contract, .industries, .about-home, .quote-page { isolation: isolate; overflow: hidden; }
.sec-bg { background: radial-gradient(60% 80% at 80% 20%, rgb(44 164 220 / .12), transparent 70%), linear-gradient(180deg, #0F1823, #0B111A); }
.sec-bg::after { display: none; }
.sec-bg-light { background: none; }

/* headings: one calm underline draws as they come into view */
.h1[data-split]::after, .h2[data-split]::after { content: ""; display: block; height: 4px; width: 0; margin-top: 18px; background: var(--accent); transition: width .9s var(--ease-steel); }
.h1[data-split].is-drawn::after, .h2[data-split].is-drawn::after, html:not(.js) .h1[data-split]::after, html:not(.js) .h2[data-split]::after { width: 72px; }

/* home hero: full bleed, facts panel on the right */
.hero-full { min-height: min(calc(100svh - 120px), 860px); display: flex; align-items: center; padding: clamp(56px, 8vw, 112px) 0; }
.hero-full .hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-full .hero-in { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; } }
.hero-title { font-size: clamp(3.25rem, 1.3rem + 7vw, 8rem); }
.hero-title .l1, .hero-title .l2 { display: block; }
.hero-title .l2 { color: var(--accent); }
.hero-kicker { display: flex; margin-bottom: 24px; }
.hero-facts { display: grid; gap: 12px; }
@media (max-width: 959px) { .hero-facts { grid-template-columns: 1fr 1fr; } }
.hero-facts li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: rgb(11 17 26 / .6); border: 1px solid var(--line-dark); border-top: 3px solid var(--accent); font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 1.2rem; line-height: 1.05; }
.hero-facts .ico { width: 30px; height: 30px; color: var(--accent); flex: none; }

/* inner hero: same backdrop, a large line-icon mark on the right */
.page-hero { position: relative; padding: clamp(64px, 9vw, 128px) 0; min-height: min(60svh, 520px); display: flex; align-items: center; }
.page-hero > .wrap { width: 100%; }
.page-hero-in { display: block; }
.page-hero-copy { max-width: 760px; }
.hero-mark { position: absolute; right: max(4vw, 16px); top: 50%; transform: translateY(-50%); width: clamp(180px, 30vw, 420px); aspect-ratio: 1; color: rgb(242 244 246 / .1); z-index: -1; }
.hero-mark .ico { width: 100%; height: 100%; stroke-width: .9; }
@media (max-width: 899px) { .hero-mark { top: auto; bottom: 0; right: 0; width: 200px; transform: none; } }

/* ticker: a plain static strip */
.ticker-static { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; padding: 18px 16px; }
.ticker-static li { padding: 2px 18px; border-left: 1px solid var(--line-light); font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 1rem; letter-spacing: .04em; }
.ticker-static li:first-child { border-left: 0; }

/* services: three featured cards, eight compact */
.cards-feat, .cards-mini { display: grid; gap: 18px; }
.cards-feat { grid-template-columns: 1fr; margin-bottom: 18px; }
@media (min-width: 900px) { .cards-feat { grid-template-columns: repeat(3, 1fr); } }
.cards-mini { grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards-mini { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-mini { grid-template-columns: repeat(4, 1fr); } }
.sv { position: relative; display: flex; flex-direction: column; border-top: 4px solid var(--accent); padding: 26px 24px 20px; transition: box-shadow .25s; }
.sv:hover { box-shadow: 0 14px 34px rgb(11 17 26 / .18); }
.sv:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.sv-feat { background: var(--bg-dark-2); color: var(--on-dark); padding: 32px 28px 24px; }
.sv-mini { background: var(--bg-white); border: 1px solid var(--line-light); border-top: 4px solid var(--accent); }
.sv-ico { display: block; width: 48px; height: 48px; color: var(--accent); }
.sv-mini .sv-ico { width: 36px; height: 36px; color: var(--steel); }
.sv-ico .ico { width: 100%; height: 100%; }
.sv-tag { margin-top: 18px; font: 600 .78rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted-on-light); }
.sv-feat .sv-tag { color: #9DB0C0; }
.sv h3 { margin-top: 10px; font-size: var(--fs-h3s); }
.sv-feat h3 { font-size: var(--fs-h3); }
.sv-text { margin-top: 10px; color: var(--muted-on-light); }
.sv-feat .sv-text { color: #D5DCE3; }
.card-link { text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chips li { padding: 6px 12px; border: 1px solid var(--line-dark); background: rgb(242 244 246 / .05); font-size: .8125rem; letter-spacing: .02em; }
.sv-foot { margin-top: auto; padding-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sv-go { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 1.0625rem; }
.sv .arrow { width: 22px; height: 22px; flex: none; color: var(--accent); }
.panel-photo { margin: 0 0 18px; aspect-ratio: 4 / 3; overflow: hidden; }
.panel-photo img { width: 100%; height: 100%; object-fit: cover; }
.work-tiles { margin-top: 8px; }
.work-ig { margin-bottom: 24px; }

/* spotlight: two matching panels, each with a line drawing */
.spot-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .spot-grid { grid-template-columns: 1fr 1fr; } }
.spot-panel { position: relative; display: flex; flex-direction: column; overflow: hidden; background: rgb(18 27 38 / .82); border-top: 4px solid var(--accent); padding: clamp(28px, 3vw, 44px); }
.spot-art { position: absolute; right: -14px; top: -14px; width: 230px; height: 230px; color: rgb(44 164 220 / .18); pointer-events: none; }
.spot-art .ico { width: 100%; height: 100%; stroke-width: 1; }
.spot-panel > :not(.spot-art) { position: relative; }
.spot-title { color: var(--on-dark); }
.spot-text { color: #C5CED7; }
.spot-intro { color: #C5CED7; }
.spot-panel .btn-row { margin-top: 28px; }
.spot-panel .text-link { color: var(--on-dark); }
.spot-panel .tick { color: var(--accent); }

/* inner service sections: copy on one side, a "Common jobs" panel on the other, alternating */
.svc-in { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 1024px) { .svc-in { grid-template-columns: 1.2fr 1fr; } .svc-flip .svc-panel { order: -1; } }
.svc-copy .h2 { margin: 12px 0 16px; }
.svc-copy .lead-sm { margin-top: 0; font-size: var(--fs-lead); }
.svc-copy .link-row { margin-top: 26px; }
.svc-panel { position: relative; background: var(--bg-dark-2); color: var(--on-dark); border-top: 4px solid var(--accent); padding: clamp(24px, 3vw, 40px); }
.panel-ico { display: block; width: 44px; height: 44px; color: var(--accent); }
.panel-ico .ico { width: 100%; height: 100%; }
.svc-panel h3 { margin: 14px 0; color: var(--on-dark); }
.svc-panel .tick-list { display: grid; gap: 12px; }
.svc-panel .tick { color: var(--accent); }
.svc-panel .panel-photo { margin: -8px -8px 22px; }

/* dark bands from the one backdrop */
.band-split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) { .band-split { grid-template-columns: 1fr 1fr; } }
.small-jobs .tick-list { display: grid; gap: 12px; }
.contract { background: var(--bg-dark); color: var(--on-dark); padding: var(--sec-pad) 0; }
.contract-copy { max-width: none; }
.contract .tick { color: var(--accent); }
.contract .note-card { border-top: 4px solid var(--accent); background: rgb(11 17 26 / .72); }
.about-home .about-copy { max-width: 760px; }
.summary .ico { width: 40px; height: 40px; color: var(--accent); }
.cta-band .cta-in { position: relative; }
.about-home { padding-top: var(--sec-pad); }
/* judge lifts, 15 Nov: compact tiles on phones, shorter phone hero, faint blueprint grid behind Services */
@media (max-width: 599px) {
  .cards-mini { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sv-mini { padding: 18px 16px 14px; }
  .sv-mini .sv-text, .sv-mini .sv-tag { display: none; }
  .sv-mini h3 { font-size: 1.05rem; }
  .sv-mini .sv-go { font-size: .9rem; }
  .hero-full { min-height: 0; padding: 56px 0 48px; }
}
.services { background-image: linear-gradient(rgb(28 69 100 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(28 69 100 / .05) 1px, transparent 1px); background-size: 40px 40px; }
.work-social { margin-bottom: clamp(32px, 4vw, 48px); padding: clamp(22px, 3vw, 32px); background: var(--bg-white); border: 1px solid var(--line-light); border-top: 4px solid var(--accent); }
.work-social .btn-row { margin-top: 18px; }
.about .cards-mini .sv h3 { margin-top: 14px; }
.sv-mini { color: var(--text); }

/* Home opener: see finish.css (split hero with the drawn panel, owner brief 16 Nov 2026) */
.hero-title .l2 { position: relative; display: inline-block; }
.hero-title .l2::before { content: attr(data-text) / ""; position: absolute; left: .045em; top: .045em; z-index: -1; color: transparent; -webkit-text-stroke: 2px rgb(242 244 246 / .4); }

/* JC-level finish (owner brief, 16 Nov 2026): textures and drawings made in code, photo slots that take BBM's own job photos,
   the reference sites' details in Dark Steel. Loaded last. No stock, generated or AI images anywhere. */
:root { --fs-body: 1.125rem; --checker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30'%3E%3Cg fill='%23ffffff' fill-opacity='.07'%3E%3Crect x='2' y='6' width='13' height='3.4' rx='1.7' transform='rotate(45 8.5 7.7)'/%3E%3Crect x='17' y='21' width='13' height='3.4' rx='1.7' transform='rotate(-45 23.5 22.7)'/%3E%3C/g%3E%3C/svg%3E"); }

/* surfaces: brushed plate, checker plate, blueprint grid, diagonal stripes */
.tex { position: absolute !important; inset: 0; z-index: -2; pointer-events: none; }
.tex-brushed { background: repeating-linear-gradient(0deg, rgb(255 255 255 / .022) 0 1px, transparent 1px 3px), linear-gradient(112deg, #17212C 0%, #223140 34%, #141D27 52%, #1F2C3A 72%, #0F1720 100%); }
.tex-checker { background: var(--checker) 0 0 / 30px 30px, linear-gradient(160deg, #18232F, #0E151E 70%); }
.tex-grid { background: linear-gradient(rgb(44 164 220 / .09) 1px, transparent 1px) 0 0 / 80px 80px, linear-gradient(90deg, rgb(44 164 220 / .09) 1px, transparent 1px) 0 0 / 80px 80px,
  linear-gradient(rgb(44 164 220 / .04) 1px, transparent 1px) 0 0 / 16px 16px, linear-gradient(90deg, rgb(44 164 220 / .04) 1px, transparent 1px) 0 0 / 16px 16px, #0D1620; }
.tex-stripes { background: repeating-linear-gradient(-60deg, rgb(255 255 255 / .05) 0 2px, transparent 2px 14px), linear-gradient(112deg, #1A2532, #121B26 60%, #0E151E); }

/* photo slots: BBM's own job photos, 4:3, under a strong overlay when text sits on top */
.slot-photo, .bg-photo { margin: 0; }
.slot-photo img, .bg-photo img { width: 100%; height: 100%; object-fit: cover; }
.bg-photo { position: absolute !important; inset: 0; z-index: -1; }
.bg-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(11 17 26 / .72), rgb(11 17 26 / .9)); }
.tag-black { display: inline-block; padding: 8px 14px; background: #05080C; color: var(--on-dark); font: 800 .95rem/1.1 var(--f-display); font-stretch: 75%; text-transform: uppercase; letter-spacing: .02em; }

/* utility bar: credentials left, phone and email right */
.utility-right { gap: 22px; }
@media (max-width: 699px) { .utility-right a[href^="mailto"] { display: none; } }

/* hero: copy left, angled drawn panel right, proof row under the buttons */
.hero-split .hero-in { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-split .hero-in { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; } }
.hero-split .hero-copy { max-width: 720px; }
.hero-split .hero-title { font-size: clamp(3.25rem, 1.3rem + 5vw, 6.25rem); }
.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 36px; background: var(--line-dark); border: 1px solid var(--line-dark); }
@media (min-width: 640px) { .proof { grid-template-columns: repeat(4, 1fr); } }
.proof li { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: var(--bg-dark); }
.proof strong { font: 800 1.45rem/1 var(--f-display); font-stretch: 75%; text-transform: uppercase; color: var(--on-dark); }
.proof span { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #9DB0C0; }
.hero-panel { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 300px; padding: 28px 20px; border-top: 4px solid var(--accent);
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%); }
@media (min-width: 960px) { .hero-panel { min-height: 520px; padding: 32px 24px 32px 12%; border-top: 0; border-right: 4px solid var(--accent); clip-path: polygon(11% 0, 100% 0, 100% 100%, 0 100%); } }
.hero-panel::before { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 64px; z-index: -1; background: linear-gradient(90deg, transparent 0 18px, rgb(44 164 220 / .16) 18px 30px, transparent 30px 40px, rgb(44 164 220 / .1) 40px); transform: skewX(-20deg); transform-origin: top; }
.hero-panel .drawing { justify-self: stretch; max-width: 680px; margin: 0 auto; }
.hero-panel.has-photo { padding: 0; }
.hero-panel.has-photo .slot-photo { position: absolute; inset: 0; }
.hero-panel .tag-black { position: absolute; left: 13%; bottom: 0; }

/* drawings: drawn once on view; static for reduced motion, Pause motion and without JS */
.drawing { display: block; width: 100%; max-width: 560px; height: auto; color: #CFE6F4; overflow: visible; }
.drawing .dw { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; vector-effect: non-scaling-stroke; }
.drawing .dw-dim .dw { stroke: var(--accent); stroke-width: 1; }
.drawing text { fill: #9DB0C0; font: 600 12px/1 var(--f-mono); letter-spacing: .06em; }
.js .drawing .dw { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .drawing .dw-text { opacity: 0; }
.js .drawing.is-drawn .dw-part .dw { animation: dw-draw 1.6s var(--ease-steel) forwards; }
.js .drawing.is-drawn .dw-dim .dw { animation: dw-draw .9s ease-out 1.3s forwards; }
.js .drawing.is-drawn .dw-text { animation: dw-fade .5s ease-out 1.9s forwards; }
@keyframes dw-draw { to { stroke-dashoffset: 0; } }
@keyframes dw-fade { to { opacity: 1; } }
.motion-paused .drawing .dw { animation: none !important; stroke-dashoffset: 0; }
.motion-paused .drawing .dw-text { animation: none !important; opacity: 1; }

/* ticker: skewed square bullets */
.ticker-static li { border-left: 0; display: flex; align-items: center; gap: 14px; }
.ticker-static li::before { content: ""; width: 8px; height: 8px; background: var(--accent); transform: skewX(-20deg); }

/* service cards: featured dark plates over a joined 1px grid; faint numbers top right, skewed tags, square bullets */
.sv { isolation: isolate; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.sv:hover { transform: translateY(-4px); }
.sv-no { position: absolute; top: 20px; right: 24px; font: 800 1.6rem/1 var(--f-display); font-stretch: 75%; color: rgb(242 244 246 / .16); }
.sv-mini .sv-no { color: #C3CCD5; }
.sv-tag { display: inline-block; align-self: flex-start; margin-top: 18px; padding: 4px 10px; transform: skewX(-12deg); font: 700 .72rem/1.2 var(--f-body); letter-spacing: .12em; text-transform: uppercase; }
.sv-feat .sv-tag { background: var(--accent); color: var(--text); }
.sv-mini .sv-tag { background: var(--bg-light); color: var(--muted-on-light); }
.sv-feat { border: 1px solid var(--line-dark); border-top: 4px solid var(--accent); }
.sv-feat:hover { border-color: var(--accent); box-shadow: 0 18px 40px rgb(11 17 26 / .35); }
.sq-list { display: grid; gap: 8px; margin-top: 18px; }
.sq-list li { display: flex; align-items: center; gap: 12px; color: #D5DCE3; font-size: .95rem; }
.sq-list li::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--accent); transform: skewX(-20deg); }
.cards-joined { gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.cards-joined .sv-mini { border: 0; border-top: 4px solid transparent; }
.cards-joined .sv-mini:hover { border-top-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 14px 30px rgb(11 17 26 / .14); z-index: 1; }
.sv-mini:has(.bg-photo) { color: var(--on-dark); }
@media (max-width: 599px) { .cards-joined { gap: 1px; } .sv-mini .sv-tag { display: none; } }
/* a lone last card (9 tiles since TIG welding, 22 Nov 2026) spans its row instead of leaving a gap; wide screens lay it out in one line */
@media (max-width: 1023px) { .cards-joined > .sv-mini:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .cards-joined > .sv-mini:last-child:nth-child(4n+1) { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 0 22px; padding: 22px 96px 22px 24px; }
  .cards-joined > .sv-mini:last-child:nth-child(4n+1) > * { margin-top: 0; align-self: center; }
  .cards-joined > .sv-mini:last-child:nth-child(4n+1) > * { flex: none; }
  .cards-joined > .sv-mini:last-child:nth-child(4n+1) .sv-text { flex: 1 1 auto; min-width: 0; }
  .cards-joined > .sv-mini:last-child:nth-child(4n+1) .sv-foot { flex: none; padding-top: 0; gap: 16px; }
}

/* spotlight: a dark drawing card beside a checker-plate card */
.spot-panel { position: relative; isolation: isolate; overflow: hidden; }
.spot-draw .spot-figure { margin: 0 0 24px; padding: 18px; border: 1px solid var(--line-dark); background: rgb(5 8 12 / .5); }
.spot-draw .drawing { max-width: 100%; }
.spot-tex { display: flex; flex-direction: column; justify-content: flex-end; background: none; }

/* industries: heavy top rule; value cards: heavy bottom rule */
.industries .ind { border-top-width: 6px; }
.value-cards { display: grid; gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 640px) { .value-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .value-cards { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 28px 26px; background: var(--bg-white); border: 1px solid var(--line-light); border-bottom: 6px solid var(--text); }
.value h3 { font-size: var(--fs-h3s); margin-bottom: 8px; }
.value p { color: var(--muted-on-light); }

/* about: inset textured band, everything centred, one button */
.about-band { background: var(--bg-light); }
.band-inset { position: relative; isolation: isolate; overflow: hidden; padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 64px); color: var(--on-dark); text-align: center; border-bottom: 4px solid var(--accent); }
.band-copy { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.band-copy .sec-label { --label-color: var(--accent); }
.band-copy .lead { margin: 20px 0 32px; color: #D5DCE3; }

/* Our work: bento, black caption tags, gentle zoom */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 12px; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; } }
.bento-tile { position: relative; overflow: hidden; background: var(--bg-dark-2); }
.bento-tile:nth-child(5n + 1) { grid-column: span 2; grid-row: span 2; }
.bento-tile a { display: block; height: 100%; }
.bento-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-steel); }
.bento-tile:hover img { transform: scale(1.04); }
.bento-tile .tag-black { position: absolute; left: 0; bottom: 0; }
.first-jobs { position: relative; isolation: isolate; overflow: hidden; margin-bottom: clamp(40px, 5vw, 64px); padding: clamp(32px, 5vw, 64px); color: var(--on-dark); border-top: 4px solid var(--accent); }
.first-jobs .sec-label { --label-color: var(--accent); }
.first-jobs .lead { margin-top: 16px; color: #D5DCE3; max-width: 60ch; }

/* contact rows beside the quote form, then the CTA band */
.contact-home { position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); }
.contact-home .sec-label { --label-color: var(--accent); }
.contact-home .lead { color: #D5DCE3; margin-top: 16px; }
.contact-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; } }
.contact-rows { display: grid; gap: 22px; margin-top: 36px; }
.contact-rows li { display: flex; gap: 16px; align-items: flex-start; }
.contact-rows .ico { flex: none; width: 26px; height: 26px; color: var(--accent); }
.contact-rows span { display: flex; flex-direction: column; gap: 2px; font-size: 1.125rem; }
.contact-rows small { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #9DB0C0; }
.contact-rows a { color: var(--on-dark); text-underline-offset: .2em; }
.contact-home .quote-card { color: var(--text); }
.cta-band { position: relative; isolation: isolate; overflow: hidden; }

/* buttons: angled cut kept, 2px lift with a shadow */
.btn { transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgb(5 8 12 / .7); }
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .btn:hover, .sv:hover { transform: none; } }
.band-copy .h2::after { margin-left: auto; margin-right: auto; }
@media (min-width: 1000px) { .contact-side { position: sticky; top: 112px; } }
/* inner pages: brushed plate behind the service panels, a faint hatch over the page heroes */
.svc-panel { background: repeating-linear-gradient(0deg, rgb(255 255 255 / .022) 0 1px, transparent 1px 3px), linear-gradient(112deg, #17212C 0%, #223140 34%, #141D27 52%, #1F2C3A 72%, #0F1720 100%); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: repeating-linear-gradient(-60deg, rgb(255 255 255 / .035) 0 2px, transparent 2px 14px);
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 75%); mask-image: linear-gradient(90deg, transparent 35%, #000 75%); }
.sv-mini:has(.bg-photo) .sv-text { color: #D5DCE3; }
.sv-mini:has(.bg-photo) .sv-ico, .sv-mini:has(.bg-photo) .sv-no { color: var(--accent); }
/* decorative card numbers come from CSS so they are not read as page text */
.sv-no::before { content: attr(data-no); }
/* the dark colour sits on the block itself too, so text keeps its contrast if a texture layer fails to paint */
.spot, .spot-panel, .band-inset, .first-jobs, .contact-home, .cta-band, .hero { background-color: #0D1620; }
@media (prefers-reduced-motion: reduce) { .js .drawing .dw { animation: none !important; stroke-dashoffset: 0; } .js .drawing .dw-text { animation: none !important; opacity: 1; } }
.sv:focus-within { z-index: 2; }
/* inner page openers: copy left, the drawn panel right (same panel as Home) */
.page-hero-split .page-hero-in { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .page-hero-split .page-hero-in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; }
  .page-hero-split .page-panel { min-height: 420px; } }
@media (max-width: 959px) { .page-hero-split .page-panel { min-height: 240px; } }

/* Text a photo (Jesse, 21 Nov 2026): a quiet line under the hero buttons and a third key in the phone bar */
.hero-text { margin-top: 18px; }
.hero-text a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #C9D3DC; font-weight: 600; text-decoration: none; }
.hero-text a span { text-decoration: underline; text-decoration-color: rgb(44 164 220 / .5); text-decoration-thickness: 1px; text-underline-offset: .3em; }
.hero-text a:hover span, .hero-text a:focus-visible span { text-decoration-color: var(--accent); }
.hero-text strong { color: var(--on-dark); font-weight: 700; white-space: nowrap; }
.hero-text .ico { flex: none; width: 24px; height: 24px; color: var(--accent); }
.mobile-bar { grid-template-columns: .8fr 1.22fr 1.12fr; gap: 6px; }
.mb-text { gap: 8px; color: var(--on-dark); background: var(--bg-deep); outline: 1px solid rgb(242 244 246 / .28); outline-offset: -1px; }
.mb-text .ico { width: 19px; height: 19px; color: var(--accent); stroke-width: 2.4; }
@media (max-width: 420px) { .mobile-bar a { font-size: 15px; } .mb-call, .mb-text { gap: 6px; } }
/* Our work: a job's caption says what was done; three photos fill the bento (two stacked beside the lead) */
.tag-job small { display: block; max-width: 46ch; margin-top: 6px; font: 500 .9rem/1.4 var(--f-body); font-stretch: 100%; text-transform: none; letter-spacing: 0; color: #C9D3DC; }
@media (min-width: 900px) { .bento-tile:first-child:nth-last-child(3) ~ .bento-tile { grid-column: span 2; } }
/* service panel photo: the job caption sits on the photo, as on the hero and Our work */
.panel-photo { position: relative; }
.panel-photo .tag-black { position: absolute; left: 0; bottom: 0; }
