/* Orpheo Canada case study - all rules scoped under .oc-cs. No font-family used (inherits site font). */
.oc-cs {
    --oc-red: #c8102e;
    --oc-red-dark: #8e0b20;
    --oc-ink: #160a0c;
    --oc-wine: #2a0d12;
    --oc-soft: #f6f2f2;
    --oc-line: #e6dcdc;
    --oc-muted: #5d4f52;
    color: var(--oc-ink);
    line-height: 1.65;
    overflow-x: hidden
}

.oc-cs img {
    max-width: 100%;
    height: auto;
    display: block
}

.oc-cs h1,
.oc-cs h2,
.oc-cs h3 {
    line-height: 1.15;
    letter-spacing: -.01em;
    font-weight: 700
}

.oc-cs h2 {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 18px
}

.oc-cs h3 {
    font-size: 20px;
    margin-bottom: 10px
}

.oc-cs .oc-sec {
    padding: 30px 0
}

.oc-cs .oc-soft {
    background: var(--oc-soft)
}

.oc-cs .oc-muted {
    color: var(--oc-muted)
}

.oc-cs .oc-lead {
    max-width: 760px;
    color: var(--oc-muted);
    margin-bottom: 34px
}

.oc-cs .oc-lead.oc-wide {
    max-width: 900px
}

.oc-cs .oc-dark {
    background: linear-gradient(135deg, var(--oc-ink), var(--oc-wine));
    color: #fff
}

.oc-cs .oc-dark h2,
.oc-cs .oc-dark h3 {
    color: #fff
}

.oc-cs .oc-dark p {
    color: #e7d6d9
}

/* buttons (button + a share one style) */
.oc-cs .oc-btn {
    display: inline-block;
    padding: 13px 26px;
    margin: 0 12px 12px 0;
    border: 2px solid var(--oc-red);
    border-radius: 6px;
    background: var(--oc-red);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .25s, border-color .25s, color .25s, transform .25s
}

.oc-cs .oc-btn:hover,
.oc-cs .oc-btn:focus {
    background: var(--oc-red-dark);
    border-color: var(--oc-red-dark);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px)
}

.oc-cs .oc-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px
}

.oc-cs .oc-btn-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff
}

.oc-cs .oc-btn-outline:hover,
.oc-cs .oc-btn-outline:focus {
    background: #fff;
    border-color: #fff;
    color: var(--oc-ink)
}

/* hero */
.oc-cs .oc-hero {
    background: radial-gradient(900px 500px at 85% 20%, #5a1420 0, transparent 60%), linear-gradient(135deg, var(--oc-ink), var(--oc-wine));
    color: #fff;
    padding: 30px 0;
}

.oc-cs .oc-hero h1 {
    font-size: clamp(32px, 5vw, 54px);
    margin-bottom: 22px;
    color: #fff
}

.oc-cs .oc-hero-text {
    color: #ecd9dc;
    margin-bottom: 30px;
    max-width: 540px
}

.oc-cs .oc-shot {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--oc-line);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .3)
}

.oc-cs .oc-hero .oc-shot {
    border-color: rgba(255, 255, 255, .2)
}

/* snapshot + requirements */
.oc-cs .oc-snap {
    background: #fff;
    border: 1px solid var(--oc-line);
    border-left: 5px solid var(--oc-red);
    border-radius: 10px;
    padding: 26px
}

.oc-cs .oc-snap dl>div {
    padding: 9px 0;
    border-bottom: 1px solid var(--oc-line)
}

.oc-cs .oc-snap dl>div:last-child {
    border-bottom: 0
}

.oc-cs .oc-snap dt {
    font-size: 14px;
    font-weight: 700;
    color: var(--oc-red)
}

.oc-cs .oc-snap dd {
    margin: 0
}

.oc-cs .oc-req {
    margin-top: 20px
}

.oc-cs .oc-req li span {
    display: block;
    height: 100%;
    background: #fff;
    border: 1px solid var(--oc-line);
    border-radius: 8px;
    padding: 14px 16px 14px 44px;
    position: relative
}

.oc-cs .oc-req li span:before {
    content: "\2713";
    position: absolute;
    left: 16px;
    color: var(--oc-red);
    font-weight: 700
}

/* cards */
.oc-cs .oc-card {
    background: #fff;
    border: 1px solid var(--oc-line);
    border-radius: 10px;
    padding: 26px;
    transition: border-color .25s, box-shadow .25s, transform .25s
}

.oc-cs .oc-card:hover {
    border-color: var(--oc-red);
    box-shadow: 0 12px 30px rgba(200, 16, 46, .12);
    transform: translateY(-3px)
}

.oc-cs .oc-card p {
    color: var(--oc-muted);
    font-size: 15px;
    margin-bottom: 0
}

