@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Work+Sans:wght@400;500;600;700&display=swap");

/* Visual overrides for existing pages. Keep the live navigation and form layout. */
body {
  --bravo-steel: repeating-linear-gradient(0deg, #52677813 0 1px, transparent 1px 4px), linear-gradient(105deg, #ccd6dd, #f6f8fa 42%, #dbe3e9);
}
body, p, input, button, select, textarea { font-family: "Work Sans", sans-serif !important; }
h1, h2, h3, h4, .home-action, #home-services-overview .tb-service { font-family: Montserrat, sans-serif !important; }
main :is(h1, h2, h3) { font-weight: 800; letter-spacing: -.032em; }
.home-source :is(h1, h2, h3) { color: #17232d; font-weight: 800 !important; letter-spacing: -.035em; }
.home-introduction, #home-service-links {
  background: repeating-linear-gradient(0deg, #182d3d09 0 1px, #fff2 1px 3px), linear-gradient(102deg, #e4e9ed, #f8fafb 44%, #d9e1e7);
}
@media (min-width: 721px) { .home-intro-image img { clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%); } }
.home-action { border-radius: 2px !important; box-shadow: inset 0 0 0 1px #2980b9; }
#home-services-overview a.tb-service {
  margin-block: 3px; padding-inline: 10px; background: linear-gradient(#fafbfc, #edf1f4);
  box-shadow: inset 0 0 0 1px #9daebd; border-radius: 2px;
}
#home-services-overview a.tb-service:hover { background: #dceaf5; }
.home-source .support-pathways { background: linear-gradient(155deg, #f9fbfc, #e4eaf0); border-radius: 0; }
body:not(.bodywebpage-index) main :is(.hero, .partner-hero, .support-callout, .controls) { background-image: var(--bravo-steel); }
main img:not(.brand) { filter: drop-shadow(0 2px 2px #14283820); }
main :is(#tb-equipment .grid article, .partner-directory article, .tb-contact) { border-color: #aebdca; box-shadow: 0 2px 5px #172a3b17; }
main :is(a.btn, button[type=submit], .partner-button) { border-radius: 3px; }

/* Keep existing primary/outline colors while sharing the homepage cut corners. */
main :is(a.home-action, a.btn, a.partner-button, a.equipment-button, a.lc-button, a.tb-button, a.vip-button, button.btn, button.tb-button) {
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
main :is(a.home-action, a.btn, a.partner-button, a.equipment-button, a.lc-button, a.tb-button, a.vip-button, button.btn, button.tb-button):focus-visible {
  clip-path: none;
  outline: 2px solid #185781;
  outline-offset: 3px;
}
/* Homepage composition based on the selected Brushed Metal reference. */
body.bodywebpage-home .home-source {
  --home-gutter: clamp(18px, 3.6vw, 68px);
  --steel-panel: repeating-linear-gradient(0deg, #1c344812 0 1px, #fff3 1px 3px), linear-gradient(105deg, #d2dae1, #f6f8fa 43%, #cdd7e0);
  --steel-button: linear-gradient(155deg, #fff 2%, #edf1f5 58%, #d9e1e8);
  --bevel-shape: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  width: 100%; max-width: none; padding: 0 0 56px;
}
body.bodywebpage-home .home-source .home-introduction {
  position: relative; display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr);
  grid-template-rows: minmax(clamp(140px, 17vw, 252px), auto) minmax(clamp(190px, 19vw, 290px), auto) auto auto auto;
  align-items: stretch; gap: 0; padding: 0; background: #fff; border-top: 1px solid #8c9aaa;
}
body.bodywebpage-home .home-source .home-introduction::before {
  content: ""; grid-column: 1 / -1; grid-row: 1 / 3; background: var(--steel-panel);
}
body.bodywebpage-home .home-source .home-intro-copy { display: contents; }
body.bodywebpage-home .home-source .home-intro-copy h1 {
  position: relative; z-index: 1; grid-column: 1; grid-row: 1; align-self: end;
  margin: 0; padding: 24px 2.7vw 0 var(--home-gutter);
  font-size: clamp(25px, 2.75vw, 43px); font-weight: 600 !important;
  line-height: 1.06; letter-spacing: -.045em; text-wrap: balance;
}
body.bodywebpage-home .home-source .home-intro-copy h1::after {
  content: ""; display: block; width: 82%; height: 1px; margin-top: 16px;
  background: #778a9a; box-shadow: 0 1px #fff;
}
body.bodywebpage-home .home-source .home-intro-copy p {
  grid-column: 1 / -1; width: min(calc(100% - 2 * var(--home-gutter)), 1080px);
  max-width: none; margin: 0 auto 9px; font-size: clamp(15px, 1.25vw, 17px); line-height: 1.52;
}
body.bodywebpage-home .home-source .home-intro-copy p:nth-of-type(1) { grid-row: 3; margin-top: 24px; }
body.bodywebpage-home .home-source .home-intro-copy p:nth-of-type(2) { grid-row: 4; }
body.bodywebpage-home .home-source .home-intro-copy p:nth-of-type(3) { grid-row: 5; margin-bottom: 24px; }
body.bodywebpage-home .home-source .home-intro-copy .home-actions {
  position: relative; z-index: 1; grid-column: 1; grid-row: 2; align-self: start;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; margin: 0;
  padding: 20px 3.8vw 28px var(--home-gutter);
}
body.bodywebpage-home .home-source .home-intro-copy .home-action {
  box-sizing: border-box; justify-content: space-between; gap: 10px; width: 100%; min-height: 44px;
  padding: 7px 16px; font-size: clamp(12px, 1.19vw, 18px); line-height: 1.2; white-space: normal;
  text-align: left; color: #142433; border: 1px solid #75889a; background: var(--steel-button);
  box-shadow: inset 0 1px #fff, inset 0 -2px #a1adb9; clip-path: var(--bevel-shape);
}
body.bodywebpage-home .home-source .home-intro-copy .home-action:nth-child(odd) {
  color: #fff; border-color: #054682; background: linear-gradient(180deg, #1578cd, #034f99);
  box-shadow: inset 0 1px #5ba8eb, inset 0 -2px #074475;
}
body.bodywebpage-home .home-source .home-action::after, body.bodywebpage-home #home-services-overview a.tb-service::after {
  content: ""; display: block; width: 8px; height: 8px; border: solid #075eab;
  border-width: 0 2px 2px 0; transform: rotate(-45deg); margin: 0 3px 0 0; flex: 0 0 auto;
}
body.bodywebpage-home .home-source .home-action:nth-child(odd)::after { border-color: #fff; }
body.bodywebpage-home .home-source .home-action:hover { filter: brightness(1.055); }
body.bodywebpage-home .home-source .home-intro-image {
  position: relative; grid-column: 1 / -1; grid-row: 1 / 3; min-width: 0; margin: 0 0 0 30%; background: #a9bfce;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 6.7% 50%, 5.1% 44%);
}
body.bodywebpage-home .home-source .home-intro-image img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 53% center;
  margin: 0; mask: none; -webkit-mask: none; clip-path: none; filter: none;
}
body.bodywebpage-home .home-source .home-intro-image::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#edf6f9,#a4b1ba 19%,transparent 27%);
  clip-path: polygon(12% 0, 12.5% 0, 5.6% 44%, 7.2% 50%, .5% 100%, 0 100%, 6.7% 50%, 5.1% 44%);
  pointer-events: none;
}
body.bodywebpage-home .home-source > .home-tagline, body.bodywebpage-home .home-source > h2, body.bodywebpage-home .home-source > #home-service-links {
  box-sizing: border-box; margin: 0; padding-inline: var(--home-gutter); background: var(--steel-panel);
}
body.bodywebpage-home .home-source .home-introduction + .home-tagline {
  justify-content: flex-start; margin: 0; padding-top: 22px; padding-bottom: 8px;
  border-top: 3px solid #fff; text-align: left;
}
body.bodywebpage-home .home-source > h2, body.bodywebpage-home .home-source .support-pathways h2 {
  display: flex; align-items: center; gap: clamp(12px, 3vw, 34px);
  font-size: clamp(27px, 3.3vw, 49px); line-height: 1.12;
}
body.bodywebpage-home .home-source > h2 { padding-top: 5px; padding-bottom: 18px; }
body.bodywebpage-home .home-source > h2::after, body.bodywebpage-home .home-source .support-pathways h2::after {
  content: ""; flex: 1 1 15%; min-width: 12px; height: 1px;
  background: #7d8c9c; box-shadow: 0 1px #fff;
}
body.bodywebpage-home .home-source > #home-service-links { padding-top: 3px; padding-bottom: clamp(25px, 4vw, 58px); }
body.bodywebpage-home .home-source #home-service-links #home-services-overview {
  grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin: 0;
}
body.bodywebpage-home .home-source #home-services-overview a.tb-service {
  box-sizing: border-box; grid-template-columns: clamp(47px, 5vw, 75px) minmax(0, 1fr) 12px;
  gap: clamp(8px, 1.65vw, 25px); min-height: clamp(64px, 7vw, 99px); margin: 0;
  padding: 9px clamp(10px, 1.65vw, 23px); background: var(--steel-button); color: #142433;
  border: 1px solid #8191a0; border-radius: 0; clip-path: var(--bevel-shape);
  box-shadow: inset 0 1px #fff, inset 0 -2px #a5b3c0; font-size: clamp(14px, 1.56vw, 23px);
}
body.bodywebpage-home .home-source #home-services-overview a.tb-service:hover { background: linear-gradient(#f8fbff, #d7e6f2); }
body.bodywebpage-home .home-source #home-services-overview .tb-icon {
  box-sizing: border-box; justify-self: stretch; width: 100%; height: 42px; padding-right: 8px;
  border-right: 1px solid #acb7c2; border-radius: 0; background: none; color: #075eab;
}
body.bodywebpage-home .home-source #home-services-overview .tb-icon svg { width: clamp(24px, 3.2vw, 46px); height: auto; }
body.bodywebpage-home .home-source .home-intro-copy .home-action:focus-visible, body.bodywebpage-home .home-source #home-services-overview a.tb-service:focus-visible {
  clip-path: none; outline: 3px solid #084e8b; outline-offset: 2px;
}
body.bodywebpage-home .home-source .home-lower { width: auto; max-width: none; margin: 0; padding-inline: var(--home-gutter); }
body.bodywebpage-home .home-source .home-lower > :not(.support-pathways) { max-width: 1132px; margin-inline: auto; }
body.bodywebpage-home .home-source .support-pathways { margin: 0; padding: clamp(25px, 4vw, 55px) 0 20px; background: #fff; border: 0; }
body.bodywebpage-home .home-source .support-pathways h2 { margin: 4px 0 23px; }
body.bodywebpage-home .home-source .support-pathways .pathway-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 14px; border: 0; padding: 0;
}
body.bodywebpage-home .home-source .support-pathways .pathway-grid article {
  box-sizing: border-box; min-height: 165px; margin: 0; padding: 19px clamp(12px, 2vw, 28px);
  border: 1px solid #7c8ea0; border-radius: 0; background: var(--steel-panel); text-align: center;
  box-shadow: inset 0 1px #fff, inset 0 -2px #9ba9b6; clip-path: var(--bevel-shape);
}
body.bodywebpage-home .home-source .support-pathways .pathway-grid h3 { margin: 8px 0 5px; font-size: clamp(17px, 2.15vw, 29px); }
body.bodywebpage-home .home-source .support-pathways .pathway-grid p { font-size: clamp(14px, 1.22vw, 17px); line-height: 1.4; }
body.bodywebpage-home .home-source .support-pathways .pathway-icon {
  display: block; width: 64px; height: 47px; margin: 0 auto; border: 0; border-radius: 0;
  color: transparent; font-size: 0; background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48' fill='none' stroke='%23075eab' stroke-width='2.5' stroke-linejoin='round'%3E%3Cpath d='M13 6h38v28H13zM13 34l-6 6h50l-6-6'/%3E%3C/svg%3E");
}
body.bodywebpage-home .home-source .support-pathways article:nth-child(2) .pathway-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48' fill='none' stroke='%23075eab' stroke-width='2.5' stroke-linejoin='round'%3E%3Cpath d='M9 42V17L32 5l23 12v25M19 42V22h26v20M19 29h26M19 36h26'/%3E%3C/svg%3E");
}
body.bodywebpage-home .home-source .support-pathways article:nth-child(3) .pathway-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48' fill='none' stroke='%23075eab' stroke-width='2.5' stroke-linejoin='round'%3E%3Cpath d='M5 34V10h33v24M38 16h12l9 10v8h-4M50 34H23M12 34H5M5 24h33M44 18v8h15'/%3E%3Ccircle cx='17' cy='36' r='5'/%3E%3Ccircle cx='50' cy='36' r='5'/%3E%3C/svg%3E");
}
@media (min-width: 960px) {
  .header #bravo-primary-nav { gap: 8px; }
  .header #bravo-primary-nav > a, .header #bravo-primary-nav > details > summary {
    display: inline-flex; align-items: center; min-height: 42px; padding-inline: clamp(8px, 1vw, 15px);
    background: linear-gradient(#fff, #e5ebf1); color: #172b3b; border: 1px solid #a6b6c3;
    border-radius: 3px; text-decoration: none;
  }
}
@media (max-width: 850px) {
  body.bodywebpage-home .home-source .home-introduction { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  body.bodywebpage-home .home-source .home-intro-copy h1 { padding: 24px var(--home-gutter) 0; }
  body.bodywebpage-home .home-source .home-intro-copy .home-actions { width: min(calc(100% - 2 * var(--home-gutter)), 365px); padding: 16px 0 24px; margin-inline: var(--home-gutter); }
  body.bodywebpage-home .home-source .home-intro-image { grid-row: 3; grid-column: 1; margin: 0; aspect-ratio: 16 / 9; clip-path: none; }
  body.bodywebpage-home .home-source .home-intro-image::after { display: none; }
  body.bodywebpage-home .home-source .home-intro-copy p:nth-of-type(1) { grid-row: 4; }
  body.bodywebpage-home .home-source .home-intro-copy p:nth-of-type(2) { grid-row: 5; }
  body.bodywebpage-home .home-source .home-intro-copy p:nth-of-type(3) { grid-row: 6; }
}
@media (max-width: 590px) {
  body.bodywebpage-home .home-source #home-service-links #home-services-overview,
  body.bodywebpage-home .home-source .support-pathways .pathway-grid { grid-template-columns: minmax(0, 1fr); }
  body.bodywebpage-home .home-source .support-pathways .pathway-grid article { min-height: 140px; }
}

/* Quiet, inset reading surfaces separate the hero from the service controls. */
body.bodywebpage-home .home-source .home-introduction::after {
  content: ""; grid-column: 1 / -1; grid-row: 3 / 6; width: min(calc(100% - 2 * var(--home-gutter)), 1180px);
  margin: 19px auto; background: #f0f4f7; border: 1px solid #dbe4eb; border-radius: 5px;
}
body.bodywebpage-home .home-source .home-intro-copy p {
  position: relative; z-index: 1; width: min(calc(100% - 2 * var(--home-gutter) - 34px), 1104px);
}
body.bodywebpage-home .home-source .home-intro-copy p:nth-of-type(1) { margin-top: 37px; }
body.bodywebpage-home .home-source .home-intro-copy p:nth-of-type(3) { margin-bottom: 37px; }
body.bodywebpage-home .home-source > :is(.home-tagline, h2, .home-service-description, #home-service-links) {
  margin-inline: var(--home-gutter); padding-inline: clamp(14px, 2.35vw, 38px); background: #eff3f6;
}
body.bodywebpage-home .home-source .home-introduction + .home-tagline {
  margin-inline: var(--home-gutter); border: 0; border-radius: 5px 5px 0 0;
}
body.bodywebpage-home .home-source > h2 { padding-bottom: 7px; }
body.bodywebpage-home .home-source > .home-service-description {
  display: block; box-sizing: border-box; padding-block: 0 20px; font: 400 clamp(15px, 1.25vw, 17px)/1.52 "Work Sans", sans-serif;
}
body.bodywebpage-home .home-source > #home-service-links { border-radius: 0 0 5px 5px; }
@media (max-width: 850px) {
  body.bodywebpage-home .home-source .home-introduction::after { grid-row: 4 / 7; }
}

/* Echo the support section with quiet separators, while retaining the process grid. */
body.bodywebpage-home .home-source .work-process {
  margin-block: 30px 44px; padding: clamp(20px, 3vw, 37px); background: #f4f7f9;
  border: 1px solid #dce5eb; border-radius: 5px;
}
body.bodywebpage-home .home-source .work-process h2 { margin-block: 5px 17px; line-height: 1.16; }
body.bodywebpage-home .home-source .work-process .process-grid {
  gap: 0; padding-top: 15px; border-top: 1px solid #cad5de;
}
body.bodywebpage-home .home-source .work-process .process-grid li {
  margin: 0; padding: 8px clamp(12px, 2vw, 24px); border: 0; border-radius: 0; background: none;
}
body.bodywebpage-home .home-source .work-process .process-grid li + li { border-inline-start: 1px solid #cad5de; }
body.bodywebpage-home .home-source .work-process .process-grid h3 { margin-block: 6px 5px; font-size: clamp(17px, 1.7vw, 23px); }
body.bodywebpage-home .home-source .work-process .process-grid p { margin: 0; line-height: 1.48; }
@media (max-width: 680px) {
  body.bodywebpage-home .home-source .work-process .process-grid { grid-template-columns: 1fr; }
  body.bodywebpage-home .home-source .work-process .process-grid li { padding-block: 12px; }
  body.bodywebpage-home .home-source .work-process .process-grid li + li { border-inline-start: 0; border-block-start: 1px solid #cad5de; }
}

/* Secondary pages keep the existing headers, imagery, and layouts. */
body {
  --metal-quiet: #f1f5f7;
  --metal-edge: #c4d0da;
  --metal-ink: #172b3b;
}
main.source-content:has(> .service-detail-visual) > h1,
main #tb-services > h1, main #tb-equipment > h1, main #tb-vip > h1,
main.contact-page > h1, main :is(.partner-hero, .about-hero, .lc-hero, .hero) h1 {
  color: var(--metal-ink); font-weight: 700; line-height: 1.1; letter-spacing: -.035em;
  text-wrap: balance;
}
main.source-content:has(> .service-detail-visual) > h1::after,
main #tb-services > h1::after, main #tb-equipment > h1::after, main #tb-vip > h1::after,
main.contact-page > h1::after {
  content: ""; display: block; width: min(10rem, 33%); height: 2px; margin-top: .44em;
  background: linear-gradient(90deg, #156394, #acbecb 83%, transparent);
}
main.source-content .service-detail-visual,
main#partner-main .partner-photo, main .bt-truck-qr .hero-visual,
main .about-portrait, main#laser-cleaning-page .lc-hero figure {
  border: 1px solid var(--metal-edge); border-radius: 4px; background: var(--metal-quiet);
  box-shadow: 0 2px 10px #172b3b18, inset 0 1px #fff;
}
main.source-content .service-detail-visual img { filter: none; }
main#partner-main .partner-hero, main .about-hero,
main#laser-cleaning-page .lc-hero, main .bt-truck-qr .hero {
  background-color: var(--metal-quiet); background-image: none; border-color: var(--metal-edge);
}
main #tb-services .photo-card { border-color: var(--metal-edge); box-shadow: 0 2px 9px #172b3b16; }
main #tb-services .photo-card img { background-color: var(--metal-quiet); border-bottom: 1px solid var(--metal-edge); filter: none; }
main #tb-services .photo-card h2 { color: var(--metal-ink); }
main #tb-equipment .controls { background: var(--metal-quiet); border-color: var(--metal-edge); }
main #tb-equipment .controls :is(input, select) { border-color: #8ca0b1; }
main :is(.partner-directory article, .tb-contact, .support-callout) { background-image: none; border-color: var(--metal-edge); }

/* Partners photo is light in this theme, so its caption needs the dark palette. */
main#partner-main .partner-photo figcaption,
main#partner-main .partner-photo figcaption strong { color: #172b3b; }
main#partner-main .partner-photo figcaption span { color: #364e60; }

/* Retain the capability grid and use the same quiet edges as the service panels. */
main#partner-main [aria-labelledby="bring"] .partner-card {
  background: #f3f6f8; border: 1px solid #b5c4cf; border-radius: 3px;
  box-shadow: inset 0 1px #fff, inset 0 -2px #dce4eb;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
main#partner-main [aria-labelledby="bring"] .partner-card-icon {
  color: #075eab; background: #e5edf3; border: 1px solid #d0dce5; border-radius: 3px;
}
main#partner-main [aria-labelledby="bring"] .partner-grid + p {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-block: 20px 0;
}
main#partner-main [aria-labelledby="bring"] a.partner-link {
  display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 6px 13px;
  color: #164e76; background: linear-gradient(#fff, #e9f0f5); border: 1px solid #aabac8;
  border-radius: 3px; box-shadow: inset 0 1px #fff; text-decoration: none;
}
main#partner-main [aria-labelledby="bring"] a.partner-link:hover { background: #dce9f3; }
main#partner-main [aria-labelledby="bring"] a.partner-link:focus-visible { outline: 2px solid #124f7c; outline-offset: 3px; }

