/* Capital One Solutions: rebuilt from the old Divi settings.
   Text preset: Albert Sans 20px/1.6; h1 = uppercase #4C94CF 60px, letter-spacing 10px; h2 = uppercase 45px, letter-spacing 6px
   (white on photos, #58595B on white). Divi header: rgba(65,73,84,.95), links rgba(255,255,255,.6). */

/* ---------- header (Divi default fixed header) */
.site-header.header-dark { background: rgba(65, 73, 84, .95); border-bottom: 0; }
.brand img { height: 44px; max-width: 200px; }
.site-nav a { font-weight: 600; font-size: 15px; }
.header-dark .site-nav > ul > li > a { color: rgba(255, 255, 255, .6); transition: color .2s; }
.header-dark .site-nav > ul > li > a:hover, .header-dark .site-nav a[aria-current="page"] { color: #fff; border-bottom-color: transparent; }
.header-dark .sub { background: #414954; border-color: rgba(255,255,255,.1); border-top: 3px solid #4c94cf; border-radius: 0; }
.header-dark .sub a { color: rgba(255,255,255,.75); }
.header-dark .sub a:hover { background: rgba(255,255,255,.08); color: #fff; }
@media (max-width: 900px) { .header-dark .site-nav { background: #414954; } .brand img { height: 36px; } }

/* ---------- shared */
.co-row { width: min(1500px, 90%); margin-inline: auto; }
.co-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 5.5%; align-items: start; }
.co-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 5.5%; }
.co-band { padding: clamp(44px, 5vw, 90px) 0; background: #fff; color: #58595b; }
.co-band-top0 { padding-top: 0; }
.co-band p, .co-photo p, .co-hero p { font-size: 20px; line-height: 1.6; }
.co-blue { color: #4c94cf; }
.co-center { text-align: center; }

/* Divi stacked headings */
.co-t { font-family: "Albert Sans", sans-serif; font-weight: 500; text-transform: uppercase; line-height: 1; margin: 0 0 .7em; }
.co-t span { display: block; padding-bottom: 10px; }
.co-t.co-inline span { display: inline; padding-bottom: 0; }
.co-big, .co-big-w { color: #4c94cf; font-size: clamp(2rem, 4.1vw, 60px); letter-spacing: clamp(3px, .6vw, 10px); }
.co-big-w { color: #fff; }
.co-sm { color: #fff; font-size: clamp(1.55rem, 3.05vw, 45px); letter-spacing: clamp(2px, .4vw, 6px); }
.on-light .co-sm { color: #58595b; }
.co-t-50 .co-big { font-size: clamp(2rem, 3.5vw, 50px); }
.co-hero .co-t, .co-hero p, .co-photo .co-t { text-shadow: .08em .08em .08em rgba(0, 0, 0, .4); }
.co-h { font-weight: 500; font-size: clamp(1.9rem, 3.05vw, 45px); letter-spacing: clamp(2px, .4vw, 6px); color: #58595b; line-height: 1.15; margin: 0 0 .6em; }
.co-upper { text-transform: uppercase; }
.co-dark { color: #414954; }

/* buttons */
.btn.co-chat, .btn.co-apply, .btn.co-submit { text-transform: none; letter-spacing: 0; font: 700 22px/1.4 "Albert Sans", sans-serif; border-radius: 3px; border: 0; min-height: 0; }
.btn.co-chat { background: #4c94cf; color: #fff; padding: .35em 55px; font-size: 24px; }
.btn.co-chat:hover { background: #3a82bd; color: #fff; }
.btn.co-apply { background: #4587c7; color: #fff; padding: .3em 1.1em; font-size: 20px; }
.btn.co-apply:hover { background: #2f6fae; color: #fff; }
.co-act { margin-top: 1.6rem; }

/* ---------- full-height photo sections */
.co-hero, .co-photo { position: relative; overflow: hidden; background: #0c1720; color: #fff; }
.co-hero { min-height: 81vh; }
.co-bg { position: absolute; inset: 0; }
.co-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.co-hero-in { position: relative; padding: clamp(70px, 11vw, 190px) 24px clamp(50px, 6vw, 90px) 12%; max-width: calc(12% + 760px); }
.co-hero-in p { max-width: 640px; }
.co-hero p a { color: #fff; }
.co-hero .co-note { font-size: 17px; opacity: .92; }
.co-photo { min-height: 81vh; display: flex; align-items: center; }
.co-photo-in { position: relative; padding: clamp(50px, 6vw, 110px) 0; }
.co-photo-right .co-bg img { object-position: left center; }
.co-photo-right .co-photo-in { margin-left: 50%; width: 45%; max-width: 720px; }

/* home: testimonial, blurbs, specialised services */
.co-quote { margin: 0; }
.co-quote > img:first-child { width: 61px; }
.co-quote blockquote { margin: 18px auto 12px; width: 75%; }
.co-quote blockquote p { text-align: justify; line-height: 1.4; color: #58595b; }
.co-quote figcaption img { margin-left: auto; max-width: 100%; }
.co-quote.is-dark blockquote p { color: #fff; }
/* The name images ("Joy Chan") have dark text on a transparent background: give them a white card on dark bands */
.co-quote.is-dark figcaption img { background: #fff; padding: 8px 14px 0; border-radius: 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.co-blurbs li { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 30px; align-items: start; margin-bottom: 30px; }
.co-blurbs img { width: 100px; }
.co-blurbs h3 { font-weight: 800; font-size: 20px; color: #333; margin-bottom: .3em; }
.co-blurbs p { color: #58595b; line-height: 1.6; margin: 0; }
.co-spec .co-bg img { object-position: 30% center; }
.co-spec .co-photo-in { width: 100%; }
.co-spec .co-t { margin-left: 11%; }
.co-spec-2, .co-spec-3 { display: grid; padding-left: 10%; gap: 0 2%; }
.co-spec-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 50%; margin-bottom: 30px; }
.co-spec-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 60%; }
.co-spec li { text-align: center; max-width: 250px; margin-inline: auto; }
.co-spec li img { width: 90px; height: auto; margin: 0 auto 18px; }
.co-spec li p { font-size: 30px; line-height: 1.1; text-transform: uppercase; color: #fff; }

/* contact form (Divi look: 2px blue borders, dark submit on the right) */
.co-form { background: none; border: 0; padding: 0; }
.co-form .field span { font-size: 15px; font-weight: 600; color: #58595b; }
.co-form .field input, .co-form .field textarea { border: 2px solid #4587c7; border-radius: 0; background: #f7f9fb; font-size: 16px; padding: 14px 16px; }
.co-form .field input:focus, .co-form .field textarea:focus { border-color: #0c1720; box-shadow: none; }
.contact-form .btn.co-submit { width: auto; display: flex; margin-left: auto; background: #0c1720; color: #fff; padding: .35em 65px; font-size: 20px; box-shadow: 0 2px 18px rgba(0, 0, 0, .3); }
.contact-form .btn.co-submit:hover { background: #1f3344; }
.co-form .form-status { text-align: right; }

/* contact blurbs and map */
.co-cblurbs li { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 0 50px; margin-bottom: 30px; }
.co-cicon svg { width: 55px; height: 55px; color: #4587c7; }
.co-cblurbs h3 { color: #4587c7; font-size: 30px; font-weight: 500; margin: 0 0 .2em; }
.co-cblurbs p { color: #58595b; margin: 0; }
.co-cblurbs a { color: inherit; text-decoration: none; }
.co-cblurbs a:hover { color: #4587c7; }
.co-map { display: block; width: 100%; height: 450px; border: 0; }

/* ---------- about */
.co-mvc .co-h { margin-top: .4em; }
.co-mvc p strong { color: #333; font-weight: 700; }
.co-team { min-height: 0; display: block; padding: clamp(50px, 6vw, 100px) 0; }
.co-slider { position: relative; width: min(1200px, 90%); margin: 0 auto; }
.co-viewport { overflow: hidden; }
.co-track { display: flex; transition: transform .55s ease; }
.co-slide { flex: 0 0 33.3333%; text-align: center; transform: scale(.78); opacity: .5; transition: transform .55s ease, opacity .55s ease; }
.co-slide.is-active { transform: none; opacity: 1; }
.co-slide img { max-height: 440px; width: auto; margin: 0 auto; border-radius: 6px; box-shadow: 0 14px 32px -12px rgba(0, 0, 0, .6); }
.co-photo .co-slide .co-name { color: #4c94cf; font-size: 24px; font-weight: 600; margin: .4em 0 0; }
.co-photo .co-slide .co-role { color: #fff; font-size: 18px; margin: 0; }
.co-arrow { position: absolute; top: 42%; z-index: 2; width: 52px; height: 52px; border: 1px solid #fff; border-radius: 50%; background: rgba(12, 23, 32, .25);
  color: #fff; font-size: 35px; line-height: 1; cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; }
.co-arrow:hover { background: rgba(255, 255, 255, .15); }
.co-prev { left: -8px; }
.co-next { right: -8px; }
.co-why .co-row > .co-t, .co-why .co-row > p, .co-how .co-row > .co-t { max-width: 680px; margin-left: 5%; }
.co-boxes { display: grid; gap: 1.5rem 5.5%; margin-top: 2rem; }
.co-boxes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.co-boxes-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.co-row-60 { width: min(900px, 60%); }
.co-boxes li { text-align: center; }
.co-band .co-boxes .co-box { position: relative; background: #4587c7; color: #fff; padding: 12px 54px; margin-bottom: 14px; font-size: 22px; }
.co-boxes .co-box img { position: absolute; right: 7%; top: 50%; width: 30px; height: 30px; transform: translateY(-50%); }
.co-partner { margin-top: -15%; pointer-events: none; }
.co-partner img { width: 100%; }
.co-saying .co-bg img { object-position: left center; }
.co-saying-in { position: relative; width: min(1500px, 60%); margin: 0 8% 0 auto; padding: 70px 0; }

/* ---------- our team */
.co-people { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2.5rem 2%; }
.co-people li { text-align: center; }
.co-people img { margin: 0 auto 12px; }
.co-people h3 { color: #333; font-size: 20px; font-weight: 600; margin: 0 0 .15em; }
.co-band .co-people p { font-size: 16px; margin: 0; }

/* ---------- review */
.co-quotes { margin-top: 1.5rem; }
.co-quotes .co-quote { display: flex; flex-direction: column; height: 100%; }
.co-quotes figcaption { margin-top: auto; }
.co-wa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 5.5%; }
.co-wa a.lb { display: block; max-width: 398px; cursor: zoom-in; }
.co-wa h3 { font-size: 1.5rem; font-weight: 600; color: #333; margin: 1rem 0 .2em; }

/* ---------- team activities */
.co-hero-act { background: #0c71c3; }
.co-hero-act .co-bg img { object-fit: contain; object-position: right center; }
.co-hero-act .co-hero-in { padding-top: clamp(80px, 13vw, 220px); }
.co-act-box { background: #58595b; max-width: 700px; padding: 26px 30px 16px; text-align: center; }
.co-act-group { margin-bottom: clamp(36px, 4vw, 60px); }
.co-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.co-gallery a { display: block; overflow: hidden; }
.co-gallery img { width: 100%; transition: transform .35s; }
.co-gallery a:hover img { transform: scale(1.04); }
.co-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.co-videos video { width: 100%; background: #000; aspect-ratio: 9 / 16; object-fit: contain; max-height: 640px; }

/* ---------- career */
.co-jobs { margin-top: 1.5rem; }
.co-jobs li { text-align: center; }
.co-jobs img { margin: 0 auto 14px; width: 64px; }
.co-jobs h3 { color: #333; font-size: 22px; font-weight: 600; margin-bottom: .2em; }

/* ---------- footer (old global footer section + Divi credits bar) */
.site-footer.co-footer { background: #fff; color: #58595b; padding: 0; font-size: 18px; }
.co-footer a { display: inline; color: inherit; }
.co-rule { height: 5px; background: #0c71c3; }
.co-fbar { background: #fff; padding: 22px 0; }
.co-fbar-in { width: min(640px, 90%); margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 4%; }
.co-fbar-in img { width: 186px; flex: none; }
.co-fbar-in p { margin: 0; font-size: 18px; }
.co-credits { background: #1f1f1f; color: #8a8a8a; text-align: center; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); font-size: 14px; }
.co-credits p { margin: 0; }
.site-footer .co-credits a { color: #bbb; }
.site-footer .co-credits a:hover { color: #fff; }

/* ---------- tablet */
@media (max-width: 980px) {
  .co-2 { grid-template-columns: 1fr; }
  .co-people { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .co-photo-right .co-photo-in { margin-left: 5%; width: 90%; }
  .co-photo-right::before, .co-saying::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12, 23, 32, .55); }
  .co-photo-right .co-photo-in, .co-saying-in { z-index: 2; }
  .co-saying-in { width: 90%; margin: 0 auto; }
  .co-spec-2, .co-spec-3 { width: 100%; padding: 0 5%; }
  .co-row-60 { width: 90%; }
  .co-hero-in { padding-left: 8%; }
}

/* ---------- phone (old site: 800-weight hero headings, 2.5rem section headings) */
@media (max-width: 700px) {
  .co-band p, .co-photo p, .co-hero p { font-size: 17px; }
  .co-hero .co-bg img { object-position: 80% center; }
  .co-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12,23,32,.75), rgba(12,23,32,.25)); }
  .co-hero-in { z-index: 2; padding: 64px 5% 48px 7%; }
  .co-hero .co-t { font-weight: 800; }
  .co-big, .co-big-w { font-size: 1.9rem; letter-spacing: 4px; }
  .co-sm { font-size: 1.55rem; letter-spacing: 3px; }
  .btn.co-chat { font-size: 20px; padding: .35em 36px; }
  .co-3, .co-boxes-3, .co-boxes-2, .co-wa { grid-template-columns: 1fr; }
  .co-quote blockquote { width: 100%; }
  .co-blurbs li { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
  .co-blurbs img { width: 64px; }
  .co-cblurbs li { grid-template-columns: 40px minmax(0, 1fr); gap: 0 20px; }
  .co-cicon svg { width: 40px; height: 40px; }
  .co-cblurbs h3 { font-size: 24px; }
  .co-cblurbs p { overflow-wrap: anywhere; }
  .co-spec .co-t { margin-left: 5%; }
  .co-spec li p { font-size: 15px; }
  .co-spec-3 li p { font-size: 13.5px; }
  .co-spec-2, .co-spec-3 { gap: 0 6px; padding: 0 3%; }
  .co-spec li img { width: 64px; }
  .co-slide { flex-basis: 100%; transform: none; opacity: 1; }
  .co-slide img { max-height: 380px; }
  .co-prev { left: 0; } .co-next { right: 0; }
  .co-people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 4%; }
  .co-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .co-videos { grid-template-columns: 1fr; }
  .co-videos video { max-height: 70vh; }
  .co-hero-act::before { display: none; }
  .co-hero-act .co-bg img { object-position: center bottom; }
  .co-act-box { padding: 18px 16px 8px; }
  .co-why .co-row > .co-t, .co-why .co-row > p, .co-how .co-row > .co-t { margin-left: 0; }
  .co-band .co-boxes .co-box { font-size: 20px; }
  .contact-form .btn.co-submit { width: 100%; justify-content: center; padding-inline: 20px; }
  .co-map { height: 340px; }
  .co-fbar-in { flex-direction: column; gap: 10px; text-align: center; }
  .co-fbar-in p { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) { .co-track, .co-slide { transition: none; } }