.oc-cs .oc-card-top {
    border-top: 4px solid var(--oc-red)
}

.oc-cs .oc-card-left {
    border-left: 4px solid var(--oc-red)
}

/* stats */
.oc-cs .oc-stat {
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    padding: 26px
}

.oc-cs .oc-stat strong {
    display: block;
    font-size: 54px;
    line-height: 1;
    color: #fff
}

.oc-cs .oc-stat h3 {
    margin: 10px 0 6px;
    font-size: 18px
}

.oc-cs .oc-stat p {
    font-size: 15px;
    margin-bottom: 0
}

/* solution rows */
.oc-cs .oc-sol {
    margin-top: 64px
}

.oc-cs .oc-tag {
    display: inline-block;
    background: #fbe6ea;
    color: var(--oc-red-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px
}

.oc-cs .oc-sol-title {
    font-size: 26px
}

/* timeline */
.oc-cs .oc-step {
    position: relative;
    padding-top: 60px
}

.oc-cs .oc-step:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--oc-red);
    box-shadow: 0 0 0 6px var(--oc-ink)
}

.oc-cs .oc-timeline {
    counter-reset: ocs
}

.oc-cs .oc-timeline>div {
    counter-increment: ocs
}

.oc-cs .oc-step:after {
    content: counter(ocs);
    position: absolute;
    top: 0;
    left: 0;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700
}

.oc-cs .oc-step h3 {
    font-size: 18px
}

.oc-cs .oc-step p {
    font-size: 15px;
    margin-bottom: 0
}

@media(min-width:992px) {
    .oc-cs .oc-timeline {
        position: relative
    }

    .oc-cs .oc-timeline:before {
        content: "";
        position: absolute;
        top: 22px;
        left: 5%;
        right: 5%;
        height: 2px;
        background: linear-gradient(90deg, var(--oc-red), rgba(255, 255, 255, .2))
    }
}

/* tech */
.oc-cs .oc-tech-card {
    padding: 20px 22px
}

.oc-cs .oc-tech-h {
    font-size: 17px;
    margin-bottom: 12px
}

.oc-cs .oc-tech-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -4px
}

.oc-cs .oc-tech-list li {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: center;
    padding: 6px 4px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2
}

.oc-cs .oc-tech-list li:only-child {
    flex-basis: 100%;
    max-width: 100%
}

.oc-cs .oc-tech-list li:last-child:nth-child(odd):not(:first-child) {
    flex-basis: 100%;
    max-width: 100%;
    justify-content: center
}

.oc-cs .oc-tech-list img {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    margin-right: 8px;
    object-fit: contain
}

.oc-cs .oc-tech-list span {
    white-space: nowrap
}

/* gallery */
.oc-cs .oc-fig {
    background: #fff;
    border: 1px solid var(--oc-line);
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .25s
}

.oc-cs .oc-fig:hover {
    box-shadow: 0 14px 34px rgba(0, 0, 0, .15)
}

.oc-cs .oc-fig-img {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    aspect-ratio: 16/10;
    object-fit: cover;
    object-position: top;
    background: var(--oc-soft)
}

.oc-cs .oc-fig-m .oc-fig-img {
    object-fit: contain;
    padding: 12px
}

.oc-cs .oc-fig figcaption {
    padding: 16px 18px
}

.oc-cs .oc-fig figcaption strong {
    display: block;
    color: var(--oc-red)
}

.oc-cs .oc-fig figcaption span {
    font-size: 15px;
    color: var(--oc-muted)
}

/* CTA */
.oc-cs .oc-cta {
    background: linear-gradient(135deg, var(--oc-red-dark), var(--oc-red) 60%, #e23a52);
    color: #fff
}

.oc-cs .oc-cta h2 {
    color: #fff
}

.oc-cs .oc-cta p {
    max-width: 760px;
    margin: 0 auto 30px;
    color: #fff
}

.oc-cs .oc-cta .oc-btn {
    margin-right: 0;
    background: #fff;
    border-color: #fff;
    color: var(--oc-red-dark)
}

.oc-cs .oc-cta .oc-btn:hover,
.oc-cs .oc-cta .oc-btn:focus {
    background: var(--oc-ink);
    border-color: var(--oc-ink);
    color: #fff
}

/* responsive */
@media(max-width:991px) {
    .oc-cs .oc-hero {
        padding: 30px 0;
    }

    .oc-cs .oc-sol {
        margin-top: 48px
    }
}

@media(max-width:575px) {
    .oc-cs .oc-btn {
        display: block;
        width: 100%;
        margin-right: 0
    }

    .oc-cs .oc-stat strong {
        font-size: 44px
    }
}

@media(prefers-reduced-motion:reduce) {
    .oc-cs * {
        transition: none !important
    }
}