/* Shared Stimulation rhythm, with service-specific compositions. */
.service-study {
    --study-blue: #314d91;
    --study-line: #d1d5d4;
    --study-muted: #566067;
}

.service-study .study-section {
    padding: clamp(56px, 7vw, 100px) 0;
}

.study-section :is(h2, h3, p, figure, dl, ol, ul) {
    margin: 0;
}

.study-section h2 {
    font-family: var(--font-d);
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: -.04em;
}

.study-section h3 {
    font-family: var(--font-d);
    font-size: clamp(22px, 2vw, 29px);
    line-height: 1.17;
    font-weight: 500;
    letter-spacing: -.025em;
}

.study-section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--study-muted);
}

.study-section .lbl {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.study-heading {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: clamp(30px, 5vw, 80px);
    align-items: center;
    margin-bottom: 40px;
}

.study-heading h2 {
    max-width: 23ch;
}

.study-heading>p {
    max-width: 48ch;
}

.service-study .service-jumps {
    border-top: 0;
    gap: 14px 30px;
}

.study-opening-copy h2 {
    font-size: clamp(36px, 4.6vw, 66px);
    line-height: 1.02;
    max-width: 18ch;
}

.study-opening-copy>p {
    max-width: 49ch;
    margin-top: 30px;
}

.study-opening-grid {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}

.study-visual {
    min-width: 0;
}

.study-visual img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: 2px;
    background: #dce3e7;
}

.study-visual figcaption {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 14px;
    font-size: 11px;
    line-height: 1.6;
    color: var(--study-muted);
}

.study-opening-wide .study-opening-grid {
    display: block;
}

.study-opening-wide .study-opening-copy {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 0 clamp(40px, 7vw, 110px);
    align-items: end;
}

.study-opening-wide .study-opening-copy .lbl {
    grid-column: 1/-1;
}

.study-opening-wide .study-opening-copy>p {
    margin: 0 0 4px;
    max-width: 44ch;
    justify-self: end;
}

.study-opening-wide .study-visual {
    margin-top: 38px;
}

.study-opening-wide .study-visual img {
    aspect-ratio: 2.15/1;
    object-position: center 55%;
}

.study-opening-reverse .study-opening-copy {
    order: 2;
}

.study-opening-reverse .study-visual {
    order: 1;
}

.study-opening-reverse .study-opening-grid {
    grid-template-columns: 1.08fr 1fr;
}

.study-facts.fact-strip {
    margin-top: 40px;
    padding: 25px 0;
    gap: 28px;
}

.study-facts strong {
    font-size: clamp(18px, 1.7vw, 25px);
    font-weight: 500;
    line-height: 1.2;
}

.study-facts span {
    font-size: 12px;
    margin-top: 9px;
    max-width: none;
    line-height: 1.6;
}

.study-capabilities {
    border-top: 1px solid var(--study-line);
}

.study-cap-composition {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(36px, 5vw, 80px);
    align-items: start;
}

.study-cap-list {
    min-width: 0;
}

.service-study .service-capability summary {
    padding: 25px 0;
    gap: 20px;
}

.service-study .service-capability summary h3 {
    max-width: none;
    font-size: clamp(21px, 1.8vw, 27px);
}

.service-study .cap-body {
    padding: 0 10px 28px 40px;
}

.service-study .cap-body p {
    font-size: 15px;
}

.study-descriptor {
    display: block;
    color: #68747b;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 12px;
}

.study-focus {
    padding: clamp(28px, 3.4vw, 48px);
    background: #f5f5f5;
    border-top: 0;
}

.study-focus .lbl {
    color: #355375;
}

.study-focus h3 {
    font-size: clamp(26px, 2.4vw, 36px);
    max-width: 23ch;
    margin-bottom: 20px;
}

.study-focus dl {
    margin-top: 28px;
}

.study-focus dl>div {
    border-top: 1px solid #c4ced3;
    padding: 20px 0;
}

.study-focus dl>div:last-child {
    padding-bottom: 0;
}

.study-focus dt {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.study-focus dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: var(--study-muted);
}

.study-caps-rows .study-cap-composition,
.study-caps-catalog .study-cap-composition {
    display: block;
}

.study-cap {
    border-top: 1px solid var(--study-line);
    padding: 28px 0;
    display: grid;
    grid-template-columns: 34px 1fr 1.08fr;
    gap: 22px;
    align-items: start;
}

.study-index {
    color: var(--study-blue);
    font-size: 11px;
    line-height: 2;
}

.study-cap p {
    max-width: 54ch;
}

.study-caps-rows .study-cap:last-child {
    border-bottom: 1px solid var(--study-line);
}

