/* Reusable production sections, scoped to avoid changing existing pages. */
@font-face {
    font-family: 'BeHolyProduction';
    src: url('../fonts/GothamPro-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'BeHolyProduction';
    src: url('../fonts/GothamPro-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
.production-page {
    color: #151515;
    font: 500 16px/25px 'BeHolyProduction', 'GothamPro', Arial, sans-serif;
}
.production-page .container {
    max-width: 1240px;
    padding-right: 20px;
    padding-left: 20px;
}
.production-page h1, .production-page h2, .production-page h3 {
    margin: 0;
    color: inherit;
    font-weight: 700;
    text-transform: none;
}
.production-page h2 { font-size: 53px; line-height: 60px; }
.production-page h3 { font-size: 30px; line-height: 32px; }
.production-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 15px 38px;
    border: 0;
    border-radius: 30px;
    background: #79ffd2;
    color: #151515;
    font: 700 14px/22px 'BeHolyProduction', 'GothamPro', Arial, sans-serif;
    letter-spacing: 2.1px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s, color .2s;
}
.production-button:hover { background: #fff; color: #151515; }
.production-button--dark { background: #151515; color: #79ffd2; }
.production-button--dark:hover { background: #79ffd2; color: #151515; }
.production-page a:focus-visible, .production-page button:focus-visible,
.production-showcase__viewport:focus-visible {
    outline: 3px solid #31a984;
    outline-offset: 5px;
}
.production-services {
    padding: 120px 0 130px;
    background: #151515;
    text-align: center;
}
.production-services__eyebrow {
    margin: 0 0 20px;
    color: #505050;
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
}
.production-page .production-services h2 { color: #79ffd2; }
.production-page .production-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 37px;
    margin: 75px 0 98px;
    padding: 0;
    list-style: none;
    text-align: left;
}
.production-service {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 469px;
    padding: 38px 50px;
    border-radius: 32px;
    background: #222;
}
.production-service__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-height: 132px;
}
.production-service__top img { width: 100px; height: 90px; object-fit: contain; object-position: left center; }
.production-service__top span {
    flex-shrink: 0;
    margin: 0 -15px 0 -10px;
    padding: 10px 17px;
    border-radius: 24px;
    background: #151515;
    color: #505050;
    font-size: 12px;
    line-height: 21px;
    text-transform: uppercase;
}
.production-page .production-service h3 { color: #79ffd2; font-size: 27px; line-height: 32px; }
.production-service p { margin: 23px 0 30px; color: #878787; font-size: 16px; line-height: 21px; }
.production-service__link { display: block; width: 60px; height: 41px; margin-top: auto; }
.production-service__link span {
    display: block;
    width: 60px;
    height: 41px;
    background: url('../images/arrow_green_right.svg') center/contain no-repeat;
    filter: brightness(0) invert(1);
}
.production-service__link::after { position: absolute; inset: 0; border-radius: 32px; content: ''; }
.production-service:focus-within { outline: 3px solid #79ffd2; outline-offset: 5px; }
.production-service:hover .production-service__link span { filter: none; }
.production-process { overflow: hidden; padding-top: 140px; background: #f0f0f0; }
.production-process__intro { max-width: 760px; margin: 0 auto 45px; line-height: 21.5px; text-align: center; }
.production-marked-title { position: relative; max-width: 760px; margin: 0 auto !important; text-align: center; }
.production-marked-title span { position: relative; z-index: 1; }
.production-marked-title::after {
    position: absolute;
    top: 32px;
    left: 190px;
    width: 238px;
    height: 40px;
    background: url('../images/team/heading-underline.png') center/contain no-repeat;
    content: '';
}
.production-page .production-process__timeline {
    position: relative;
    max-width: 960px;
    margin: 145px auto 0;
    padding: 0 0 130px;
    list-style: none;
}
.production-process__timeline::before {
    position: absolute;
    top: 35px;
    bottom: 0;
    left: calc(50% - 4px);
    width: 8px;
    background: #79ffd2;
    content: '';
}
.production-step { position: relative; display: flex; min-height: 163px; }
.production-step::before {
    position: absolute;
    top: 18px;
    left: calc(50% - 13px);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #79ffd2;
    content: '';
}
.production-step__number {
    position: absolute;
    top: 0;
    right: calc(50% + 80px);
    color: #fff;
    font-size: 66px;
    font-weight: 700;
    line-height: 71px;
}
.production-step__copy { width: calc(50% - 145px); }
.production-step:nth-child(even) { justify-content: flex-end; }
.production-step:nth-child(even) .production-step__number { right: auto; left: calc(50% + 80px); }
.production-step:nth-child(even) .production-step__copy { width: calc(50% - 185px); }
.production-step p { margin: 25px 0 0; font-size: 16px; line-height: 25px; }
.production-showcase { overflow: hidden; padding: 120px 0 145px; background: #151515; }
.production-showcase__head { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin-bottom: 90px; }
.production-page .production-showcase h2 { color: #79ffd2; font-size: 38px; line-height: 50px; text-transform: uppercase; }
.production-showcase__viewport { position: relative; overflow-x: auto; }
.production-page .production-showcase__track {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    width: max-content;
    margin: 0;
    padding: 0 20px;
    list-style: none;
}
.production-project { flex: 0 0 330px; width: 330px; opacity: .3; }
.production-project.is-active { flex-basis: 518px; width: 518px; opacity: 1; }
.production-project a { color: #878787; text-decoration: none; }
.production-project a:hover { color: #79ffd2; }
.production-project img { display: block; width: 100%; height: 193px; border-radius: 25px; object-fit: cover; }
.production-project.is-active img { height: 302px; }
.production-project__title { display: block; min-height: 44px; margin: 25px 15px 0; font-size: 16px; line-height: 21.5px; }
.production-showcase.is-ready .production-showcase__viewport { overflow: hidden; touch-action: pan-y; }
.production-showcase.is-ready .production-showcase__track { position: relative; left: 50%; padding: 0; transition: transform .35s ease; }
.production-showcase__controls { position: absolute; top: 190px; right: 0; left: 0; display: flex; justify-content: space-between; pointer-events: none; }
.production-showcase__controls[hidden] { display: none; }
.production-showcase__controls button { width: 64px; height: 48px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; pointer-events: auto; }
.production-showcase__controls span { display: block; width: 60px; height: 41px; background: url('../images/arrow_green_right.svg') center/contain no-repeat; filter: brightness(0) invert(1); }
.production-showcase__controls [data-carousel-prev] span { transform: rotate(180deg); }
.production-showcase__controls button:hover span { filter: none; }
.production-page .production-estimate { font-family: 'GothamPro', Arial, sans-serif; }
.production-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1150px) {
    .production-service { padding: 32px; }
    .production-service__top img { width: 75px; }
    .production-service__top span { margin-right: -16px; padding-right: 12px; padding-left: 12px; font-size: 10px; }
    .production-page .production-services__grid { gap: 24px; }
}
@media (max-width: 900px) {
    .production-page .production-services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .production-step__copy { width: calc(50% - 125px); }
    .production-step:nth-child(even) .production-step__copy { width: calc(50% - 125px); }
    .production-step__number { right: calc(50% + 30px); }
    .production-step:nth-child(even) .production-step__number { left: calc(50% + 30px); }
    .production-step { min-height: 220px; }
}
@media (max-width: 767px) {
    .production-page h2 { font-size: clamp(28px, 6vw, 38px); line-height: 1.15; }
    .production-button { min-height: 52px; padding: 14px 25px; font-size: 12px; letter-spacing: 1.6px; }
    .production-services { padding: 65px 0; }
    .production-services__eyebrow { font-size: 18px; line-height: 26px; }
    .production-page .production-services__grid { margin: 45px 0; }
    .production-service { min-height: 440px; }
    .production-service__top { min-height: 110px; }
    .production-service__top img { max-width: 45%; }
    .production-service__top span { font-size: 9px; padding: 8px 10px; }
    .production-page .production-service h3 { font-size: 24px; line-height: 29px; }
    .production-process { padding-top: 65px; }
    .production-process__intro { margin-bottom: 30px; line-height: 24px; }
    .production-process__intro br { display: none; }
    .production-marked-title::after { top: 15px; left: calc(50% - 110px); width: 175px; height: 30px; }
    .production-page .production-process__timeline { margin-top: 60px; padding: 0 0 65px; }
    .production-process__timeline::before { left: 11px; width: 4px; }
    .production-step, .production-step:nth-child(even) { justify-content: flex-start; min-height: 0; padding: 0 0 40px 42px; }
    .production-step:last-child { padding-bottom: 0; }
    .production-step::before { top: 20px; left: 3px; width: 20px; height: 20px; }
    .production-step__number, .production-step:nth-child(even) .production-step__number { position: static; flex: 0 0 70px; font-size: 48px; line-height: 58px; }
    .production-step__copy, .production-step:nth-child(even) .production-step__copy { width: auto; flex: 1; min-width: 0; }
    .production-page .production-step h3 { font-size: 24px; line-height: 30px; }
    .production-step p { margin-top: 16px; }
    .production-showcase { padding: 65px 0; }
    .production-showcase__head { margin-bottom: 45px; }
    .production-page .production-showcase h2 { font-size: 27px; line-height: 34px; }
    .production-showcase__head .production-button { padding-right: 20px; padding-left: 20px; }
    .production-project, .production-project.is-active { width: 70vw; flex-basis: 70vw; }
    .production-project img, .production-project.is-active img { height: auto; aspect-ratio: 518/302; }
    .production-showcase__controls { position: static; justify-content: center; gap: 30px; margin-top: 25px; }
}
@media (max-width: 520px) {
    .production-page .production-services__grid { grid-template-columns: 1fr; }
    .production-service { min-height: 440px; padding: 38px; }
    .production-service__top img { width: 100px; }
    .production-service__top span { margin-right: 0; font-size: 11px; }
    .production-step, .production-step:nth-child(even) { flex-wrap: wrap; padding-left: 42px; }
    .production-step__copy, .production-step:nth-child(even) .production-step__copy { flex-basis: 100%; }
    .production-showcase__head { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    .production-showcase.is-ready .production-showcase__track, .production-button { transition: none; }
}
