:root {
    --cp-gold: #ddb100;
    --cp-gold-bright: #f0c400;
    --cp-ink: #17191c;
    --cp-charcoal: #24272b;
    --cp-slate: #555b61;
    --cp-stone: #ecebe7;
    --cp-mist: #f6f5f1;
    --cp-white: #fff;
    --cp-border: rgba(23, 25, 28, 0.12);
    --cp-shadow: 0 20px 55px rgba(23, 25, 28, 0.09);
}

body {
    color: var(--cp-charcoal);
    background: var(--cp-mist);
    font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

body, p { font-size: 16px; line-height: 1.65; }
h1, h2, h3, h4, h5 { letter-spacing: -0.025em; text-shadow: none; }
h1 { font-size: clamp(42px, 5vw, 72px); line-height: 1.04; }
h2 { font-size: clamp(34px, 4vw, 52px); line-height: 1.08; }
h3 { line-height: 1.15; }
.lead { font-size: 19px; line-height: 1.6; }

.eyebrow {
    margin-bottom: 14px;
    color: #967700;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.text-white .eyebrow { color: var(--cp-gold-bright); }

.navbar {
    min-height: 88px;
    border: 0;
    transition: background .25s ease, box-shadow .25s ease;
}

.navbar .container { position: relative; }
.navbar-brand { height: 88px; padding: 8px 15px; }
.navbar-brand img { max-width: 225px; height: 66px !important; }
.navbar-nav > li > a { padding: 34px 15px; font-size: 14px; font-weight: 700; letter-spacing: .01em; }
.navbar.bg-transparent.top-nav-collapse { min-height: 72px; background: rgba(255,255,255,.96); box-shadow: 0 8px 30px rgba(23,25,28,.08); backdrop-filter: blur(14px); }
.navbar.bg-transparent.top-nav-collapse .navbar-brand { height: 72px; }
.navbar.bg-transparent.top-nav-collapse .navbar-brand img { height: 56px !important; }
.navbar.bg-transparent.top-nav-collapse .navbar-nav > li > a { padding-top: 26px; padding-bottom: 26px; color: var(--cp-ink); }

#hero9 {
    min-height: 720px;
    padding: 170px 0 110px;
    background-position: center;
    background-size: cover;
}

#hero9 .overlay,
.blog-hero .overlay,
.article-hero .overlay {
    background: linear-gradient(90deg, rgba(8,10,12,.96) 0%, rgba(8,10,12,.78) 43%, rgba(8,10,12,.12) 78%, rgba(8,10,12,.2) 100%);
}

#hero9 .hero-copy { max-width: 730px; }
#hero9 h1 { margin-bottom: 24px; }
#hero9 h4 { max-width: 650px; margin-bottom: 18px; font-size: 23px; line-height: 1.35; }
#hero9 .lead { max-width: 630px; color: rgba(255,255,255,.78); }
.hero-paths { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.hero-text-link { color: #fff !important; font-size: 14px; font-weight: 800; }
.hero-text-link span { color: var(--cp-gold); margin-left: 5px; transition: margin .2s ease; }
.hero-text-link:hover span { margin-left: 10px; }

.btn.btn-yellow {
    padding: 13px 22px;
    color: var(--cp-ink) !important;
    background: var(--cp-gold-bright);
    border: 1px solid var(--cp-gold-bright);
    border-radius: 5px;
    box-shadow: none;
    font-weight: 900;
    letter-spacing: .02em;
    text-transform: none;
}
.btn.btn-yellow:hover, .btn.btn-yellow:focus { color: #fff !important; background: var(--cp-ink); border-color: var(--cp-ink); transform: translateY(-2px); }

#about, #services, #clients, #blog { padding: 110px 0 !important; }
#about { background: var(--cp-mist); }
#services { background: var(--cp-white); }
#clients { background: var(--cp-stone); }
#blog { background: var(--cp-mist) !important; }
.section-header { margin-bottom: 58px; }
.section-header h2 { color: var(--cp-ink); }
.section-header .lead { color: var(--cp-slate); }

#about .section-header { text-align: left; }
#about .section-header .lead { color: var(--cp-slate); }
.discipline-grid { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; margin-top: 8px; border: 1px solid var(--cp-border); border-radius: 10px; box-shadow: var(--cp-shadow); }
.discipline-grid article { min-height: 245px; padding: 38px; background: var(--cp-white); border-right: 1px solid var(--cp-border); }
.discipline-grid article:last-child { border-right: 0; background: var(--cp-gold-bright); }
.discipline-grid span { display: block; margin-bottom: 48px; color: #967700; font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.discipline-grid article:last-child span { color: var(--cp-ink); }
.discipline-grid h3 { margin-bottom: 12px; color: var(--cp-ink); font-size: 23px; font-weight: 900; }
.discipline-grid p { margin: 0; color: var(--cp-slate); }
.discipline-grid article:last-child p { color: rgba(23,25,28,.72); }

#services .features-block { display: flex; margin-bottom: 24px; }
#services .features-block:last-child { justify-content: center; }
#services .features-block .img-left {
    width: calc(50% - 12px);
    min-height: 255px;
    margin: 0 12px;
    padding: 32px;
    background: var(--cp-mist);
    border: 1px solid var(--cp-border);
    border-radius: 10px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
#services .features-block .img-left:hover { transform: translateY(-5px); border-color: rgba(221,177,0,.55); box-shadow: var(--cp-shadow); }
#services .features-block .img-left .service-icon { width: 82px; height: 82px; margin: 0 22px 12px 0; }
#services .features-block .img-left h5,
#services .features-block .img-left ul { margin-left: 104px; }
#services .features-block .img-left h5 { margin-top: 4px; color: var(--cp-ink); font-size: 18px; }
#services .features-block .img-left ul { padding-left: 17px; color: var(--cp-slate); }
#services .features-block .img-left li { margin-bottom: 4px; line-height: 1.45; }

#careers { padding: 120px 0; background: var(--cp-ink); }
#careers .overlay { display: none; }
#careers h3 { max-width: 760px; margin-right: auto; margin-left: auto; font-size: clamp(32px,4vw,50px); }
#careers .lead { max-width: 680px; margin-right: auto; margin-left: auto; color: rgba(255,255,255,.7); }

/* cpStudio product section */
.cpstudio-section { padding: 120px 0; color: #fff; background: #101215; }
.cpstudio-section h2, .cpstudio-section h3, .cpstudio-section h4 { color: #fff; }
.cpstudio-intro { display: flex; align-items: end; margin-bottom: 66px; }
.cpstudio-intro h2 { max-width: 720px; margin: 0; }
.cpstudio-intro .lead { margin: 0 0 26px; color: rgba(255,255,255,.68); }
.cpstudio-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.cpstudio-download { color: #fff !important; font-size: 14px; font-weight: 800; }
.cpstudio-download span { margin-left: 6px; color: var(--cp-gold-bright); }

.cpstudio-foundation {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 250px;
    align-items: center;
    gap: 34px;
    margin-bottom: 28px;
    padding: 34px;
    background: #1a1d21;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 12px;
}
.cpstudio-mark { color: #fff; font-size: 58px; font-weight: 900; letter-spacing: -.08em; }
.cpstudio-mark span { color: var(--cp-gold-bright); }
.cpstudio-foundation .eyebrow { margin-bottom: 7px; }
.cpstudio-foundation h3 { margin-bottom: 8px; font-size: 25px; }
.cpstudio-foundation p:last-child { max-width: 670px; margin: 0; color: rgba(255,255,255,.62); }
.cpstudio-stack { display: flex; flex-wrap: wrap; gap: 8px; }
.cpstudio-stack span { padding: 7px 10px; color: rgba(255,255,255,.78); background: #25292e; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; font-size: 11px; font-weight: 700; }

.cpstudio-capabilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 80px; }
.cpstudio-capabilities article { min-height: 250px; padding: 28px; background: #f5f4f0; border-radius: 10px; }
.cpstudio-capabilities .capability-number { display: block; margin-bottom: 42px; color: #9b7c00; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.cpstudio-capabilities h3 { margin-bottom: 12px; color: var(--cp-ink); font-size: 19px; }
.cpstudio-capabilities p { margin: 0; color: var(--cp-slate); font-size: 14px; line-height: 1.55; }

.cpstudio-differentiator { margin-bottom: 28px; padding: 48px; color: var(--cp-ink); background: var(--cp-gold-bright); border-radius: 12px; }
.cpstudio-differentiator .eyebrow { color: rgba(23,25,28,.65); }
.cpstudio-diff-heading { display: grid; grid-template-columns: 1fr 2fr; align-items: end; gap: 40px; margin-bottom: 38px; }
.cpstudio-diff-heading h3 { margin: 0; color: var(--cp-ink); font-size: 32px; }
.cpstudio-diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(23,25,28,.23); }
.cpstudio-diff-grid article { padding: 28px 30px 0 0; }
.cpstudio-diff-grid article + article { padding-left: 30px; border-left: 1px solid rgba(23,25,28,.23); }
.cpstudio-diff-grid h4 { color: var(--cp-ink); font-size: 16px; }
.cpstudio-diff-grid p { margin: 0; color: rgba(23,25,28,.72); font-size: 14px; }

.cpstudio-risk { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 70px; }
.cpstudio-risk > div { padding: 34px; background: #1a1d21; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; }
.cpstudio-risk .cpstudio-hedge { grid-column: 1 / -1; }
.cpstudio-risk h3 { margin-bottom: 12px; font-size: 23px; }
.cpstudio-risk p:last-child { margin: 0; color: rgba(255,255,255,.62); }

.cpstudio-workflow .eyebrow { margin-bottom: 20px; }
.cpstudio-workflow ol { display: grid; grid-template-columns: repeat(6, 1fr); margin: 0; padding: 0; list-style: none; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; }
.cpstudio-workflow li { position: relative; min-height: 155px; padding: 24px 20px; border-right: 1px solid rgba(255,255,255,.13); }
.cpstudio-workflow li:last-child { border-right: 0; }
.cpstudio-workflow li span, .cpstudio-workflow li strong, .cpstudio-workflow li small { display: block; }
.cpstudio-workflow li span { margin-bottom: 26px; color: var(--cp-gold-bright); font-size: 11px; font-weight: 900; }
.cpstudio-workflow li strong { margin-bottom: 7px; color: #fff; font-size: 13px; text-transform: uppercase; }
.cpstudio-workflow li small { color: rgba(255,255,255,.52); font-size: 11px; line-height: 1.45; }

#clients .features-block { padding-bottom: 24px !important; }
#clients .features-block > div { min-height: 185px; padding: 28px 20px; }
#clients .features-block img { max-width: 155px; max-height: 105px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .25s ease, opacity .25s ease, transform .25s ease; }
#clients .features-block > div:hover img { filter: none; opacity: 1; transform: translateY(-3px); }
#clients .features-block h4 { color: var(--cp-charcoal); font-size: 16px; }

.blog-slide, .blog-preview { border: 1px solid var(--cp-border); border-radius: 10px; box-shadow: none; }
.blog-slide:hover, .blog-preview:hover { border-color: rgba(221,177,0,.55); box-shadow: var(--cp-shadow); }
.blog-slide-tag, .blog-tag { color: #725b00; background: rgba(221,177,0,.16); }
.blog-slider { align-items: stretch; }
.blog-slide { display: flex; flex-direction: column; }
.blog-slide-excerpt { margin-bottom: 24px; }
.blog-slide .blog-slide-action { align-self: flex-start; margin-top: auto; }
.blog-slide .blog-slide-action span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.blog-slide .blog-slide-action:hover span { transform: translateX(4px); }

#contact { padding: 76px 0 62px !important; background: var(--cp-gold) !important; }
#contact .contact-divider > div { min-height: 180px; padding: 18px 24px; border-right: 1px solid rgba(23,25,28,.14); }
#contact .contact-divider > div:last-child { border-right: 0; }
#contact .contact-divider i { color: var(--cp-ink); }
#contact .contact-divider h5, #contact .contact-divider p, #contact a { color: var(--cp-ink) !important; }
#contact .contact-divider h5 { text-decoration: none !important; }
.footer { padding: 28px 0; background: #b48f00 !important; }
.footer p { margin: 0; color: var(--cp-ink); font-size: 13px; }
.top { width: 48px; height: 48px; border-radius: 50%; color: var(--cp-ink) !important; font-size: 11px; font-weight: 900; }

.blog-hero, .article-hero { padding: 180px 0 110px; background-position: center; }
.blog-hero .overlay, .article-hero .overlay { background: rgba(8,10,12,.62); }
.blog-hero .section-header .lead, .article-hero .section-header .article-meta { color: rgba(255,255,255,.76); }
.blog-content-section, .article-content { background: var(--cp-mist); }
.article-content .container { border: 1px solid var(--cp-border); box-shadow: var(--cp-shadow); }

a:focus, button:focus { outline: 3px solid rgba(221,177,0,.55); outline-offset: 3px; }

@media (max-width: 991px) {
    #hero9 { min-height: 660px; background-position: 62% center; }
    #services .features-block { display: block; margin: 0; }
    #services .features-block .img-left { width: 100%; min-height: 220px; margin: 0 0 20px; }
    #contact .contact-divider > div { min-height: 205px; }
    .discipline-grid article { padding: 30px; }
    .cpstudio-intro { display: block; }
    .cpstudio-intro .lead { margin-top: 26px; }
    .cpstudio-foundation { grid-template-columns: 100px 1fr; }
    .cpstudio-stack { grid-column: 2; }
    .cpstudio-capabilities { grid-template-columns: 1fr 1fr; }
    .cpstudio-workflow ol { grid-template-columns: repeat(3, 1fr); }
    .cpstudio-workflow li:nth-child(3) { border-right: 0; }
    .cpstudio-workflow li:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.13); }
}

@media (max-width: 767px) {
    h1 { font-size: 42px; }
    h2 { font-size: 34px; }
    .navbar { min-height: 76px; background: rgba(255,255,255,.97) !important; }
    .navbar-brand { height: 76px; padding-top: 8px; }
    .navbar-brand img { width: 205px !important; height: 60px !important; }
    .navbar-toggle { margin-top: 21px; }
    .navbar-toggle .icon-bar { background: var(--cp-charcoal) !important; }
    .navbar-collapse { background: #fff; border-top: 1px solid var(--cp-border); }
    .navbar.bg-transparent .navbar-nav > li > a { color: var(--cp-ink); padding: 12px 20px; }
    #hero9 { min-height: 690px; padding: 140px 0 80px; background-position: 68% center; }
    #hero9 .overlay { background: rgba(8,10,12,.78); }
    #hero9 h4 { font-size: 20px; }
    .hero-paths { align-items: flex-start; flex-direction: column; gap: 16px; }
    #about, #services, #clients, #blog { padding: 76px 0 !important; }
    .section-header { margin-bottom: 40px; }
    #about .section-header { text-align: center; }
    .discipline-grid { grid-template-columns: 1fr; }
    .discipline-grid article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--cp-border); }
    .discipline-grid article:last-child { border-bottom: 0; }
    .discipline-grid span { margin-bottom: 22px; }
    #services .features-block .img-left { min-height: 0; padding: 28px 22px; text-align: center; }
    #services .features-block .img-left .service-icon { float: none; display: block; margin: 0 auto 20px; }
    #services .features-block .img-left h5, #services .features-block .img-left ul { margin-left: 0; }
    #services .features-block .img-left ul { display: inline-block; text-align: left; }
    #careers { padding: 84px 0; }
    .cpstudio-section { padding: 82px 0; }
    .cpstudio-intro { margin-bottom: 45px; }
    .cpstudio-foundation { grid-template-columns: 1fr; padding: 28px 24px; }
    .cpstudio-mark { font-size: 48px; }
    .cpstudio-stack { grid-column: auto; }
    .cpstudio-capabilities { grid-template-columns: 1fr; margin-bottom: 58px; }
    .cpstudio-capabilities article { min-height: 0; }
    .cpstudio-capabilities .capability-number { margin-bottom: 24px; }
    .cpstudio-differentiator { padding: 32px 24px; }
    .cpstudio-diff-heading, .cpstudio-diff-grid, .cpstudio-risk { grid-template-columns: 1fr; }
    .cpstudio-risk .cpstudio-hedge { grid-column: auto; }
    .cpstudio-diff-heading { gap: 14px; }
    .cpstudio-diff-grid article { padding: 24px 0 !important; border-left: 0 !important; border-bottom: 1px solid rgba(23,25,28,.23); }
    .cpstudio-diff-grid article:last-child { border-bottom: 0; }
    .cpstudio-workflow ol { grid-template-columns: 1fr 1fr; }
    .cpstudio-workflow li { min-height: 145px; }
    .cpstudio-workflow li:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.13); }
    .cpstudio-workflow li:nth-child(even) { border-right: 0; }
    .cpstudio-workflow li:nth-child(-n+4) { border-bottom: 1px solid rgba(255,255,255,.13); }
    #clients .features-block > div { min-height: 150px; }
    #contact .contact-divider > div { min-height: 0; padding: 25px 20px; border-right: 0; border-bottom: 1px solid rgba(23,25,28,.14); }
    #contact .contact-divider > div:last-child { border-bottom: 0; }
    .blog-hero, .article-hero { padding: 140px 0 80px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