.study-caps-catalog .study-cap-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 clamp(36px, 5vw, 80px);
}

.study-caps-catalog .study-cap {
    grid-template-columns: 30px 1fr;
    padding: 30px 0 38px;
}

.study-caps-catalog .study-cap p {
    grid-column: 2;
}

.study-caps-rows .study-focus,
.study-caps-catalog .study-focus {
    margin-top: 50px;
    padding: 32px 0 0;
    background: none;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.study-caps-rows .study-focus h3,
.study-caps-catalog .study-focus h3 {
    font-size: clamp(24px, 2.2vw, 32px);
}

.study-caps-rows .study-focus dl,
.study-caps-catalog .study-focus dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0;
}

.study-caps-rows .study-focus>div,
.study-caps-catalog .study-focus>div {
    align-self: center;
}

.study-caps-rows .study-focus dl>div,
.study-caps-catalog .study-focus dl>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top: 0;
    border-left: 1px solid var(--study-line);
    padding: 0 0 0 22px;
}

.study-process {
    border-top: 1px solid var(--study-line);
}

.study-process-intro {
    margin-bottom: 42px;
}

.study-process-intro h2 {
    max-width: 24ch;
}

.study-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    padding: 0;
}

.study-steps>li {
    border-left: 1px solid var(--study-line);
    padding: 4px clamp(20px, 2.5vw, 38px) 12px;
}

.study-steps>li:last-child {
    border-right: 1px solid var(--study-line);
}

.study-step-index {
    display: block;
    font-size: 12px;
    color: var(--study-blue);
    margin-bottom: 35px;
}

.study-step-icon svg {
    display: block;
    width: 38px;
    height: 38px;
    color: var(--navy);
}

.study-steps h3 {
    margin-bottom: 18px;
    max-width: 20ch;
}

.study-steps p {
    max-width: 38ch;
    font-size: 14px;
}

.study-process-journey .study-steps {
    gap: 32px;
}

.study-process-journey .study-steps>li {
    position: relative;
    border: 0;
    border-top: 1px solid var(--study-line);
    padding: 28px 18px 0 0;
}

.study-process-journey .study-steps>li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--study-blue);
    position: absolute;
    top: -4px;
    left: 0;
}

.study-process-journey .study-step-index {
    margin-bottom: 24px;
}

.study-process-steps>.wrap {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: clamp(32px, 5vw, 80px);
}

.study-process-steps .study-process-intro h2 {
    max-width: 17ch;
}

.study-process-steps .study-steps {
    display: block;
}

.study-process-steps .study-steps>li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 25px;
    border: 0;
    border-top: 1px solid var(--study-line);
    padding: 32px 0;
}

.study-process-steps .study-step-index {
    margin: 4px 0 0;
}

.study-process-steps .study-steps h3 {
    max-width: none;
}

.study-process-steps .study-steps p {
    max-width: 50ch;
}

.service-study .study-project {
    padding-top: 12px;
}

.study-project-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(38px, 6vw, 86px);
    background: transparent;
    padding: clamp(28px, 5vw, 72px) 0;
}

.study-project-inner h2 {
    font-size: clamp(34px, 3.5vw, 52px);
    max-width: 16ch;
    margin: 22px 0;
}

.study-project-heading-line {
    display: block;
    white-space: nowrap;
}

.study-project-inner p {
    max-width: 44ch;
}

.study-project-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.study-project-actions .btn-pill {
    display: inline-flex;
    flex: 0 0 auto;
    margin: 0;
    gap: 18px;
    white-space: nowrap;
}

.study-intake {
    align-self: center;
}

.study-intake h3 {
    font-size: 23px;
    margin-bottom: 25px;
}

.study-intake ul {
    padding: 0;
    list-style: none;
}

.study-intake li {
    display: flex;
    gap: 20px;
    border-top: 1px solid #c9d3d7;
    padding: 17px 0;
    font-size: 14px;
    line-height: 1.65;
    color: var(--study-muted);
}

.study-intake li span {
    flex-shrink: 0;
    font-size: 10px;
    color: var(--study-blue);
    padding-top: 3px;
}

.study-contact-note {
    display: block;
    font-size: 11px;
    color: var(--study-muted);
    margin-top: 26px;
    line-height: 1.7;
}

.service-study .study-related {
    padding-top: 20px;
}

.study-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.study-related-card {
    display: block;
    min-width: 0;
}

.study-related-image {
    overflow: hidden;
    margin-bottom: 23px;
}

.study-related-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
    transition: transform .45s;
}