/* Equipment gets the same machined finish without changing its search or grid. */
main #tb-equipment .controls {
  background: #f4f7f9; border: 1px solid #aebfcd; border-radius: 4px;
  box-shadow: inset 0 1px #fff, inset 0 -2px #dce5ec;
}
main #tb-equipment .controls :is(input, select) {
  border-color: #9caebe; border-radius: 4px; background-color: #fff; color: #172b3b;
}
main #tb-equipment .controls :is(input, select):focus-visible {
  outline: 2px solid #124f7c; outline-offset: 2px;
}
main #tb-equipment .controls #count { border-top-color: #cbd7e0; }
main #tb-equipment .grid article {
  background: #f8fafb; border: 1px solid #becbd6; border-radius: 4px;
  box-shadow: inset 0 1px #fff, inset 0 -2px #e0e8ee;
}
main #tb-equipment .grid article img { filter: none; }
main #tb-equipment .grid article small { color: #36546b; }
main #tb-equipment .grid article h2 a:hover { color: #075eab; text-decoration: underline; }
main #tb-equipment .grid article > div > a:has(> strong) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 6px 10px;
  color: #164e76; background: linear-gradient(#fff,#e7eef4); border: 1px solid #aabac8;
  border-radius: 3px; line-height: 1.2; text-decoration: none;
}
main #tb-equipment .grid article > div > a:has(> strong):hover { background: #dce9f3; }
main #tb-equipment .grid article a:focus-visible { outline: 2px solid #124f7c; outline-offset: 3px; }
