/* Office hero: a single coherent image, with independently editable HTML UI.
   Also supplies the header appearance shared with the legal pages. */
:root {
  --bc-ink: #092a4c;
  --bc-muted: #496178;
  --bc-accent: #008ba8;
  --bc-accent-dark: #00778d;
  --bc-office-wash: #f4faff;
  --bc-office-header: rgba(255, 255, 255, .88);
  --bc-office-card: rgba(255, 255, 255, .86);
}
.bc-header { position: absolute; inset: 0 0 auto; z-index: 10; background: transparent; }
.bc-header-inner { min-height: 112px; gap: 30px; }
.bc-brand { gap: 18px; }
.bc-brand > img { width: 92px; height: 92px; }
.bc-brand-text { padding-left: 20px; }
.bc-nav { gap: 29px; }
.bc-nav a { font-weight: 500; }
.bc-hero--office { position: relative; isolation: isolate; min-height: clamp(720px, 54vw, 1040px); background: var(--bc-office-wash); overflow: hidden; }
.bc-office-art { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 94%; pointer-events: none; }
.bc-office-image { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: right center; }
.bc-hero--office::before { content: ''; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bc-office-wash) 0%, rgba(248,252,255,.94) 8%, rgba(250,253,255,.82) 30%, rgba(250,253,255,.35) 41%, transparent 49%); }
.bc-hero--office::after { content: ''; position: absolute; z-index: -1; inset: auto 0 0; height: 42px; pointer-events: none; background: linear-gradient(0deg, var(--bc-paper), transparent); }
.bc-hero--office .bc-hero-grid { display: block; padding-top: clamp(165px, 12.2vw, 240px); padding-bottom: 86px; }
.bc-hero--office .bc-hero-copy { width: 46%; max-width: 620px; text-align: left; }
.bc-hero--office .bc-hero-copy > .bc-eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .66rem; font-weight: 600; margin-bottom: 24px; }
.bc-hero--office h1 { font-size: clamp(43px, 4.05vw, 65px); line-height: 1.07; letter-spacing: -.045em; font-weight: 750; margin-bottom: 24px; }
.bc-hero--office h1 > span { color: var(--bc-accent-dark); }
.bc-hero--office .bc-intro { font-size: clamp(16px, 1.24vw, 19px); line-height: 1.75; max-width: 540px; margin: 0 0 29px; color: var(--bc-ink); }
.bc-hero--office .bc-actions { justify-content: flex-start; gap: 15px; }
.bc-hero--office .bc-button { padding: 14px 24px; min-height: 50px; font-size: .87rem; border-radius: 6px; }
.bc-hero--office .bc-button-secondary { background: var(--bc-office-card); }
.bc-hero--office .bc-badges { margin: 31px 0 0; max-width: 500px; gap: 16px; justify-content: space-between; }
.bc-hero--office .bc-badge { font-size: .75rem; gap: 10px; font-weight: 500; }
.bc-hero--office .bc-badge-icon { width: 55px; height: 55px; border-color: var(--bc-line); background: var(--bc-office-card); box-shadow: 0 3px 10px rgba(10,55,90,.07); }
.bc-hero--office .bc-badge-icon .bc-icon { width: 28px; height: 28px; }
.bc-hero--office .bc-badge:hover .bc-badge-icon { border-color: var(--bc-accent); }
.bc-services { padding-top: 56px; }
.bc-service-grid { align-items: stretch; }
.bc-service { border-color: var(--bc-line); }
.bc-service-details summary { min-height: 44px; }
.bc-text-link { min-height: 44px; }
/* Compact laptops/tablets keep the copy and artwork together. */
@media (max-width: 1100px) {
  .bc-service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .bc-header-inner { min-height: 88px; gap: 18px; }
  .bc-brand { gap: 12px; }
  .bc-brand > img { width: 76px; height: 76px; }
  .bc-brand-text { padding-left: 13px; }
  .bc-brand-text strong { font-size: .85rem; }
  .bc-brand-text > span { max-width: 190px; font-size: .65rem; }
  .bc-nav { gap: 18px; font-size: .76rem; }
  .bc-nav a { display: flex; align-items: center; min-height: 44px; }
  .bc-hero--office { min-height: clamp(540px, 60vw, 660px); }
  .bc-hero--office .bc-hero-grid { padding-top: clamp(112px, 12vw, 136px); padding-bottom: 40px; }
  .bc-hero--office .bc-hero-copy { width: 48%; max-width: 480px; }
  .bc-hero--office .bc-hero-copy > .bc-eyebrow { font-size: .59rem; letter-spacing: .12em; margin-bottom: 14px; }
  .bc-hero--office h1 { font-size: clamp(29px, 3.7vw, 41px); margin-bottom: 16px; }
  .bc-hero--office .bc-intro { font-size: clamp(14px, 1.45vw, 16px); line-height: 1.55; margin: 0 0 16px; }
  .bc-hero--office .bc-actions { gap: 8px; }
  .bc-hero--office .bc-button { min-height: 44px; font-size: .72rem; padding: 12px 11px; gap: 8px; }
  .bc-hero--office .bc-badges { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; margin: 18px 0 0; }
  .bc-hero--office .bc-badge { min-width: 0; white-space: normal; text-align: center; font-size: .65rem; gap: 8px; }
  .bc-hero--office .bc-badge-icon { width: 44px; height: 44px; }
  .bc-hero--office .bc-badge-icon .bc-icon { width: 24px; height: 24px; }
  .bc-office-image { object-fit: contain; object-position: right bottom; }
}
/* Phones: the copy sits above a crop showing all four pouches. */
@media (max-width: 760px) {
  .bc-header { position: relative; background: var(--bc-paper); }
  .bc-hero--office { display: flex; flex-direction: column; min-height: 0; background: var(--bc-office-wash); }
  .bc-hero--office::before { display: none; }
  .bc-hero--office::after { z-index: 1; height: 25px; }
  .bc-hero--office .bc-hero-grid { order: 0; padding-block: 34px 24px; }
  .bc-hero--office .bc-hero-copy { max-width: 700px; width: 100%; text-align: left; margin-inline: auto; }
  .bc-hero--office .bc-intro { max-width: 620px; margin-inline: auto; }
  .bc-hero--office .bc-badges { margin-inline: auto; }
  .bc-office-art { order: 1; position: relative; z-index: 0; width: 100%; aspect-ratio: 1.28; overflow: hidden; margin-top: 0; }
  .bc-office-image { position: absolute; width: 173%; height: auto; right: 0; top: -7%; object-fit: initial; }
  .bc-header-inner { min-height: 0; padding-top: 8px; padding-bottom: 12px; gap: 0; }
  .bc-brand { gap: 9px; }
  .bc-brand > img { width: 74px; height: 74px; }
  .bc-brand-text { padding-left: 12px; }
  .bc-nav { gap: 34px; }
  .bc-hero--office .bc-hero-copy > .bc-eyebrow { font-size: .59rem; letter-spacing: .14em; margin-bottom: 19px; }
  .bc-hero--office h1 { font-size: clamp(31px, 8.15vw, 49px); line-height: 1.12; margin-bottom: 21px; }
  .bc-hero--office .bc-intro { font-size: .96rem; line-height: 1.78; margin-bottom: 24px; }
  .bc-hero--office .bc-actions { justify-content: flex-start; gap: 10px; }
  .bc-hero--office .bc-button { font-size: .77rem; padding: 13px 16px; min-height: 48px; }
  .bc-hero--office .bc-badges { gap: 8px; margin-top: 26px; }
  .bc-hero--office .bc-badge { font-size: .62rem; gap: 8px; }
  .bc-hero--office .bc-badge-icon { width: 45px; height: 45px; }
  .bc-hero--office .bc-badge-icon .bc-icon { width: 24px; height: 24px; }
  .bc-services { padding-top: 38px; }
  .bc-section-heading h2 { font-size: clamp(26px, 6.5vw, 38px); }
}
@media (max-width: 600px) {
  .bc-service-grid { grid-template-columns: 1fr; }
  .bc-service { min-height: 0; }
}
@media (max-width: 390px) {
  .bc-brand > img { width: 66px; height: 66px; }
  .bc-hero--office .bc-actions { flex-direction: column; align-items: stretch; }
  .bc-hero--office .bc-badge { font-size: .57rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