.study-related-card .lbl {
    font-size: 10px;
    font-weight: 400;
    color: var(--study-muted);
    margin-bottom: 12px;
}

.study-related-card h3 {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    font-size: clamp(21px, 1.9vw, 28px);
    margin-bottom: 16px;
}

.study-related-card h3>span {
    font-size: 19px;
    color: var(--study-blue);
    transition: transform .25s;
}

.study-related-card p {
    font-size: 14px;
    max-width: 42ch;
}

.study-related-card:hover img {
    transform: scale(1.035);
}

.study-related-card:hover h3>span {
    transform: translate(3px, -3px);
}

.study-section .study-image-note {
    font-size: 11px;
    line-height: 1.7;
    margin-top: 24px;
    color: #647078;
}

.service-study :is(.study-related-card, .study-section summary, .study-phone):focus-visible {
    outline: 2px solid var(--study-blue);
    outline-offset: 6px;
}

@media(max-width:1000px) {

    .study-caps-rows .study-focus,
    .study-caps-catalog .study-focus {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .study-caps-rows .study-focus>div,
    .study-caps-catalog .study-focus>div {
        max-width: 58ch;
    }
}

@media(max-width:900px) {

    .study-heading,
    .study-cap-composition,
    .study-process-steps>.wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .study-heading h2,
    .study-process-steps .study-process-intro h2 {
        max-width: 25ch;
    }

    .study-heading>p {
        max-width: 62ch;
    }

    .study-opening-grid,
    .study-opening-reverse .study-opening-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .study-opening-reverse .study-opening-copy,
    .study-opening-reverse .study-visual {
        order: initial;
    }

    .study-opening-copy h2 {
        max-width: 20ch;
    }

    .study-opening-copy>p {
        max-width: 62ch;
    }

    .study-opening-wide .study-opening-copy {
        display: block;
    }

    .study-opening-wide .study-opening-copy>p {
        margin-top: 26px;
        max-width: 62ch;
    }

    .study-visual img {
        aspect-ratio: 3/2;
    }

    .study-cap {
        grid-template-columns: 25px 1fr 1.2fr;
        gap: 18px;
    }

    .study-project-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .study-visual figcaption {
        gap: 18px;
    }
}

@media(max-width:650px) {
    .service-study .study-section {
        padding: 48px 0;
    }

    .study-opening-copy h2 {
        font-size: clamp(34px, 8vw, 48px);
    }

    .study-heading h2 {
        font-size: 31px;
    }

    .study-heading {
        margin-bottom: 30px;
    }

    .study-opening-wide .study-visual img {
        aspect-ratio: 3/2;
    }

    .study-facts.fact-strip {
        gap: 26px 18px;
        margin-top: 30px;
    }

    .study-facts strong {
        font-size: 20px;
    }

    .study-facts span {
        font-size: 12px;
    }

    .study-visual figcaption {
        flex-direction: column;
        gap: 4px;
    }

    .study-caps-catalog .study-cap-list,
    .study-steps,
    .study-related-grid,
    .study-project-inner {
        grid-template-columns: 1fr;
    }

    .study-cap {
        grid-template-columns: 24px 1fr;
    }

    .study-cap p {
        grid-column: 2;
    }

    .study-caps-rows .study-focus dl,
    .study-caps-catalog .study-focus dl {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .study-caps-rows .study-focus dl>div,
    .study-caps-catalog .study-focus dl>div {
        border: 0;
        border-top: 1px solid var(--study-line);
        padding: 20px 0;
    }

    .study-steps {
        gap: 28px;
    }

    .study-steps>li,
    .study-steps>li:last-child {
        border: 0;
        border-top: 1px solid var(--study-line);
        padding: 24px 0 0;
    }

    .study-step-index {
        margin-bottom: 22px;
    }

    .study-steps p {
        max-width: none;
    }

    .study-process-intro {
        margin-bottom: 32px;
    }

    .study-project-inner {
        padding: 28px 0;
    }

    .study-project-inner h2 {
        font-size: 34px;
    }

    .study-intake {
        padding-top: 10px;
    }

    .study-related-grid {
        gap: 42px;
    }

    .study-related-card h3 {
        font-size: 25px;
    }

    .study-related-card p {
        max-width: none;
    }

    .study-related-card .lbl {
        display: none;
    }
}

@media(prefers-reduced-motion:reduce) {

    .study-related-image img,
    .study-related-card h3>span {
        transition: none;
    }
}

/* Keep the photographed subject visible in each editorial composition. */
.service-laboratory-studies .study-visual img {
    object-position: 82% center;
}

.service-field-operations .study-visual img {
    object-position: 62% center;
}

.service-eor-ior .study-visual img {
    object-position: 75% center;
}

.service-oil-sands .study-visual img {
    aspect-ratio: 3/2;
    object-position: center;
}

.service-engineering-services .study-visual img {
    object-position: 62% center;
}

.service-equipment .study-visual img {
    object-position: 57% center;
}

.service-drilling .study-visual img {
    aspect-ratio: 3/2;
}

.service-water-management .study-visual img {
    object-position: center 20%;
}

.service-inventory-management .study-visual img {
    object-position: center 62%;
}

.service-standard-modular-solutions .study-visual img {
    aspect-ratio: auto;
}

.photo-license-link {
    display: inline-block;
    margin-left: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Align the manufacturing introduction with the focus panel's text inset. */
@media (min-width: 901px) {
    .service-chemical-manufacturing .study-capabilities .study-heading {
        grid-template-columns: 1.1fr 1fr;
        gap: clamp(36px, 5vw, 80px);
    }

    .service-chemical-manufacturing .study-capabilities .study-heading>p {
        margin-inline: clamp(28px, 3.4vw, 48px);
        max-width: none;
    }
}

/* Let the manufacturing photo cover a responsive frame without distortion. */
.service-chemical-manufacturing .study-opening .study-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 2.15/1;
    overflow: hidden;
    border-radius: 2px;
}

.service-chemical-manufacturing .study-opening .study-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center bottom;
}

@media (max-width:650px) {
    .service-chemical-manufacturing .study-opening .study-visual {
        aspect-ratio: 3/2;
    }
}

/* All service intakes share the Manufacturing column proportions and compact cards. */
.service-study .study-project-inner {
    grid-template-columns: minmax(386px, .85fr) minmax(0, 1.65fr);
    gap: clamp(32px, 4vw, 64px);
}

.study-intake-columns {
    align-self: start;
    min-width: 0;
}

.study-intake-columns h3 {
    margin-bottom: 28px;
}

.study-intake-columns ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.study-intake-columns li {
    display: block;
    min-width: 0;
    border-top: 0;
    border-left: 1px solid var(--study-line);
    padding: 4px clamp(14px, 1.4vw, 21px) 8px;
}

.study-intake-columns li:last-child {
    border-right: 1px solid var(--study-line);
}

.study-intake-columns svg {
    display: block;
    width: 28px;
    height: 28px;
    color: var(--navy);
    margin-bottom: 24px;
}

.study-intake-columns h4 {
    margin: 0 0 13px;
    font-family: var(--font-d);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -.025em;
    color: var(--ink);
}

.study-intake-columns li p {
    font-size: 13px;
    line-height: 1.7;
}

.study-intake-columns .study-contact-note {
    margin-top: 28px;
}

@media (min-width:901px) and (max-width:1150px) {
    .study-intake-columns ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }

    .study-intake-columns li:nth-child(2) {
        border-right: 1px solid var(--study-line);
    }
}

