/* Manufacturers page: align with home v4 */
body.mfr-v4 .hero { text-align: left; }
body.mfr-v4 .hero-carousel-tags { display: none !important; }
body.mfr-v4 .mfr-video-section { padding-top: 64px; }
body.mfr-v4 main *:not(.social-btn):not(.reel4-over .ow-btn--watch):not(.ow-lightbox-close):not(.hero-dot):not(.cta-dot):not([class*="chat"]):not([id*="chat"]):not([class*="chat"] *):not([id*="chat"] *):not(#backToTop):not(.back-to-top) { border-radius: 0 !important; }
body.mfr-v4 .cta-section:not(.cta-section--compact) .cta-content, body.mfr-v4 .teardown-card { max-width: 1280px; }
body.mfr-v4 .mfr-why-section, body.mfr-v4 .mfr-process-section, body.mfr-v4 .svc-showcase, body.mfr-v4 .mfr-pains, body.mfr-v4 .teardown-section { padding-top: 120px !important; }
body.mfr-v4 .hero-lead { white-space: normal !important; max-width: 640px !important; }
body.mfr-v4 .hero-btns { flex-wrap: nowrap; }
body.mfr-v4 .hero-btns .v4-btn { white-space: nowrap; }
/* showreel video: full grid width */
body.mfr-v4 .mfr-video-section { max-width: none !important; width: auto !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
body.mfr-v4 .mfr-video-player { max-width: none !important; width: 100% !important; margin: 0 !important; }
/* case stats: one-line labels on desktop */
@media (min-width: 1200px) { body.mfr-v4 .case-stats { gap: 48px !important; flex-wrap: nowrap !important; } body.mfr-v4 .case-stat { flex: 0 0 auto !important; max-width: none !important; } body.mfr-v4 .case-stat-label { white-space: nowrap !important; } }
body.mfr-v4 .ba-bar i { border-radius: 50% !important; }

/* ===== Audit pass: match home v4 ===== */
/* services band same as home */
body.mfr-v4 .svc-list { background: linear-gradient(180deg, #FFFAF6 0, #FFFFFF 280px) !important; }
/* section rhythm: 120 top, 0 bottom */
body.mfr-v4 .svc-showcase, body.mfr-v4 .mfr-who-section, body.mfr-v4 .mfr-why-section { padding-top: 120px !important; padding-bottom: 0 !important; }
body.mfr-v4 .mfr-video-section { margin-bottom: 0 !important; }
/* headers left-aligned like home sections */
body.mfr-v4 .svc-showcase-header, body.mfr-v4 .mfr-who-header, body.mfr-v4 .mfr-why-header { text-align: left !important; align-items: flex-start !important; max-width: none !important; margin: 0 0 56px !important; display: flex; flex-direction: column; }
body.mfr-v4 .svc-showcase-title, body.mfr-v4 .mfr-who-title, body.mfr-v4 .mfr-why-title { font-family: var(--font-sans) !important; font-weight: 400 !important; font-size: clamp(36px, 4.6vw, 66px) !important; line-height: 1.05 !important; letter-spacing: -0.025em !important; text-align: left !important; color: #1A0D03 !important; margin: 0 !important; }
body.mfr-v4 .svc-showcase-subtitle { font-size: 20px !important; font-weight: 400 !important; line-height: 1.5 !important; color: #6b5f57 !important; text-align: left !important; margin: 16px 0 0 !important; max-width: 620px; }
/* cards: same language as package cards */
body.mfr-v4 .mfr-who-card, body.mfr-v4 .mfr-why-card { background: #FFFFFF !important; border: 1px solid #EDE4DA !important; box-shadow: none !important; padding: 36px !important; transform: none !important; }
body.mfr-v4 .mfr-who-card:hover, body.mfr-v4 .mfr-why-card:hover { transform: none !important; box-shadow: none !important; }
body.mfr-v4 .mfr-who-card-title, body.mfr-v4 .mfr-why-card-title { font-family: var(--font-sans) !important; font-size: 22px !important; font-weight: 500 !important; line-height: 1.3 !important; color: #1A0D03 !important; }
body.mfr-v4 .mfr-who-card-desc, body.mfr-v4 .mfr-why-card-desc { font-size: 16px !important; line-height: 1.55 !important; color: #6b5f57 !important; }
body.mfr-v4 .mfr-why-label { font-family: var(--font-sans) !important; font-size: 13px !important; font-weight: 900 !important; letter-spacing: 2px !important; color: #9A8B80 !important; }
body.mfr-v4 .svc-card-icon { background: none !important; width: auto !important; height: auto !important; padding: 0 !important; margin-bottom: 20px !important; color: #F0743A !important; font-size: 28px !important; justify-content: flex-start !important; }
body.mfr-v4 .svc-card-icon i { color: #F0743A !important; }
/* grids on the 1280 edge */
body.mfr-v4 .mfr-who-grid, body.mfr-v4 .mfr-why-grid, body.mfr-v4 .svc-showcase-grid { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; gap: 20px !important; }
body.mfr-v4 .svc-showcase, body.mfr-v4 .mfr-who-section, body.mfr-v4 .mfr-why-section { padding-left: 0 !important; padding-right: 0 !important; align-items: stretch !important; }
body.mfr-v4 .svc-showcase-header, body.mfr-v4 .mfr-who-header, body.mfr-v4 .mfr-why-header, body.mfr-v4 .mfr-who-grid, body.mfr-v4 .mfr-why-grid, body.mfr-v4 .svc-showcase-grid { width: 100% !important; align-self: stretch !important; box-sizing: border-box; }

/* copy pass: no widows, audit note */
body.mfr-v4 main p, body.mfr-v4 main li { text-wrap: pretty; }
body.mfr-v4 main h2, body.mfr-v4 main h3 { text-wrap: balance; }
body.mfr-v4 .td-note { margin: 22px 0 36px; max-width: 560px; font-size: 16px; line-height: 1.55; color: #6b5f57; padding-left: 14px; border-left: 2px solid #F0743A; }
body.mfr-v4 .td-note b { color: #1A0D03; font-weight: 600; }

/* mascot head behind the makers CTA: lift up */
@media (min-width: 1001px) { body.mfr-v4 .carousel-bg-head { top: -460px; } }
body.mfr-v4 main .cta-title { text-wrap: wrap; }

/* ---- mobile pass 2 ---- */
@media (max-width: 768px) {
  /* Barvita: real grid instead of the pre-rounded composite */
  body.mfr-v4 .svc-showcase-mobile { display: none !important; }
  body.mfr-v4 .svc-showcase-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; grid-template-rows: none !important; gap: 8px !important; }
  body.mfr-v4 .svc-showcase-grid > * { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1 / 1; height: auto !important; min-height: 0 !important; }
  body.mfr-v4 .svc-showcase-card--info { grid-column: 1 / -1 !important; aspect-ratio: 1048 / 616; }
  body.mfr-v4 .svc-showcase-grid img { width: 100%; height: 100%; object-fit: cover; }
  /* pain / why cards: even text block inside the card */
  body.mfr-v4 .mfr-who-card, body.mfr-v4 .mfr-why-card { padding: 28px 24px !important; }
  body.mfr-v4 .mfr-who-card-title, body.mfr-v4 .mfr-who-card-desc, body.mfr-v4 .mfr-why-card-title, body.mfr-v4 .mfr-why-card-desc { max-width: none !important; width: 100%; text-wrap: wrap !important; }
}
@media (max-width: 768px) { body.mfr-v4 .svc-showcase-grid > * { display: block !important; } }

/* industries: three balanced rows, no lonely chip */
@media (min-width: 900px) { body.mfr-v4 .domains-grid { max-width: 940px !important; margin-left: auto !important; margin-right: auto !important; } }
body.v3 .domains-subtitle { text-wrap: balance; }

/* ---- Why work with us v2: figures, in the site's own type and colours ---- */
body.mfr-v4 .why2 { padding-top: 120px; }
body.mfr-v4 .why2-title-main { margin-top: 12px !important; }
body.mfr-v4 .why2-lead { font-size: 20px; line-height: 1.5; color: #6b5f57; max-width: 640px; margin: 24px 0 0; }
body.mfr-v4 .why2-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; border-top: 1px solid #EDE4DA; }
body.mfr-v4 .why2-col { padding: 40px 40px 8px; border-left: 1px solid #EDE4DA; display: flex; flex-direction: column; }
body.mfr-v4 .why2-col:first-child { padding-left: 0; border-left: 0; }
body.mfr-v4 .why2-col:last-child { padding-right: 0; }
body.mfr-v4 .why2-fig { font-family: var(--font-sans); font-size: 13px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: #9b8f86; display: flex; gap: 14px; align-items: baseline; }
body.mfr-v4 .why2-fig b { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; color: #F0743A; }
body.mfr-v4 .why2-art { height: 240px; display: flex; align-items: center; justify-content: center; margin: 28px 0 36px; }
body.mfr-v4 .why2-svg { width: 100%; max-width: 220px; height: 100%; }
body.mfr-v4 .why2-svg polygon { fill: #FFFAF6; stroke: #1A0D03; stroke-width: 1; transition: stroke .4s ease, fill .4s ease; }
body.mfr-v4 .why2-svg ellipse, body.mfr-v4 .why2-svg line { fill: none; stroke: #1A0D03; }
body.mfr-v4 .why2-col.hot .why2-svg polygon { stroke: #F0743A; }
body.mfr-v4 .why2-title { font-family: var(--font-sans); font-weight: 500; font-size: 22px; line-height: 1.3; margin: 0 0 12px; color: #1A0D03; text-wrap: balance; min-height: 2.6em; }
body.mfr-v4 .why2-desc { font-size: 16px; line-height: 1.55; color: #6b5f57; margin: 0; }
@media (max-width: 860px) {
  body.mfr-v4 .why2 { padding-top: 72px; }
  body.mfr-v4 .why2-lead { font-size: 17px; }
  body.mfr-v4 .why2-grid { grid-template-columns: 1fr; margin-top: 40px; }
  body.mfr-v4 .why2-col { padding: 32px 0 !important; border-left: 0 !important; border-top: 1px solid #EDE4DA; }
  body.mfr-v4 .why2-col:first-child { border-top: 0; }
  body.mfr-v4 .why2-art { height: 200px; margin: 16px 0 24px; }
  body.mfr-v4 .why2-title { min-height: 0; }
}

/* why2 figure animations: run while hovered, finish the current cycle on leave (see JS) */
body.mfr-v4 .why2-svg { overflow: visible; }
body.mfr-v4 .why2-svg .u { transform-box: fill-box; }
body.mfr-v4 .fig-scale .u, body.mfr-v4 .fig-grow .up { transform-origin: 50% 100%; }
body.mfr-v4 .why2-col .fig-team .u { animation: why2-split 1.8s cubic-bezier(.45,0,.25,1) calc(var(--i) * .05s) infinite; }
@keyframes why2-split { 0%,100% { transform: none; } 50% { transform: translate(calc(var(--dx) * .5), calc(var(--dy) * .5)); } }
body.mfr-v4 .why2-col .fig-scale .u { animation: why2-eq 2s ease-in-out calc(var(--i) * .14s) infinite; }
@keyframes why2-eq { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.78); } }
body.mfr-v4 .why2-col .fig-grow .up { animation: why2-grow 2.2s ease-in-out calc(var(--i) * .18s) infinite; }
@keyframes why2-grow { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.6); } }
@media (prefers-reduced-motion: reduce) { body.mfr-v4 .why2-svg .u { animation: none !important; } }

/* ---- Pains v2: list on the left, live mock on the right ---- */
body.mfr-v4 .pains2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; padding-top: 120px; }
body.mfr-v4 .pains2 .mfr-who-title { margin-top: 12px !important; font-size: clamp(36px, 3.7vw, 54px) !important; text-wrap: wrap !important; }
body.mfr-v4 .pains2-list { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; }
body.mfr-v4 .pain-item { position: relative; text-align: left; border: 1px solid transparent; background: #F4EFE9; padding: 18px 22px; cursor: pointer; font: inherit; color: #1A0D03; overflow: hidden; transition: background .3s ease, border-color .3s ease; }
body.mfr-v4 .pain-item .pain-q { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 19px; line-height: 1.3; color: #9b8f86; transition: color .3s ease; }
body.mfr-v4 .pain-item .pain-a { display: block; max-height: 0; opacity: 0; overflow: hidden; font-size: 15px; line-height: 1.55; color: #6b5f57; transition: max-height .5s cubic-bezier(.4,0,.2,1), opacity .35s ease, margin-top .5s cubic-bezier(.4,0,.2,1); margin-top: 0; }
body.mfr-v4 .pain-item.is-on { background: #FFFFFF; border-color: #EDE4DA; }
body.mfr-v4 .pain-item.is-on .pain-q { color: #1A0D03; }
body.mfr-v4 .pain-item.is-on .pain-a { max-height: 120px; opacity: 1; margin-top: 8px; }
body.mfr-v4 .pain-item:hover .pain-q { color: #1A0D03; }
body.mfr-v4 .pain-bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: #F0743A; transform: scaleX(0); transform-origin: left; }
body.mfr-v4 .pains2.run .pain-item.is-on .pain-bar { animation: pain-bar 6s linear forwards; }

@keyframes pain-bar { to { transform: scaleX(1); } }
body.mfr-v4 .pains2-proof { margin: 28px 0 0; max-width: 460px; font-size: 15px; line-height: 1.55; color: #6b5f57; }
body.mfr-v4 .pains2-proof b { color: #1A0D03; font-weight: 600; }
body.mfr-v4 .pains2-right { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #1A0D03; }
body.mfr-v4 .pains2-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); }
body.mfr-v4 .pains2-right::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,13,3,0) 35%, rgba(26,13,3,.45) 100%); }
body.mfr-v4 .pains2-mock { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; display: grid; align-items: end; }
body.mfr-v4 .pm { grid-area: 1 / 1; background: #FFFFFF; font-size: 14px; color: #1A0D03; box-shadow: 0 30px 60px -25px rgba(0,0,0,.45); opacity: 0; transition: opacity .5s ease; pointer-events: none; }
body.mfr-v4 .pm.is-on { opacity: 1; transform: none; }
body.mfr-v4 .pm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid #EDE4DA; font-size: 14px; }
body.mfr-v4 .pm-head span { color: #9b8f86; font-size: 13px; }
body.mfr-v4 .pm-g { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #EDE4DA; font-weight: 700; color: #F0743A !important; }
body.mfr-v4 .pm-search .pm-head { justify-content: flex-start; }
body.mfr-v4 .pm-search .pm-q { flex: 1; padding: 6px 12px; background: #F4EFE9; color: #1A0D03 !important; font-size: 14px !important; }
body.mfr-v4 .pm-row { position: relative; padding: 12px 18px; border-bottom: 1px solid #F4EFE9; }
body.mfr-v4 .pm-row b { display: block; font-weight: 500; color: #2a5bd7; }
body.mfr-v4 .pm-row small { color: #6b5f57; font-size: 12.5px; }
body.mfr-v4 .pm-dim { opacity: .45; }
body.mfr-v4 .pm-row em { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 12px; color: #FFFAF6; background: #F0743A; padding: 3px 8px; opacity: 1; }
body.mfr-v4 .pm-search .pm-dim { opacity: 1; } body.mfr-v4 .pm-search .pm-dim b, body.mfr-v4 .pm-search .pm-dim small { opacity: .5; }
body.mfr-v4 .pm-mail { display: grid; grid-template-columns: 120px 1fr auto; gap: 12px; align-items: center; padding: 13px 18px; border-bottom: 1px solid #F4EFE9; }
body.mfr-v4 .pm-mail b { font-weight: 600; font-size: 13.5px; }
body.mfr-v4 .pm-mail span { color: #6b5f57; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.mfr-v4 .pm-mail time { font-size: 12px; color: #D9472B; font-weight: 600; white-space: nowrap; }
body.mfr-v4 .pm-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F4EFE9; }
body.mfr-v4 .pm-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d8cfc5; }
body.mfr-v4 .pm-bar span { margin-left: 10px; font-size: 12px; color: #9b8f86; }
body.mfr-v4 .pm-oldbody { padding: 16px 18px 18px; font-family: 'Times New Roman', Times, serif; }
body.mfr-v4 .pm-oldbanner { background: #1d3d8f; color: #fff; text-align: center; padding: 14px; font-size: 15px; letter-spacing: 1px; margin-bottom: 12px; }
body.mfr-v4 .pm-oldrow { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: #0000ee; text-decoration: underline; font-size: 14px; }
body.mfr-v4 .pm-oldrow small { color: #888; text-decoration: none; margin-left: auto; font-family: var(--font-sans); }
body.mfr-v4 .pm-pdf { font-family: var(--font-sans); font-size: 10px; font-weight: 700; color: #fff; background: #D9472B; padding: 3px 5px; text-decoration: none; }
body.mfr-v4 .pm-oldfoot { margin-top: 10px; font-size: 12px; color: #999; }
body.mfr-v4 .pm-task { padding: 12px 18px 12px 44px; position: relative; border-bottom: 1px solid #F4EFE9; }
body.mfr-v4 .pm-task::before { content: ''; position: absolute; left: 18px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%); border: 1.5px solid #c9bdb1; }
body.mfr-v4 .pm-task.pm-dim { opacity: 1; color: #D9472B; }
body.mfr-v4 .pm-task.pm-dim::after { content: 'no time left'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 12px; color: #D9472B; }
@media (max-width: 960px) {
  body.mfr-v4 .pains2 { grid-template-columns: 1fr; gap: 40px; padding-top: 72px; }
  body.mfr-v4 .pains2-right { aspect-ratio: 4 / 4.4; }
  body.mfr-v4 .pains2-mock { left: 14px; right: 14px; bottom: 14px; }
  body.mfr-v4 .pm-mail { grid-template-columns: 96px 1fr auto; }
  body.mfr-v4 .pain-item .pain-q { font-size: 17px; }
}
body.mfr-v4 .pains2-photo { object-position: 50% 0%; }

body.mfr-v4 .pain-item .pain-a { display: grid !important; grid-template-rows: 0fr; max-height: none !important; transition: grid-template-rows .5s cubic-bezier(.4,0,.2,1), opacity .35s ease, margin-top .5s cubic-bezier(.4,0,.2,1) !important; }
body.mfr-v4 .pain-item .pain-a > span { overflow: hidden; min-height: 0; }
body.mfr-v4 .pain-item.is-on .pain-a { grid-template-rows: 1fr; }

/* pains v2: abstract backdrop instead of a client photo */
body.mfr-v4 .pains2-right { background:
  radial-gradient(60% 50% at 70% 30%, rgba(240,116,58,.35), rgba(240,116,58,0) 70%),
  repeating-linear-gradient(30deg, rgba(255,250,246,.06) 0 1px, transparent 1px 34px),
  repeating-linear-gradient(-30deg, rgba(255,250,246,.06) 0 1px, transparent 1px 34px),
  #1A0D03; }
body.mfr-v4 .pains2-right::after { display: none; }
body.mfr-v4 .pain-item:focus { outline: none; }
body.mfr-v4 .pain-item:focus-visible { outline: 2px solid #F0743A; outline-offset: 2px; }
body.mfr-v4 .pains2-mock { top: 50%; bottom: auto; transform: translateY(-50%); align-items: center; }
@media (min-width: 961px) { body.mfr-v4 .pains2-right { aspect-ratio: 1 / 1; } }
body.mfr-v4 .pains2-proof { font-size: 18px; color: #6b5f57; max-width: none; }
body.mfr-v4 .pains2-link { color: #F0743A; text-decoration: none; white-space: nowrap; }
body.mfr-v4 .pains2-link:hover { text-decoration: underline; }

/* pains v2: halftone office photo, mock pinned to the bottom like the reference */
body.mfr-v4 .pains2-right { aspect-ratio: 4 / 5 !important; }
body.mfr-v4 .pains2-photo { object-position: 50% 0% !important; filter: none !important; }
body.mfr-v4 .pains2-mock { top: auto !important; bottom: 24px !important; transform: none !important; align-items: end !important; }
@media (min-width: 961px) { body.mfr-v4 .pains2-right { aspect-ratio: 1 / 1 !important; } body.mfr-v4 .pm-row, body.mfr-v4 .pm-mail, body.mfr-v4 .pm-task { padding-top: 10px; padding-bottom: 10px; } body.mfr-v4 .pm-head { padding-top: 12px; padding-bottom: 12px; } }
@media (min-width: 961px) { body.mfr-v4 .pains2-photo { object-position: 50% 92% !important; } body.mfr-v4 .pains2-mock { left: 20px !important; right: 20px !important; bottom: 20px !important; } body.mfr-v4 .pm { font-size: 13.5px; } }
/* pains v2: clean inactive rows, no muddy grey */
body.mfr-v4 .pain-item { background: transparent !important; border: 1px solid #EDE4DA !important; }
body.mfr-v4 .pain-item .pain-q { color: rgba(26,13,3,.45) !important; }
body.mfr-v4 .pain-item:hover .pain-q { color: rgba(26,13,3,.8) !important; }
body.mfr-v4 .pain-item.is-on { background: #FFFFFF !important; border-color: #E2D6C9 !important; box-shadow: 0 18px 40px -28px rgba(26,13,3,.35); }
body.mfr-v4 .pain-item.is-on .pain-q { color: #1A0D03 !important; }
body.mfr-v4 .pain-item { background: rgba(255,255,255,.55) !important; border: 1px solid rgba(237,228,218,.7) !important; }
body.mfr-v4 .pain-item:hover { background: rgba(255,255,255,.85) !important; }
body.mfr-v4 .pain-item.is-on { background: #FFFFFF !important; }
body.mfr-v4 .pain-item { background: #FCEEE4 !important; border-color: #FCEEE4 !important; }
body.mfr-v4 .pain-item:hover { background: #FAE6D8 !important; border-color: #FAE6D8 !important; }
body.mfr-v4 .pain-item .pain-q { color: rgba(26,13,3,.55) !important; }
body.mfr-v4 .pain-item.is-on { background: #FFFFFF !important; border-color: #EDE4DA !important; }
body.mfr-v4 .pain-item.is-on { box-shadow: none !important; }

/* pains v2: white inactive rows, no border */
body.mfr-v4 .pain-item { background: #FFFFFF !important; border-color: transparent !important; }
body.mfr-v4 .pain-item:hover { background: #FFFFFF !important; border-color: transparent !important; }
body.mfr-v4 .pain-item.is-on { border-color: #E2D6C9 !important; }
/* pains v2: inactive rows plain white, no outline */
body.mfr-v4 .pain-item, body.mfr-v4 .pain-item:hover { background: #FFFFFF !important; border-color: #FFFFFF !important; }
body.mfr-v4 .pain-item.is-on { background: #FFFFFF !important; border-color: #E2D6C9 !important; box-shadow: none !important; }

/* mobile: photo on top (managers visible), screen below it, no crop of the joke */
@media (max-width: 960px) {
  body.mfr-v4 .pains2-right { aspect-ratio: auto !important; padding-bottom: 14px; }
  body.mfr-v4 .pains2-photo { position: relative !important; display: block; height: 300px; object-position: 50% 80% !important; }
  body.mfr-v4 .pains2-mock { position: relative !important; left: auto !important; right: auto !important; bottom: auto !important; top: auto !important; margin: -64px 14px 0; }
}
body.mfr-v4 .pain-bar { z-index: 2; height: 3px !important; bottom: -1px !important; }
/* pains v2: one scene per pain, cross-fading */
body.mfr-v4 .pains2-photo { opacity: 0; transition: opacity .6s ease; }
body.mfr-v4 .pains2-photo.is-on { opacity: 1; }
/* pains v2: keep the photo stack and mock layered on every screen size */
body.mfr-v4 .pains2-right { position: relative !important; }
body.mfr-v4 .pains2-photo { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; object-fit: cover !important; }
body.mfr-v4 .pains2-mock { position: absolute !important; }
@media (max-width: 960px) {
  body.mfr-v4 .pains2-right { aspect-ratio: 4 / 5 !important; }
  body.mfr-v4 .pains2-mock { left: 12px !important; right: 12px !important; bottom: 12px !important; top: auto !important; transform: none !important; }
  body.mfr-v4 .pains2-photo { object-position: 50% 30% !important; }
  body.mfr-v4 .pm { font-size: 12.5px; }
  body.mfr-v4 .pm-row, body.mfr-v4 .pm-mail, body.mfr-v4 .pm-task { padding-top: 8px; padding-bottom: 8px; }
  body.mfr-v4 .pm-mail { grid-template-columns: 92px 1fr auto; gap: 8px; }
}
/* pains v2 mobile: photo on top (people visible), mock below it; stacked mocks keep one steady height */
@media (max-width: 960px) {
  body.mfr-v4 .pains2-right { aspect-ratio: auto !important; overflow: hidden; }
  body.mfr-v4 .pains2-photo { inset: 0 0 auto 0 !important; height: calc((100vw - 32px) * .8) !important; object-position: 50% 35% !important; }
  body.mfr-v4 .pains2-mock { position: relative !important; left: auto !important; right: auto !important; bottom: auto !important; margin: calc((100vw - 32px) * .8 - 56px) 12px 12px !important; }
}
/* pains: closing line sits under the picture on mobile */
body.mfr-v4 .pains2-proof--m { display: none; }
@media (max-width: 960px) {
  body.mfr-v4 .pains2-left .pains2-proof { display: none; }
  body.mfr-v4 .pains2-proof--m { display: block; margin-top: -16px; }
}
body.mfr-v4 .mfr-video-overlay { background: rgba(26,13,3,.38) !important; }
body.mfr-v4 .mfr-video-player.playing .mfr-video-overlay { background: transparent !important; }
body.mfr-v4 .mfr-video-iframe-wrap video { object-fit: cover; }
/* Watch button on the case video: same type as .v4-btn */
body.mfr-v4 .mfr-video-play { height: 60px !important; padding: 0 28px !important; gap: 10px !important; }
body.mfr-v4 .mfr-video-play-label { font: 500 17px/1 var(--font-sans) !important; letter-spacing: normal !important; }
body.mfr-v4 .mfr-video-play i { font-size: 18px !important; }
@media (max-width: 640px) { body.mfr-v4 .mfr-video-play { height: 52px !important; padding: 0 22px !important; } body.mfr-v4 .mfr-video-play-label { font-size: 16px !important; } }

/* Our Work on /for-manufacturers/: only OCParts + Dnipro Contact, two equal tiles */
body.mfr-v4 .our-work--two .reel4 { grid-template-columns: 1fr 1fr !important; }
body.mfr-v4 .our-work--two .reel4-p--wide { grid-row: auto !important; }
body.mfr-v4 .our-work--two .reel4-p .reel4-media { aspect-ratio: 4 / 3 !important; height: auto !important; }
@media (max-width: 900px) { body.mfr-v4 .our-work--two .reel4 { grid-template-columns: 1fr !important; } }
/* mobile: Read + Watch buttons replace the text link and the case video */
@media (max-width: 768px) { body.mfr-v4 .case-section:has(.case-mbtns) .blog-read-link { display: none !important; } }
/* Cinnaboner head decoration sits next to "We speak the language of makers" (moved with the block reorder) */
body.mfr-v4 .cta-section:has(.cta-bg-head) { position: relative; overflow: visible; }
body.mfr-v4 .cta-section .cta-bg-head { top: 50% !important; transform: translateY(-50%) scaleX(-1); }
body.mfr-v4 .cta-section:has(.cta-bg-head) .cta-content { position: relative; z-index: 1; }

/* Our Work lightbox (styles live in root style.css, which this page does not load) */
.ow-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(10,5,2,.92); display: none; align-items: center; justify-content: center; padding: 48px; }
.ow-lightbox.is-open { display: flex; }
.ow-lightbox-frame { width: min(1280px, 100%); aspect-ratio: 16 / 9; background: #000; }
.ow-lightbox-frame video, .ow-lightbox-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.ow-lightbox-close { position: absolute; top: 20px; right: 24px; width: 48px; height: 48px; border-radius: 50%; border: none; background: #FFFAF6; color: #1A0D03; font-size: 24px; cursor: pointer; }
@media (max-width: 768px) { .ow-lightbox { padding: 16px; } }
