/* Homepage only: the shared service pages and portal keep their own presentation. */
html:has(body.home-page) { scroll-behavior: auto; }
.home-editorial { --home-navy: #091e30; --home-ink: #132d40; --home-muted: #4f6574; --home-paper: #f6f6f0; --home-cyan: #7ce1f2; color: var(--home-ink); background: #fff; }
.home-container { width: min(100% - 96px, 1280px); margin-inline: auto; }
.home-editorial *, .home-editorial *::before, .home-editorial *::after { box-sizing: border-box; }
.home-editorial :is(h1,h2,h3,p,figure) { margin: 0; }
.home-editorial :is(h1,h2,h3) { text-wrap: balance; font-weight: 650; }
.home-editorial h2 { font-size: clamp(38px, 4.8vw, 66px); line-height: 1.06; letter-spacing: -.055em; }
.home-editorial h3 { font-size: 30px; line-height: 1.15; letter-spacing: -.04em; }
.home-editorial p { font-size: 17px; line-height: 1.65; }
.home-editorial .home-kicker, .home-editorial .home-label { font: 600 11px/1.6 var(--font); letter-spacing: .12em; }
.home-editorial .home-kicker { margin-bottom: 26px; }
.home-editorial .home-label { display: block; margin-bottom: 20px; color: var(--home-muted); }
.home-editorial a { text-underline-offset: 5px; }
.home-editorial a:focus-visible { outline: 3px solid #087da6; outline-offset: 6px; border-radius: 1px; }
.home-editorial :is(.home-hero,.home-protect,.home-closing) a:focus-visible { outline-color: #7ce1f2; }
.home-editorial .home-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 15px; font-weight: 650; line-height: 1.4; color: inherit; text-decoration: none; }
.home-editorial .home-link svg { width: 21px; height: 21px; flex: 0 0 auto; transition: transform 200ms ease; }
.home-editorial .home-link:hover { text-decoration: underline; }
.home-editorial .home-link:hover svg { transform: translateX(4px); }
.home-editorial .home-small-link { display: block; width: fit-content; min-height: 44px; padding-block: 11px; font-size: 13px; color: inherit; text-decoration: underline; }
.home-small-link svg { display: none; }
.home-editorial .home-detail { font-size: 13px; line-height: 1.65; }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 30px; }
.home-actions .button { border-radius: 2px; box-shadow: none; min-height: 54px; padding: 17px 22px; color: #112638; background: #ff913d; font-size: 14px; }
.home-actions .button:hover { background: #ffa65d; }
.home-section-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 56px; }
.home-hero { background: var(--home-navy); color: #f6f7f3; padding-top: 40px; overflow: clip; }
.home-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.home-hero-copy { padding-block: 16px 48px; }
.home-hero .home-kicker { color: var(--home-cyan); font-size: 10px; }
.home-hero .home-kicker span { color: #b8cbd5; white-space: nowrap; }
.home-hero h1 { font-size: clamp(48px, 5.1vw, 76px); line-height: 1.025; letter-spacing: -.04em; margin-bottom: 28px; }
.home-hero h1 span { color: var(--home-cyan); }
.home-hero .home-lead { color: #d8e2e7; max-width: 560px; font-size: 17px; margin-bottom: 30px; }
.home-portrait { position: relative; align-self: center; justify-self: end; width: min(100%,360px); }
.home-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 28%; filter: saturate(.65); }
.home-portrait figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 15px; padding: 15px 0; font-size: 11px; color: #c8d6dc; }
.home-portrait figcaption strong { display: block; font-size: 17px; color: #fff; font-weight: 550; margin-bottom: 2px; }
.home-portrait figcaption a { display: flex; align-items: center; gap: 8px; min-height: 44px; color: var(--home-cyan); text-decoration: none; }
.home-portrait figcaption svg { width: 20px; height: 20px; }
.home-location { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 10px; margin-top: 12px; border-top: 1px solid #466171; color: #c8d6dc; font-size: 11px; }
.home-location a { color: inherit; min-height: 44px; display: flex; align-items: center; gap: 30px; text-decoration: none; }
.home-location a span { color: var(--home-cyan); font-size: 20px; }
.home-services { padding-top: 80px; }
.home-operate { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12%; padding-bottom: 100px; }
.home-operate .home-kicker { color: #087795; border-left: 2px solid #087795; padding-left: 15px; }
.home-service-copy { padding-top: 40px; }
.home-service-copy h3 { margin-bottom: 20px; }
.home-service-copy > p { color: var(--home-muted); margin-bottom: 20px; }
.home-service-copy .home-scope-summary { font-size: 16px; font-weight: 600; color: var(--home-ink); }
.home-protect { display: grid; grid-template-columns: .9fr 1.1fr; gap: 12%; background: #0b293d; color: #f5f7f7; padding: 64px; }
.home-protect .home-kicker { color: var(--home-cyan); }
.home-protect h2 { font-size: clamp(35px, 3.8vw, 53px); margin-bottom: 24px; }
.home-protect > div > p:not(.home-kicker) { color: #c6d8e1; margin-bottom: 20px; }
.home-scope { padding-top: 28px; }
.home-scope-link { display: flex; align-items: center; gap: 15px; border-top: 1px solid #527082; padding: 24px 0; font-size: 16px; color: #f1f7f8; text-decoration: none; line-height: 1.4; }
.home-scope-link:last-child { border-bottom: 1px solid #527082; }
.home-scope-link span { color: #88c8da; font: 11px/1.5 ui-monospace, monospace; }
.home-scope-link svg { width: 19px; height: 19px; margin-left: auto; flex: 0 0 auto; }
.home-scope-link:hover { color: var(--home-cyan); }
.home-connected { padding-block: 100px 80px; }
.home-connected .home-section-top { align-items: flex-start; }
.home-connected .home-section-top > .home-kicker { padding-top: 12px; }
.home-connected h2 { font-size: clamp(35px, 3.6vw, 50px); width: 50%; }
.home-capabilities { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.home-capabilities article { border-top: 1px solid #a6b5bc; padding-top: 26px; }
.home-capabilities h3 { font-size: 32px; margin-bottom: 22px; max-width: 440px; }
.home-capabilities article > p { color: var(--home-muted); margin-bottom: 22px; max-width: 470px; }
.home-start { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; border-top: 1px solid #c8d2d6; padding-top: 28px; margin-top: 64px; }
.home-start p { flex: 1 1 350px; font-size: 14px; }
.home-start strong { display: block; font-size: 17px; }
.home-work { padding-block: 100px; background: var(--home-paper); }
.home-feature { display: grid; grid-template-columns: 1.7fr 1fr; gap: 54px; align-items: center; }
.home-app-art { display: block; position: relative; height: 420px; color: #1b3545; background: #dce6e8; overflow: clip; }
.home-art-label { position: absolute; top: 26px; left: 26px; font-size: 10px; font-weight: 600; letter-spacing: .12em; }
.home-cbc-ios { display: block; position: absolute; height: 310px; width: auto; left: 24%; top: 58px; box-shadow: 0 16px 28px #11283926; }
.home-cbc-watch { display: block; position: absolute; width: 126px; height: auto; left: 59%; top: 155px; box-shadow: 0 16px 28px #11283926; }
.home-art-caption { position: absolute; bottom: 23px; left: 26px; font-size: 11px; }
.home-project-copy h3 { font-size: 36px; margin-bottom: 22px; }
.home-project-copy p:not(.home-kicker) { color: var(--home-muted); margin-bottom: 24px; }
.home-project-copy .home-kicker { font-size: 9px; letter-spacing: .08em; }
.home-secondary-work { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 64px; align-items: start; }
.home-web-preview, .home-infrastructure-mark { display: block; background: #e3e8e4; aspect-ratio: 1.65; overflow: clip; }
.home-infrastructure-mark { display: grid; place-items: center; background: #0b293d; }
.home-infrastructure-mark > img { width: 65%; height: auto; max-height: 150px; object-fit: contain; }
.home-web-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 250ms ease; }
.home-web-preview:hover img { transform: scale(1.025); }
.home-project-caption { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-block: 26px 15px; }
.home-project-caption .home-label { margin-bottom: 6px; font-size: 10px; }
.home-project-caption h3 { font-size: 25px; }
.home-project-caption .home-link { font-size: 12px; gap: 10px; }
.home-secondary-work article > p { color: var(--home-muted); font-size: 15px; }
.home-founder { padding-block: 100px; border-bottom: 1px solid #d2dce0; }
.home-founder-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12%; }
.home-founder h2 { font-size: clamp(36px, 4vw, 54px); }
.home-founder .home-founder-lead { font-size: 25px; line-height: 1.35; margin: 34px 0 24px; color: var(--home-ink); letter-spacing: -.03em; }
.home-founder p:not(.home-kicker) { color: var(--home-muted); margin-bottom: 24px; }
.home-voices { padding-block: 100px; }
.home-quotes { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0 80px; margin-bottom: 35px; }
.home-quotes figure { border-top: 1px solid #a6b5bc; padding-block: 30px; }
.home-quotes figure:first-child { grid-row: span 2; padding-right: 22px; }
.home-quotes blockquote { margin: 0 0 26px; }
.home-quotes blockquote p { font-size: 21px; line-height: 1.45; letter-spacing: -.025em; }
.home-quotes figure:first-child blockquote p { font-size: clamp(29px, 3.1vw, 43px); line-height: 1.2; }
.home-quotes figcaption strong { display: block; font-size: 14px; margin-bottom: 4px; }
.home-quotes figcaption span { display: block; color: var(--home-muted); font-size: 11px; line-height: 1.6; }
.home-voices > .home-container > .home-detail { color: var(--home-muted); max-width: 730px; }
.home-closing { background: var(--home-navy); color: #f6f7f3; padding-block: 90px 42px; }
.home-closing .home-kicker { color: var(--home-cyan); }
.home-closing h2 { font-size: clamp(43px, 6.5vw, 90px); margin-bottom: 40px; }
.home-closing-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 15px; padding-top: 32px; border-top: 1px solid #466171; margin-top: 65px; }
.home-closing-bottom > a { color: #c8d6dc; font-size: 14px; min-height: 44px; display: inline-flex; align-items: center; }
.home-footer .footer-top { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; }
.home-footer .footer-top > div { display: block; grid-column: auto; }
.home-footer h2 { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #a8cedd; margin-bottom: 16px; }
.home-footer .footer-top a:not(.footer-brand) { display: flex; align-items: center; min-height: 44px; margin: 0; font-size: 12px; line-height: 1.5; }
.home-footer .footer-top .home-footer-brand > p { font-size: 12px; line-height: 1.7; }
.home-footer .footer-bottom { flex-wrap: wrap; gap: 20px 32px; font-size: 11px; line-height: 1.7; }
.home-footer .footer-bottom > div { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 26px; }
.home-footer .footer-bottom :is(a,button) { display: flex; align-items: center; min-height: 44px; font-size: 11px; }
@media (max-width: 1100px) {
  .home-container { width: calc(100% - 64px); }
  .home-hero-grid { gap: 38px; grid-template-columns: 1.4fr 1fr; }
  .home-hero h1 { font-size: 60px; }
  :lang(fr) .home-hero h1 { font-size: 54px; }
  .home-protect { padding: 42px; gap: 8%; }
  .home-feature { gap: 36px; grid-template-columns: 1.4fr 1fr; }
  .home-capabilities, .home-secondary-work, .home-quotes { gap: 0 48px; }
  .home-cbc-ios { left: 13%; }
  .home-cbc-watch { left: 60%; width: 118px; }
}
@media (max-width: 800px) {
  .home-hero { padding-top: 45px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-hero-copy { padding: 0; }
  .home-hero h1, :lang(fr) .home-hero h1 { font-size: clamp(42px, 7.5vw, 64px); max-width: 710px; }
  .home-portrait { width: min(100%, 320px); justify-self: end; margin-top: 10px !important; }
  .home-portrait img { max-height: 340px; }
  .home-location { flex-wrap: wrap; margin-top: 14px; gap: 6px 18px; padding-block: 15px; }
  .home-operate, .home-founder-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-service-copy { padding-top: 0; max-width: 560px; }
  .home-operate { padding-bottom: 60px; }
  .home-services { padding-top: 65px; }
  .home-protect { grid-template-columns: 1fr; gap: 40px; padding: 36px; }
  .home-scope { padding-top: 0; order: 2; }
  .home-connected, .home-work, .home-founder, .home-voices { padding-block: 65px; }
  .home-section-top { margin-bottom: 36px; gap: 25px; }
  .home-connected .home-section-top { display: block; }
  .home-connected h2 { width: auto; }
  .home-capabilities { gap: 36px; }
  .home-capabilities h3 { font-size: 27px; }
  .home-start { margin-top: 42px; }
  .home-feature { grid-template-columns: 1fr; gap: 32px; }
  .home-app-art { height: 420px; }
  .home-cbc-ios { height: 310px; left: 22%; }
  .home-cbc-watch { left: 60%; width: 130px; }
  .home-secondary-work { grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 50px; }
  .home-project-caption { display: block; margin-top: 20px; }
  .home-founder .home-founder-lead { margin-top: 0; }
  .home-quotes { grid-template-columns: 1fr; gap: 0; }
  .home-quotes figure:first-child { grid-row: auto; padding-right: 0; }
  .home-closing { padding-top: 65px; }
  .home-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 520px) {
  .home-container { width: calc(100% - 40px); }
  .home-editorial h2 { font-size: 39px; }
  .home-editorial p { font-size: 16px; }
  .home-hero { padding-top: 32px; }
  .home-hero h1, :lang(fr) .home-hero h1 { font-size: clamp(36px, 10.6vw, 51px); letter-spacing: -.035em; }
  .home-hero .home-kicker { font-size: 9px; margin-bottom: 22px; letter-spacing: .08em; }
  .home-hero .home-lead { font-size: 16px; line-height: 1.55; margin-bottom: 24px; }
  .home-actions { gap: 10px 22px; }
  .home-actions .button { font-size: 13px; padding-inline: 17px; }
  .home-actions > .home-link { font-size: 13px; }
  .home-portrait { width: min(100%, 290px); margin-top: 10px !important; }
  .home-portrait img { max-height: 320px; }
  .home-portrait figcaption { padding-bottom: 15px; }
  .home-location { font-size: 10px; }
  .home-location > a { width: 100%; justify-content: space-between; }
  .home-protect { padding: 30px 23px; }
  .home-protect h2 { font-size: 36px; }
  .home-scope-link { font-size: 14px; }
  .home-section-top { display: block; }
  .home-section-top > .home-link { margin-top: 20px; }
  .home-capabilities { grid-template-columns: 1fr; gap: 36px; }
  .home-capabilities h3 { font-size: 31px; }
  .home-start { display: block; }
  .home-start p { margin-bottom: 12px; }
  .home-app-art { height: 360px; }
  .home-art-label { font-size: 8px; left: 18px; top: 20px; }
  .home-cbc-ios { height: 252px; left: 12%; top: 52px; }
  .home-cbc-watch { left: 60%; width: 90px; top: 143px; }
  .home-art-caption { left: 18px; bottom: 18px; font-size: 9px; }
  .home-project-copy h3 { font-size: 32px; }
  .home-secondary-work { grid-template-columns: 1fr; gap: 40px; }
  .home-founder .home-founder-lead { font-size: 24px; }
  .home-quotes figure:first-child blockquote p { font-size: 32px; }
  .home-closing h2 { font-size: 47px; }
  .home-closing-bottom { margin-top: 40px; padding-top: 24px; }
  .home-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .home-footer .footer-top > :is(.home-footer-brand,.home-footer-contact) { grid-column: 1 / -1; padding-bottom: 24px; border-bottom: 1px solid #466171; }
  .home-footer .footer-top a:not(.footer-brand) { font-size: 13px; }
  .home-footer .footer-bottom { display: block; padding-top: 24px; }
  .home-footer .footer-bottom > span { display: block; margin-bottom: 18px; }
  .home-footer .footer-bottom > div { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
}
/* On phones the existing request assistant sits after the footer until opened,
   keeping its floating launcher clear of the homepage's content and controls. */
@media (max-width: 520px) {
  .home-page .request-widget { position: static; padding: 18px 20px; max-width: none; background: #061e31; }
  .home-page .request-widget:has(.request-chat-toggle[aria-expanded="true"]) { position: fixed; right: 16px; bottom: 16px; padding: 0; max-width: calc(100vw - 32px); background: transparent; }
}
@media (max-width: 360px) {
  .home-page .nav-inner .brand-link { width: 180px; }
  .home-page .nav-actions { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .home-editorial *, .home-editorial *::before, .home-editorial *::after { animation: none !important; transition: none !important; } }