@media (max-width:900px) {
    .service-study .study-project-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }
}

@media (max-width:650px) {
    .study-intake-columns ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 28px;
    }

    .study-intake-columns li:nth-child(2) {
        border-right: 1px solid var(--study-line);
    }

    .study-intake-columns svg {
        margin-bottom: 18px;
    }
}

/* Give the process icons a generous top inset; keep the compact intake cards balanced. */
:is(.study-process-columns, .study-process-journey) .study-steps>li {
    padding-top: 32px;
    padding-bottom: 12px;
}

.study-intake-columns li {
    padding-block: 8px;
}

@media (max-width:650px) {
    :is(.study-process-columns, .study-process-journey) .study-steps>li {
        padding-bottom: 24px;
    }
}

/* The process cards share the same subtle hover as the manufacturing intake cards. */
.service-study :is(.study-steps > li, .study-intake-columns li) {
    transition: background-color 180ms ease;
}

@media (hover:hover) {
    .service-study :is(.study-steps > li, .study-intake-columns li):hover {
        background-color: #f1f1f1;
    }
}

@media (prefers-reduced-motion:reduce) {
    .service-study :is(.study-steps > li, .study-intake-columns li) {
        transition: none;
    }
}

/* Photograph-led Logistics hero, with the entire vehicle kept in the crop. */
.service-logistics .hero.mode-3 .hero-media.bare.hero-photo {
    height: auto;
    aspect-ratio: 2.1/1;
    overflow: hidden;
    border-radius: 2px;
}

.service-logistics .hero-media.bare.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 66%;
}

@media (max-width:700px) {
    .service-logistics .hero.mode-3 .hero-media.bare.hero-photo {
        aspect-ratio: 3/2;
    }
}